Linux-mtd Archive on lore.kernel.org
 help / color / mirror / Atom feed
* JFFS2 as rootfs on DataFlash
@ 2008-02-19 15:04 Mangesh Edake
  2008-02-19 15:38 ` trimarchi
  0 siblings, 1 reply; 8+ messages in thread
From: Mangesh Edake @ 2008-02-19 15:04 UTC (permalink / raw)
  To: linux-mtd

Hello all,

I am using atmel dataflash (AT45DB321D) to store the
jffs2 image which is a rootfs. I am downloading the
image to SDRAM and then writing this image to
dataflash using uboot copy (cp) command like this,
u-boot# cp 21000000 14a000 192000

Once I boot the system, jffs2 is mounted as rootfs but
then I continuously get the "Node header CRC failed"
messages and then finally kernel panic with no init
found. 

I'm using mkfs.jffs2 to create an image like,
mkfs.jffs2 -p -l -e 0x2100 -s 0x210 -n -d
/home/me/rootdir -o jffs2.img

I am totally lost and cannot figure out the reason for
the errors. I'd appericiate if anybody help to find
out the reason. 

Following is the ouput LOG.
----------------------------

JFFS2 write-buffering enabled buffer (528) erasesize
(8448)
VFS: Mounted root (jffs2 filesystem) read-write.

Freeing init memory: 76K

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header
CRC failed at 0x02fc70. {0807,0000,05c2764e,ab6f10c8}

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header
CRC failed at 0x02fbfc. {fb1d,98f7,00000034,00000001}

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header
CRC failed at 0x02fb88. {4269,67af,b497cad1,31616468}

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header
CRC failed at 0x02faa0. {8f02,47b6,00000000,00000000}

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header
CRC failed at 0x02fa2c. {584b,9ef4,e0011985,0000002c}

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header
CRC failed at 0x02f9b8. {8f02,47b6,00000804,f3086019}

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header
CRC failed at 0x02f944. {fb1d,98f7,00000046,00000001}

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header 
       .
       .

Warning: unable to open an initial console.

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header
CRC failed at 0x0df814. {000e,0000,000000ef,000000f1}

JFFS2 notice: (1) read_unknown: unknown
RWCOMPAT_DELETE nodetype 0X2000 at 0x0df78c
JFFS2 notice: (634) jffs2_get_inode_nodes: Node header
CRC failed at 0x00017c. {6ee6,7d26,00000003,0000005f}

JFFS2 warning: (634) jffs2_do_read_inode_internal: no
data nodes found for ino #5


       .
       .


JFFS2 notice: (1) jffs2_get_inode_nodes: Node header
CRC failed at 0x02c168. {fb1d,98f7,00000062,00000001}

JFFS2 notice: (1) jffs2_get_inode_nodes: Node header
CRC failed at 0x000630. {89ed,0000,00000000,00031db0}

JFFS2 error: (1) jffs2_do_read_inode_internal: CRC
failed for read_inode of inode 2 at physical location
0x2c794

Kernel panic - not syncing: No init found.  Try
passing init= option to kernel.




  --
  Best Regards...
Mangesh Edake.


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-03-24  6:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <47C3C90B.9070605@gandalf.sssup.it>
2008-03-24  6:59 ` JFFS2 as rootfs on DataFlash Mangesh Edake
2008-02-19 15:04 Mangesh Edake
2008-02-19 15:38 ` trimarchi
2008-02-21 10:10   ` michael
2008-02-21 16:01     ` Mangesh Edake
2008-02-21 18:50       ` michael
2008-02-26  7:18         ` Mangesh Edake
2008-02-22 12:15       ` Ricard Wanderlof

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox