Wind River Support Network


LIN7-4767 : xilinx-zynq: boot failure when use mmc card to hold rootfs on picozed board

Created: Sep 15, 2015    Updated: Sep 8, 2018
Resolved Date: Oct 8, 2015
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: BSP


config a xilinx bsp:
configure --enable-board=xilinx-zynq --enable-kernel=standard --enable-rootfs=glibc-std --enable-parallel-pkgbuilds=8 --enable-jobs=16
on picozed board boot it up. my boot cmdline is like:
set ipaddr;set serverip;tftpboot 0x3000000;tftpboot 0x2a00000;setenv bootargs 'console=ttyPS0,115200 root=/dev/mmcblk0p1 rw rootfstype=ext2 oprofile.timer=1  softdog.nowayout=0';bootm 0x3000000 - 0x2a00000

the board failed to boot with error:
VFS: Cannot open root device "mmcblk0p1" or unknown-block(0,0): error -6
Please append a correct "root=" boot option; here are the available partitions:
1f00            1024 mtdblock0  (driver?)
1f01            5120 mtdblock1  (driver?)
1f02             128 mtdblock2  (driver?)
1f03            6016 mtdblock3 mmc0: new high speed SDHC card at address 1234
mmcblk0: mmc0:1234 SA04G 3.63 GiB (ro)

1f04            4096 mtdblock4  mmcblk0: p1

b300         3813376 mmcblk0  driver: mmcblk
  b301         3812352 mmcblk0p1 85b1a274-01
VFS: Unable to mount root fs on unknown-block(0,0)
User configuration error - no valid root filesystem found
Kernel panic - not syncing: Invalid configuration from end user prevents continuing
CPU: 1 PID: 1 Comm: swapper/0 Not tainted 3.14.39ltsi-WR7.0.0.0_standard #1
[<80017f84>] (unwind_backtrace) from [<80012730>] (show_stack+0x20/0x24)
[<80012730>] (show_stack) from [<8068cffc>] (dump_stack+0x78/0xc4)
[<8068cffc>] (dump_stack) from [<8068ad54>] (panic+0x98/0x1e0)
[<8068ad54>] (panic) from [<8094f24c>] (mount_block_root+0x22c/0x27c)
[<8094f24c>] (mount_block_root) from [<8094f46c>] (mount_root+0xe8/0x10c)
[<8094f46c>] (mount_root) from [<8094f5f8>] (prepare_namespace+0x168/0x1c8)
[<8094f5f8>] (prepare_namespace) from [<8094edd0>] (kernel_init_freeable+0x220/0x274)
[<8094edd0>] (kernel_init_freeable) from [<80688ef8>] (kernel_init+0x1c/0xf4)
[<80688ef8>] (kernel_init) from [<8000e358>] (ret_from_fork+0x14/0x20)
CPU0: stopping

Other Downloads

Live chat