All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] Standalone network calls
@ 2007-03-15 18:03 Rafal Jaworowski
  2007-03-15 20:27 ` Wolfgang Denk
  2007-03-16 14:06 ` Ben Warren
  0 siblings, 2 replies; 3+ messages in thread
From: Rafal Jaworowski @ 2007-03-15 18:03 UTC (permalink / raw)
  To: u-boot

Ben,

During the work to bring FreeBSD support in U-Boot we came accross a 
need for standalone network operations to send and receive an ethernet 
frame. In short, the approach is to have a native FreeBSD loader running 
on top of U-Boot as a standalone app. U-Boot's networking however, is 
pretty self-contained and, in particular, does not have a 'receive' 
primitive that would directly suit such purposes.

Please have a look at the attached patch and let me hear your comments 
about this direction in general and regarding these changes in 
particular. The included code actually works - we have a prototype 
FreeBSD loader running successfully on U-Boot extended in this fashion:

* eth_send() and eth_receive() are exported via the jump table and 
consumed by the FreeBSD loader

* the loader implements all TCP/IP and related protocols that it 
requires, so would be using U-Boot networking calls only as elementary 
send/receive

Beside the newly introduced eth_receive() one needs to export 
eth_{send,init,halt} too, and some other calls, but they can just be 
used without changes.

Any comments or suggestions welcome.

kind regards,
Rafal
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: u-boot-rcv.diff
Url: http://lists.denx.de/pipermail/u-boot/attachments/20070315/3a1691a7/attachment.txt 

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

* [U-Boot-Users] Standalone network calls
  2007-03-15 18:03 [U-Boot-Users] Standalone network calls Rafal Jaworowski
@ 2007-03-15 20:27 ` Wolfgang Denk
  2007-03-16 14:06 ` Ben Warren
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2007-03-15 20:27 UTC (permalink / raw)
  To: u-boot

In message <45F98A77.1070505@semihalf.com> you wrote:
>
> During the work to bring FreeBSD support in U-Boot we came accross a 
> need for standalone network operations to send and receive an ethernet 
> frame. In short, the approach is to have a native FreeBSD loader running 
> on top of U-Boot as a standalone app. U-Boot's networking however, is 
> pretty self-contained and, in particular, does not have a 'receive' 
> primitive that would directly suit such purposes.

Acked-by: Wolfgang Denk <wd@denx.de>


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office:  Kirchenstr. 5,       D-82194 Groebenzell,            Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
NOTE: The  Most  Fundamental  Particles  in  This  Product  Are  Held
Together  by  a  "Gluing" Force About Which Little is Currently Known
and Whose Adhesive Power Can Therefore Not Be Permanently Guaranteed.

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

* [U-Boot-Users] Standalone network calls
  2007-03-15 18:03 [U-Boot-Users] Standalone network calls Rafal Jaworowski
  2007-03-15 20:27 ` Wolfgang Denk
@ 2007-03-16 14:06 ` Ben Warren
  1 sibling, 0 replies; 3+ messages in thread
From: Ben Warren @ 2007-03-16 14:06 UTC (permalink / raw)
  To: u-boot

Rafal,

On Thu, 2007-03-15 at 19:03 +0100, Rafal Jaworowski wrote:
> Ben,
> 
<snip>
> Any comments or suggestions welcome.


This looks pretty cool.  Please do me a favor and re-send with proper
sign-off.  After you do so, I'll put it in the u-boot-net branch.

The command to use is 'git format-patch'

regards,
Ben

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

end of thread, other threads:[~2007-03-16 14:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-15 18:03 [U-Boot-Users] Standalone network calls Rafal Jaworowski
2007-03-15 20:27 ` Wolfgang Denk
2007-03-16 14:06 ` Ben Warren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.