Skip to contentSkip to conversation

UDP listener

U-Boot alex889 3 participants 4 messages Jul 13, 2009 – Jul 14, 2009

lore
Share & tools
lore

alex889

author
#0 lore raw

Hi,
I'm newbie in this subject,
Is it possible to add a very simple UDP listener, which should recv message and send response?

I have two NAND chips on my board, and i want to let the user the ability to choose where to boot from.

Thanks,
Alex

Signature · 2 lines
View this message in context: http://www.nabble.com/UDP-listener-tp24458139p24458139.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
#1 lore raw
Quoted 2 lines · On Monday 13 July 2009 04:56:35 alex889 wrote:

Is it possible to add a very simple UDP listener, which should recv message and send response?

sounds like you want to use netconsole
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090713/690bb282/attachment.pgp

#2 lore raw
In reply to alex889

Dear alex889,

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

I'm newbie in this subject,
Is it possible to add a very simple UDP listener, which should recv message and send response?

We already have that.

Quoted 2 lines

I have two NAND chips on my board, and i want to let the user the ability to choose where to boot from.

Use the existing netconsole interface.

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
"The lesser of two evils -- is evil."             - Seymour (Sy) Leon
author
#3 lore raw
In reply to alex889

Thank you for the info,
i just want to make sure:
for recv ineed to use nc_input_packet
and for send i need to use nc_send_packet?
how can i recv for a timeout of 1 sec? does it return immediatly?

Alex

Quoted 12 lines · alex889 wrote:

Hi,
I'm newbie in this subject,
Is it possible to add a very simple UDP listener, which should recv message and send response?

I have two NAND chips on my board, and i want to let the user the ability to choose where to boot from.

Thanks,
Alex

Signature · 2 lines
View this message in context: http://www.nabble.com/-U-Boot--UDP-listener-tp24458139p24474656.html
Sent from the Uboot - Users mailing list archive at Nabble.com.