* mkfs.jffs2 not wroking properly
@ 2002-12-05 6:42 Skumar
2002-12-05 8:28 ` JFFS2 questions Chantara Thlang
0 siblings, 1 reply; 2+ messages in thread
From: Skumar @ 2002-12-05 6:42 UTC (permalink / raw)
To: linux-mtd
Hi ,
[root@embedded_linux del]# ls -la
total 44
drwxrwxr-x 2 skumar skumar 4096 Dec 5 11:48 .
drwxrwxrwx 25 skumar skumar 4096 Dec 5 10:45 ..
-rwxr-xr-x 1 root root 13830 Nov 14 17:56 erase
-rwxr-xr-x 1 root root 14751 Nov 14 17:56 eraseall
-rw-rw-r-- 1 skumar skumar 13 Nov 14 12:51 test.c
[root@embedded_linux del]# cd ..
[root@embedded_linux skumar]# ./mkfs.jffs2 -r del -o tmp/jffs2.image
[root@embedded_linux skumar]# /usr/src/redhat/SOURCES/mtd/util/jffs2reader
tmp/jffs2.image
-rw-rw-r-- 1 503 503 13 Nov 14 12:51 /test.c
-rwxr-xr-x 1 0 0 4096 Nov 14 17:56 /eraseall
[root@embedded_linux skumar]#
as seen though the del directory contains 3 files the jffs2.image contains
only 2 file & the size of one of the files(eraseall)
is 0
Regards
sharath
^ permalink raw reply [flat|nested] 2+ messages in thread
* JFFS2 questions
2002-12-05 6:42 mkfs.jffs2 not wroking properly Skumar
@ 2002-12-05 8:28 ` Chantara Thlang
0 siblings, 0 replies; 2+ messages in thread
From: Chantara Thlang @ 2002-12-05 8:28 UTC (permalink / raw)
To: linux-mtd
Hi all,
I am facing with several questions with JFFS2. Could someone give me some
responses .....
what is the meaning for Empty Block and Marking dirty, why do I have Empty
Block ????
jffs2_scan_empty(): Empty block at 0x0000fffc ends at 0x00010000 (with
0x1985e002)! Marking dirty
The file system I created is very small size (5 MB) and the /dev/mtdblock2
size is around 30 MB
It seems that JFFS2 scans the entire memory space and erase unmarked block
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0100000c:
0xffff instead
Who is supoosed to write the Magic bitmask ???
Why Jffs2 scans the entire memory space ? It is not supposed to end at the
last address that we can find in the file system that I created with
mkfs.jffs2 ????
Write clean marker to block at 0x016c0000 failed: -5
Newly-erased block contained word 0xffff0198 at offset 0x01000004
What is a clean marker ???
Thanks in advance,
Chantara Thlang
Interphase Corporation
855 Avenue Roger Salengro
92370 Chaville
Tel.: (+33) (0)1.41.15.44.32
Fax.:(+33) (0)1.41.15.12.13
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-12-05 8:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-05 6:42 mkfs.jffs2 not wroking properly Skumar
2002-12-05 8:28 ` JFFS2 questions Chantara Thlang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox