Data transfer through Ethernet in u-boot.
hi,
You have mentioned to add the test code to the existing POST framework. In my hardware, I have CAN controller interfaced to SPI interface, SPI DACs, parallel ADCs, 1553B controller interfaced to EBC. I have a CPLD to generate chip selects to these ICs.
If this test code will be useful, please let me to know how to add it to the POST framework.
I just gave an example of text file, it can be binary file transfer also between my board and PC.
I understood that "tftp" command in u-boot has been coded only for receiving data from the PC and not to transmit, to PC.If this is the case should i add the transmit code to the "tftp" command? Even if I use this command for data transfer, what are the requirements for the application in PC side?
Thanks & Regards,
Prathika R
Dear prathika,
Quoted 1 line · In message <[email protected] <http://lists.denx.de/mailman/listinfo/u…
/
/>/ I am porting u-boot on PPC440 EP. I am porting a stand alone application />/ on it.
/>/ I have coded for testing the peripherals of PPC. I have no issues in />/ executing this application.
/
You should have coded the test code in the contexzt of the existing POST framework instead of a separate standalone application. that would have been more useful, at least to others.
Quoted 1 line
/ Similarly I want to test ethernet communication also. I would like to
/>/ transmit a text file from my board to PC and vice-versa. /
Why the restriction on a text file? Why no arbitrary binary data?
Quoted 1 line
/ Are there any example application for this in u-boot.
/
See the "tftp" or "nfs" commands.
Best regards,
Wolfgang Denk
Dear prathika,
please do not top post / full quote. Make sure to read and understand
http://www.netmeister.org/news/learn2quote.html
Quoted 4 lines · In message <[email protected]> you wrote:
You have mentioned to add the test code to the existing POST framework. In my hardware, I have CAN controller interfaced to SPI interface, SPI DACs, parallel ADCs, 1553B controller interfaced to EBC. I have a CPLD to generate chip selects to these ICs.
If this test code will be useful, please let me to know how to add it to the POST framework.
Well, study the existing code and the documentation, than add your test code.
Quoted 1 line
I understood that "tftp" command in u-boot has been coded only for receiving data from the PC and not to transmit, to PC.If this is the case should i add the transmit code to the "tftp" command?
Yes.
Quoted 1 line
Even if I use this command for data transfer, what are the requirements for the application in PC side?
I don't understand this question?
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Use the Force, Luke.
Quoted 20 lines · Wolfgang Denk
Dear prathika,
please do not top post / full quote. Make sure to read and understand
http://www.netmeister.org/news/learn2quote.htmlQuoted 4 lines · In message <[email protected]> you wrote:
You have mentioned to add the test code to the existing POST framework. In my hardware, I have CAN controller interfaced to SPI interface, SPI DACs, parallel ADCs, 1553B controller interfaced to EBC. I have a CPLD to generate chip selects to these ICs.
If this test code will be useful, please let me to know how to add it to the POST framework.Well, study the existing code and the documentation, than add your test code.
Quoted 2 lines
I understood that "tftp" command in u-boot has been coded only for receiving data from the PC and not to transmit, to PC.If this is the case should i add the transmit code to the "tftp" command?
Quoted 7 lines
Yes.
Quoted 2 lines
Even if I use this command for data transfer, what are the requirements for the application in PC side?
I don't understand this question?
--Here, I will be connecting my board through a GUI to a Windows PC. I will interact using this GUI. Actually if I use "tftp" command for file transfer, do I need some tftp client or server running on my Windows PC?
Thanks & Regards,
Prathika R
prathika ha scritto:
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Even if I use this command for data transfer, what are the requirements for the application in PC side?
Quoted 6 lines
Quoted 1 line
I don't understand this question?
--Here, I will be connecting my board through a GUI to a Windows PC. I will interact using this GUI. Actually if I use "tftp" command for file transfer, do I need some tftp client or server running on my Windows PC?
Yes, you need a tftp server on your PC.
Marco