On Sat, Oct 3, 2015 at 3:14 PM, Peter Crosthwaite <crosthwaitepe...@gmail.com> wrote: > On Sat, Oct 3, 2015 at 2:51 PM, Peter Maydell <peter.mayd...@linaro.org> > wrote: >> On 3 October 2015 at 22:31, Peter Crosthwaite >> <crosthwaitepe...@gmail.com> wrote: >>> Hi,
>>> vexpress: >>> >>> vexpress boots up to rootfs probing, however the only storage media >>> that seems to be supported is flash, which doesn't have the needed >>> kernel configs to boot from (not 100% sure on that but I gave up >>> quickly). What are people who use this board in real hardware doing? >>> It may just work best with initrd style boots. >> >> For real hardware I expect people will be using USB disks. >> We don't currently model the USB controller in QEMU, though. > > Looks like a custom job too. Not much chance here unless this is a > rebadging of one of the existing HCIs? > >> My test images use emulated SD card storage (ie -drive if=sd,file=...). >> (Emulated SD card will have lousy performance.) >> > > Ok that's a good plan A. Emulated SDHCI on Zynq does just fine for > this level of testing. I missed it as my options search was for "SD" > rather than "MMC". > Ok it works. It suffers from the same 512k truncation bug that I described for Zynq so it needs that workaround, but otherwise it is in good shape. Vexpress is done and dusted (Poky diff): diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index a777d8e..a92c1b7 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal @@ -374,8 +374,10 @@ if [ "$MACHINE" = "qemuarm" -o "$MACHINE" = "qemuarmv6" -o "$MACHINE" = "qemuarm ;; vexpress-a9) KERNCMDLINE_CONSOLE="ttyAMA0" + KERNCMDLINE_ROOTDEV="/dev/mmcblk0" QEMU_UI_OPTIONS="-nographic -serial mon:stdio" QEMU_OPTIONS="-dtb ${KERNEL}-vexpress-v2p-ca9.dtb" + QEMU_DRIVE_OPTIONS=",if=sd" ;; vexpress-a15) KERNCMDLINE_CONSOLE="ttyAMA0" Regards, Peter