[U-Boot-Users] Re: recieving network packets ?

Andrew Wozniak awozniak at mc.com
Thu Jan 26 15:26:48 CET 2006


Maximus wrote:
> On 1/25/06, Wolfgang Denk <wd at denx.de> wrote:
>> In message <3634de740601250603r38b2b323i4a075f7fcabe5260 at mail.gmail.com> you
>> wrote:
>>>    I uboot - i want to recieve network packets.  I wrote a small
>>> program using  the code available in uboot.
>>>    However its not working ?.    Can anyone point me where i am going
>> wrong>  ?.
>>
>> Which protocol are you trying to implement?
> 
>    Its an application level protocol using UDP. i am able to send
> packet but unable to recieve
>    packets.
> 
>    I am trying to add a command which when executed, just acts like a
> server - it just recieves some packets from a remote host and takes
> action.
> 
>    i am having trouble in just doing that. i read the description in net/net.c.
> 
> 
>    Could u please help me on this. please let me know where am i doing wrong.
> 
>    i am implementing a command  it does not send any packets - it just
> recieves packets
>    from a remote host. (Just like a server in network applications.)

UBoot has a netconsole capability which listens via UDP. Why not try 
using this feature instead of inventing something new.

Once you have netconsole configured and working, a remote client can 
send a UBoot command, shell script, custom command or even a UBoot applet.

> 
> 
> Regards,
> John.
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 




More information about the U-Boot mailing list