* [U-Boot] JFFS2
@ 2009-07-01 10:54 Renaud barbier
2009-07-01 18:41 ` Dan Batryn
0 siblings, 1 reply; 2+ messages in thread
From: Renaud barbier @ 2009-07-01 10:54 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] JFFS2
2009-07-01 10:54 [U-Boot] JFFS2 Renaud barbier
@ 2009-07-01 18:41 ` Dan Batryn
0 siblings, 0 replies; 2+ messages in thread
From: Dan Batryn @ 2009-07-01 18:41 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-01 18:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-01 10:54 [U-Boot] JFFS2 Renaud barbier
2009-07-01 18:41 ` Dan Batryn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox