On Fri, Dec 09, 2016 at 10:56:30AM -0700, Swift Griggs wrote:
> On Fri, 9 Dec 2016, 76nem...@gmx.ch wrote:
> > Finally I have switched between the speed of 9600bps and 115200bps
> > to install NetBSD 7.02 on APU2 from PCEngines.
>
> Hi, Alan, I also have one of these little systems from PCEngines. I've
> been following your thread. It's been a few years since I've messed around
> with my little 500Mhz AMD-based PCEngines board, but I think my method to
> solve the issue you are having was to hard set the console and baud rate
> in a custom kernel.
>
> >From the GENERIC conf file:
> #optionsCONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600
>
> If you uncomment that line and nail the baud rate, then use that kernel
> you should be good to go.
>
> > This is uncomfortable but it works. What doesn't work however is the
> > installation itself. The kernel boots for a while and stops on root
> > device.
Thank you for the idea.
>
> Can you do the install on another machine, install the custom kernel, then
> swap-a-roo the drive back to the PCengines host?
>
I have tried to do that but I was facing an other strange problem. I plan
to install NetBSD on an USB stick (while APU2 can boot from an USB stick)
but strangely the NetBSD installation program recognizes no USB stick (only
the main disk which is sata disk). The PC (except for an UEFI Bios with CSM
mode) was quite
standard (Samsung P900 laptop).
Unfortunately it's not very easy to install NetBSD by moving the APU2 disk
elsewhere.
This disk is a mSATA disk and I have not too much devices to manipulate such
disk.
I should probably buy an external mSATA-USB enclosure but then I am not sure
that the disk will be recognized by the installer when connected on an other PC.
Finally, I was able to install NetBSD on an USB stick, but I can't boot
on it. I get the same problem with the root device. It's not too surprising
since the problem seems to be related with USB.
To install NetBSD on the disk I have configured the USB stick as the main disk
of a virtual machine since
otherwise the stick is not recognised by the installation program.
> > I can type what I want (wm0, wm1 etc.) but the installation hangs
> > (sometimes after a curious message about NFS mount).
>
> If you could post how far it got and what you see, that'd help.
>
That's clear but I did not want to bother readers with a such long listing.
I will redo the installation and publish the results.
> > Any ideas? Do you think that an network boot and install will solve
> > these problems?
>
> Why would netbooting help. I'm curious why that idea occurs to you? I
> thought the issue was the baud rate on the serial port ? I guess you could
> use a custom boot kernel via PXE/TFTP/BOOTP etc.. That might work/help.
>
Because the problem seems to arise when the root partition on CD
should be mounted. It is like if the CD is no more found (or seen).
I supposed that if the root partition is mounted remotely this problem
could disapear. However, it's more a hope than a certainty.
> > I have tried to boot from an USB2 CDROM and booting the ISO image from
> > syslinux system but this change nothing.
>
> Are you passing any custom boot parameters? Can you summarize the specific
> issue you are having? I can try to help, since I have one of these
> machines myself and have used it for all kinds of BSD projects.
I have tried the 3 possibilities offered by installer: standard install,
without ACPI,
without ACPI and SMP. Without any success.
Alan
Here is the log of BSD installation. First I have to boot a very small linux
(tinyCore Linux)
just to let time to the CD to initialise. At the first boot after power on the
APU2,
the CD is not seen by APU2.
--Log of BSD
Install
PCEngines apu2
coreboot build 20160307
4080 MB ECC DRAM
SeaBIOS (version ?-20160307_153453-michael-desktop64)
Found mainboard PC Engines PCEngines apu2
multiboot: eax=0, ebx=0
boot order:
1: /pci@i0cf8/usb@10/usb-*@1
2: /pci@i0cf8/usb@10/usb-*@2
3: /pci@i0cf8/usb@10/usb-*@3
4: /pci@i0cf8/usb@10/usb-*@4
5: /pci@i0cf8/*@14,7
6: /pci@i0cf8/*@11/drive@0/disk@0
7: /pci@i0cf8/*@11/drive@1/disk@0
8: /rom@genroms/pxe.rom
9: pxen0
10: scon1
11:
Found 21 PCI devices (max PCI bus is 03)
Copying SMBIOS entry point from 0xdffb7000 to 0x000f3110
Copying ACPI RSDP from 0xdffb8000 to 0x000f30e0
Copying MPTABLE from 0xdffdc000/dffdc010 to 0x000f2f30
Copying PIR from 0xdffdd000 to 0x000f2f00
Using pmtimer, ioport 0x818
Scan for VGA option rom
Running option rom at c000:0003
[1;256r[256;256H[6n
Google, Inc.
Serial Graphics Adapter 08/22/15
SGABIOS $Id: sgabios.S 8 2010-04-22 00:03:40Z nlaredo $
(wiv@coreboot-Virtual-Machine) Sat Aug 22 09:25:30 UTC 2015
Term: 173x48