* [U-Boot-Users] "Need help to Port Wget to U-boot"
@ 2006-03-08 6:31 nreddy at netenrich.com
2006-03-08 7:13 ` Wolfgang Denk
0 siblings, 1 reply; 9+ messages in thread
From: nreddy at netenrich.com @ 2006-03-08 6:31 UTC (permalink / raw)
To: u-boot
Hi All,
We have an embedded system running on u-boot and Montavista Linux.
We are planning to put "Wget" feature into u-boot.
I am new to this Wget, but as of my knowledge Wget requires IP Stack and
File system.
Can anyone through some inputs on this.
Any help appreciated.
Thanks in Advance,
Nagi
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] "Need help to Port Wget to U-boot"
2006-03-08 6:31 [U-Boot-Users] "Need help to Port Wget to U-boot" nreddy at netenrich.com
@ 2006-03-08 7:13 ` Wolfgang Denk
2006-03-08 7:59 ` [U-Boot-Users] 'Need help to Port Wget to U-boot' nreddy at netenrich.com
0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Denk @ 2006-03-08 7:13 UTC (permalink / raw)
To: u-boot
In message <1483.61.95.208.2.1141799502.squirrel@61.95.208.2> you wrote:
>
> We are planning to put "Wget" feature into u-boot.
> I am new to this Wget, but as of my knowledge Wget requires IP Stack and
> File system.
Correct. Well, the file system could be avoided by just storing the
loaded file at a given memory address, but in any case you need a
more or less complete TCP/IP stsck, while U-Boot has only a minimal
implementation of UDB.
> Can anyone through some inputs on this.
The task makes no sense. If you want to use wget, then just boot up
Linux.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Status quo. Latin for "the mess we're in."
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] 'Need help to Port Wget to U-boot'
2006-03-08 7:13 ` Wolfgang Denk
@ 2006-03-08 7:59 ` nreddy at netenrich.com
2006-03-08 9:06 ` Wolfgang Denk
0 siblings, 1 reply; 9+ messages in thread
From: nreddy at netenrich.com @ 2006-03-08 7:59 UTC (permalink / raw)
To: u-boot
Hi Denk,
Thanks for your suggestion.
My requirement is before Linux boots up i should be able to use wget
from the U-boot.
This requirement is to implement FAIL-SAFE condition in the u-boot itself.
Because we are going to update Linux related frirmware in the field
except u-boot. Suppose if power goes off while copying to FLASH then we
can't make the device up and running.
To avoid this problem we have planned to implement wget, so that u-boot
itself can pick the firmeware from our support site and program the
device.
In this context i requested miling users to shoot some inputs.
Thanks,
Nagi
> In message <1483.61.95.208.2.1141799502.squirrel@61.95.208.2> you wrote:
>>
>> We are planning to put "Wget" feature into u-boot.
>> I am new to this Wget, but as of my knowledge Wget requires IP Stack
>> and
>> File system.
>
> Correct. Well, the file system could be avoided by just storing the
> loaded file at a given memory address, but in any case you need a
> more or less complete TCP/IP stsck, while U-Boot has only a minimal
> implementation of UDB.
>
>> Can anyone through some inputs on this.
>
> The task makes no sense. If you want to use wget, then just boot up
> Linux.
>
> Best regards,
>
> Wolfgang Denk
>
> --
> Software Engineering: Embedded and Realtime Systems, Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> Status quo. Latin for "the mess we're in."
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x110944&bid$1720&dat\x121642
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] 'Need help to Port Wget to U-boot'
2006-03-08 7:59 ` [U-Boot-Users] 'Need help to Port Wget to U-boot' nreddy at netenrich.com
@ 2006-03-08 9:06 ` Wolfgang Denk
2006-03-08 10:00 ` nreddy at netenrich.com
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Wolfgang Denk @ 2006-03-08 9:06 UTC (permalink / raw)
To: u-boot
In message <34182.61.95.208.2.1141804776.squirrel@61.95.208.2> you wrote:
>
> My requirement is before Linux boots up i should be able to use wget
> from the U-boot.
As mentioned before: is this is really what you want to do, then it
it easier to boot up Linux. Provide a minimal Linux image (probably
based on busybox and it's builtin version of wget) which does not get
overwritten in the field. Then never overwrite this emergency image.
Alternatively consider switching protocols. Instead of using wget,
uyoiu could use NFS which is available in U-Boot.
> This requirement is to implement FAIL-SAFE condition in the u-boot itself.
> Because we are going to update Linux related frirmware in the field
> except u-boot. Suppose if power goes off while copying to FLASH then we
> can't make the device up and running.
So far this is a standard requirement which is common with many other
embedded systems.
> To avoid this problem we have planned to implement wget, so that u-boot
This decision was wrong, as it requires a lot of stuff that is not
available in U-Boot. And it makes no sense to put such stuff in
U-Boot, as this is a boot loader and not an OS. If you need wget, use
an OS. It's trivial to do.
You should reconsider your requirements and decisions.
> itself can pick the firmeware from our support site and program the
> device.
Change the protocol. Use NFS.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
For every complex problem, there is a solution that is simple, neat,
and wrong. - Mark Twain
^ permalink raw reply [flat|nested] 9+ messages in thread* [U-Boot-Users] 'Need help to Port Wget to U-boot'
2006-03-08 9:06 ` Wolfgang Denk
@ 2006-03-08 10:00 ` nreddy at netenrich.com
2006-03-08 10:15 ` Steven Scholz
2006-03-09 12:50 ` nreddy at netenrich.com
2 siblings, 0 replies; 9+ messages in thread
From: nreddy at netenrich.com @ 2006-03-08 10:00 UTC (permalink / raw)
To: u-boot
Thanks for your valuable suggestion.
Regards,
Nagi
> In message <34182.61.95.208.2.1141804776.squirrel@61.95.208.2> you wrote:
>>
>> My requirement is before Linux boots up i should be able to use wget
>> from the U-boot.
>
> As mentioned before: is this is really what you want to do, then it
> it easier to boot up Linux. Provide a minimal Linux image (probably
> based on busybox and it's builtin version of wget) which does not get
> overwritten in the field. Then never overwrite this emergency image.
>
> Alternatively consider switching protocols. Instead of using wget,
> uyoiu could use NFS which is available in U-Boot.
>
>> This requirement is to implement FAIL-SAFE condition in the u-boot
>> itself.
>> Because we are going to update Linux related frirmware in the field
>> except u-boot. Suppose if power goes off while copying to FLASH then we
>> can't make the device up and running.
>
> So far this is a standard requirement which is common with many other
> embedded systems.
>
>> To avoid this problem we have planned to implement wget, so that u-boot
>
> This decision was wrong, as it requires a lot of stuff that is not
> available in U-Boot. And it makes no sense to put such stuff in
> U-Boot, as this is a boot loader and not an OS. If you need wget, use
> an OS. It's trivial to do.
>
> You should reconsider your requirements and decisions.
>
>> itself can pick the firmeware from our support site and program the
>> device.
>
> Change the protocol. Use NFS.
>
> Best regards,
>
> Wolfgang Denk
>
> --
> Software Engineering: Embedded and Realtime Systems, Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> For every complex problem, there is a solution that is simple, neat,
> and wrong. - Mark Twain
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] 'Need help to Port Wget to U-boot'
2006-03-08 9:06 ` Wolfgang Denk
2006-03-08 10:00 ` nreddy at netenrich.com
@ 2006-03-08 10:15 ` Steven Scholz
2006-03-09 12:50 ` nreddy at netenrich.com
2 siblings, 0 replies; 9+ messages in thread
From: Steven Scholz @ 2006-03-08 10:15 UTC (permalink / raw)
To: u-boot
>> itself can pick the firmeware from our support site and program the
>> device.
>
> Change the protocol. Use NFS.
Maybe tftp is enough.
Or might there be issues when using tftp not only in a LAN but the
internet? Firewall restrictions?
--
Steven
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] 'Need help to Port Wget to U-boot'
2006-03-08 9:06 ` Wolfgang Denk
2006-03-08 10:00 ` nreddy at netenrich.com
2006-03-08 10:15 ` Steven Scholz
@ 2006-03-09 12:50 ` nreddy at netenrich.com
2006-03-09 14:03 ` Wolfgang Denk
2 siblings, 1 reply; 9+ messages in thread
From: nreddy at netenrich.com @ 2006-03-09 12:50 UTC (permalink / raw)
To: u-boot
Hi Denk,
We are finalizing the requirements more or less as you suggested.
But to get more inputs from the industry, i searched some of the
embedded devices manuals etc. to know how they are managing the firmware
up gradation when there is a power failure. But i could not get any
useful information. All are talking about there should not be power
failure while writing to the FLASH.
Can you please let me know what is the industry standard to upgrade the
firmware of the devices, which are deployed remotely?
Regards,
Nagi
> In message <34182.61.95.208.2.1141804776.squirrel@61.95.208.2> you wrote:
>>
>> My requirement is before Linux boots up i should be able to use wget
>> from the U-boot.
>
> As mentioned before: is this is really what you want to do, then it
> it easier to boot up Linux. Provide a minimal Linux image (probably
> based on busybox and it's builtin version of wget) which does not get
> overwritten in the field. Then never overwrite this emergency image.
>
> Alternatively consider switching protocols. Instead of using wget,
> uyoiu could use NFS which is available in U-Boot.
>
>> This requirement is to implement FAIL-SAFE condition in the u-boot
>> itself.
>> Because we are going to update Linux related frirmware in the field
>> except u-boot. Suppose if power goes off while copying to FLASH then we
>> can't make the device up and running.
>
> So far this is a standard requirement which is common with many other
> embedded systems.
>
>> To avoid this problem we have planned to implement wget, so that u-boot
>
> This decision was wrong, as it requires a lot of stuff that is not
> available in U-Boot. And it makes no sense to put such stuff in
> U-Boot, as this is a boot loader and not an OS. If you need wget, use
> an OS. It's trivial to do.
>
> You should reconsider your requirements and decisions.
>
>> itself can pick the firmeware from our support site and program the
>> device.
>
> Change the protocol. Use NFS.
>
> Best regards,
>
> Wolfgang Denk
>
> --
> Software Engineering: Embedded and Realtime Systems, Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> For every complex problem, there is a solution that is simple, neat,
> and wrong. - Mark Twain
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] 'Need help to Port Wget to U-boot'
2006-03-09 12:50 ` nreddy at netenrich.com
@ 2006-03-09 14:03 ` Wolfgang Denk
0 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Denk @ 2006-03-09 14:03 UTC (permalink / raw)
To: u-boot
In message <2084.61.95.208.2.1141908617.squirrel@61.95.208.2> you wrote:
>
> Can you please let me know what is the industry standard to upgrade the
> firmware of the devices, which are deployed remotely?
I am not aware of any such "industry standard".
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It's all Klatchian to me.
- Terry Pratchett & Stephen Briggs, _The Discworld Companion_
^ permalink raw reply [flat|nested] 9+ messages in thread
* [U-Boot-Users] 'Need help to Port Wget to U-boot'
@ 2006-03-09 12:30 Friedrich, Lars
0 siblings, 0 replies; 9+ messages in thread
From: Friedrich, Lars @ 2006-03-09 12:30 UTC (permalink / raw)
To: u-boot
> Can you please let me know what is the industry standard
The industry standard is to write firmware without bugs.
Best regards,
Lars Friedrich
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-03-09 14:03 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-08 6:31 [U-Boot-Users] "Need help to Port Wget to U-boot" nreddy at netenrich.com
2006-03-08 7:13 ` Wolfgang Denk
2006-03-08 7:59 ` [U-Boot-Users] 'Need help to Port Wget to U-boot' nreddy at netenrich.com
2006-03-08 9:06 ` Wolfgang Denk
2006-03-08 10:00 ` nreddy at netenrich.com
2006-03-08 10:15 ` Steven Scholz
2006-03-09 12:50 ` nreddy at netenrich.com
2006-03-09 14:03 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2006-03-09 12:30 Friedrich, Lars
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox