[U-Boot] UDP listener

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

Dear alex889,
In message 24458139.post@talk.nabble.com 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.
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

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
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
participants (3)
-
alex889
-
Mike Frysinger
-
Wolfgang Denk