Re: [coreboot] gPXE not found?!
Hi, using genroms/gpxe.rom makes gPXE start but then gPXE isn't able to find the network devices. When I'm using the vendor and device id (pci8086,1079.rom) Seabios doesn't map that option rom to the NICs because Seabios doesn't see them! (please see attached log) What can I do? to scan also 0a:03.0 and 0a:03.1, which would be my NICs? Thanks, Knut Kujat. Knut Kujat escribió: Hi and thanks everyone gPXE finally starts changing the 8086 1076 to a 8086 1079 (Monday you know :S) and using genroms/gpxe.rom Thanks again, Knut Kujat. Kevin O'Connor escribió: On Mon, May 17, 2010 at 06:29:33PM +0200, Knut Kujat wrote: Hi, I was asked to add PXE support to the BIOS so I'm trying Seabios in combination with gPXE, I add a gPXE rom (build from the rom-o-matic page) and add it via cbfstool to the coreboot.rom file: [...] Start bios (version pre-0.5.1-20100517_180539-pcq.gap.upv.es) You've got an old version of SeaBIOS. Please grab the latest - see: http://www.coreboot.org/SeaBIOS [...] Scan for VGA option rom Running option rom at c000:0003 [...] Scan for option roms Press F12 for boot menu. SeaBIOS found and loaded your VGA option rom, but didn't load any other option roms. Please make sure the id in the CBFS filename matches the device (or, use a filename like genroms/gpxe.rom instead). -Kevin Timeout waiting for keyboard after reset. Start bios (version 0.6.0-20100518_183559-pcq.gap.upv.es) init ivt init bda Find memory size Attempting to find coreboot table Found coreboot table forwarder. Now attempting to find coreboot memory map Found mainboard Supermicro H8QME-2+ (Fam10) Found CBFS header at 0xf8da Ram Size=0xe000 (0x00012000 high) malloc setup init pic init timer tsc calibrate start=2619949234 end=2623382628 diff=3433394 CPU Mhz=2000 math cp init Found 16 cpu(s) max supported 16 cpu(s) init bios32 init PMM init PNPBIOS table init keyboard init mouse Relocating coreboot bios tables Copying PIR from 0x7fff0400 to 0x000f7290 Copying MPTABLE from 0x7fff1400/7fff1410 to 0x000f6f10 init SMBIOS tables SMBIOS ptr=0x000f6ef0 table=0xdc50 Scan for VGA option rom Attempting to init PCI bdf 01:01.0 (dev/ven 515e1002) Searching CBFS for prefix pci1002,515e.rom Found CBFS file fallback/romstage Found CBFS file fallback/coreboot_ram Found CBFS file fallback/payload Found CBFS file pci1002,515e.rom Copying data 45...@0xfff347b8 to 172...@0x000c Checking rom 0x000c (sig aa55 size 88) Running option rom at c000:0003 handle_hwpic1 irq=1 handle_hwpic1 irq=1 handle_hwpic1 irq=1 Searching CBFS for prefix vgaroms/ Found CBFS file fallback/romstage Found CBFS file fallback/coreboot_ram Found CBFS file fallback/payload Found CBFS file pci1002,515e.rom Found CBFS file pci8086,1079.rom Found CBFS file Turning on vga console handle_hwpic1 irq=1 Starting SeaBIOS (version 0.6.0-20100518_183559-pcq.gap.upv.es) init usb EHCI init on dev 00:03.1 (regs=0xfc145020) /dffe6000\ Start thread /dffe4000\ Start thread init ps2port /dffe2000\ Start thread |dffe2000| i8042 ctr old=30 new=30 /dffe\ Start thread \dffe4000/ End thread init lpt Found 0 lpt ports init serial Found 1 serial ports init boot device ordering init floppy drives init hard drives ATA controller 0 at 1f0/3f4/0 (irq 14 dev 28) /dffde000\ Start thread |dffde000| powerup iobase=1f0 st=7f |dffde000| powerup iobase=1f0 st=20 |dffde000| ata_detect ata0-0: sc=2a sn=2a dh=20 |dffde000| powerup iobase=1f0 st=2a |dffde000| powerup iobase=1f0 st=0 |dffde000| ata_detect ata0-1: sc=55 sn=aa dh=b0 |dffde000| ata_reset drive=0xdffdef94 /dffdc000\ Start thread \dffe/ End thread ATA controller 1 at 170/374/0 (irq 15 dev 28) /dffda000\ Start thread |dffda000| powerup IDE floating |dffda000| powerup IDE floating |dffda000| ata_detect ata1-0: sc=ff sn=ff dh=ff |dffda000| powerup IDE floating |dffda000| powerup IDE floating |dffda000| ata_detect ata1-1: sc=ff sn=ff dh=ff \dffda000/ End thread |dffde000| ata_reset exit status=0 /dffda000\ Start thread \dffdc000/ End thread ATA controller 2 at 2cc0/2cf0/0 (irq 0 dev 30) /dffd8000\ Start thread |dffd8000| powerup iobase=2cc0 st=50 |dffd8000| powerup iobase=2cc0 st=50 |dffd8000| ata_detect ata2-0: sc=55 sn=aa dh=a0 |dffd8000| ata_reset drive=0xdffd8f94 /dffd6000\ Start thread \dffda000/ End thread ATA controller 3 at 2cc8/2cf4/0 (irq 0 dev 30) /dffd4000\ Start thread |dffd4000| powerup iobase=2cc8 st=7f |dffd4000| powerup iobase=2cc8 st=7f |dffd4000| ata_detect ata3-0: sc=ff sn=ff dh=ff |dffd4000| powerup iobase=2cc8 st=7f |dffd4000| powerup iobase=2cc8 st=7f |dffd4000| ata_detect ata3-1: sc=ff sn=ff dh=ff \dffd4000/ End thread |dffd8000| ata_reset exit status=50 |dffde000| ata0-1: MATSHITADVD-ROM SR-8178 ATAPI-5 CD-Rom/DVD-Rom |dffde000| Mapping cd drive 0x000f6e50 |dffde000| ata_detect resetresult=4f00 \dffde000/ End thread |dffe2000| i8042 ctr old=30
Re: [coreboot] gPXE not found?!
On Wed, May 19, 2010 at 1:30 AM, Knut Kujat kn...@gap.upv.es wrote: Hi, using genroms/gpxe.rom makes gPXE start but then gPXE isn't able to find the network devices. When I'm using the vendor and device id (pci8086,1079.rom) Seabios doesn't map that option rom to the NICs because Seabios doesn't see them! (please see attached log) What can I do? to scan also 0a:03.0 and 0a:03.1, which would be my NICs? Have you tried adding the root bus 0x0a to config.h? Thanks, Myles -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] gPXE not found?!
Knut, try putting the southbridge on bus 0 On 19.05.2010, at 15:15, Myles Watson myle...@gmail.com wrote: On Wed, May 19, 2010 at 1:30 AM, Knut Kujat kn...@gap.upv.es wrote: Hi, using genroms/gpxe.rom makes gPXE start but then gPXE isn't able to find the network devices. When I'm using the vendor and device id (pci8086,1079.rom) Seabios doesn't map that option rom to the NICs because Seabios doesn't see them! (please see attached log) What can I do? to scan also 0a:03.0 and 0a:03.1, which would be my NICs? Have you tried adding the root bus 0x0a to config.h? Thanks, Myles -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] gPXE not found?!
On Wed, May 19, 2010 at 7:20 AM, Stefan Reinauer stefan.reina...@coresystems.de wrote: Knut, try putting the southbridge on bus 0 I think it is already there, but there is also an 8132 at bus 8. using genroms/gpxe.rom makes gPXE start but then gPXE isn't able to find the network devices. When I'm using the vendor and device id (pci8086,1079.rom) Seabios doesn't map that option rom to the NICs because Seabios doesn't see them! (please see attached log) What can I do? to scan also 0a:03.0 and 0a:03.1, which would be my NICs? Have you tried adding the root bus 0x0a to config.h? I should have said bus 8. From your lspci: -+-[:08]-+-01.0-[09]-- | +-01.1 Advanced Micro Devices [AMD] AMD-8132 PCI-X IOAPIC [1022:7459] | +-02.0-[0a]--+-03.0 Intel Corporation 82546GB Gigabit Ethernet Controller [8086:1079] | |\-03.1 Intel Corporation 82546GB Gigabit Ethernet Controller [8086:1079] | \-02.1 Advanced Micro Devices [AMD] AMD-8132 PCI-X IOAPIC [1022:7459] If that lspci doesn't match the enumeration that Coreboot gives it, use the one that matches your boot logs. Thanks, Myles -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] gPXE not found?!
Hello, #define CONFIG_PCI_ROOT1 0x0a worked just fine, perfect you could say :). Everything working now like it should! Thanks again and again Bye, Knut Kujat Myles Watson escribió: On Wed, May 19, 2010 at 7:20 AM, Stefan Reinauer stefan.reina...@coresystems.de wrote: Knut, try putting the southbridge on bus 0 I think it is already there, but there is also an 8132 at bus 8. using genroms/gpxe.rom makes gPXE start but then gPXE isn't able to find the network devices. When I'm using the vendor and device id (pci8086,1079.rom) Seabios doesn't map that option rom to the NICs because Seabios doesn't see them! (please see attached log) What can I do? to scan also 0a:03.0 and 0a:03.1, which would be my NICs? Have you tried adding the root bus 0x0a to config.h? I should have said bus 8. From your lspci: -+-[:08]-+-01.0-[09]-- | +-01.1 Advanced Micro Devices [AMD] AMD-8132 PCI-X IOAPIC [1022:7459] | +-02.0-[0a]--+-03.0 Intel Corporation 82546GB Gigabit Ethernet Controller [8086:1079] | |\-03.1 Intel Corporation 82546GB Gigabit Ethernet Controller [8086:1079] | \-02.1 Advanced Micro Devices [AMD] AMD-8132 PCI-X IOAPIC [1022:7459] If that lspci doesn't match the enumeration that Coreboot gives it, use the one that matches your boot logs. Thanks, Myles -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] gPXE not found?!
On Wed, May 19, 2010 at 8:31 AM, Knut Kujat kn...@gap.upv.es wrote: Hello, #define CONFIG_PCI_ROOT1 0x0a worked just fine, perfect you could say :). I'm glad it worked for you. 0x08 would let it find devices that could be plugged in to the other PCI-X bridge (bus 8 2.1) as well. Since that bus would be 0xb, it wouldn't be found by looking at 0xa. Thanks, Myles -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] gPXE not found?!
Hi and thanks everyone gPXE finally starts changing the 8086 1076 to a 8086 1079 (Monday you know :S) and using genroms/gpxe.rom Thanks again, Knut Kujat. Kevin O'Connor escribió: On Mon, May 17, 2010 at 06:29:33PM +0200, Knut Kujat wrote: Hi, I was asked to add PXE support to the BIOS so I'm trying Seabios in combination with gPXE, I add a gPXE rom (build from the rom-o-matic page) and add it via cbfstool to the coreboot.rom file: [...] Start bios (version pre-0.5.1-20100517_180539-pcq.gap.upv.es) You've got an old version of SeaBIOS. Please grab the latest - see: http://www.coreboot.org/SeaBIOS [...] Scan for VGA option rom Running option rom at c000:0003 [...] Scan for option roms Press F12 for boot menu. SeaBIOS found and loaded your VGA option rom, but didn't load any other option roms. Please make sure the id in the CBFS filename matches the device (or, use a filename like genroms/gpxe.rom instead). -Kevin -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
[coreboot] gPXE not found?!
Hi, I was asked to add PXE support to the BIOS so I'm trying Seabios in combination with gPXE, I add a gPXE rom (build from the rom-o-matic page) and add it via cbfstool to the coreboot.rom file: Name Offset Type Size fallback/romstage 0x0 stage81096 fallback/coreboot_ram 0x13d00stage43730 fallback/payload0x1e840payload 34069 pci1002,515e.rom 0x26dc0optionrom45056 pci8086,1076.rom 0x31e00unknown 72704 0x43a40 null 769650 where 1002,515e is the VGA rom and 8086,1076 is the gPXE rom. Now I'm not quite sure what I should expect when booting but to me it seems that gPXE is not executing (see log), it starts directly to boot from the disk. Shouldn't gPXE try to get a IP from the DHCP server etc...? Could someone please tell me what I'm missing? Thanks, Knut Kujat. set power on after power fail RTC Init Invalid CMOS LB checksum enabling HPET @0xfed0 PNP: 002e.2 init PNP: 002e.5 init Keyboard init... Keyboard controller output buffer result timeout Timeout waiting for keyboard after reset. PNP: 002e.b init PCI: 00:02.1 init PCI: 00:03.1 init PCI: 00:05.0 init IDE0 Check CBFS header at f8da magic is 4f524243 Found CBFS header at f8da Check fallback/romstage CBFS: follow chain: fff0 + 38 + 13cc8 + align - fff13d00 Check fallback/coreboot_ram CBFS: follow chain: fff13d00 + 38 + aad2 + align - fff1e840 Check fallback/payload CBFS: follow chain: fff1e840 + 38 + 8515 + align - fff26dc0 Check pci1002,515e.rom CBFS: follow chain: fff26dc0 + 38 + b000 + align - fff31e00 Check pci8086,1076.rom CBFS: follow chain: fff31e00 + 38 + 11c00 + align - fff43a40 Check CBFS: follow chain: fff43a40 + 28 + bbe72 + align - f900 CBFS: Could not find file pci10de,036e.rom PCI: 00:06.0 init SATA S SATA P PCI: 00:06.1 init SATA S SATA P PCI: 00:06.2 init SATA S SATA P PCI: 00:0b.0 init PCI: 00:0c.0 init PCI: 00:0d.0 init PCI: 00:0e.0 init PCI: 00:0f.0 init PCI: 00:10.0 init PCI: 00:18.1 init Check CBFS header at f8da magic is 4f524243 Found CBFS header at f8da Check fallback/romstage CBFS: follow chain: fff0 + 38 + 13cc8 + align - fff13d00 Check fallback/coreboot_ram CBFS: follow chain: fff13d00 + 38 + aad2 + align - fff1e840 Check fallback/payload CBFS: follow chain: fff1e840 + 38 + 8515 + align - fff26dc0 Check pci1002,515e.rom CBFS: follow chain: fff26dc0 + 38 + b000 + align - fff31e00 Check pci8086,1076.rom CBFS: follow chain: fff31e00 + 38 + 11c00 + align - fff43a40 Check CBFS: follow chain: fff43a40 + 28 + bbe72 + align - f900 CBFS: Could not find file pci1022,1201.rom PCI: 00:18.2 init Check CBFS header at f8da magic is 4f524243 Found CBFS header at f8da Check fallback/romstage CBFS: follow chain: fff0 + 38 + 13cc8 + align - fff13d00 Check fallback/coreboot_ram CBFS: follow chain: fff13d00 + 38 + aad2 + align - fff1e840 Check fallback/payload CBFS: follow chain: fff1e840 + 38 + 8515 + align - fff26dc0 Check pci1002,515e.rom CBFS: follow chain: fff26dc0 + 38 + b000 + align - fff31e00 Check pci8086,1076.rom CBFS: follow chain: fff31e00 + 38 + 11c00 + align - fff43a40 Check CBFS: follow chain: fff43a40 + 28 + bbe72 + align - f900 CBFS: Could not find file pci1022,1202.rom PCI: 00:18.3 init NB: Function 3 Misc Control.. done. PCI: 00:18.4 init Check CBFS header at f8da magic is 4f524243 Found CBFS header at f8da Check fallback/romstage CBFS: follow chain: fff0 + 38 + 13cc8 + align - fff13d00 Check fallback/coreboot_ram CBFS: follow chain: fff13d00 + 38 + aad2 + align - fff1e840 Check fallback/payload CBFS: follow chain: fff1e840 + 38 + 8515 + align - fff26dc0 Check pci1002,515e.rom CBFS: follow chain: fff26dc0 + 38 + b000 + align - fff31e00 Check pci8086,1076.rom CBFS: follow chain: fff31e00 + 38 + 11c00 + align - fff43a40 Check CBFS: follow chain: fff43a40 + 28 + bbe72 + align - f900 CBFS: Could not find file pci1022,1204.rom PCI: 00:19.0 init PCI: 08:01.1 init Check CBFS header at f8da magic is 4f524243 Found CBFS header at f8da Check fallback/romstage CBFS: follow chain: fff0 + 38 + 13cc8 + align - fff13d00 Check fallback/coreboot_ram CBFS: follow chain: fff13d00 + 38 + aad2 + align - fff1e840 Check fallback/payload CBFS: follow chain: fff1e840 + 38 + 8515 + align - fff26dc0 Check pci1002,515e.rom CBFS: follow chain: fff26dc0 + 38 + b000 + align - fff31e00 Check pci8086,1076.rom CBFS: follow chain: fff31e00 + 38 + 11c00 + align - fff43a40 Check CBFS: follow chain: fff43a40 + 28 + bbe72 + align - f900 CBFS: Could not find file pci1022,7459.rom PCI: 0a:03.0 init Check CBFS header at f8da magic is 4f524243 Found CBFS header at f8da Check fallback/romstage CBFS: follow chain: fff0 + 38 + 13cc8 + align - fff13d00 Check fallback/coreboot_ram CBFS:
Re: [coreboot] gPXE not found?!
On Mon, May 17, 2010 at 10:29 AM, Knut Kujat kn...@gap.upv.es wrote: Hi, I was asked to add PXE support to the BIOS so I'm trying Seabios in combination with gPXE, I add a gPXE rom (build from the rom-o-matic page) and add it via cbfstool to the coreboot.rom file: Name Offset Type Size fallback/romstage 0x0 stage 81096 fallback/coreboot_ram 0x13d00 stage 43730 fallback/payload 0x1e840 payload 34069 pci1002,515e.rom 0x26dc0 optionrom 45056 pci8086,1076.rom 0x31e00 unknown 72704 Doesn't this need to be of type optionrom? Thanks, Myles -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] gPXE not found?!
On Mon, May 17, 2010 at 10:29 AM, Knut Kujat kn...@gap.upv.es wrote: Hi, I was asked to add PXE support to the BIOS so I'm trying Seabios in combination with gPXE, I add a gPXE rom (build from the rom-o-matic page) and add it via cbfstool to the coreboot.rom file: Name Offset Type Size fallback/romstage 0x0 stage 81096 fallback/coreboot_ram 0x13d00 stage 43730 fallback/payload 0x1e840 payload 34069 pci1002,515e.rom 0x26dc0 optionrom 45056 pci8086,1076.rom 0x31e00 unknown 72704 I just looked up one of your old messages that had an lspci. It looks like your NIC is 8086,1079. Have you tried that ID? Quoted from your earlier mail: I attached several lspci outputs for the h8qme-2+ board ... 0a:03.0 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03) 0a:03.1 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet Controller (rev 03) -+-[:08]-+-01.0-[09]-- | +-01.1 Advanced Micro Devices [AMD] AMD-8132 PCI-X IOAPIC [1022:7459] | +-02.0-[0a]--+-03.0 Intel Corporation 82546GB Gigabit Ethernet Controller [8086:1079] | |\-03.1 Intel Corporation 82546GB Gigabit Ethernet Controller [8086:1079] | \-02.1 Advanced Micro Devices [AMD] AMD-8132 PCI-X IOAPIC [1022:7459] Thanks, Myles -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] gPXE not found?!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, This works for me: r...@ruik:~/coreboot-mtrr/coreboot$ ./build/util/cbfstool/cbfstool build/coreboot.rom add ./gpxe-git-11063065.rom pci1106,3065.rom optionrom r...@ruik:~/coreboot-mtrr/coreboot$ ./build/util/cbfstool/cbfstool build/coreboot.rom print coreboot.rom: 512 kB, bootblocksize 882, romsize 524288, offset 0x0 Alignment: 64 bytes Name Offset Type Size fallback/romstage 0x0stage45945 fallback/coreboot_ram 0xb3c0 stage50624 fallback/payload 0x179c0payload 39622 pci1106,3230.rom 0x214c0optionrom39424 pci1106,3065.rom 0x2af00optionrom55296 (empty)0x38740null 292102 Seabios find the oprom / I can select it as boot device too. Thanks Rudolf -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkvxkjQACgkQ3J9wPJqZRNUltwCff2XmxDtgxu+XeFaIxBGvlY2U WgEAoMEnJb9Q9Yl2KFXTghfygZHgGZct =eR2g -END PGP SIGNATURE- -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] gPXE not found?!
On Mon, May 17, 2010 at 06:29:33PM +0200, Knut Kujat wrote: Hi, I was asked to add PXE support to the BIOS so I'm trying Seabios in combination with gPXE, I add a gPXE rom (build from the rom-o-matic page) and add it via cbfstool to the coreboot.rom file: [...] Start bios (version pre-0.5.1-20100517_180539-pcq.gap.upv.es) You've got an old version of SeaBIOS. Please grab the latest - see: http://www.coreboot.org/SeaBIOS [...] Scan for VGA option rom Running option rom at c000:0003 [...] Scan for option roms Press F12 for boot menu. SeaBIOS found and loaded your VGA option rom, but didn't load any other option roms. Please make sure the id in the CBFS filename matches the device (or, use a filename like genroms/gpxe.rom instead). -Kevin -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot