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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to