Date: Fri, 13 Jun 2014 05:18:16 -0500 From: Jim Thompson <jim@netgate.com> To: Kamil Czekirda <kczekirda@gmail.com> Cc: hackers@freebsd.org Subject: Re: iPXE booting latest PCengines alu board Message-ID: <B5921C3D-8E1D-4358-88B6-B81DB290116B@netgate.com> In-Reply-To: <CADSgWNH4F2WrcFajhs5X2C2ZFo08-5D%2BndtHzvi89tk76ng0fQ@mail.gmail.com> References: <9D14C4BD-8A13-43FC-ACDA-0315A58CEBC6@cs.huji.ac.il> <5399C6A0.9010506@sentex.net> <CADSgWNGqgSZ7kCCb8x_U2RqquUs8WDnOBq8vp=20wfi8nxG3TQ@mail.gmail.com> <17B3B28C-A9D7-4FD2-ACEB-CFE4738C4D49@cs.huji.ac.il> <71ECD01F-5DC0-45D2-8C84-AA6C3D9903CA@netgate.com> <CADSgWNH4F2WrcFajhs5X2C2ZFo08-5D%2BndtHzvi89tk76ng0fQ@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
Maybe I”m misreading something. 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... ok Configuring (net0 00:0d:b9:33:88:64)..... ok iPXE> kernel http://volt.iem.pw.edu.pl/~czekirdk/memdisk iso http://volt.iem.pw.edu.pl/~czekirdk/memdisk... ok iPXE> http://svnweb.freebsd.org/socsvn/soc2014/kczekirda/pxe-fai-head/tools/mfsbsd-11.0-CURRENT-r266655-amd64.iso?view=co http://svnweb.freebsd.org/socsvn/soc2014/kczekirda/pxe-fai-head/tools/mfsbsd-11.0-CURRENT-r266655-amd64.iso?view=co: command not found iPXE> initrd http://svmnweb.freebsd.org/socsvn/soc2014/kvzekirda/pxe-fai-head/tools/mfsbsd-11.0-CURRENT-r266655-amd64.iso?view=co http://svmnweb.freebsd.org/socsvn/soc2014/kvzekirda/pxe-fai-head/tools/mfsbsd-11.0-CURRENT-r266655-amd64.iso?view=co... Error 0x3e11613b (http://ipxe.org/3e11613b) iPXE> > On Jun 13, 2014, at 4:52 AM, Kamil Czekirda <kczekirda@gmail.com> wrote: > > Please try mfsbsd based on current (r266655): > > http://svnweb.freebsd.org/socsvn/soc2014/kczekirda/pxe-fai-head/tools/mfsbsd-11.0-CURRENT-r266655-amd64.iso?view=co > > example: > > iPXE> dhcp > iPXE> kernel http://volt.iem.pw.edu.pl/~czekirdk/memdisk iso > iPXE> http://svnweb.freebsd.org/socsvn/soc2014/kczekirda/pxe-fai-head/tools/mfsbsd-11.0-CURRENT-r266655-amd64.iso?view=co > > Be careful, in second line I changed raw to iso. > > Regards, > Kamil > > 2014-06-13 11:45 GMT+02:00 Jim Thompson <jim@netgate.com>: >> 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@img/setup >> Searching bootorder for: /rom@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@i0cf8/usb@12,2/storage@1/*@0/*@0,0 >> Searching bootorder for: /pci@i0cf8/usb@12,2/usb-*@1 >> 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 >> 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@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@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@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@sentex.net >>>>> Providing Internet services since 1994 www.sentex.net >>>>> Cambridge, Ontario Canada http://www.tancsa.com/ >>>>> >>>>> _______________________________________________ >>>>> freebsd-hackers@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >>>>> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >>> >>> _______________________________________________ >>> freebsd-hackers@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >>> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >>help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B5921C3D-8E1D-4358-88B6-B81DB290116B>
