
Currently, I have two partitions one for U- Boot and the rest for application(kernel + application)
Total 16MB Flash
1MB U Boot 15MB "JFFS2" Application
The U boot loads the kernel from jffs2 using fsload and the system works fine. Sometimes, during software upgrade, the problem comes when jffs2 is almost full, the files could not be deleted to freeup space because of jffs2 limitation. The entire partition needs to be reflashed which is not a practical solution . Is there any better way to recover from this failure situation where we can boot a minimum kernel and can format the jffs2 partition and copy the application image?
On Tue, Apr 7, 2009 at 2:26 PM, Wolfgang Denk wd@denx.de wrote:
Dear Rams Subramanian,
In message 4e031cb50904070515u797beb03o23ad89c15362c25a@mail.gmail.com you wrote:
I have an requirement to have three partitions in the Flash
- U Boot
- JFFS2(GoldenImage) (Mininum Kernel Image )
- JFFS2(Application Image) (Kernel + Application)
The idea of Golden image is to use this partition to boot in case the application image fails after software upgrade due to corruption of the filesystem in this partition if any during upgrade. When the system is
up
with Golden image, partition 3 can be updated. Is this method feasible. Kindly let me know if you have better ideas or suggestions?
Yes, this is possible (actually, it's trivial).
Without knowing your exact requirements and restrictions it's difficult to recommend better ideas...
Best regards,
Wolfgang Denk
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de "Stupidity, like virtue, is its own reward" - William E. Davidsen