Intel LXT972A on FADS 852T
This is my second series of post on this subject. Current situation is that when I ping from uboot, now I do not get TX timeout, but get host is dead message.
On tracing, I can tell that uboot successfully return from fec_send (it does get ok that packet was transmitted.) by reading TX descriptor.
In fec_recv, it reads receive descriptor, and see no packet there.
I have done of the obvious and non-obvious checks. e.g. ethernet cable and stuff outside the box is fully operational. Infect I see arp packet going out on ethereal. I know that reply is sent by the pinged box.
I have read data sheet section of fec, and as far as I can tell, all the initialization is correct. I can talk to physical chip LXT972A, e.g. I can turn LEDs off and can set loopback mode, so that I am really talking to the chip.
My hardware guy has checked all the clocks and he assures me that they are all in order. He also made external loopback, i.e. ethernet cable with input going to output, this also works.
So what would be the cause of LXT972A not receiving anything. On LXT972A, I have checked configuration and status registers. On status register it says that nothing has been received.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20040725/1a5805c0/attachment.htm
Quoted 2 lines · In message <[email protected]> you wrote:
This is my second series of post on this subject. Current situation is that when I ping from uboot, now I do not get TX timeout, but get host is dead message.
Please use shorter lines (max. 70 characters or so).
What do you mean you get a "host is dead" message? U-Boot does not print such a message.
Quoted 1 line
I have done of the obvious and non-obvious checks. e.g. ethernet cable and stuff outside the box is fully operational. Infect I see arp packet going out on ethereal. I know that reply is sent by the pinged box.
Do you also see the ICMP packet sent by U-Boot on the wire?
Quoted 1 line
My hardware guy has checked all the clocks and he assures me that they are all in order. He also made external loopback, i.e. ethernet cable with input going to output, this also works.
How did you test this that you know it works?
Quoted 4 lines
--0-783479016-1090823493=:97116
Content-Type: text/html; charset=us-ascii<DIV>
And please stop sending HTML!!!
Best regards,
Wolfgang Denk
Signature · 7 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
The manager will be continually amazed that policies he took for com-
mon knowledge are totally unknown by some member of his team. Since
his fundamental job is to keep everybody going in the same direction,
his chief daily task will be communication, not decision-making.
- Fred Brooks, "The Mythical Man Month"Quoted 11 lines · --- Wolfgang Denk
In message <[email protected]> you
Quoted 2 lines · wrote:
This is my second series of post on this subject. Current
situation is that when I ping from uboot, now I do not get TX timeout, but get host is dead message.
Please use shorter lines (max. 70 characters or so).
What do you mean you get a "host is dead" message? U-Boot does not print such a message.
Actual message is host <ip address> is not alive
Quoted 6 lines
Quoted 1 line
I have done of the obvious and non-obvious checks. e.g. ethernet
cable and stuff outside the box is fully operational. Infect I see arp packet going out on ethereal. I know that reply is sent by the pinged box.
Do you also see the ICMP packet sent by U-Boot on the wire?
No
Quoted 5 lines
Quoted 1 line
My hardware guy has checked all the clocks and he assures me that
they are all in order. He also made external loopback, i.e. ethernet cable with input going to output, this also works.
How did you test this that you know it works?
Well, initially, when I was getting TX timeout, I stop getting timeout message with lopback cable.
Quoted 37 lines
Quoted 4 lines
--0-783479016-1090823493=:97116
Content-Type: text/html; charset=us-ascii<DIV>
And please stop sending HTML!!!
Best regards,
Wolfgang Denk
Signature · 24 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de The manager will be continually amazed that policies he took for com- mon knowledge are totally unknown by some member of his team. Since his fundamental job is to keep everybody going in the same direction, his chief daily task will be communication, not decision-making. - Fred Brooks, "The Mythical Man Month" ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idG21&alloc_id040&op=click _______________________________________________ U-Boot-Users mailing list U-Boot-Users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users
Quoted 3 lines · In message <[email protected]> you wrote:
Quoted 3 lines
situation is that when I ping from uboot, now I do not get TX timeout, but get host is dead message.
...
Quoted 1 line
Actual message is host <ip address> is not alive
Then please write EXACTLY this the next time you report a problem.
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
I have done of the obvious and non-obvious checks. e.g. ethernet
cable and stuff outside the box is fully operational. Infect I see arp packet going out on ethereal. I know that reply is sent by the pinged box.
How do you know that? Did you see the packet on the wire?
Did you see how it entered the Rx code in U-boot?
Quoted 2 lines
Quoted 1 line
Do you also see the ICMP packet sent by U-Boot on the wire?
No
Did you trace that the Tx code was actually executed?
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
My hardware guy has checked all the clocks and he assures me that
they are all in order. He also made external loopback, i.e. ethernet cable with input going to output, this also works.
How did you test this that you know it works?
Well, initially, when I was getting TX timeout, I stop getting timeout message with lopback cable.
Arghh... And what exactly do you know from this test?
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Windows95 = graphical user interface for a single-threaded interrupt handler (DOS)
Quoted 6 lines · --- Wolfgang Denk
Quoted 4 lines
I have done of the obvious and non-obvious checks. e.g. ethernet cable and stuff outside the box is fully operational. Infect I see arp packet going out on ethereal. I know that reply is sent by the pinged box.
How do you know that? Did you see the packet on the wire?
I have seen out going packet from PPC boc (can tell by mac address). Also seen reply from the host which is pinged
Quoted 1 line
Quoted 1 line
Did you see how it entered the Rx code in U-boot?
Yes, it enters RX code, and receive control (r_cntrl) register says there is nothing and it leaves big for (;;) loop. fec_recv is called about 20 - 25 times.
Quoted 1 line
Quoted 1 line
Do you also see the ICMP packet sent by U-Boot on the wire?
No
Quoted 1 line
Quoted 1 line
Did you trace that the Tx code was actually executed?
Yes, I did. After it receive ack that packet was actually sent, it returns and goes back to calls fec_recv
Quoted 1 line
Wolfgang Denk
Abu Sana
Quoted 3 lines · In message <[email protected]> you wrote:
Yes, it enters RX code, and receive control (
r_cntrl) register says there is nothing and it leaves big for (;;) loop.fec_recvis called
Stop here. You write: "receive control (r_cntrl) register says there is nothing".
Find out why this is the case, and fix it.
Best regards,
Wolfgang Denk
Signature · 5 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de Even if you can deceive people about a product through misleading statements, sooner or later the product will speak for itself. - Hajime Karatsu