From: Peter Crosthwaite <crosthwaitepeter@gmail.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Rob Herring <rob.herring@linaro.org>,
Igor Mitsyanko <i.mitsyanko@gmail.com>,
Sai Pavan Boddu <saipava@xilinx.com>,
"qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>,
Nathan Rossi <nathan@nathanrossi.com>,
Beniamino Galvani <b.galvani@gmail.com>,
Richard Purdie <richard.purdie@linuxfoundation.org>,
Alistair Francis <alistair.francis@xilinx.com>,
John Snow <jsnow@redhat.com>, Guenter Roeck <linux@roeck-us.net>
Subject: Re: [Qemu-devel] QEMU+Linux ARMv7A current state
Date: Sat, 3 Oct 2015 16:19:13 -0700 [thread overview]
Message-ID: <CAPokK=rJ5PmSwXbDrhhFkt07CtueOfSg2VXH1UH3LTLOubHbHQ@mail.gmail.com> (raw)
In-Reply-To: <CAPokK=pzpLhiMOseWRQ=z0x7VuezevGLAW2eKvEoq73AZQTWEA@mail.gmail.com>
On Sat, Oct 3, 2015 at 3:14 PM, Peter Crosthwaite
<crosthwaitepeter@gmail.com> wrote:
> On Sat, Oct 3, 2015 at 2:51 PM, Peter Maydell <peter.maydell@linaro.org> wrote:
>> On 3 October 2015 at 22:31, Peter Crosthwaite
>> <crosthwaitepeter@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
next prev parent reply other threads:[~2015-10-03 23:19 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-03 21:31 [Qemu-devel] QEMU+Linux ARMv7A current state Peter Crosthwaite
2015-10-03 21:51 ` Peter Maydell
2015-10-03 22:14 ` Peter Crosthwaite
2015-10-03 23:19 ` Peter Crosthwaite [this message]
2015-10-04 10:42 ` Peter Maydell
2015-10-04 0:21 ` Guenter Roeck
2015-10-04 1:48 ` Peter Crosthwaite
2015-10-04 19:56 ` Beniamino Galvani
2015-10-04 21:11 ` Guenter Roeck
2015-10-04 21:38 ` Beniamino Galvani
2015-10-05 1:08 ` Guenter Roeck
2015-10-05 2:21 ` Peter Crosthwaite
2015-10-05 4:09 ` Guenter Roeck
2015-10-11 16:33 ` Peter Crosthwaite
2015-10-04 21:39 ` Peter Crosthwaite
2015-10-04 22:08 ` Peter Maydell
2015-10-11 16:37 ` Peter Crosthwaite
2015-10-05 15:13 ` John Snow
2015-10-05 20:44 ` Beniamino Galvani
2015-10-05 21:28 ` John Snow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAPokK=rJ5PmSwXbDrhhFkt07CtueOfSg2VXH1UH3LTLOubHbHQ@mail.gmail.com' \
--to=crosthwaitepeter@gmail.com \
--cc=alistair.francis@xilinx.com \
--cc=b.galvani@gmail.com \
--cc=i.mitsyanko@gmail.com \
--cc=jsnow@redhat.com \
--cc=linux@roeck-us.net \
--cc=nathan@nathanrossi.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.purdie@linuxfoundation.org \
--cc=rob.herring@linaro.org \
--cc=saipava@xilinx.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).