Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

2015-11-12 Thread Rolf Sommerhalder
Got two APU2b4 boards yesterday, and they fail to boot 5.8 or
-current, i386 or amd64, from USB early in the process (see below).

So far, I could not figure out if there are differences to your setup
from your dmesgs. Eventually, did you revceive an earlier hardware
revision APU2a4, with an earlier version of coreboot?

Also, I tried to lower serial line speed from the initial 115k of
coreboot, for the (unlikely) case that the kernel should change it.

Finally, 'boot -c' dos not get as far as to UKC in order to try with
ACPI disabled etc.

What is your serial console output at boot time? Any ideas or
suggestions what I should try next?

Thanks,
Rolf


console output from power-up:

Mainboard PCEngines apu2 Enable.
APIC: 00 missing read_resources
APIC: 01 missing read_resources
APIC: 02 missing read_resources
APIC: 03 missing read_resources
SeaBIOS (version rel-1.8.0-181-g0af5958)
BUILD: gcc: (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 binutils: (GNU Binutils for Ubu4
SeaBIOS (version rel-1.8.0-181-g0af5958)
BUILD: gcc: (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 binutils: (GNU Binutils for Ubu4
Found coreboot cbmem console @ dffdf000
Found mainboard PC Engines PCEngines apu2
Relocating init from 0x000eeb10 to 0xdff66fd0 (size 28576)
Found CBFS header at 0xfc50
multiboot: eax=0, ebx=0
boot order:
1: /pci@i0cf8/usb@10/usb-*@1
2: /pci@i0cf8/usb@10/usb-*@2
SeaBIOS (version rel-1.8.0-181-g0af5958)
XHCI init on dev 00:10.0: regs @ 0xfeb22000, 4 ports, 32 slots, 32 byte contexts
XHCIextcap 0x1 @ feb22500
XHCIprotocol USB  3.00, 2 ports (offset 1), def 0
XHCIprotocol USB  2.00, 2 ports (offset 3), def 10
XHCIextcap 0xa @ feb22540
Found 2 serial ports
Searching bootorder for: /pci@i0cf8/*@14,7
EHCI init on dev 00:13.0 (regs=0xfeb25420)
Searching bootorder for: /rom@img/memtest
Searching bootorder for: /rom@img/setup
XHCI port #3: 0x00200e03, powered, enabled, pls 0, speed 3 [High]
Initialized USB HUB (0 ports used)
WARNING - Timeout at xhci_event_wait:694!
xhci_send_pipe: xfer failed (cc -1)
Searching bootorder for: /pci@i0cf8/usb@10/storage@3/*@0/*@0,0
Searching bootorder for: /pci@i0cf8/usb@10/usb-*@3
USB MSC vendor='JetFlash' product='Transcend 1GB' rev='8.07' type=0 removable=1
USB MSC blksize=512 sectors=1972224
All threads complete.
Scan for option roms
PCengines Press F10 key now for boot menu:
Searching bootorder for: HALT
drive 0x000f5850: PCHS=0/0/0 translation=lba LCHS=978/32/63 s=1972224
Space available for UMB: c1000-ef000, f-f5850
Returned 258048 bytes of ZoneHigh
e820 map has 7 items:
  0:  - 0009f800 = 1 RAM
  1: 0009f800 - 000a = 2 RESERVED
  2: 000f - 0010 = 2 RESERVED
  3: 0010 - dffad000 = 1 RAM
  4: dffad000 - e000 = 2 RESERVED
  5: f800 - fc00 = 2 RESERVED
  6: 0001 - 00011f00 = 1 RAM
enter handle_19:
  NULL
Booting from Hard Disk...
Booting from :7c00
Using drive 0, partition 3.
Loading.
probing: pc0 com0 com1 mem[638K 3582M 496M a20=on]
disk: hd0+
>> OpenBSD/amd64 BOOT 3.28
boot>
cannot open hd0a:/etc/random.seed: No such file or directory
booting hd0a:/5.8/amd64/bsd.rd: 3251512+1391248+2401280+0+520192 [72+360480+23]8
entry point at 0x1000160 [7205c766, 3404, 24448b12, a680a304]
(output stops here)



Re: PC Engines APU2 coming soon - how is OpenBSD's support so far?

2015-11-12 Thread Rolf Sommerhalder
Many thanks Stuart!

> set tty com0
Bingo, and then reduce serial line speed from 115k to 9600 :-)



FAQ 14.9: installboot example parameters reversed

2015-02-26 Thread Rolf Sommerhalder
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

While salvaging a CompactFlash with a corrupt partition table, I
noticed that the example in
 http://www.openbsd.org/faq/faq14.html#InstBoot
appears to be outdated:
 # cd /usr/mdec; ./installboot /boot biosboot sd0

According to installboot(8), the syntax is:
 installboot [-nv] [-r root] disk [stage1 [stage2]]

e.g. the example should read:
 # cd /usr/mdec; ./installboot sd0 biosboot /boot
or:
 installboot -v sd0 /usr/mdec/biosboot /boot
or finally, if sd0a is mounted on /mnt:
  installboot -v -r /mnt/ sd0 /usr/mdec/biosboot /mnt/boot

Thanks,
Rolf
-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJU7vkWAAoJEEFJy0CVh/JsUCsIAJiI/om+YD6wsqqrPbK2zBWy
vurLWytOrEFIwAvobjb6kzsniPOdy7+73JLSAEm4v66dDuU0tbpdl63pc7AQtq5P
BrhpCOLWj/QGf0f9dkadjvxvDneTgkZ2HL6Mja2M/dzWLD3Ew06Js9A+luiM/JxG
+RChmFoaUk31/L7E6/FYbXgox7QotePhYY45d9gEQmRickkebJmfXp08XtaXl4ru
6y9D7B+uABJ9yJF953a2Gu9jDBRrxo3tepytg7950R4ULuDh48g9GLPjd2URX2Hg
W4dmBrZWTnNsfPWp8s+hAly/JtFHOg5uVNhd+ce8zkou/mhD27SjtMBl9W1FNFA=
=jcvG
-END PGP SIGNATURE-



Re: FAQ 14.9: installboot example parameters reversed

2015-02-26 Thread Rolf Sommerhalder
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

... and there is a second example further down in 14.10:

# cp /usr/mdec/boot /mnt/boot
# /usr/mdec/installboot -v /mnt/boot /usr/mdec/biosboot sd0

which should probably read:

# cp /usr/mdec/boot /mnt/boot
# /usr/mdec/installboot -v -r /mnt/ sd0 /usr/mdec/biosboot /mnt/boot

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEcBAEBAgAGBQJU7vx1AAoJEEFJy0CVh/JsJRkIAKWFLL1wYns1sAXls/+NdNiz
0uYTH1sCp2MhfmBOVJ0BGuuJBdDwVy+n0YNurQ4tcdb2lzf1Y4764KoPhcTgGT88
VP62u29ZkqmdkXGr8RLBlq8+5edk8Ogc62JOGZOJOXOu8LhKTNnrAiI+AI1pPTGd
3b7hzqh6cGmefOofIYgHOsgKya0GeF923hNqOkgn98FgJv67jYZT+0FSYmYkc9Jb
mQ28B34dzmIWaRWDDG39it1tY6Ll7IiTusrabjwYtYy7ZbNLPgypLwfmpS5uf5kl
cwz4kecEyk4/lz4VgDxOJKRYXFt7PZ48OlHEwU1c+bsCVyKBZ7CBpQ663Atn5PU=
=oAzj
-END PGP SIGNATURE-