[agl-discussions] Qemu is unable to load the build of AGL demo
Jan-Simon Möller
dl9pf at gmx.de
Wed Jan 18 17:54:19 UTC 2017
Am Donnerstag, 19. Januar 2017, 00:36:30 schrieb vinay kumar:
> QEMU started booting up but later some error in Qemu for NBD Client failed.
>
> Jan San has identified this as a two rootfs problem.
> I tried but not successful till now to boot image.
>
> Please help me with Qemu
You need to tell runqemu to use the file "agl-demo-platform-qemux86-64.ext4".
To do this, check "runqemu" documentation:
Usage: you can run this script with any valid combination
of the following environment variables (in any order):
KERNEL - the kernel image file to use
ROOTFS - the rootfs image file or nfsroot directory to use
MACHINE - the machine name (optional, autodetected from KERNEL filename if
unspecified)
Simplified QEMU command-line options can be passed with:
nographic - disable video console
serial - enable a serial console on /dev/ttyS0
slirp - enable user networking, no root privileges is required
kvm - enable KVM when running x86/x86_64 (VT-capable CPU required)
kvm-vhost - enable KVM with vhost when running x86/x86_64 (VT-capable CPU
required)
publicvnc - enable a VNC server open to all hosts
audio - enable audio
tcpserial=<port> - specify tcp serial port number
biosdir=<dir> - specify custom bios dir
biosfilename=<filename> - specify bios filename
qemuparams=<xyz> - specify custom parameters to QEMU
bootparams=<xyz> - specify custom kernel parameters during boot
help: print this text
Examples:
runqemu qemuarm
runqemu tmp/deploy/images/qemuarm
runqemu tmp/deploy/images/qemux86/.qemuboot.conf
runqemu qemux86-64 core-image-sato ext4
runqemu qemux86-64 wic-image-minimal wic
runqemu path/to/bzImage-qemux86.bin path/to/nfsrootdir/ serial
runqemu qemux86 iso/hddimg/vmdk/qcow2/vdi/ramfs/cpio.gz...
runqemu qemux86 qemuparams="-m 256"
runqemu qemux86 bootparams="psplash=false"
runqemu path/to/<image>-<machine>.vmdk
runqemu path/to/<image>-<machine>.wic
so you can do
export ROOTFS=./tmp/deploy/images/qemux86-64/agl-demo-platform-qemux86-64.ext4
runqemu qemux86-64
If unsure, specify KERNEL and MACHINE likewise until it works.
--
--
Jan-Simon Möller
dl9pf at gmx.de
More information about the automotive-discussions
mailing list