Better way to implement firmware upgrade for embedded Linux?

From: yakumoj (hunglm_at_mail.ebtnet.net)
Date: 07/16/04

  • Next message: nick: "Re: Stupid question,"
    Date: 16 Jul 2004 10:13:20 -0700
    
    

    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?


  • Next message: nick: "Re: Stupid question,"

    Relevant Pages

    • Re: Can anyone explain PHP slowing down please ?
      ... Thanks for the comments david - I've run this on both windows and linux ... now and the linux system I ran through apache - I get the same results on ... I dont cause it to - but if thats how it works? ... I have discovered a windows loss of 2Mb of system memory for every run - ...
      (comp.lang.php)
    • Re: Better way to implement firmware upgrade for embedded Linux?
      ... > I'm trying to implement function for firmware upgrade in an embedded ... the size of memory ... > embedded linux system is often larger. ... > Kill some processes,read it to allocated memory, do checksum,and ...
      (comp.os.linux.embedded)
    • Re: Loading an I/O intensive program into memory
      ... I have written a series of C++ programs that are hard disk I/O ... intensive and perform a lot of Linux system calls while running ... box is on a virtual machine. ... the memory buffering should happen ...
      (comp.os.linux.misc)
    • debian linux: tetex -> tex live transition
      ... I've been using LaTeX in a debian linux system; ... % aptitude search tetex ... I'd like to upgrade to the texlive distribution, ...
      (comp.text.tex)
    • Re: Sponatenous reboot while copying large files - 2.4.29
      ... Linux uses memory in a rather different ... > installing a Linux system, ... The problem with the world is stupidity. ...
      (alt.os.linux)