I am porting software from a EDB9302 Cirrus dev board to a TS-7200.
Everything works except for the Ethernet interface, which is not
responding.
>From the Ethernet point of view, the two boards are seemingly
identical except for a)TS7200 has a power down pin (enabled by
default), and b)the EBD9302 SDRAM is hardware mapped at C000_0000
whereas the TS7200 is at 0000_0000 and above.
As it stands, the software enables I and D caches using a "MCR
p15,c1,c0" type call, then it sets the MAC descriptor tables on a non
clashing area in page C000_0000. This memory page (sector) is defined
in the EDB9302 MMU table as noncacheable-buffered (the software uses
the default MMU table generated by the boot process).
The program works OK on the EDB9302, but when I port it to the TS7200,
I noticed the MAC handler reads nothing from the status descriptors.
Obviously the MAC hardware is not updating the right areas of memory,
or if it is, the CPU is not getting it because of some cacheing going
on. But the MMU table on the TS7200 defines C000_0000 as
noncacheable_nonbuffered, so what's going on??
I tried initialising the MAC to other pages without any joy.
However, if I disable global D-cacheing (with a MCR p15 call), the
program starts working, this is expected. But surely the MMU tables
say cacheing is disabled for some areas...
Any ideas on what may be happening?
Anything else I can try?
Thanks in advance
PS: I have looked at the linux open source drivers if_ep93xx.c for
both cards, not much there to see.
BTW, this is an embedded program, no OS, the MAC driver is custom (but
it has worked perfectly OK on the EDB9302 board). For development I am
using Redboot to load and go at address 0x8000. Interrupt vector table
is at 0x0000, program RAM starts at 0x0100.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|