[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] QEMU+Linux ARMv7A current state
From: |
Peter Crosthwaite |
Subject: |
Re: [Qemu-devel] QEMU+Linux ARMv7A current state |
Date: |
Sat, 3 Oct 2015 16:19:13 -0700 |
On Sat, Oct 3, 2015 at 3:14 PM, Peter Crosthwaite
<address@hidden> wrote:
> On Sat, Oct 3, 2015 at 2:51 PM, Peter Maydell <address@hidden> wrote:
>> On 3 October 2015 at 22:31, Peter Crosthwaite
>> <address@hidden> 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
- Re: [Qemu-devel] QEMU+Linux ARMv7A current state, (continued)
Re: [Qemu-devel] QEMU+Linux ARMv7A current state, Peter Crosthwaite, 2015/10/11
Re: [Qemu-devel] QEMU+Linux ARMv7A current state, John Snow, 2015/10/08
Re: [Qemu-devel] QEMU+Linux ARMv7A current state, Peter Maydell, 2015/10/08