This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
82559's self test fail...
- To: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Subject: [ECOS] 82559's self test fail...
- From: "Mynampati, Venkata S." <MynamVS at nsc-msg01 dot network dot com>
- Date: Thu, 28 Jun 2001 17:22:28 -0500
Hi,
Redboot code for XScale fails while doing self-test for 82559 based
NIC. It fails after executing below code, this could be because the card
is not working or something else, however i want to learn more.
Pls note that my board is not iq80310.
if_iq80310.c/iq80310_i82559_init()
..snippet...
OUTL( (VIRT_TO_BUS(p_selftest)) | I82559_SELFTEST, ioaddr + SCBPort);
count = 0x1FFFFF; // Timeout for self-test.
do {
udelay(10);
} while ( (p_selftest[1] == -1) && (--count >= 0) );
Is this p_selftest location is updated by the ethernet card, after a
self-test?
I have gone thru 82559's datasheet, it does say that using PORT Interface,
we can reset/self-test, but it doesn't tell us more. Could you send some
urls/programmer;s docs etc. I have searched intel's site, but of no avail.
Thanks and Regards
Venkat N