[uClinux-dev] how to upgrade the jffs2 of root in linux
Crane, Matthew
mcrane03 at harris.com
Mon Oct 15 10:06:49 EDT 2007
Hi,
Many options are possible. If you have the memory:
- load new jfffs2 into RAM,
- mount jffs2 in RAM, using mtd device
- chroot to mtd filesystem in RAM
- unmount flash based jffs2 filesystem
- copy new image to flash
Generally you will have to find a temporary root and unmount the flash
root before copying over to it.
Matt
________________________________
From: uclinux-dev-bounces at uclinux.org
[mailto:uclinux-dev-bounces at uclinux.org] On Behalf Of advan
Sent: Monday, October 15, 2007 5:11 AM
To: uClinux development list
Subject: [uClinux-dev] how to upgrade the jffs2 of root in linux
hi, everyone
I build jffs2 as root file system in my embedded platform with uclinux
os , I also build a web http server(boa) , through httpd server , I can
upload a new jffs2 root file-system into the platform memery ,then I
want to use new jfffs file to re-write jffs2 partition ,because linux is
using this partition as its root file system , if I directly write it
into the jffs2 partition ,then linux will cause crash and errors .
anybody know how to do ?
thank you in advance
advan
________________________________
advan
2007-10-15
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20071015/f302ae26/attachment.html
More information about the uClinux-dev
mailing list