=> mii w 0 0 8000 <- PHY reset after test is completedĪn embedded and charset-unspecified text was scrubbed. I've tested this on our PPC405 custom board, but it should also work on all other systems because packet generation is independent of the underlying ethernet hardware. It is necessary to set the ethernet line into loopback mode either by programming the PHY or using a loopback plug. The looped back package is compared with the original one and a message is displayed. The functions EthLoopStart, EthLoopSend and EthLoopHandler generate a simple ethernet frame with NetOurEther as destination address and packet type PROT_TEST. The patch is against SF CVS from 20050307. To achieve this, a new ethernet packet type (PROT_TEST, 0x0808, AFAIK this is not used otherwise) is introduced in net/net.c. The patch attached provides a command called 'ethloop' which allows to perform loopback testing on the current eth device. To perform external loopback testing on an Ethernet interface, insert a loopback plug into the port. Next message: Re: Ethernet loopback command.Previous message: Sourcecode-debugging using BDI2000.* Ping packet (echo-request) generation and parsing (echo-reply) isĪlready present in u-boot.Ethernet loopback command Thomas Schäfer thomas.schaefer at Standard packet and may be useful elsewhere. Responder return a "ping" response (ICMP echo-reply) this will be a If you sent a "ping" (ICMP echo-request) packet and had your loopback I have not looked at the code, so I don't know how Switched into loopback mode, but i agree that those non-standard packetsĬould be problematic when sent to a network. Generated packet would remain on the board because PHY or EMAC are The Single-Port Triple-Speed Ethernet and On-Board PHY Chip reference designs provide flexible test and demonstration platforms on which you can control, test, and monitor the Ethernet operations using system loopbacks. Step 6: When you create and then test a physical loopback. Single-Port Triple-Speed Ethernet and On-Board PHY Chip Reference Design. Step 5: Insert plastic tubing over the wire and into the RJ-45 end. When I issue the no shut command I receive the following error: 'fa0/xx cant be brought up because it failed POST in loopback test.' Thi. What is happening is that they appear to be administratively down. Redirect Pin 4 to Pin 8 and Pin 5 to Pin 7 for a Gigabit Ethernet RJ-45 loopback cable. Hello Everyone, I have a Cisco 2950 series switch, and I have eight ports that are not working. I introduced that packet type toĪchieve a proper separtion from all other packet types. Step 4: Insert cable into RJ-45 end (Do not crimp yet). The PROT_IP part of the NetReceive function examines the complete IP I don't like such non-standard solutions. I also don't understand why specific ethernet packet types The patch attached provides a command called 'ethloop' which allows to perform loopback testing on the current eth device.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |