public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Nishanth Menon <menon.nishanth@gmail.com>
To: Hieu Ninh <hninh@hotmail.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: In system software upgrade
Date: Sun, 24 Sep 2006 10:00:14 -0500	[thread overview]
Message-ID: <45169D7E.60308@gmail.com> (raw)
In-Reply-To: <BAY122-DAV978325FCA9F5416C60A15A6260@phx.gbl>

Hieu Ninh stated on 9/22/2006 10:56 PM:
> Our system requires the software upgrade feature (for both application and
> kernel) during the user space application is running.  I don't know how to
> go about it in Linux environment.  
application upgrade: two ways: one: replace the entire filesystem (bad
idea)- u should be able to do it with uboot/the old setup itself, two:
replace the application and related binaries: it is easier if your
filesystem has some sort of package manager like rpm/apt-tools stuff
like that.

kernel up-grade:
a) as you mentioned, requires u-boot support.
b) from bootup shell prompt(using the old kernel), overwrite the
kernel's mtd partition with the new kernel. reboot, and you should have
the new kernel.
> 
> If I can get an image (from USB flash) and copy it to the RAM while the
> system running and some how reboot the system in U-boot (without reset the
> RAM).  From there I can run the uboot script to copy the image from RAM to
> flash.  Would this work? Is there any better way to do this?
uboot:
a) u can have usb mass-storage support in uboot. boot in u-boot, copy
from mas-storage to flash
b) u can use other paths such as serial/some other interface to install.

But dont download it to ram and expect a "system restart" to keep your
ram alive. it is not a productizable option.

Regards,
Nishanth Menon

      reply	other threads:[~2006-09-24 15:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20060922204246.7423A8062F@linux.omap.com>
     [not found] ` <002101c6dec4$4e279110$0201a8c0@hn>
2006-09-23  3:56   ` In system software upgrade Hieu Ninh
2006-09-24 15:00     ` Nishanth Menon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45169D7E.60308@gmail.com \
    --to=menon.nishanth@gmail.com \
    --cc=hninh@hotmail.com \
    --cc=linux-omap-open-source@linux.omap.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox