* problem with build jffs2 filesystem
@ 2002-03-30 14:45 fyaowen
2002-03-30 15:30 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: fyaowen @ 2002-03-30 14:45 UTC (permalink / raw)
To: linux-mtd
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2168 bytes --]
Hi, all
I am running linux-2.4.2-rmk2-np2 on Assabet + Neponset.
There is total 64M flash memory on them. I have patitioned it
as follows:
length device name
0x00040000 mtd0 bootloader \
0x000c0000 mtd1 kernel |
0x00300000 mtd2 ramdisk | on Assabet (32M)
0x01c00000 mtd3 apps /
0x00040000 mtd4 bootloader1 \
0x000c0000 mtd5 kernel1 |
0x00300000 mtd6 ramdisk1 | on Neponset(32M)
0x00e00000 mtd7 apps1 |
0x00e00000 mtd8 apps2 /
I want to make jffs2 filesystem on mtd7:
mkfs.jffs2 -e 0x00040000 -p -r some/dir -o jffs2.image
(build a jffs2 image, am I right?)
dd if=jffs2.image of=/dev/mtd7
mount -t jffs2 /dev/mtd7 /mnt
After I gave out this instruction, all partitions on Neponset were erased.
This is the messages from the kernel.
jffs2_scan_eraseblock(): Magic bitmask 0x1984 not found at 0x00000000: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1984 not found at 0x00000004: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1984 not found at 0x00000008: 0xffff instead
JFFS2: Erase block at 0x00000000 is not formatted. It will be erased
jffs2_scan_eraseblock(): Magic bitmask 0x1984 not found at 0x00040000: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1984 not found at 0x00040004: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1984 not found at 0x00040008: 0xffff instead
JFFS2: Erase block at 0x00040000 is not formatted. It will be erased
jffs2_scan_eraseblock(): Magic bitmask 0x1984 not found at 0x00080000: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1984 not found at 0x00080004: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1984 not found at 0x00080008: 0xffff instead
JFFS2: Erase block at 0x00080000 is not formatted. It will be erased
What's wrong with it?
Any help is appreciated.
fyaowen
______________________________________
===================================================================
ÐÂÀËÃâ·Ñµç×ÓÓÊÏä (http://mail.sina.com.cn)
ÐÂÀË·ÖÀàÐÅÏ¢£º¶þÊÖÊг¡×ßÒ»×ߣ¬¸Ã³öÊÖʱ¾Í³öÊÖ£¡ (http://classad.sina.com.cn/2shou/)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-03-30 15:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-30 14:45 problem with build jffs2 filesystem fyaowen
2002-03-30 15:30 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox