AnsweredAssumed Answered

IMX6 MFGtool download kernel error:'VFS: Cannot open root device "(null)" or unknown-block(0,0)'

Question asked by 龙伟 赖 on Oct 21, 2015
Latest reply on Oct 21, 2015 by 龙伟 赖

hello everyone,

     I can download an uImage file with MFGtool, but when I rebuild a new uImage and download it with MFGtool, it shows following error:

VFS: Cannot open root device "(null)" or unknown-block(0,0)

Please append a correct "root=" boot option; here are the available partitions:

b300         3866624 mmcblk0  driver: mmcblk

  b301         3856384 mmcblk0p1 00000000-0000-0000-0000-000000000000

b310            1024 mmcblk0boot1  (driver?)

b308            1024 mmcblk0boot0  (driver?)

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

[<80048854>] (unwind_backtrace+0x0/0xf8) from [<805260ec>] (panic+0x74/0x18c)

[<805260ec>] (panic+0x74/0x18c) from [<80008ce8>] (mount_block_root+0x170/0x224)

 

[<80008ce8>] (mount_block_root+0x170/0x224) from [<80008e84>] (mount_root+0xe8/0

x108)

[<80008e84>] (mount_root+0xe8/0x108) from [<80008fc4>] (prepare_namespace+0x120/

0x178)

[<80008fc4>] (prepare_namespace+0x120/0x178) from [<800089b0>] (kernel_init+0x10

8/0x13c)

[<800089b0>] (kernel_init+0x108/0x13c) from [<80042aa4>] (kernel_thread_exit+0x0

/0x8)

 

here are my bootenv:

 

bootdelay=3

baudrate=115200

ipaddr=192.168.1.103

serverip=192.168.1.101

netmask=255.255.255.0

loadaddr=0x10800000

rd_loadaddr=(0x10800000 + 0x300000)

netdev=eth0

ethprime=FEC0

uboot=u-boot.bin

kernel=uImage

nfsroot=/opt/eldk/arm

bootargs_base=setenv bootargs console=ttymxc0,115200 nosmp

bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp

bootcmd_net=run bootargs_base bootargs_nfs; tftpboot ${loadaddr} ${kernel}; bootm

bootargs_mmc=setenv bootargs ${bootargs} ip=off root=/dev/mmcblk0p1 rootwait rw video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666  video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24

bootcmd=run bootcmd_mmc

ethact=FEC0

bootargs=console=ttymxc0,115200 nosmp ip=off root=/dev/mmcblk0p1 rootwait rw video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24

bootcmd_mmc=run bootargs_base bootargs_mmc; mmc dev 3; mmc read ${loadaddr} 0x800 0x2000; bootm

stdin=serial

stdout=serial

stderr=serial

 

need your nice help, thanks in advance.

Outcomes