Kernel syncing problem unable to mount jffs2

Submitted by nrabara
on July 16, 2009 - 10:42pm

I have been using Linux kernel 2.6.28 with at91sam9263 processor and arm-none-eabi-gcc toolchain
I am able to start kernel execution from the RAM.

I am passing command line partition argument [bootargs=console=ttyS0;115200 root=mtd5 mtdparts=physmap-flash.0:128K(bootstrap)ro,256k(uboot),128k(env1),128(env2),2M(Linux),-(root); rw rootfstype=jffs2]

Kernel debug showing [created 6 mtd partitions]

but after the message,
Freeing init memory = 100k
I am getting following messages.
MTDSB: dev_name ''/dev/root"
MTDSB: lookup_bdev() returned 0
List of all partition:
No filesystem could mount root tried: jffs2
Kernel panic - not syncting : NFS; unable to mount root fs on unknown block(0,0)

not syncing problem

strcmp
on
July 17, 2009 - 10:28am

'not syncing' doesn't have to do anything with your problem, that's just the standard message if the kernel stops due to an error -- meaning modified files may not be written completely to the filesystems. this is totally irrelevant for you, because nothing was mounted in the first place.

the error is:
MTDSB: dev_name ''/dev/root"
MTDSB: lookup_bdev() returned 0

the block device (bdev) was not found. root=mtd5 didn't work. Do you have to use root=/dev/mtd5 ?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.