This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Ethernet initialization


I am using a target that uses intel i82559 ethernet driver. Enabling the
driver dubugging support, I have the following output.
I am lokking for possible options to strat finding out whats going wrong
where, in eth0 initilization
I am able to ping to my target on Redboot. I need networking support on eCos
application. Will appreciate some direction on this.

RedBoot> go
Init device 'i82559_enet1'
intel_i82559_init
pci_init_find_82559s()
Scanning PCI bus for an Ethernet device.  Please Wait.
Finished cyg_pci_init();
eth0 = 82559
 Wired to HAL vector 34
Found device on bus 0, devfn 0x08:
 Note that board is active. Probed sizes and CPU addresses invalid!
 Vendor    0x8086
 Device    0x1209
 Command   0x0007, Status 0x0290
 Class/Rev 0x02000009
 Header 0x00
 SubVendor 0x0000, Sub ID 0x0000
 BAR[0]    0x0c000000 / probed size 0x00000000 / CPU addr 0x0c000000
 BAR[1]    0x0a000001 / probed size 0x00000000 / CPU addr 0x0a000000
 BAR[2]    0x0c020000 / probed size 0x00000000 / CPU addr 0x0c020000
 BAR[3]    0x00000000 / probed size 0x00000000 / CPU addr 0x00000000
 BAR[4]    0x00000000 / probed size 0xc002cf2c / CPU addr 0x00000000
 BAR[5]    0x00000000 / probed size 0xc002c230 / CPU addr 0x00000000
 eth0 configured
 memory address = 0x0c000000
 I/O address = 0x0a000000
 **** Device enabled for I/O and Memory and Bus Master
eth1 = 82559
 Wired to HAL vector 35
Found device on bus 0, devfn 0x10:
 Note that board is active. Probed sizes and CPU addresses invalid!
 Vendor    0x8086
 Device    0x1209
 Command   0x0007, Status 0x0290
 Class/Rev 0x02000009
 Header 0x00
 SubVendor 0x0000, Sub ID 0x0000
 BAR[0]    0x0c040000 / probed size 0x00000000 / CPU addr 0x0c040000
 BAR[1]    0x0a000041 / probed size 0x00000000 / CPU addr 0x0a000040
 BAR[2]    0x0c060000 / probed size 0x00000000 / CPU addr 0x0c060000
 BAR[3]    0x00000000 / probed size 0x00000000 / CPU addr 0x00000000
 BAR[4]    0x00000000 / probed size 0xc002cf2c / CPU addr 0x00000000
 BAR[5]    0x00000000 / probed size 0xc002c230 / CPU addr 0x00000000
 eth1 configured
 memory address = 0x0c040000
 I/O address = 0x0a000040
 **** Device enabled for I/O and Memory and Bus Master
eth2 not found
Init82559 0 @ c0093af8
82559 Self Test
  General self-test: passed.
  Serial sub-system self-test: passed.
  Internal registers self-test: passed.
  ROM checksum self-test: passed (DBD8681D).
eeprom data bits 6 (ioaddr a00000e)
Valid EEPROM checksum
Set MAC Address = 00 08 A2 00 03 A2 (ok 1)
i82559_init: MAC Address = 00 08 A2 00 03 A2
eth_drv_init
Init device 'i82559_enet2'
intel_i82559_init
Init82559 1 @ c0093b08
82559 Self Test
  General self-test: passed.
  Serial sub-system self-test: passed.
  Internal registers self-test: passed.
  ROM checksum self-test: passed (DBD8681D).
eeprom data bits 6 (ioaddr a00004e)
Valid EEPROM checksum
Set MAC Address = 00 08 A2 00 03 A3 (ok 1)
i82559_init: MAC Address = 00 08 A2 00 03 A3
eth_drv_init
Init device 'i82559_enet3'
intel_i82559_init
BOOTP[eth0] op: REPLY
       htype: Ethernet
        hlen: 6
        hops: 0
         xid: 0x0
        secs: 0
       flags: 0x0
       hw_addr: 00:08:a2:00:03:a2
     client IP: 192.168.1.2
         my IP: 192.168.1.2
     server IP: 192.168.1.101
    gateway IP: 192.168.1.1
  options:
        subnet mask: 255.255.255.0
       IP broadcast: 192.168.1.255
            gateway: 192.168.1.1
in newest ioctlReturn is : 300
SIOCSIFADDR: Device not configured
BOOTP/DHCP failed on eth2
SIOCSIFADDR: Device not configured
Network initialization failed for eth0
Stariting thread
Beginning execution of thread
starting test!ERROR in connection

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]