public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] UDP listener
@ 2009-07-13  8:56 alex889
  2009-07-13  9:19 ` Mike Frysinger
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: alex889 @ 2009-07-13  8:56 UTC (permalink / raw)
  To: u-boot


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
-- 
View this message in context: http://www.nabble.com/UDP-listener-tp24458139p24458139.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

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

* [U-Boot] UDP listener
  2009-07-13  8:56 [U-Boot] UDP listener alex889
@ 2009-07-13  9:19 ` Mike Frysinger
  2009-07-13  9:30 ` Wolfgang Denk
  2009-07-14  7:02 ` alex889
  2 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2009-07-13  9:19 UTC (permalink / raw)
  To: u-boot

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 

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

* [U-Boot] UDP listener
  2009-07-13  8:56 [U-Boot] UDP listener alex889
  2009-07-13  9:19 ` Mike Frysinger
@ 2009-07-13  9:30 ` Wolfgang Denk
  2009-07-14  7:02 ` alex889
  2 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2009-07-13  9:30 UTC (permalink / raw)
  To: u-boot

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

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

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

* [U-Boot] UDP listener
  2009-07-13  8:56 [U-Boot] UDP listener alex889
  2009-07-13  9:19 ` Mike Frysinger
  2009-07-13  9:30 ` Wolfgang Denk
@ 2009-07-14  7:02 ` alex889
  2 siblings, 0 replies; 4+ messages in thread
From: alex889 @ 2009-07-14  7:02 UTC (permalink / raw)
  To: u-boot


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
> 

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

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

end of thread, other threads:[~2009-07-14  7:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-13  8:56 [U-Boot] UDP listener alex889
2009-07-13  9:19 ` Mike Frysinger
2009-07-13  9:30 ` Wolfgang Denk
2009-07-14  7:02 ` alex889

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