Received: from [140.186.70.92] (port=40021 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwIJW-0007PY-07 for qemu-devel@nongnu.org; Sun, 06 Mar 2011 13:04:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwIJU-0003Ht-OF for qemu-devel@nongnu.org; Sun, 06 Mar 2011 13:04:17 -0500 Received: from hall.aurel32.net ([88.191.126.93]:34503) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwIJU-0003HZ-Gu for qemu-devel@nongnu.org; Sun, 06 Mar 2011 13:04:16 -0500 Date: Sun, 6 Mar 2011 19:04:13 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH 0/5] Fix MMC card detection for Realview boards Message-ID: <20110306180412.GC32068@volta.aurel32.net> References: <1298321873-17064-1-git-send-email-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1298321873-17064-1-git-send-email-peter.maydell@linaro.org> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel@nongnu.org, patches@linaro.org On Mon, Feb 21, 2011 at 08:57:48PM +0000, Peter Maydell wrote: > This patchset fixes a number of problems which were preventing > Linux on Realview boards (EB926, EB 11MPCore, PB-A8 and PBX) > from recognising the presence of an MMC card. Basically the > PL181 needs to export some output pins for card status, > which we can then wire up to both a system register and a > PL061 GPIO module. However we weren't actually instantiating > the PL061 and in any case the ID registers weren't correct for > Linux to detect it. > > Combined with the SD card model patch I posted earlier > (http://patchwork.ozlabs.org/patch/83594/) these patches > allow Linux on a PBX to detect and mount an SD card rootfs. > > (I'm doing this work not for the sake of the realview boards, > but because it's also mostly necessary for the Versatile Express > model patchset I'm cleaning up and hope to post shortly.) > > Peter Maydell (5): > hw/pl181: Implement GPIO output pins for card status > hw/arm_sysctl.c: Wire MCI register MMC card status bits to GPIO inputs > hw/pl061.c: Implement ARM PL061 as well as Luminary one > hw/irq: Add qemu_irq_split() so one GPIO output can feed two inputs > hw/realview: Wire up the MMC card status > > hw/arm_sysctl.c | 47 ++++++++++++++++++++++++++++++++++++++++++++++- > hw/irq.c | 15 +++++++++++++++ > hw/irq.h | 3 +++ > hw/pl061.c | 23 +++++++++++++++++++---- > hw/pl181.c | 6 ++++++ > hw/primecell.h | 4 ++++ > hw/realview.c | 29 ++++++++++++++++++++++++++--- > hw/stellaris.c | 2 +- > 8 files changed, 120 insertions(+), 9 deletions(-) > Thanks all applied. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net