Wind River Support Network

HomeDefectsLIN5-7837
Fixed

LIN5-7837 : Qemu not working on Zynq as described in the readme

Created: Jun 4, 2013    Updated: Dec 19, 2017
Resolved Date: Sep 14, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.8
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: BSP
Host OS: Linux Ubuntu

Description

NFS mount is not working.

Steps to Reproduce

Host Ubuntu 12.04 64bit

Configure line:
wrlinux-5/wrlinux/configure --enable-board=xilinx-zynq --enable-jobs=4 --enable-kernel=standard --enable-parallel-pkgbuilds=4 --enable-rootfs=glibc_small+debug --with-sstate-dir=/240G-ssd/sstate-dir --with-template=feature/analysis,feature/valgrind_small,feature/qemu-linaro --with-rcpl-version=0003

make fs
make -C build linux-windriver
cp export/xilinx-zynq-zynq-zc702-qemu-sd.dtb-WR5.0.1.3_standard export/xilinx-zynq-zynq-zc702-qemu-sd.dtb
make start-target TARGET_VIRT_BOOT_TYPE="usernfstcp"

IP-Config: Got DHCP answer from 10.0.2.2, my address is 10.0.2.15
IP-Config: Complete:
     device=eth0, addr=10.0.2.15, mask=255.255.255.0, gw=10.0.2.2
     host=qemu0, domain=, nis-domain=(none)
     bootserver=10.0.2.2, rootserver=10.0.2.2, rootpath=
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
eth0: link up (1000/FULL)
<wait a few minutes>
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
Please append a correct "root=" boot option; here are the available partitions:
1f00             512 mtdblock0  (driver?)
1f01             512 mtdblock1  (driver?)
1f02            5120 mtdblock2  (driver?)
1f03             128 mtdblock3  (driver?)
1f04             896 mtdblock4  (driver?)
1f05            1024 mtdblock5  (driver?)
1f06            8192 mtdblock6  (driver?)
VFS: Unable to mount root fs on unknown-block(2,0)
User configuration error - no valid root filesystem found
Kernel panic - not syncing: Invalid configuration from end user prevents continuing
[<80017568>] (unwind_backtrace+0x0/0x104) from [<805c1bdc>] (dump_stack+0x20/0x24)
[<805c1bdc>] (dump_stack+0x20/0x24) from [<805c1f2c>] (panic+0x148/0x280)
[<805c1f2c>] (panic+0x148/0x280) from [<807aef54>] (mount_block_root+0x238/0x254)
[<807aef54>] (mount_block_root+0x238/0x254) from [<807af178>] (mount_root+0x11c/0x124)
[<807af178>] (mount_root+0x11c/0x124) from [<807af31c>] (prepare_namespace+0x19c/0x1e4)
[<807af31c>] (prepare_namespace+0x19c/0x1e4) from [<807aeb24>] (kernel_init+0x250/0x258)
[<807aeb24>] (kernel_init+0x250/0x258) from [<8000f794>] (kernel_thread_exit+0x0/0x8)



Other Downloads


Live chat
Online