Skip to contentSkip to conversation

RTL-8169/8167 issues

U-Boot-Users Øyvind Repvik 2 participants 2 messages Mar 5, 2008 – Mar 6, 2008

lore
Share & tools
lore
#0 lore raw

Hi,
I'm trying to get a recent u-boot running properly on a QNAP
TurboStation TS-101/TS-201, and I'm having problems with the network driver. When powered on, the device refuses to send anything to the network on the first attempt (eg. first ping fails). The second and subsequent attempts however, works perfectly.

With debugging switched on, the driver outputs the expected init output, but on the first attempt appears to loop on "rtl_recv", outputting this hundreds of times. (I don't have a debug log handy right now, but the only difference is that instead of *one* rtl_recv, there are hundreds) On the second attempt, there's only one rtl_recv.

Anyone got a clue as to what is going on?
I'm using the attached patch to correct endianness issues and add device IDs.

Regards,
?yvind Repvik
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtl8169.c.diff
Url: http://lists.denx.de/pipermail/u-boot/attachments/20080305/04d12387/attachment.txt

#1 lore raw

Hi, ?yvind.

2008/3/5, ?yvind Repvik <[email protected]>:

Quoted 13 lines

Hi,
I'm trying to get a recent u-boot running properly on a QNAP
TurboStation TS-101/TS-201, and I'm having problems with the network driver. When powered on, the device refuses to send anything to the network on the first attempt (eg. first ping fails). The second and subsequent attempts however, works perfectly.

With debugging switched on, the driver outputs the expected init output, but on the first attempt appears to loop on "rtl_recv", outputting this hundreds of times. (I don't have a debug log handy right now, but the only difference is that instead of *one* rtl_recv, there are hundreds) On the second attempt, there's only one rtl_recv.

Quoted 4 lines

Anyone got a clue as to what is going on?
I'm using the attached patch to correct endianness issues and add device IDs.

The patch that you wrote already exists in U-boot. Please check latest source code.

regards,
Nobuhiro

Signature · 2 lines
----------------------------------
Nobuhiro Iwamatsu