Skip to contentSkip to conversation

Data transfer through Ethernet in u-boot.

U-Boot prathika 2 participants 2 messages May 11, 2009

lore
Share & tools
lore

prathika

author
#0 lore raw

Hi all,
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.
Similarly I want to test ethernet communication also. I would like to transmit a text file from my board to PC and vice-versa.
Are there any example application for this in u-boot.
Please help me in this regard.

Thanks & Regards,
Prathika R

#1 lore raw

Dear prathika,

Quoted 5 lines · In message <[email protected]> you wrote:

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 2 lines

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

Signature · 7 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
That Microsoft, the Trabant of the operating  system  world,  may  be
glancing  over the Berlin Wall at the Audis and BMWs and Mercedes. In
their own universe Trabants and Ladas were mainstream too...
                                                   -- Evan Leibovitch