Embedded Linux >> Better way to implement firmware upgrade for embedded Linux?

by hunglm » Sat, 17 Jul 2004 01:13:20 GMT

I'm trying to implement function for firmware upgrade in an embedded
linux system. Unlike most other embedded systems, the size of memory
required for an
embedded linux system is often larger. Take our system for example,
the size of a complete firmware ( including kernel and ramdisk image.
) is about 5MB.
I've tried both way, either

(1)Overwrite flash on the fly, without checksum.
(2)Kill some processes,read it to allocated memory, do checksum,and
upgrade.

For the first one, it is dangerous because possible link error or
network failure. For the second one, I get OOM killer even after I've
allocated memory and calculated checksum. Both of them are a little
risky for me.

So here is the question: is there better design strategy for firmware
upgrade for an embedded linux system?


Embedded Linux >> Better way to implement firmware upgrade for embedded Linux?

by Ian Stirling » Sun, 18 Jul 2004 04:09:46 GMT





Why do you get OOM killer - what's allocating memory?
Also, look at /usr/src/linux/mm/oom_kill.c, for reasons why a given
process gets killed.



Similar Threads

1. [News] 10 Ways (Reasons) to Convince Friends to Upgrade to GNU/Linux

2. Embedded Linux Firmware/Driver Wiz? - Embedded Linux

3. How to upgrade software on Embedded Linux ?

Hi

I want to upgrade the software load on an embedded Linux system from an
image file with "img64.cf" extension. The system has 64M flash Disk.
I've copied the  file from a Linux box to the Flash Disk using dd
command.
I don't know how to open/install the "img64.cf" file. Is there any
command to run from embedded Linux to install new software?

Thanks for your help.

John

4. 10 Ways The Nokia N800 Is Better Than Apple= 3Fs iPhone - Linux

5. 10 Ways The Nokia N800 Is Better Than =?UTF-8?B?QXBwbGXigJlz?= iPhone

6. [News] Ten "Best" Free Software, Ways of Managing Free/Libre Software Debated - Linux

7. i know there are better ways....

UNZIPDIR="/home/ftproot/www/publications/incoming/"
UNZIPDIR=`echo "$UNZIPDIR" | sed -e "s/incoming\///g"`

Hi all ~

this is the best (so far) i have come up with to chop off the
"incoming/" part from UNZIPDIR.

I know there's got to be a couple of way more elegant ways to do
this...

Please share,

thanks,
Kai

8. [LTP] Better ways to generate Stress at Background - Linux