This is the mail archive of the ecos-discuss@sources.redhat.com 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]

iq80310: pci_init_find_82559s() never returns



Hi there!

I got the eCos CVS tree, created a new config (ecosconfig new iq80310
net), set IP, subnet etc created the tree and build it with the tests.

--snipplet from ecos.ecc (export)--
cdl_option CYGDBG_DEVS_ETH_INTEL_I82559_CHATTER { user_value 1 };
cdl_component CYGPKG_NET_BUILD_TESTS { user_value 1 };
cdl_interface CYGHWR_NET_DRIVER_ETH0_SETUP {
    # Implemented by CYGHWR_NET_DRIVER_ETH0_MANUAL, active, disabled
    # Implemented by CYGHWR_NET_DRIVER_ETH0_BOOTP, active, disabled
    # Implemented by CYGHWR_NET_DRIVER_ETH0_ADDRS, active, enabled
    # ...
}
cdl_component CYGHWR_NET_DRIVER_ETH0_BOOTP { user_value 0 };
cdl_component CYGHWR_NET_DRIVER_ETH0_ADDRS { user_value 1 };
cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_IP { user_value 192.168.0.200 };
cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_NETMASK { user_value 255.255.255.0 };
cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_BROADCAST { user_value 192.168.0.255 };
cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_SERVER { user_value 192.168.0.1 };
cdl_option CYGHWR_NET_DRIVER_ETH0_ADDRS_GATEWAY { user_value 192.168.0.1 };
--end--

Running the "server_test" (or any other, no difference in result):
--cut--
gdb -nw server_test
GNU gdb 5.1.1
[...]
This GDB was configured as "--host=i686-pc-linux-gnu --target=xscale-elf"...
(gdb) target remote redboot:9000
Remote debugging using redboot:9000
0x000175b8 in ?? ()
(gdb) load
Loading section .rom_vectors, size 0x40 lma 0xa0020000
Loading section .text, size 0x389fc lma 0xa0020040
Loading section .rodata, size 0x2488 lma 0xa0058a3c
Loading section .data, size 0x13fc lma 0xa005aec4
Start address 0xa0020040, load size 246464
Transfer rate: 164309 bits/sec, 300 bytes/write.
(gdb) continue
Continuing.
intel_i82559_init
pci_init_find_82559s()
--cut--

That's the end. The 7-segment display shows '02' (instead '01') and I get
no more response.
(I'm not used to gdb, I just followed the doc to get here.)


The target is a iq80310, Rev. F.
A previously installed Linux works with the NIC - but only if 'diag' is
started before and it has done its reset. Now the NIC is recognized by
RedBoot - and later by Linux. If I run Linux at once (without calling
diag) neither NIC nor PCI bus are recognized.

--RedBoot (reset after diag)--
...
Exiting Hardware Diagnostics - Reenabling Data Cache!
Ethernet eth0: MAC address 00:80:4d:46:22:54
IP: 192.168.0.100, Default server: 192.168.0.1
RedBoot(tm) bootstrap and debug environment, version R1.24 - built
16:53:49, Se1
Platform: IQ80310 (XScale)
--end--

Has anyone got eCos on IQ80310 using the internal NIC running and may
help?

Thanks in advance!

	Daniel Franke



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


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