public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] iq80310: pci_init_find_82559s() never returns
@ 2002-04-26  2:15 Daniel Franke
  2002-05-14 13:23 ` Jonathan Larmour
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Franke @ 2002-04-26  2:15 UTC (permalink / raw)
  To: ecos-discuss


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] iq80310: pci_init_find_82559s() never returns
  2002-04-26  2:15 [ECOS] iq80310: pci_init_find_82559s() never returns Daniel Franke
@ 2002-05-14 13:23 ` Jonathan Larmour
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Larmour @ 2002-05-14 13:23 UTC (permalink / raw)
  To: Daniel Franke; +Cc: ecos-discuss

Daniel Franke wrote:
> 
> (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?

Is this in a PC or backplane? We've heard of conflicts with the PC Bios
before - if it's in a PC make sure S3-2 is off.

Alternatively there are some fixes we've made to the iq80310 that may help
this, however they aren't public yet until eCos v2 (which is now being
actively worked on again!)

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [ECOS] iq80310: pci_init_find_82559s() never returns
@ 2002-05-14 16:33 Jing Luo
  0 siblings, 0 replies; 3+ messages in thread
From: Jing Luo @ 2002-05-14 16:33 UTC (permalink / raw)
  To: 'Jonathan Larmour', Daniel Franke; +Cc: ecos-discuss

I had the same problem. IQ80310 is plugged in a PC at 32bit/33MHz PCI bus.
I tured off S3-2.
After download Redboot RAM start version, it hangs after
pci_init_find_82559s().
For further debug, it hangs at pciwindow_mem_alloc().

-----Original Message-----
From: Jonathan Larmour [mailto:jlarmour@redhat.com]
Sent: Tuesday, May 14, 2002 2:24 PM
To: Daniel Franke
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] iq80310: pci_init_find_82559s() never returns


Daniel Franke wrote:
> 
> (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?

Is this in a PC or backplane? We've heard of conflicts with the PC Bios
before - if it's in a PC make sure S3-2 is off.

Alternatively there are some fixes we've made to the iq80310 that may help
this, however they aren't public yet until eCos v2 (which is now being
actively worked on again!)

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine

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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-05-14 23:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-26  2:15 [ECOS] iq80310: pci_init_find_82559s() never returns Daniel Franke
2002-05-14 13:23 ` Jonathan Larmour
2002-05-14 16:33 Jing Luo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).