public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "hinko.kocevar@cetrtapot.si" <hinko.kocevar@cetrtapot.si>
To: Tushar Kapse <tusharkapse@gmail.com>
Cc: linux-mtd@lists.infradead.org,
	Ricard Wanderlof <ricard.wanderlof@axis.com>
Subject: Re: MTD nand driver help
Date: Thu, 23 Aug 2007 14:03:42 +0200	[thread overview]
Message-ID: <46CD779E.9020902@cetrtapot.si> (raw)
In-Reply-To: <3db60e760708230439n5cde0461r8444f46664c570ba@mail.gmail.com>

Tushar Kapse wrote:
> thanx for your valuable suggestion..
> Here are the steps followed to create JFFS2 and dumped into the NAND
> using Boot Loader utility for NAND:
> 1) On the Host(x86) we have created a directory "Target" and copied
> the minumum required file system into that directory.
> 2)Then we have created a jffs2 image using the following command:
> "#./mkfs.jffs2 --pad=0xa00000 --eraseblock=0x20000 --pagesize=2048 -l
> -n --root=Target --output Target.jffs2"
>          Note: Here we want to create 10Mb image.
> 3)Then we have copied Target.jffs2 into NAND device using Boot Loader
> NAND utility which reside in the NOR.
>    Note:
>     1)We have copied Target.jffs2 from 0th Block, 0th Page onwards...
>     2)We dont have any partitions on NAND device. NAND formated using
> utility of Bootloader.

Can you check that the jffs2 image was indeed written on the NAND (by 
using some bootloader commands)?
By dumping and HEX comparing, lets say, first few bytes, kbytes...

> 
> If we have missed any steps kindly tell  us,
> waiting for your reply
> Best regards
> tushar
> 
> Once we have followed above steps,and when i Boot the Linux we found
> the error as follows:
> "Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(31,0)"

Are you sure that this NAND device (partition) is located on 
/dev/mtdblk0 (as the error suggests)? If you have NOR flash also present 
on your this might not be the case...

Regards,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: hinko.kocevar@cetrtapot.si
Http: www.cetrtapot.si

  parent reply	other threads:[~2007-08-23 12:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-16 16:41 MTD nand driver help Tushar Kapse
2007-08-16 16:46 ` Josh Boyer
2007-08-16 17:22 ` Artem Bityutskiy
2007-08-16 17:23   ` Artem Bityutskiy
2007-08-23  6:17 ` Tushar Kapse
2007-08-23  6:24   ` Ricard Wanderlof
     [not found]     ` <3db60e760708222340g49294138w9ce3372ab5eb50bf@mail.gmail.com>
2007-08-23  6:44       ` Ricard Wanderlof
2007-08-23  9:11         ` Tushar Kapse
2007-08-23 10:03           ` hinko.kocevar
2007-08-23 11:39             ` Tushar Kapse
2007-08-23 12:00               ` Ricard Wanderlof
2007-08-23 12:03               ` hinko.kocevar [this message]
2007-08-23 14:21                 ` Tushar Kapse
2007-08-23 14:49                   ` Ricard Wanderlof

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=46CD779E.9020902@cetrtapot.si \
    --to=hinko.kocevar@cetrtapot.si \
    --cc=linux-mtd@lists.infradead.org \
    --cc=ricard.wanderlof@axis.com \
    --cc=tusharkapse@gmail.com \
    /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