OK I am having a problem setting up my ethernet controller in src/mainboard Config.lb.
Quoting from the i82830 Datasheet: Logically, the ICH3-M appears as two PCI devices within a single physical component also residing on PCI bus #0. One of the ICH4 devices residing on PCI Bus #0 is a PCI-to-PCI bridge. Logically, the primary side of the bridge resides on PCI bus #0 while the secondary side is the standard PCI expansion bus (PCI0). Also within the ICH3-M is another PCI Device, the LAN Controller, which resides on the standard PCI expansion bus (PCI0) down from the PCI-to-PCI bridge.
lspci -n 00:1e.0 0604: 8086:244e (rev 82) 01:08.0 0200: 8086:103a (rev 82)
lspci-tvv -[0000:00]-+-1e.0-[0000:01]----08.0 Intel Corporation 82801DB PRO/100 VE (CNR) Ethernet Controller
lspci-v 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 82) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=64 I/O behind bridge: 0000d000-0000dfff Memory behind bridge: ff700000-ff7fffff
01:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (CNR) Ethernet Controller (rev 82) Flags: bus master, medium devsel, latency 64, IRQ 11 Memory at ff7ff000 (32-bit, non-prefetchable) [size=4K] I/O ports at dc00 [size=64] Capabilities: [dc] Power Management version 2
How the heck do I set this up in Config.lb? HELP??
Thanks - Joe
On Tue, Aug 14, 2007 at 12:06:25PM -0400, Joseph Smith wrote:
lspci-tvv -[0000:00]-+-1e.0-[0000:01]----08.0 Intel Corporation 82801DB PRO/100 VE (CNR) Ethernet Controller
How the heck do I set this up in Config.lb? HELP??
Looks like it's been done before:
--8<-- src/mainboard/asus/mew-vm/Config.lb chip southbridge/intel/i82801xx # Southbridge device pci 1e.0 on # PCI Bridge #chip drivers/pci/onboard # device pci 1.0 on end # register "rom_address" = "0xfff80000" #end end .. end -->8--
//Peter
Quoting Peter Stuge peter@stuge.se:
On Tue, Aug 14, 2007 at 12:06:25PM -0400, Joseph Smith wrote:
lspci-tvv -[0000:00]-+-1e.0-[0000:01]----08.0 Intel Corporation 82801DB PRO/100 VE (CNR) Ethernet Controller
How the heck do I set this up in Config.lb? HELP??
Looks like it's been done before:
--8<-- src/mainboard/asus/mew-vm/Config.lb chip southbridge/intel/i82801xx # Southbridge device pci 1e.0 on # PCI Bridge #chip drivers/pci/onboard # device pci 1.0 on end # register "rom_address" = "0xfff80000" #end end .. end -->8--
//Peter
Does that mean I would have to cat in a ethernet rom? Also, wouldn't it be device pci 08.0 on end
Thanks - Joe
On Tue, Aug 14, 2007 at 12:30:14PM -0400, Joseph Smith wrote:
On Tue, Aug 14, 2007 at 12:06:25PM -0400, Joseph Smith wrote:
lspci-tvv -[0000:00]-+-1e.0-[0000:01]----08.0 Intel Corporation 82801DB PRO/100 VE (CNR) Ethernet Controller
How the heck do I set this up in Config.lb? HELP??
Looks like it's been done before:
--8<-- src/mainboard/asus/mew-vm/Config.lb chip southbridge/intel/i82801xx # Southbridge device pci 1e.0 on # PCI Bridge #chip drivers/pci/onboard # device pci 1.0 on end # register "rom_address" = "0xfff80000" #end end .. end -->8--
Does that mean I would have to cat in a ethernet rom?
Do you or the chip need one? Is there one in the factory BIOS or in a standalone flash chip or none at all?
Also, wouldn't it be device pci 08.0 on end
Yep. I only looked for the PCI-PCI bridge.
//Peter
Quoting Peter Stuge peter@stuge.se:
On Tue, Aug 14, 2007 at 12:30:14PM -0400, Joseph Smith wrote:
On Tue, Aug 14, 2007 at 12:06:25PM -0400, Joseph Smith wrote:
lspci-tvv -[0000:00]-+-1e.0-[0000:01]----08.0 Intel Corporation 82801DB PRO/100 VE (CNR) Ethernet Controller
How the heck do I set this up in Config.lb? HELP??
Looks like it's been done before:
--8<-- src/mainboard/asus/mew-vm/Config.lb chip southbridge/intel/i82801xx # Southbridge device pci 1e.0 on # PCI Bridge #chip drivers/pci/onboard # device pci 1.0 on end # register "rom_address" = "0xfff80000" #end end .. end -->8--
Does that mean I would have to cat in a ethernet rom?
Do you or the chip need one? Is there one in the factory BIOS or in a standalone flash chip or none at all?
Also, wouldn't it be device pci 08.0 on end
Yep. I only looked for the PCI-PCI bridge.
//Peter
I don't need an ethernet rom. Etherboot would take care of that correct? But in the config above it is alocating 0xfff80000 for a PCI rom, correct? My VGA bios is already using 0xfff80000.
Thanks - Joe
On Tue, Aug 14, 2007 at 12:54:04PM -0400, Joseph Smith wrote:
Does that mean I would have to cat in a ethernet rom?
Do you or the chip need one? Is there one in the factory BIOS or in a standalone flash chip or none at all?
I don't need an ethernet rom. Etherboot would take care of that correct?
For booting from network, yes. But maybe the hardware needs the ROM for initialization? Where is the MAC address stored? Note there doesn't seem to be any ROM even with the factory BIOS.
But in the config above it is alocating 0xfff80000 for a PCI rom, correct?
Yes.
My VGA bios is already using 0xfff80000.
If you would need one more ROM just change that address to match what is in the flash chip. Add the size of the VGA BIOS and you'd have the address for the next ROM image. But seems you don't need one.
//Peter
Peter Stuge wrote:
On Tue, Aug 14, 2007 at 12:54:04PM -0400, Joseph Smith wrote:
Does that mean I would have to cat in a ethernet rom?
Do you or the chip need one? Is there one in the factory BIOS or in a standalone flash chip or none at all?
I don't need an ethernet rom. Etherboot would take care of that correct?
For booting from network, yes. But maybe the hardware needs the ROM for initialization? Where is the MAC address stored? Note there doesn't seem to be any ROM even with the factory BIOS.
MAC address is stored in hardware. I honestly couldn't tell you why that code is there, but it shouldn't be, no rom is necessary. I'm guessing it was left over from my attempt at getting vga to run, but I'm not sure why I would have attached it to the ethernet (perhaps bad copy and paste?). Anyone wishing to remove it feel free, one of these days I'll wrap up that port, but no time for now.
-Corey
Quoting Corey Osgood corey.osgood@gmail.com:
Peter Stuge wrote:
On Tue, Aug 14, 2007 at 12:54:04PM -0400, Joseph Smith wrote:
Does that mean I would have to cat in a ethernet rom?
Do you or the chip need one? Is there one in the factory BIOS or in a standalone flash chip or none at all?
I don't need an ethernet rom. Etherboot would take care of that correct?
For booting from network, yes. But maybe the hardware needs the ROM for initialization? Where is the MAC address stored? Note there doesn't seem to be any ROM even with the factory BIOS.
MAC address is stored in hardware.
Ok, so can I just do this with out specifing a PCI expansion rom address?
device pci 1e.0 on # PCI Bridge chip drivers/pci/onboard device pci 08.0 on end # Intel PRO/100 VE (CNR) Ethernet Controller end end
Thanks - Joe
On Wed, Aug 15, 2007 at 02:34:19AM -0400, Joseph Smith wrote:
MAC address is stored in hardware.
Ok, so can I just do this with out specifing a PCI expansion rom address?
device pci 1e.0 on # PCI Bridge chip drivers/pci/onboard device pci 08.0 on end # Intel PRO/100 VE (CNR) Ethernet
Controller end end
Looks good!
//Peter