qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v4 0/6] Add i.MX6 (Single/Dual/Quad) support


From: Jean-Christophe Dubois
Subject: [Qemu-devel] [PATCH v4 0/6] Add i.MX6 (Single/Dual/Quad) support
Date: Sat, 19 Mar 2016 21:59:08 +0100

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              | 117 +++++++++++
 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       | 224 ++++++++++++++++++++
 target-arm/arm-powerctl.h       |  44 ++++
 target-arm/psci.c               |  69 +-----
 16 files changed, 2380 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 via email to

[Prev in Thread] Current Thread [Next in Thread]