From: Anamik Rao <anamikrao@yahoo.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Testing INCA-IP Ethernet module in Loopback mode using U-boot
Date: Thu, 19 Jul 2007 02:16:45 -0700 (PDT) [thread overview]
Message-ID: <11685073.post@talk.nabble.com> (raw)
Hi,
I am trying to develop an stand alone application in u-boot, to test the
loopback operation of INCA-IP ethernet module.
For
-initializing the ethernet module,
-sending data and receiving data from the ethernet module,
-halting the ethernet module
the u-boot code is used .
I have modified the following bits in different registers,
1.Enabled the state machine of the Ethernet Physical Access
controller in MDIO_CFG register.
2.Disabled the initialization of EPHY register.
3.Enabled the auto-negotiation in PHY_BCR of LAN port.
4.Disabled the reset in PHY_BCR of LAN port.
5.Selected the loopback option in the PHY_BCR of LAN port.
6.Any packet coming from the CPU port is directly forwarded to
the LAN port.
This is done by setting the appropriate bits in the CPU_PCTL
register.
7.LED's are used to determine the status of the loopback link.
8.LED multiplexer is enabled in the TSF_CONF register.
9.The LED_CONF register is set such that ethernet module shows
us the link status through the LED's.
10.The LED #1 is configured to flash on recieving of data.
With all these settings I am trying to send a data packet and recieve it
again.However, we could transmit the packet from the CPU port to the LAN
port.But, we are not able to receive this packet in the "recieve module" of
the LAN port.
If anyone has performed a similar verification earlier, please help me out.
Adarsh
--
View this message in context: http://www.nabble.com/Testing-INCA-IP-Ethernet-module-in-Loopback-mode-using-U-boot-tf4109125.html#a11685073
Sent from the Uboot - Users mailing list archive at Nabble.com.
next reply other threads:[~2007-07-19 9:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-19 9:16 Anamik Rao [this message]
2007-07-19 14:35 ` [U-Boot-Users] Testing INCA-IP Ethernet module in Loopback mode using U-boot Ben Warren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=11685073.post@talk.nabble.com \
--to=anamikrao@yahoo.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox