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]

Re: Configure Network Support for eCos


the previous email missed the last part of output(initialization fails) ;
here it is..after the mail..

Hi:

I realized that the low-level drivers are shared by eCos supported TCP/IP
stack and Redboot. 
My eCos application now correctly picks the MAC address from EEPROM connected
to i82559 device on my target. However, network initalization still fails. I
have attached output with driver debug option enabled. It seems to go over the
low-level driver fine, what happens when a call to high-level driver is made?

As I mentioned my hardware platform does not support eCos, but does support
Redboot. I want to know how the high level driver support for the two is
different. I am not sure about this but am guessing that perhaps things go
wrong as high -level driver support for eCos app doesn't exist.

I would appreciate any insights into this.

Thanks
-R. 
----------------------------------------------------------------

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
TRACE: intr.cxx            [  77]
 Cyg_Interrupt::Cyg_Interrupt ()  
   rTRACE: intr.cxx            [  77]
Cyg_Interrupt::Cyg_Interrupt ()    
                           )TRACE: intr.cxx
           [ 100] Cyg_Interrupt::Cyg_Interrupt ()                            
  dTRACE: intr.cxx            [ 386] void Cyg_Interrupt::attach ()           
                     rTRACE: intr.cxx            [ 447] void
Cyg_Interrupt::attach ()                                
 dFound 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 0xc002e280 / CPU addr 0x00000000
 BAR[5]    0x00000000 / probed size 0xc002d584 / CPU addr 0x00000000
 eth0 configured
 memory address = 0x0c000000
 I/O address = 0x0a000000
TRACE: intr.cxx            [ 626] void Cyg_Interrupt::unmask_interrupt ()    
                  rTRACE: intr.cxx            [ 635] void
Cyg_Interrupt::unmask_interrupt ()                       
 **** Device enabled for I/O and Memory and Bus Master
eth1 = 82559
 Wired to HAL vector 35
TRACE: intr.cxx            [  77] Cyg_Interrupt::Cyg_Interrupt ()            
                  rTRACE: intr.cxx            [  77]
Cyg_Interrupt::Cyg_Interrupt ()                               )TRACE: intr.cxx
           [ 100] Cyg_Interrupt::Cyg_Interrupt ()                            
  dTRACE: intr.cxx            [ 386] void Cyg_Interrupt::attach ()           
                     rTRACE: intr.cxx            [ 447] void
Cyg_Interrupt::attach ()                                 
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 0xc002e280 / CPU addr 0x00000000
 BAR[5]    0x00000000 / probed size 0xc002d584 / CPU addr 0x00000000
 eth0 configured
 memory address = 0x0c000000
 I/O address = 0x0a000000
TRACE: intr.cxx            [ 626] void Cyg_Interrupt::unmask_interrupt ()    
                  rTRACE: intr.cxx            [ 635] void
Cyg_Interrupt::unmask_interrupt ()                       d

 **** Device enabled for I/O and Memory and Bus Master
eth1 = 82559
 Wired to HAL vector 35
TRACE: intr.cxx            [  77] Cyg_Interrupt::Cyg_Interrupt ()            
                  rTRACE: intr.cxx            [  77]
Cyg_Interrupt::Cyg_Interrupt ()                               )TRACE: intr.cxx
           [ 100] Cyg_Interrupt::Cyg_Interrupt ()                            
  dTRACE: intr.cxx            [ 386] void Cyg_Interrupt::attach ()           
                     rTRACE: intr.cxx            [ 447] void
Cyg_Interrupt::attach ()                                 
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 0xc002e280 / CPU addr 0x00000000
 BAR[5]    0x00000000 / probed size 0xc002d584 / CPU addr 0x00000000
eth1 configured
 memory address = 0x0c040000
 I/O address = 0x0a000040
TRACE: intr.cxx            [ 626] void Cyg_Interrupt::unmask_interrupt ()    
                  rTRACE: intr.cxx            [ 635] void
Cyg_Interrupt::unmask_interrupt ()                       d 
**** Device enabled for I/O and Memory and Bus Master
eth2 not found
Init82559 0 @ c00bd400
82559 Self Test
TRACE: intr.cxx            [ 607] void Cyg_Interrupt::mask_interrupt ()      
                  rTRACE: intr.cxx            [ 607] void
Cyg_Interrupt::mask_interrupt ()                         )TRACE: intr.cxx    
       [ 617] void Cyg_Interrupt::mask_interrupt ()                        
dTRACE: intr.cxx            [ 626] void Cyg_Interrupt::unmask_interrupt ()   
                   rTRACE: intr.cxx            [ 635] void
Cyg_Interrupt::unmask_interrupt ()                       d 

  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
TRACE: memmove.cxx         [  73] __memmove()                                
                  rTRACE: memmove.cxx         [  73] __memmove()             
                                     )TRACE: memmove.cxx         [ 100]
__memmove()                                                   4TRACE:
memmove.cxx         [  73] __memmove()                                       
           rTRACE: memmove.cxx         [  73] __memmove()           


//some more trace comments...




device init failed
Init device 'i82559_enet2'
intel_i82559_init
Init82559 1 @ c00bd410.....so on

Thanks
-R.





-- 
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]