public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Data transfer through Ethernet in u-boot.
@ 2009-05-11 10:16 prathika
  2009-05-11 10:23 ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: prathika @ 2009-05-11 10:16 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] Data transfer through Ethernet in u-boot.
  2009-05-11 10:16 prathika
@ 2009-05-11 10:23 ` Wolfgang Denk
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2009-05-11 10:23 UTC (permalink / raw)
  To: u-boot

Dear prathika,

In message <4A07FAF7.30905@deeopl.com> 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.

> 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?

> Are there any example application for this in u-boot.

See the "tftp" or "nfs" commands.

Best regards,

Wolfgang Denk

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] Data transfer through Ethernet in u-boot.
@ 2009-05-11 11:12 prathika
  2009-05-11 11:23 ` Wolfgang Denk
  0 siblings, 1 reply; 6+ messages in thread
From: prathika @ 2009-05-11 11:12 UTC (permalink / raw)
  To: 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,

In message <4A07FAF7.30905@deeopl.com <http://lists.denx.de/mailman/listinfo/u-boot>> 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.

>/ 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?

>/ Are there any example application for this in u-boot.
/
See the "tftp" or "nfs" commands.

Best regards,

Wolfgang Denk

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] Data transfer through Ethernet in u-boot.
  2009-05-11 11:12 [U-Boot] Data transfer through Ethernet in u-boot prathika
@ 2009-05-11 11:23 ` Wolfgang Denk
  2009-05-12 12:17   ` prathika
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2009-05-11 11:23 UTC (permalink / raw)
  To: u-boot

Dear prathika,

please do not top post / full quote. Make sure to read and understand
http://www.netmeister.org/news/learn2quote.html


In message <4A08080E.6030605@deeopl.com> 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.

> 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.

> 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

-- 
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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] Data transfer through Ethernet in u-boot.
  2009-05-11 11:23 ` Wolfgang Denk
@ 2009-05-12 12:17   ` prathika
  2009-05-12 17:33     ` Marco
  0 siblings, 1 reply; 6+ messages in thread
From: prathika @ 2009-05-12 12:17 UTC (permalink / raw)
  To: u-boot




Wolfgang Denk wrote:
> Dear prathika,
>
> please do not top post / full quote. Make sure to read and understand
> http://www.netmeister.org/news/learn2quote.html
>
>
> In message <4A08080E.6030605@deeopl.com> 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.
>
>   
>> 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.
>   
>> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [U-Boot] Data transfer through Ethernet in u-boot.
  2009-05-12 12:17   ` prathika
@ 2009-05-12 17:33     ` Marco
  0 siblings, 0 replies; 6+ messages in thread
From: Marco @ 2009-05-12 17:33 UTC (permalink / raw)
  To: u-boot



prathika ha scritto:
> 
> 
> 
>>  
>>> 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?


Yes, you need a tftp server on your PC.

Marco

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-05-12 17:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-11 11:12 [U-Boot] Data transfer through Ethernet in u-boot prathika
2009-05-11 11:23 ` Wolfgang Denk
2009-05-12 12:17   ` prathika
2009-05-12 17:33     ` Marco
  -- strict thread matches above, loose matches on Subject: below --
2009-05-11 10:16 prathika
2009-05-11 10:23 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox