Matt,
 Thank you ,but I have a trouble ,which is be short of memory . free memory 
only has 600K-1.2M , then ,the jffs2 size is 3M (flash size is 4M ,1M as kernel 
and redboot),I think it's able to read 64K from web client to write into jfffs 
partition very time (total times : 3M/64K), please give me some advise or clue 
. Thank you again 
Best Regards 
                                         advan




advan
2007-10-16



发件人: Crane, Matthew
发送时间: 2007-10-15 22:08:09
收件人: uClinux development list
抄送: 
主题: RE: [uClinux-dev] how to upgrade the jffs2 of root in linux

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