From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBttq-0003SG-PM for qemu-devel@nongnu.org; Sun, 05 Jul 2015 20:04:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZBttm-0002or-O8 for qemu-devel@nongnu.org; Sun, 05 Jul 2015 20:04:42 -0400 Received: from zose-mta02.web4all.fr ([185.49.20.43]:46561) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBttm-0002lV-G4 for qemu-devel@nongnu.org; Sun, 05 Jul 2015 20:04:38 -0400 Received: from localhost (localhost [127.0.0.1]) by zose-mta02.web4all.fr (Postfix) with ESMTP id 59F8A4029E for ; Mon, 6 Jul 2015 02:04:34 +0200 (CEST) From: Jean-Christophe Dubois Date: Mon, 6 Jul 2015 02:04:24 +0200 Message-Id: Subject: [Qemu-devel] [PATCH v10 00/21] i.MX: Add i.MX25 support through the 3DS evaluation board. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Jean-Christophe Dubois This series of patches add the support for the i.MX25 processor through the Freescale 3DS evaluation board. For now a limited set of devices are supported. * GPT timers (from i.MX31) * EPIT timers (from i.MX31) * Serial ports (from i.MX31) * Ethernet FEC port * I2C controller In the process the KZM platform was split into an i.MX31 SOC and a plateform part. Also, I2C devices was added to the i.MX31 SOC. This was tested by: * booting a minimal linux system on the i.MX25_3DS platform * booting the Xvisor hypervisor on the i.MX25_3DS platform * booting a minimal linux system on the KZM platform Jean-Christophe Dubois (21): i.MX: Split UART emulator in a header file and a source file i.MX: Move serial initialization to init/realize of DeviceClass. i.MX:Fix Coding style for UART emulator. i.MX: Split AVIC emulator in a header file and a source file i.MX: Fix Coding style for AVIC emulator. i.MX: Split CCM emulator in a header file and a source file i.MX: Fix Coding style for CCM emulator i.MX: Split EPIT emulator in a header file and a source file i.MX: Move Qdev EPIT construction helper as inline function. i.MX: Fix Coding style for EPIT emulator i.MX: Split GPT emulator in a header file and a source file i.MX: Move Qdev GPT construction helper as inline function. i.MX: Fix Coding style for GPT emulator i.MX: Add SOC support for i.MX31 i.MX: KZM now uses the standalone i.MX31 SOC support i.MX: Add I2C controller emulator i.MX: Add FEC Ethernet Emulator i.MX: Add SOC support for i.MX25 i.MX: Add the i.MX25 3DS PDK plateform i.MX: Add qtest support for I2C device emulator. i.MX: Adding i2C devices to i.MX31 SOC default-configs/arm-softmmu.mak | 6 + hw/arm/Makefile.objs | 4 +- hw/arm/fsl-imx25.c | 272 +++++++++++++++ hw/arm/fsl-imx31.c | 249 ++++++++++++++ hw/arm/imx25_3ds.c | 170 ++++++++++ hw/arm/kzm.c | 212 ++++++------ hw/char/imx_serial.c | 182 +++-------- hw/i2c/Makefile.objs | 1 + hw/i2c/imx_i2c.c | 339 +++++++++++++++++++ hw/intc/imx_avic.c | 56 +--- hw/misc/imx_ccm.c | 81 +---- hw/net/Makefile.objs | 1 + hw/net/imx_fec.c | 709 ++++++++++++++++++++++++++++++++++++++++ hw/timer/imx_epit.c | 75 +---- hw/timer/imx_gpt.c | 96 +----- include/hw/arm/fsl-imx25.h | 234 +++++++++++++ include/hw/arm/fsl-imx31.h | 111 +++++++ include/hw/arm/imx.h | 34 -- include/hw/char/imx_serial.h | 102 ++++++ include/hw/i2c/imx_i2c.h | 85 +++++ include/hw/intc/imx_avic.h | 55 ++++ include/hw/misc/imx_ccm.h | 91 ++++++ include/hw/net/imx_fec.h | 113 +++++++ include/hw/timer/imx_epit.h | 79 +++++ include/hw/timer/imx_gpt.h | 107 ++++++ tests/Makefile | 3 + tests/ds1338-test.c | 75 +++++ tests/libqos/i2c-imx.c | 209 ++++++++++++ tests/libqos/i2c.h | 3 + 29 files changed, 3197 insertions(+), 557 deletions(-) create mode 100644 hw/arm/fsl-imx25.c create mode 100644 hw/arm/fsl-imx31.c create mode 100644 hw/arm/imx25_3ds.c create mode 100644 hw/i2c/imx_i2c.c create mode 100644 hw/net/imx_fec.c create mode 100644 include/hw/arm/fsl-imx25.h create mode 100644 include/hw/arm/fsl-imx31.h delete mode 100644 include/hw/arm/imx.h create mode 100644 include/hw/char/imx_serial.h create mode 100644 include/hw/i2c/imx_i2c.h create mode 100644 include/hw/intc/imx_avic.h create mode 100644 include/hw/misc/imx_ccm.h create mode 100644 include/hw/net/imx_fec.h create mode 100644 include/hw/timer/imx_epit.h create mode 100644 include/hw/timer/imx_gpt.h create mode 100644 tests/ds1338-test.c create mode 100644 tests/libqos/i2c-imx.c -- 2.1.4