All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yegor Yefremov <yegor_sub1@visionsystems.de>
To: buildroot@busybox.net
Subject: [Buildroot] VFS: Cannot open root device "mtd ...
Date: Thu, 14 Oct 2010 12:11:12 +0200	[thread overview]
Message-ID: <4CB6D740.8030105@visionsystems.de> (raw)
In-Reply-To: <0C11C5BF0B29FD43A8D0250F711D497F7F663977FF@ex01-ubitronix.ubitronix.local>

> I am new to buildroot and this group
> I am working with the at91sam9260ek board and NAND Flash
> 
> Currently I am able to compile using buildroot kernel - Linux 2.6.34.1
> 
> I flashed the uImage at 0x200000 and root.jffs2 at 0x400000
> Also the uboot, uboot.env at 0x20000 and 0x60000 from the demo along with the at91bootstrap
> 
>  
> 
> When I boot, I get the following erroneous response
> 
> rtc-at91sam9 at91_rtt.0: hctosys: unable to read the hardware clock
> 
> VFS: Cannot open root device "mtdblock0" or unknown-block(0,0)
> 
> Please append a correct "root=" boot option; here are the available partitions:
> 
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
> 
>  
> 
> I tried with more numbers to mtdblock0/1/4 and mtd 0/1/4 etc  
> 
> Still I get the same error.
> 
>  
> 
>              VFS: Cannot open root device "mtd0" or unknown-block(0,0)
> 
> 
> For info:
> bootcmd=nand read 0x22200000 0x00200000 0x00168CF8; bootm 0x22200000
> 
> I also have made the mentioned changes in the at91sam9260ek_defconfig file for NAND ...
> 
> CONFIG_MTD=y
> CONFIG_MTD_PARTITIONS=y
> CONFIG_MTD_CHAR=y
> CONFIG_MTD_BLOCK=y
> CONFIG_MTD_NAND=y
> CONFIG_MTD_NAND_YOURBOARD=y
> CONFIG_JFFS2_FS=y
> CONFIG_JFFS2_FS_DEBUG=0
> CONFIG_JFFS2_FS_NAND=y
> 
>  
> 
> And of course ? setenv bootargs 'mem=64M console=ttyS0,115200 root=/dev/name_of_block_device rw rootfstype=jffs2'
> 
> 
> I cannot find my way out ....
> If any idea, then do let me know
> 
> Thanks a lot.
> abhiash

Please provide your partition table as it is defined in kernel: arch/arm/mach-at91/board-sam9260ek.c
Have you altered this file? Or what board file you're using?

Complete bootlog were also good.

Best regards,
Yegor

  reply	other threads:[~2010-10-14 10:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-14  9:48 [Buildroot] VFS: Cannot open root device "mtd Abhishek Ashtekar
2010-10-14 10:11 ` Yegor Yefremov [this message]
2010-10-14 10:59   ` Abhishek Ashtekar
2010-10-14 12:23     ` Yegor Yefremov

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=4CB6D740.8030105@visionsystems.de \
    --to=yegor_sub1@visionsystems.de \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.