[SeaBIOS] PXE boot ROM question
jonathansturges at yahoo.com
Tue Oct 29 21:20:38 CET 2013
I'm in the process of dusting off an old Geode GX1 thin client I have and upgrading it to coreboot v4. I had no problem building a new coreboot image (v4 is SO much easier than v2), but I'm having an issue with SeaBIOS and option ROMs. Since this is my first time working with SeaBIOS, I need a bit of help to bring this together.
I built a PXE ROM for the onboard NIC, which is a NatSemi DP83815 (DEV/DID 100b/0020). I've tried both an iPXE image built from scratch, as well as a GPXE ROM from rom-o-matic. I added the ROM with cbfstool as documented at coreboot.org, and also added a bootorder file that lists the NIC first. However, when SeaBIOS calls the ROM, nothing seems to happen. See below, where it tries to boot from the ROM but fails almost immediately. It boots successfully from the local disk after the ROM returns. Any pointers as to what the issue is are appreciated.
Start bios (version rel-220.127.116.11-0-g88cb66e-20130924_201442-test-f14)
Found mainboard DTRI WBTG
Ram Size=0x07de0000 (0x0000000000000000 high)
Relocating low data from 0x000e7330 to 0x000ef790 (size 2156)
Relocating init from 0x000e7b9c to 0x07dc61f0 (size 40164)
Found CBFS header at 0xfffffd30
Found 8 PCI devices (max PCI bus is 00)
No apic - only the main cpu is present.
Copying SMBIOS entry point from 0x07de1400 to 0x000fd6c0
Scan for VGA option rom
OHCI init on dev 00:13.0 (regs=0xfebf1000)
Found 1 lpt ports
Found 2 serial ports
ATA controller 1 at 1f0/3f4/0 (irq 14 dev 92)
ATA controller 2 at 170/374/0 (irq 15 dev 92)
ata0-0: FUJITSU MHT2060AT ATA-6 Hard-Disk (57231 MiBytes)
Searching bootorder for: /pci at i0cf8/*@12,2/drive at 0/disk at 0
Got ps2 nak (status=51)
All threads complete.
Scan for option roms
Running option rom at c000:0003
pnp call arg1=60
pmm call arg1=0
pmm call arg1=2
pmm call arg1=0
Searching bootorder for: /pci at i0cf8/*@15
Press F12 for boot menu.
Searching bootorder for: HALT
drive 0x000fd670: PCHS=16383/16/63 translation=lba LCHS=1024/255/63 s=117210240
Space available for UMB: 000c0800-000ef000
Returned 65536 bytes of ZoneHigh
e820 map has 5 items:
0: 0000000000000000 - 000000000009fc00 = 1 RAM
1: 000000000009fc00 - 00000000000a0000 = 2 RESERVED
2: 00000000000f0000 - 0000000000100000 = 2 RESERVED
3: 0000000000100000 - 0000000007de0000 = 1 RAM
4: 0000000007de0000 - 0000000007e00000 = 2 RESERVED
Booting from ROM...
Booting from c000:0336
Booting from Hard Disk...
Booting from 0000:7c00
Press any key to continue.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SeaBIOS