public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Mangesh Edake <m_edake@yahoo.com>
To: linux-mtd@lists.infradead.org
Subject: JFFS2 as rootfs on DataFlash
Date: Tue, 19 Feb 2008 07:04:12 -0800 (PST)	[thread overview]
Message-ID: <109598.62836.qm@web50805.mail.re2.yahoo.com> (raw)

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 

             reply	other threads:[~2008-02-19 15:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-19 15:04 Mangesh Edake [this message]
2008-02-19 15:38 ` JFFS2 as rootfs on DataFlash 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
     [not found] <47C3C90B.9070605@gandalf.sssup.it>
2008-03-24  6:59 ` Mangesh Edake

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=109598.62836.qm@web50805.mail.re2.yahoo.com \
    --to=m_edake@yahoo.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox