From: rvijay435 Date: Fri, 29 Nov 2013 04:30:49 -0800 (PST) Subject: [U-Boot] Can a standalone application send data via Ethernet in U-Boot? In-Reply-To: <20131026193125.C50753803FF@gemini.denx.de> References: <1382067543913-165775.post@n7.nabble.com> <20131018201500.0875B380627@gemini.denx.de> <1382594959198-166076.post@n7.nabble.com> <20131026193125.C50753803FF@gemini.denx.de> Message-ID: <1385728248832-168658.post@n7.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > Hm... I'm notr sure what exactly you are trying to do here - I cannot > find the string "tsec_miiphy_write" anywhere in the U-Boot source > code. Hi Wolfgang, tsec_miiphy_write function is present in drivers/net/tsec.c of the U-Boot-201009 version which I downloaded. The flow of calls is: tsec_initialize () which is in drivers/net/tsec.c calls miiphy_register as: #if defined (CONFIG_MII) || defined (CONFIG_CMD_MII) \ && !defined (BITBANGMII) miiphy_register (dev->name, tsec_miiphy_read, tsec_miiphy_write) #endif The third argument is actually a function pointer which calls tsec_miiphy_write function. > If you need networking, stay within U-Boot > context. Or boot an OS. Booting an OS is not possible as per the client requirement. What does this sentence means, 'Stay within U-Boot'? After tftp'ing the application image, we will use go command to a particular address to execute the application. We can't be back into U-Boot, once we start running the application. Is my understanding correct? Please help me to get the networking concepts done in application, by which I can send and receive the data. -- View this message in context: http://u-boot.10912.n7.nabble.com/Can-a-standalone-application-send-data-via-Ethernet-in-U-Boot-tp165775p168658.html Sent from the U-Boot mailing list archive at Nabble.com.