[ipxe-devel] i354 support in the intel driver

Patrick Agrain patrick.agrain at alcatel-lucent.com
Wed Sep 30 15:43:53 UTC 2015


Hello,

I'm trying to add the support of the i354 Ethernet controller in the 
intel driver (as suggested by M. Brown, several months ago...).

I tought that a first step could be to add the PCI_ROM() macro with the 
correct IDs, so that the device should be, at least, probed.
The console output let me think that this is even not reached.

Am I missing anything in the procedure ?
Is there a way to increase the debug level ?

iPXE clone: from 25th of sept.
Target board : Intel's Mohon Peak.
Bootloader: coreboot.
Make command : make -j3 bin/80861f41.rom DEBUG=intel:2,pci
The PCI_ROM macro included in ./drivers/net/intel.c : PCI_ROM ( 0x8086, 
0x1f41, "i354-sgmii", "I354_SGMII", 0 ),
The console logs:
<...>
SeaBIOS (version 
rel-1.8.0-12-ga1ac886-dirty-20150615_010341-localhost.localdomain)
EHCI init on dev 00:16.0 (regs=0xdffe9420)
Found 2 legacy serial ports
AHCI controller at 17.0, iobase dffe8000, irq 15
AHCI controller at 18.0, iobase dffe8800, irq 0
Searching bootorder for: /pci at i0cf8/*@18/drive at 0/disk at 0
AHCI/0: registering: "AHCI/0: ST500NM0011          39M4517 42C0468IBM 
ATA-8 Hard-Disk (465 GiBytes)"
Scan for option roms
Running option rom at c100:0003

iPXE (http://ipxe.org) 00:14.0 C100 PCI2.10 PnP PMMpmm call arg1=1
pmm call arg1=0
+7FD2B020pmm call arg1=1
pmm call arg1=0
+7FC6B020 C100

Running option rom at c200:0003

iPXE (http://ipxe.org) 00:14.1 C200 PCI2.10 PnP PMMpmm call arg1=1
  7FD2B020pmm call arg1=1
  7FC6B020 C200
Searching bootorder for: /pci at i0cf8/*@14
Searching bootorder for: /pci at i0cf8/*@14,1

Press ESC for boot menu.

Select boot device:

1. AHCI/0: ST500NM0011          39M4517 42C0468IBM ATA-8 Hard-
2. iPXE (PCI 00:14.0)
3. iPXE (PCI 00:14.1)

Note: Here I pressed the '2' key.

Searching bootorder for: HALT
drive 0x000f4bc0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63 
s=976773168
Space available for UMB: c3000-ee800, f0000-f4bc0
Returned 258048 bytes of ZoneHigh
e820 map has 8 items:
   0: 0000000000000000 - 000000000009f800 = 1 RAM
   1: 000000000009f800 - 00000000000a0000 = 2 RESERVED
   2: 00000000000f0000 - 0000000000100000 = 2 RESERVED
   3: 0000000000100000 - 000000007fd89000 = 1 RAM
   4: 000000007fd89000 - 000000007fe00000 = 2 RESERVED
   5: 00000000e0000000 - 00000000f0000000 = 2 RESERVED
   6: 00000000fee00000 - 00000000fee01000 = 2 RESERVED
   7: 0000000100000000 - 0000000180000000 = 1 RAM
enter handle_19:
   NULL
Booting from ROM...
Booting from c100:0361
iPXE (PCI 00:14.0) starting execution...ok

Note: from here it hangs...

Thanks in advance for any information.
Regards,
Patrick Agrain



More information about the ipxe-devel mailing list