http client?
A message that is not in the archive (sent off-list or not yet received): [email protected]
Sorry - first time I sent this -- I forgot to cc the list...
On Tue 21 Jul 2009 12:37, Robin Getz pondered:
Quoted 16 lines
redboot supports (and has since 2002) a mini-http client:
This is just a transfer data via the network using HTTP protocol, no better or worse than tftp. (no https, no proxy, no other protocols).
I know there have been discussions about adding wget to U-Boot, which I agree is not something that is worthwhile to do.
http://lists.denx.de/pipermail/u-boot/2006-March/013697.html
but a simple client would be helpful in many situations.
If a port of the redboot functionality is done - any thoughts on if it would be accepted?
Hi Robin,
Quoted 21 lines · Robin Getz
Sorry - first time I sent this -- I forgot to cc the list...
On Tue 21 Jul 2009 12:37, Robin Getz pondered:
Quoted 17 lines
redboot supports (and has since 2002) a mini-http client:
This is just a transfer data via the network using HTTP protocol, no better or worse than tftp. (no https, no proxy, no other protocols).
I know there have been discussions about adding wget to U-Boot, which I agree is not something that is worthwhile to do.
http://lists.denx.de/pipermail/u-boot/2006-March/013697.html
but a simple client would be helpful in many situations.
If a port of the redboot functionality is done - any thoughts on if it would be accepted?
I have no philosophical objection - in fact it seems kinda cool. As always, if you're able to make a good case for why something should be included, it probably will be.
cheers,
Ben
Hi Robin,
Quoted 17 lines
Quoted 16 lines · Robin Getz
Sorry - first time I sent this -- I forgot to cc the list...
On Tue 21 Jul 2009 12:37, Robin Getz pondered:
Quoted 12 lines
redboot supports (and has since 2002) a mini-http client:
This is just a transfer data via the network using HTTP protocol, no better or worse than tftp. (no https, no proxy, no other protocols).
I know there have been discussions about adding wget to U-Boot, which I agree is not something that is worthwhile to do.
http://lists.denx.de/pipermail/u-boot/2006-March/013697.html
Quoted 8 lines
Quoted 5 lines
Quoted 5 lines
but a simple client would be helpful in many situations.
If a port of the redboot functionality is done - any thoughts on if it would be accepted?
I have no philosophical objection - in fact it seems kinda cool. As always, if you're able to make a good case for why something should be included, it probably will be.
The wget functionality would be the easy part. Adding TCP support to U-Boot would be the very, very hard part in my opinion:)
For what its worth, we used the lwip stack for our proprietary bootloader in the past and it worked reasonable well for both TCP and UDP at a somewhat reasonable code size:
http://savannah.nongnu.org/projects/lwip/
Anyway, I think it'd be neat too and it would open the doors for other interesting apps, but adding TCP support is no small task at all.
My $.02,
Peter
Dear Robin Getz,
Quoted 3 lines · In message <[email protected]> you wrote:
Quoted 3 lines
I know there have been discussions about adding wget to U-Boot, which I agree is not something that is worthwhile to do.
I am not so sure about that, but that's just my opinion.
Quoted 2 lines
Quoted 2 lines
http://lists.denx.de/pipermail/u-boot/2006-March/013697.html
but a simple client would be helpful in many situations.
There is such in IBM's port of U-Boot for the Blue Gene super- computer, and Volkmar Uhlig promised to submit patches. But so far he didn't.
Quoted 2 lines
Quoted 2 lines
If a port of the redboot functionality is done - any thoughts on if it would be accepted?
Well, you are aware that such a thing would need a TCP/IP stack, which is far beyond what we currently have in U-Boot support?
Best regards,
Wolfgang Denk
Signature · 5 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 human race is a race of cowards; and I am not only marching in that procession but carrying a banner. - Mark Twain
On Tue 21 Jul 2009 17:09, Wolfgang Denk pondered:
Quoted 7 lines
Dear Robin Getz,
Quoted 3 lines · In message <[email protected]> you wrote:
Quoted 3 lines
I know there have been discussions about adding wget to U-Boot, which I agree is not something that is worthwhile to do.
Quoted 8 lines
I am not so sure about that, but that's just my opinion.
Quoted 2 lines
Quoted 2 lines
http://lists.denx.de/pipermail/u-boot/2006-March/013697.html
but a simple client would be helpful in many situations.There is such in IBM's port of U-Boot for the Blue Gene super- computer, and Volkmar Uhlig promised to submit patches. But so far he didn't.
Hmm.. That sounds interesting. Do you know if there is a public repository? or Do I need to buy a Blue Gene to get access to the source :)
According to:
http://domino.research.ibm.com/comm/research_projects.nsf/pages/kittyhawk.index.html/$FILE/Kittyhawk%20OSR%2008.pdf
Quoted 7 lines
We added a simple HTTP server to U-Boot so that individual nodes can be
booted via a PUT command that pushes the desired boot images and kernel command line. The command line is evaluated via the scripting environment before it gets passed on to the OS kernel thereby allowing per node customizations. With this simple extension to U-Boot we are able to construct powerful scripted environments and bootstrap large numbers of nodes in a controlled, ?exible, and secure way.
What is in RedBoot is a "HTTP GET".
So -- while it shouldn't be hard to extend from there...
Quoted 6 lines
Quoted 1 line
Quoted 1 line
If a port of the redboot functionality is done - any thoughts on if
it would
Quoted 1 line
Quoted 1 line
be accepted?
Well, you are aware that such a thing would need a TCP/IP stack, which is far beyond what we currently have in U-Boot support?
Yes - I'm aware. My thoughts were to do something like what IBM and other suggestions were - use lwip.
-Robin
Dear Robin Getz,
Quoted 6 lines · In message <[email protected]> you wrote:
Quoted 3 lines
Well, you are aware that such a thing would need a TCP/IP stack, which is far beyond what we currently have in U-Boot support?
Yes - I'm aware. My thoughts were to do something like what IBM and other suggestions were - use lwip.
Well, yes. Use it. And have fun debugging funny network behaviour in real life networks.
I must admit that I'm not really interested in this - I will not oppose any such patches as long as they are cleanly done and can be disabled without negative impact on exitsting code and systems, but whenever I will need TCP/IP, I will boot an OS instead. Much, much less effort - much faster, and much mor reliable.
Best regards,
Wolfgang Denk
Signature · 5 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 Humans do claim a great deal for that particular emotion (love). -- Spock, "The Lights of Zetar", stardate 5725.6