PCEngines APU Console Boot Log
The APU defaults to 115200,8,n,1. The following log was captured on a board with no operating system.
coreboot-unknown Tue Dec 24 11:13:00 MST 2013 booting... PCI: Left over static devices: PCI: 00:15.1 PCI: 00:15.2 PCI: 00:15.3 PCI: Check your devicetree.cb. APIC: 00 missing read_resources APIC: 01 missing read_resources Start bios (version ?-20131224_111227-ubuntubuilderx64) CPU Mhz=1000 Found 30 PCI devices (max PCI bus is 05) Found 2 cpu(s) max supported 2 cpu(s) Copying PIR from 0x7e16f000 to 0x000fdb40 Copying MPTABLE from 0x7e170000/7e170010 to 0x000fda10 Copying ACPI RSDP from 0x7e171000 to 0x000fd9f0 Copying SMBIOS entry point from 0x7e17c400 to 0x000fd9d0 Scan for VGA option rom EHCI init on dev 00:12.2 (regs=0xfeb08420) EHCI init on dev 00:13.2 (regs=0xfeb08520) OHCI init on dev 00:14.5 (regs=0xfeb06000) EHCI init on dev 00:16.2 (regs=0xfeb08620) Found 1 lpt ports Found 2 serial ports ATA controller 1 at 1f0/3f4/4010 (irq 14 dev a1) ATA controller 2 at 170/374/4018 (irq 15 dev a1) AHCI controller at 11.0, iobase feb08000, irq 0 Searching bootorder for: /rom@img/sortbootorder Searching bootorder for: /rom@img/memtest Searching bootorder for: /pci@i0cf8/usb@16,2/storage@1/*@0/*@0,0 Searching bootorder for: /pci@i0cf8/usb@16,2/usb-*@1 USB MSC vendor='Multiple' product='Card Reader' rev='1.00' type=0 removable=1 USB MSC blksize=512 sectors=15564800 All threads complete. Scan for option roms Running option rom at c000:0003 iPXE (http://ipxe.org) 00:00.0 C000 PCI2.10 PnP PMMpmm call arg1=1 pmm call arg1=0 +7E13F290pmm call arg1=1 pmm call arg1=0 +7E09B3D0 C000 Searching bootorder for: /rom@genroms/pxeboot.rom Press F12 for boot menu. drive 0x000fd960: PCHS=0/0/0 translation=lba LCHS=968/255/63 s=15564800 Space available for UMB: 000c1000-000ee800 Returned 49152 bytes of ZoneHigh e820 map has 6 items: 0: 0000000000000000 - 000000000009fc00 = 1 RAM 1: 000000000009fc00 - 00000000000a0000 = 2 RESERVED 2: 00000000000f0000 - 0000000000100000 = 2 RESERVED 3: 0000000000100000 - 000000007e16ac00 = 1 RAM 4: 000000007e16ac00 - 000000007efffc00 = 2 RESERVED 5: 00000000f8000000 - 00000000f9000000 = 2 RESERVED enter handle_19: NULL Booting from Hard Disk... Booting from 0000:7c00
iPXE
During boot Ctrl-B will bring up the PXE support
Press Ctrl-B to configure iPXE (PCI 00:00.0)...
iPXE (http://ipxe.org) 00:00.0 C000 PCI2.10 PnP PMMpmm call arg1=1 pmm call arg1=0 +7E13F290pmm call arg1=1 pmm call arg1=0 +7E09B3D0 C000 iPXE (PCI 00:00.0) starting execution...ok iPXE initialising devices...ok iPXE 1.0.0+ (b757) -- Open Source Network Boot Firmware -- http://ipxe.org Features: HTTP iSCSI DNS TFTP AoE bzImage ELF MBOOT PXE PXEXT Menu iPXE> help Available commands: reboot cpuid sleep iseq isset exit echo prompt goto shell help autoboot config dhcp pxebs ifopen ifclose ifstat imgfetch module initrd kernel chain imgselect imgload imgargs imgexec boot imgstat imgfree login menu item choose show set clear read route sanhook sanboot sanunhook sync Type "<command> --help" for further information
F12 Boot
During boot, F12 presents the following menu
Press F12 for boot menu. Select boot device: 1. USB MSC Drive Multiple Card Reader 1.00 2. iPXE (PCI 00:00.0) 3. Payload [sortbootorder] 4. Payload [memtest]
Network boot order
Select option 3 to configure the boot order.
Press F12 for boot menu. Select boot device: 1. USB MSC Drive Multiple Card Reader 1.00 2. iPXE (PCI 00:00.0) 3. Payload [sortbootorder] 4. Payload [memtest] drive 0x000fd960: PCHS=0/0/0 translation=lba LCHS=968/255/63 s=15564800 Space available for UMB: 000c1000-000ee800 Returned 49152 bytes of ZoneHigh e820 map has 6 items: 0: 0000000000000000 - 000000000009fc00 = 1 RAM 1: 000000000009fc00 - 00000000000a0000 = 2 RESERVED 2: 00000000000f0000 - 0000000000100000 = 2 RESERVED 3: 0000000000100000 - 000000007e16ac00 = 1 RAM 4: 000000007e16ac00 - 000000007efffc00 = 2 RESERVED 5: 00000000f8000000 - 00000000f9000000 = 2 RESERVED enter handle_19: NULL Booting from CBFS... Run img/sortbootorder Calling addr 0x00100000 00:12.2 4396:1002.2 EHCI controller 00:12.0 4397:1002.0 OHCI controller OHCI Version 1.0 00:13.2 4396:1002.2 EHCI controller 00:13.0 4397:1002.0 OHCI controller OHCI Version 1.0 00:14.5 4399:1002.5 OHCI controller OHCI Version 1.0 00:16.2 4396:1002.2 EHCI controller * found device (0x058f:0x6366, USB 2.1), class: MSC 00:16.0 4397:1002.0 OHCI controller OHCI Version 1.0 ********************************************************************* *** Sortbootorder payload ver 1.0 Sage Electronic Engineering * ********************************************************************* ============================================== Type lower case letter to move device to top ============================================== boot devices a SD Card b USB 1 c USB 2 d mSATA e SATA 2 f SATA 3 g NETWORK / PXE ============================================== Type upper case letter to invoke action ============================================== R Restore boot order defaults N Network / PXE Enabled S Serial console Enabled E Exit setup with save X Exit setup without save
BIOS Upgrade
Use the PCEngines provided installer to upgrade the ROM from 'Dec 2013' to the '5th April 2014'.
- Download the image
- Run the installer to create a flash drive
- Press F12 during boot to boot from the USB drive
- Run flashrom from the FAT mounted device 'mnt/sda'
[+44.5 C][root@box:/mnt/sda]$ flashrom -w apu140405.rom flashrom v0.9.7-r1711-APU on Linux 3.8.13-tinycore (i686) flashrom is free software, get the source code at http://www.flashrom.org Using default programmer "internal". Calibrating delay loop... OK. coreboot table found at 0x7e17cc00. Found chipset "AMD SB7x0/SB8x0/SB9x0". Enabling flash write... OK. Found Macronix flash chip "MX25L1605A/MX25L1606E" (2048 kB, SPI) at physical address 0xffe00000. Reading old flash chip contents... done. Erasing and writing flash chip... Erase/write done.