iPXE booting latest PCengines alu board

Jim Thompson jim at netgate.com
Fri Jun 13 09:51:26 UTC 2014


Doesn’t get very far...

PC Engines APU BIOS build date: Apr  5 2014
Reading data from file [bootorder]
SeaBIOS (version ?-20140405_120742-frink)
SeaBIOS (version ?-20140405_120742-frink)
Found coreboot cbmem console @ 7e150400
Found mainboard PC Engines APU
Relocating init from 0x000e8e71 to 0x7e1065e0 (size 39259)
Found CBFS header at 0xfffffb90
found file "bootorder" in cbmem
CPU Mhz=1001
Found 27 PCI devices (max PCI bus is 05)
Copying PIR from 0x7e160400 to 0x000f27a0
Copying MPTABLE from 0x7e161400/7e161410 to 0x000f25b0 with length 1ec
Copying ACPI RSDP from 0x7e162400 to 0x000f2590
Copying SMBIOS entry point from 0x7e16d800 to 0x000f2570
Using pmtimer, ioport 0x808
Scan for VGA option rom
EHCI init on dev 00:12.2 (regs=0xf7f08420)
Found 1 lpt ports
Found 2 serial ports
AHCI controller at 11.0, iobase f7f08000, irq 11
EHCI init on dev 00:13.2 (regs=0xf7f08520)
EHCI init on dev 00:16.2 (regs=0xf7f08620)
Searching bootorder for: /rom at img/setup
Searching bootorder for: /rom at img/memtest
OHCI init on dev 00:12.0 (regs=0xf7f04000)
OHCI init on dev 00:13.0 (regs=0xf7f05000)
OHCI init on dev 00:14.5 (regs=0xf7f06000)
OHCI init on dev 00:16.0 (regs=0xf7f07000)
Searching bootorder for: /pci at i0cf8/usb at 12,2/storage at 1/*@0/*@0,0
Searching bootorder for: /pci at i0cf8/usb at 12,2/usb-*@1
Searching bootorder for: /pci at i0cf8/usb at 16,2/storage at 1/*@0/*@0,0
Searching bootorder for: /pci at i0cf8/usb at 16,2/usb-*@1
USB MSC vendor='Multiple' product='Card  Reader' rev='1.00' type=0 removable=1
USB MSC blksize=512 sectors=15564800
USB MSC vendor='PNY' product='USB 2.0 FD' rev='1100' type=0 removable=1
USB MSC blksize=512 sectors=15810560
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
+7E0DA5C0pmm call arg1=1
pmm call arg1=0
+7E03A5C0 C000
                                                                               

iPXE (PCI 00:00.0) starting execution...ok
iPXE initialising devices...ok



iPXE 1.0.0+ -- Open Source Network Boot Firmware -- http://ipxe.org
Features: HTTP iSCSI DNS TFTP AoE bzImage ELF MBOOT PXE PXEXT Menu

iPXE> dhcp                               
Waiting for link-up on net0................. Down (http://ipxe.org/38086101)
Waiting for link-up on net1................. Down (http://ipxe.org/38086101)
iPXE> dhcp
Configuring (net0 00:0d:b9:33:88:64)...... ok
iPXE> kernel http://volt.iem.pw.edu.pl/~czekirdk/memdisk raw
http://volt.iem.pw.edu.pl/~czekirdk/memdisk... ok 
iPXE> initrd http://mfsbsd.vx.sk/files/images/10/amd64/mfsbsd-10.0-RELEASE-amd64.img
http://mfsbsd.vx.sk/files/images/10/amd64/mfsbsd-10.0-RELEASE-amd64.img... ok 
iPXE> boot
MEMDISK 6.02 2013-10-13  Copyright 2001-2013 H. Peter Anvin et al
e820: 0000000000000000 000000000009fc00 1
e820: 000000000009fc00 0000000000000400 2
e820: 00000000000f0000 0000000000010000 2
e820: 0000000000100000 000000007e010000 1
e820: 000000007e110000 0000000000ef0000 2
e820: 00000000f8000000 0000000001000000 2
Ramdisk at 0x01700000, length 0x02900000
command line: raw
MEMDISK: Image seems to have fractional end cylinder
Disk is hd0, 41984 K, C/H/S = 5/255/63 (MBR/MBR), EDD on, rw
Using raw access to high memory
Code 1744, meminfo 168, cmdline 4, stack 512
Total size needed = 2428 bytes, allocating 3K
Old dos memory at 0x9c400 (map says 0x9fc00), loading at 0x9b800
1588: 0x5800  15E801: 0x3c00 0x0070
INT 13 08: Failure, assuming this is the only drive
Drive probing gives drive shift limit: 0x81
old: int13 = f000e3fe  int15 = f000f859  int1e = f0007244
new: int13 = 9b80000a  int15 = 9b8003ba  int1e = f0007244
Loading boot sector... booting…
\   <— hangs here

Note that not even the demo works:

<power cycle… not going to cut-n-paste it all again>
iPXE (PCI 00:00.0) starting execution...ok
iPXE initialising devices...ok



iPXE 1.0.0+ -- Open Source Network Boot Firmware -- http://ipxe.org
Features: HTTP iSCSI DNS TFTP AoE bzImage ELF MBOOT PXE PXEXT Menu

iPXE> chain http://boot.ipxe.org/demo/boot.php
http://boot.ipxe.org/demo/boot.php... Error 0x3e11623b (http://ipxe.org/3e11623b)
iPXE> dhcp
Configuring (net0 00:0d:b9:33:88:64)...... ok
iPXE> route
net0: 172.21.0.89/255.255.255.0 gw 172.21.0.1
iPXE> show dns
net0.dhcp/dns:ipv4 = 172.21.0.1
iPXE> chain http://boot.ipxe.org/demo/boot.php
http://boot.ipxe.org/demo/boot.php... ok
vmlinuz-2.6.17-14mdv... ok 
initrd.img... ok 
<no further output>

It’s possible that the console isn’t being properly set, of course.
It’s also possible that 10-RELEASE isn’t new enough for the APU.

For Daniel
http://dox.ipxe.org/index.html
http://ipxe.org



> On Jun 13, 2014, at 3:32 AM, Daniel Braniss <danny at cs.huji.ac.il> wrote:
> 
> Hi Kamil,
> Nice work! though I’m not that ambitious.
> I need to be able to load pxeboot and that seems to
> need some magic. BTW, do you know where there is 
> some good docs on iPXE?
> 
> thanks,
> 	danny
> 
> 
> On Jun 13, 2014, at 12:38 AM, Kamil Czekirda <kczekirda at gmail.com> wrote:
> 
>> Hi,
>> 
>> Please look at my GSoC wiki page:
>> https://wiki.freebsd.org/SummerOfCode2014/FreeBSD_PXE_preseed
>> 
>> There is kpxe file, you can chainload it using file option in your dhcp server.
>> 
>> It's very simple script:
>> 
>> #!ipxe
>> dhcp
>> cpuid --ext 29 && set CPU-ARCH amd64 || set CPU-ARCH i386
>> set img http://mfsbsd.vx.sk/files/images/10/${CPU-ARCH}/mfsbsd-10.0-RELEASE-${CPU-ARCH}.img
>> kernel http://volt.iem.pw.edu.pl/~czekirdk/memdisk raw
>> initrd ${img}
>> boot
>> 
>> It detects architecture and runs mfsbsd directly from Martin Matuska website.
>> 
>> It's simpliest way to boot different iso or img image of FreeBSD. It
>> will be nice to have local mirror and make menu with different
>> releases. I'll prepare menu, but I need few days, I'll inform you.
>> 
>> I think that in next week will be ready iPXE port for FreeBSD and
>> simply solutions.
>> 
>> I have many scripts to boot ubuntu, debian, etc. and I can help you
>> with it. It's simple to run FreeBSD from nfs server too. Ask if you
>> have problems.
>> 
>> Kamil
>> 
>> 2014-06-12 17:26 GMT+02:00 Mike Tancsa <mike at sentex.net>:
>>> On 6/12/2014 10:38 AM, Daniel Braniss wrote:
>>>> 
>>>> Hi all,
>>>> while I try to learn about iPXE, I am wondering if someone already
>>>> managed to boot FreeBSD via the network, else it’s going to be an
>>>> interesting weekend :-)
>>> 
>>> 
>>> If you mean http://www.pcengines.ch/apu.htm, just make sure you are booting
>>> a relatively recent FreeBSD version (newer than April I think). Otherwise,
>>> it boots just fine like any other bit of hardware over the network.
>>> 
>>>       ---Mike
>>> 
>>> 
>>> --
>>> -------------------
>>> Mike Tancsa, tel +1 519 651 3400
>>> Sentex Communications, mike at sentex.net
>>> Providing Internet services since 1994 www.sentex.net
>>> Cambridge, Ontario Canada   http://www.tancsa.com/
>>> 
>>> _______________________________________________
>>> freebsd-hackers at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>>> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
> 
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"



More information about the freebsd-hackers mailing list