Received: from eggs.gnu.org ([2001:4830:134:3::10]:52721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa7wH-0006wA-Nn for qemu-devel@nongnu.org; Sun, 28 Feb 2016 15:27:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aa7wD-0007mQ-Ju for qemu-devel@nongnu.org; Sun, 28 Feb 2016 15:27:37 -0500 Received: from zose-mta03.web4all.fr ([185.49.20.44]:49133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa7wD-0007m7-A7 for qemu-devel@nongnu.org; Sun, 28 Feb 2016 15:27:33 -0500 References: From: Jean-Christophe DUBOIS Message-ID: <56D35831.8080909@tribudubois.net> Date: Sun, 28 Feb 2016 21:27:29 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 0/9] Add i.MX6 (Single/Dual/Quad) support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: peter.maydell@linaro.org Cc: qemu-devel@nongnu.org, crosthwaite.peter@gmail.com Peter, Are you OK if I merge the 2 series (i.MX6 and SPI for i.MX6) into a=20 single series? Thanks. JC Le 08/02/2016 23:08, Jean-Christophe Dubois a =E9crit : > This patch series adds support for the Freescale i.MX6 processor. > > For now we only support the following devices: > * up to 4 Cortex A9 cores > * A9 MPCORE (SCU, GIC, TWD) > * 5 i.MX UARTs > * 2 EPIT timers > * 1 GPT timer > * 7 GPIO controllers > * 6 SDHC controllers > * 1 CCM device > * 1 SRC device > * 3 I2C devices > * various ROM/RAM areas. > > This also adds the sabrelite board as a an actual platform for i.MX6. > > This series was tested by booting a 4.4 linux kernel (using the > imx_v6_v7_defconfig file as kernel configuration). > > Note1: as sabrelite uses uart2 as console, you have to redirect the sec= ond > QEMU serial port to stdout. > qemu-system-arm -M sabrelite -display none ... -serial null -seria= l stdio > > Note2: as the SPI controller is not yet supported in QEMU for i.MX you = need > to disable SPI controllers in Linux DTS tree. Otherwise Linux would han= g > during the boot waiting for a SPI device to respond. > > Note3: You need to disable the GPIO section related to physical push bu= ttons > in the Linux DTS tree in order to avoid excecive interrupt triggering o= n > GPIO devices for non existant buttons. > > Jean-Christophe Dubois (9): > i.MX: Allow GPT timer to rollover. > i.MX: Rename CCM NOCLK to CLK_NONE for naming consistency. > i.MX: Remove CCM useless clock computation handling. > i.MX: Add the CLK_IPG_HIGH clock > i.MX: Add i.MX6 CCM and ANALOG device. > i.MX: Add i.MX6 System Reset Controller device. > i.MX: Add i.MX6 SOC implementation. > i.MX: Add sabrelite i.MX6 emulation. > i.MX: Add missing descriptions in devices. > > default-configs/arm-softmmu.mak | 1 + > hw/arm/Makefile.objs | 1 + > hw/arm/fsl-imx25.c | 1 + > hw/arm/fsl-imx31.c | 1 + > hw/arm/fsl-imx6.c | 407 +++++++++++++++++++++ > hw/arm/sabrelite.c | 93 +++++ > hw/i2c/imx_i2c.c | 1 + > hw/misc/Makefile.objs | 2 + > hw/misc/imx25_ccm.c | 29 +- > hw/misc/imx31_ccm.c | 35 +- > hw/misc/imx6_ccm.c | 773 +++++++++++++++++++++++++++++++= +++++++++ > hw/misc/imx6_src.c | 353 ++++++++++++++++++ > hw/net/imx_fec.c | 1 + > hw/timer/imx_epit.c | 8 +- > hw/timer/imx_gpt.c | 43 +-- > include/hw/arm/fsl-imx6.h | 447 +++++++++++++++++++++++ > include/hw/misc/imx6_ccm.h | 197 ++++++++++ > include/hw/misc/imx6_src.h | 73 ++++ > include/hw/misc/imx_ccm.h | 10 +- > 19 files changed, 2384 insertions(+), 92 deletions(-) > create mode 100644 hw/arm/fsl-imx6.c > create mode 100644 hw/arm/sabrelite.c > create mode 100644 hw/misc/imx6_ccm.c > create mode 100644 hw/misc/imx6_src.c > create mode 100644 include/hw/arm/fsl-imx6.h > create mode 100644 include/hw/misc/imx6_ccm.h > create mode 100644 include/hw/misc/imx6_src.h >