From patchwork Sat Oct 3 23:19:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Crosthwaite X-Patchwork-Id: 526039 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 8C12B1402B6 for ; Sun, 4 Oct 2015 10:19:33 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=G818fanN; dkim-atps=neutral Received: from localhost ([::1]:40339 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiW5T-0004Lo-Nl for incoming@patchwork.ozlabs.org; Sat, 03 Oct 2015 19:19:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiW5D-00041q-PY for qemu-devel@nongnu.org; Sat, 03 Oct 2015 19:19:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZiW5C-0006oz-VS for qemu-devel@nongnu.org; Sat, 03 Oct 2015 19:19:15 -0400 Received: from mail-wi0-x22b.google.com ([2a00:1450:400c:c05::22b]:37011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZiW5C-0006ol-Q4 for qemu-devel@nongnu.org; Sat, 03 Oct 2015 19:19:14 -0400 Received: by wicfx3 with SMTP id fx3so70822678wic.0 for ; Sat, 03 Oct 2015 16:19:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/RZAh4vVKzTcYh8+QmICYtsE7g9EV3XFmFTHdChtGXE=; b=G818fanNJxgkyH3WHmmkGBBexqu1owKq988BUKsVzdryAs4clJ9yPiq4fPmuhv4tVA xGYypr84QeJN5IVHoVnb9W3UhWVivlpAgnh4GNJdnmPhXGDtWrTfdbpffffNUz2zTEsN oH8f6a6ZhczmtolJvmST9HKJBTlrZYOqy7CN3/q6JgTHSrcsx4vdbfnPiGpS13CKsjs1 xoK+0chdTyZ6yE7JrrkKdmBBVIZyLy+d0Q+hnmO8J0ERgA4sa2i76AcUsj6SfbWRv3ei XspVuWhWDZyqDn6qNWhEQeQ7rb9LGZuLgN+Hel4QoeAE9NQCcTRaicbSL4hjGE+vGQcQ z3AQ== MIME-Version: 1.0 X-Received: by 10.180.182.84 with SMTP id ec20mr4380587wic.42.1443914354150; Sat, 03 Oct 2015 16:19:14 -0700 (PDT) Received: by 10.28.134.18 with HTTP; Sat, 3 Oct 2015 16:19:13 -0700 (PDT) In-Reply-To: References: Date: Sat, 3 Oct 2015 16:19:13 -0700 Message-ID: From: Peter Crosthwaite To: Peter Maydell X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22b Cc: Rob Herring , Igor Mitsyanko , Sai Pavan Boddu , "qemu-devel@nongnu.org Developers" , Nathan Rossi , Beniamino Galvani , Richard Purdie , Alistair Francis , John Snow , Guenter Roeck Subject: Re: [Qemu-devel] QEMU+Linux ARMv7A current state X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org On Sat, Oct 3, 2015 at 3:14 PM, Peter Crosthwaite wrote: > On Sat, Oct 3, 2015 at 2:51 PM, Peter Maydell wrote: >> On 3 October 2015 at 22:31, Peter Crosthwaite >> 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): KERNCMDLINE_CONSOLE="ttyAMA0" Regards, Peter 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)