qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jean-Christophe Dubois <jcd@tribudubois.net>
To: qemu-devel@nongnu.org, peter.maydell@linaro.org,
	crosthwaite.peter@gmail.com
Cc: Jean-Christophe Dubois <jcd@tribudubois.net>
Subject: [Qemu-devel] [PATCH v5 0/6] Add i.MX6 (Single/Dual/Quad) support
Date: Sat, 26 Mar 2016 12:06:13 +0100	[thread overview]
Message-ID: <cover.1458989776.git.jcd@tribudubois.net> (raw)

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
* 5 SPI 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 second
QEMU serial port to stdout.
    qemu-system-arm -M sabrelite -display none ... -serial null -serial stdio

Note2: You need to disable the GPIO section related to physical push buttons
in the Linux DTS tree in order to avoid excecive interrupt triggering on
GPIO devices for non existant buttons.

Jean-Christophe Dubois (6):
  ARM: Factor out ARM on/off PSCI control functions
  i.MX: Add i.MX6 System Reset Controller device.
  FIFO: Add a FIFO32 implementation
  i.MX: Add the Freescale SPI Controller
  i.MX: Add i.MX6 SOC implementation.
  i.MX: Add sabrelite i.MX6 emulation.

 default-configs/arm-softmmu.mak |   1 +
 hw/arm/Makefile.objs            |   1 +
 hw/arm/fsl-imx6.c               | 449 +++++++++++++++++++++++++++++++++++++++
 hw/arm/sabrelite.c              | 122 +++++++++++
 hw/misc/Makefile.objs           |   1 +
 hw/misc/imx6_src.c              | 264 +++++++++++++++++++++++
 hw/ssi/Makefile.objs            |   1 +
 hw/ssi/imx_spi.c                | 454 ++++++++++++++++++++++++++++++++++++++++
 include/hw/arm/fsl-imx6.h       | 450 +++++++++++++++++++++++++++++++++++++++
 include/hw/misc/imx6_src.h      |  73 +++++++
 include/hw/ssi/imx_spi.h        | 103 +++++++++
 include/qemu/fifo32.h           | 191 +++++++++++++++++
 target-arm/Makefile.objs        |   1 +
 target-arm/arm-powerctl.c       | 239 +++++++++++++++++++++
 target-arm/arm-powerctl.h       |  75 +++++++
 target-arm/psci.c               |  68 +-----
 16 files changed, 2430 insertions(+), 63 deletions(-)
 create mode 100644 hw/arm/fsl-imx6.c
 create mode 100644 hw/arm/sabrelite.c
 create mode 100644 hw/misc/imx6_src.c
 create mode 100644 hw/ssi/imx_spi.c
 create mode 100644 include/hw/arm/fsl-imx6.h
 create mode 100644 include/hw/misc/imx6_src.h
 create mode 100644 include/hw/ssi/imx_spi.h
 create mode 100644 include/qemu/fifo32.h
 create mode 100644 target-arm/arm-powerctl.c
 create mode 100644 target-arm/arm-powerctl.h

-- 
2.5.0

             reply	other threads:[~2016-03-26 11:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-26 11:06 Jean-Christophe Dubois [this message]
2016-03-26 11:06 ` [Qemu-devel] [PATCH v5 1/6] ARM: Factor out ARM on/off PSCI control functions Jean-Christophe Dubois
2016-03-29 19:46   ` Peter Maydell
2016-03-26 11:06 ` [Qemu-devel] [PATCH v5 2/6] i.MX: Add i.MX6 System Reset Controller device Jean-Christophe Dubois
2016-03-26 11:06 ` [Qemu-devel] [PATCH v5 3/6] FIFO: Add a FIFO32 implementation Jean-Christophe Dubois
2016-03-26 11:06 ` [Qemu-devel] [PATCH v5 4/6] i.MX: Add the Freescale SPI Controller Jean-Christophe Dubois
2016-03-26 11:06 ` [Qemu-devel] [PATCH v5 5/6] i.MX: Add i.MX6 SOC implementation Jean-Christophe Dubois
2016-03-26 11:06 ` [Qemu-devel] [PATCH v5 6/6] i.MX: Add sabrelite i.MX6 emulation Jean-Christophe Dubois
2016-03-29 19:47 ` [Qemu-devel] [PATCH v5 0/6] Add i.MX6 (Single/Dual/Quad) support Peter Maydell

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=cover.1458989776.git.jcd@tribudubois.net \
    --to=jcd@tribudubois.net \
    --cc=crosthwaite.peter@gmail.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /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).