qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v5 0/6] Add i.MX6 (Single/Dual/Quad) support
@ 2016-03-26 11:06 Jean-Christophe Dubois
  2016-03-26 11:06 ` [Qemu-devel] [PATCH v5 1/6] ARM: Factor out ARM on/off PSCI control functions Jean-Christophe Dubois
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Jean-Christophe Dubois @ 2016-03-26 11:06 UTC (permalink / raw)
  To: qemu-devel, peter.maydell, crosthwaite.peter; +Cc: Jean-Christophe Dubois

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-03-29 19:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-26 11:06 [Qemu-devel] [PATCH v5 0/6] Add i.MX6 (Single/Dual/Quad) support Jean-Christophe Dubois
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

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).