We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Showing results for 
Search instead for 
Did you mean: 
Visitor asigint
Registered: ‎10-02-2013

QEMU with Ubuntu/Linaro rootFS?

Can I boot to an Ubuntu/Linaro roofFS with QEMU? I can successfully follow the QEMU instructions at: http://www.wiki.xilinx.com/QEMU & http://www.wiki.xilinx.com/QEMU+-+Zynq-7000 using 2015.2 release found at http://www.wiki.xilinx.com/Zynq+2015.2+Release. This gives me a working QEMU session. On my live Zynq system, I boot Ubuntu/Linaro from an SD card loosely matching the instructions on http://www.wiki.xilinx.com/Ubuntu+on+Zynq. I would like to boot this Ubuntu/Linaro rootFS in QEMU so I can compile against installed Ubuntu/Linaro packages/libraries. Ideally, I'd like to have QEMU mount a real writeable SD card so everything I do is saved (as opposed to an image file which would lose changes when the QEMU ends). However, I can't figure out how to make even a rootFS.img file available/mountable in QEMU. I've tried things like: $ ./aarch64-softmmu/qemu-system-aarch64 \ -M arm-generic-fdt-plnx -machine linux=on \ -serial /dev/null -serial mon:stdio -display none \ -kernel /uImage -dtb /devicetree.dtb --initrd /uramdisk.image.gz \ -sd /rootFS.img (aka adding "-sd /rootFS.img" or "-sd /FullSDcard.img") I was expecting that there would be a /dev/mmcblk0 that I could mount, but there isn't. Is what I'm trying possible and can anyone offer suggestions?
0 Kudos