[U-Boot] JFFS2
Dan Batryn
DBatryn at shoretel.com
Wed Jul 1 20:41:48 CEST 2009
I am seeing the very same behavior using JFFS2. We have divided our NAND flash into 4 partitions and use a 5MB partition to hold uImage and a manifest file for checking the uImage integrity. These 2 files are only written by the Linux kernel during updates and only read by u-boot during booting. If I perform an "ls" of this partition from Linux, then I only see a single instance of each file. If I perform an "ls" from u-boot, I sometimes see multiple uImage or manifest files. I also see the case when using the manifest file to check the integrity of uImage I obtain a MD5 checksum error. This MD5 checksum was for the previous version of uImage that was written. The only way we have gotten this to work reliably is to always format the booting partition from Linux before the uImage and manifest are written. I have not had time to debug this issue but it has been around for a long time.
Daniel Batryn
Shoretel Inc.
960 Stewart
Sunnyvale, CA 94085
(408) 331-3575 Phone
(408) 331-3333 Fax
|-----Original Message-----
|From: u-boot-bounces at lists.denx.de [mailto:u-boot-bounces at lists.denx.de] On
|Behalf Of Renaud barbier
|Sent: Wednesday, July 01, 2009 3:55 AM
|To: u-boot at lists.denx.de
|Subject: [U-Boot] JFFS2
|
|U-boot based on v2009.06
|
|I am seeing duplicated file on my JFFS2 partition as seen per u-boot
|after doing some operations on the partition from Linux.
|FRom U-boot I can get for instance:
|
| lrwxr-xr-x 30 Thu May 28 11:16:50 2009 dtb.old -> orginalfile
| lrwxrwxrwx 8 Mon May 11 09:00:49 2009 dtb.old -> testfile
| -rw-r--r-- 11 Mon May 11 09:00:31 2009 testfile
|
|
|
|In this instance, I created testfile, delete the link dtb.old to
|originalfile and created the link to testfile.
|
| From Linux it is seen correctly even after an umount/mount operation.
|
|
|Has anybody seen that before?
|Am I am missing something in my U-boot configuration?
|
|
|Cheers,
|Renaud
|
|_______________________________________________
|U-Boot mailing list
|U-Boot at lists.denx.de
|http://lists.denx.de/mailman/listinfo/u-boot
More information about the U-Boot
mailing list