Received: from eggs.gnu.org ([2001:4830:134:3::10]:48885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZP5YY-000331-KK for qemu-devel@nongnu.org; Tue, 11 Aug 2015 05:09:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZP5YV-0004mT-9p for qemu-devel@nongnu.org; Tue, 11 Aug 2015 05:09:14 -0400 Received: from zose-mta02.web4all.fr ([185.49.20.43]:33765) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZP5YV-0004mK-1J for qemu-devel@nongnu.org; Tue, 11 Aug 2015 05:09:11 -0400 Received: from localhost (localhost [127.0.0.1]) by zose-mta02.web4all.fr (Postfix) with ESMTP id 4503A42336 for ; Tue, 11 Aug 2015 11:09:10 +0200 (CEST) Received: from zose-mta02.web4all.fr ([127.0.0.1]) by localhost (zose-mta02.web4all.fr [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 8NkPrtyj6xTi for ; Tue, 11 Aug 2015 11:09:09 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zose-mta02.web4all.fr (Postfix) with ESMTP id 8349742342 for ; Tue, 11 Aug 2015 11:09:09 +0200 (CEST) Received: from zose-mta02.web4all.fr ([127.0.0.1]) by localhost (zose-mta02.web4all.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 8k3ykRtDAstJ for ; Tue, 11 Aug 2015 11:09:09 +0200 (CEST) Received: from zose-store05.web4all.fr (zose-store05.web4all.fr [10.101.13.35]) by zose-mta02.web4all.fr (Postfix) with ESMTP id 69F7842336 for ; Tue, 11 Aug 2015 11:09:09 +0200 (CEST) Date: Tue, 11 Aug 2015 11:09:09 +0200 (CEST) From: jcd@tribudubois.net Message-ID: <1026415441.102482.1439284149248.JavaMail.zimbra@tribudubois.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_102481_1063397888.1439284149248" Subject: Re: [Qemu-devel] [PATCH v14 0/8] i.MX: Add i.MX25 support through the PDK evaluation board List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel ------=_Part_102481_1063397888.1439284149248 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Please, note that this series also require the "[PATCH v2 for-2.4] i.MX: Fi= x UART driver to work with unitialized "chardev" device".=20 http://lists.nongnu.org/archive/html/qemu-stable/2015-07/msg00140.html=20 Without it, Qemu will crash when accessing the 5th serial device on imx25_p= dk platform.=20 Regards=20 JC=20 ----- Le 11 Ao=C3=BB 15, =C3=A0 0:02, jcd a =C3=A9cri= t :=20 > This series of patches is generated against Peter Maydell GIT tree: > https://git.linaro.org/people/peter.maydell/qemu-arm.git > branch target-arm-post-2.4 > This series of patches add the support for the i.MX25 processor through t= he > Freescale PDK evaluation board. > For now a limited set of devices is 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 PDK platform > * booting the Xvisor hypervisor on the i.MX25 PDK platform > * booting a minimal linux system on the KZM platform > Jean-Christophe Dubois (8): > 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 PDK plateform > i.MX: Add qtest support for I2C device emulator. > i.MX: Add i2C devices to i.MX31 SOC > default-configs/arm-softmmu.mak | 6 + > hw/arm/Makefile.objs | 4 +- > hw/arm/fsl-imx25.c | 273 ++++++++++++++++ > hw/arm/fsl-imx31.c | 246 ++++++++++++++ > hw/arm/imx25_pdk.c | 165 ++++++++++ > hw/arm/kzm.c | 209 ++++++------ > hw/char/imx_serial.c | 35 -- > hw/i2c/Makefile.objs | 1 + > hw/i2c/imx_i2c.c | 339 +++++++++++++++++++ > hw/net/Makefile.objs | 1 + > hw/net/imx_fec.c | 709 ++++++++++++++++++++++++++++++++++++++++ > hw/timer/imx_epit.c | 11 - > hw/timer/imx_gpt.c | 11 - > include/hw/arm/fsl-imx25.h | 234 +++++++++++++ > include/hw/arm/fsl-imx31.h | 110 +++++++ > include/hw/arm/imx.h | 26 -- > include/hw/i2c/imx_i2c.h | 85 +++++ > include/hw/net/imx_fec.h | 113 +++++++ > tests/Makefile | 3 + > tests/ds1338-test.c | 78 +++++ > tests/libqos/i2c-imx.c | 209 ++++++++++++ > tests/libqos/i2c.h | 3 + > 22 files changed, 2684 insertions(+), 187 deletions(-) > create mode 100644 hw/arm/fsl-imx25.c > create mode 100644 hw/arm/fsl-imx31.c > create mode 100644 hw/arm/imx25_pdk.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/i2c/imx_i2c.h > create mode 100644 include/hw/net/imx_fec.h > create mode 100644 tests/ds1338-test.c > create mode 100644 tests/libqos/i2c-imx.c > -- > 2.1.4 ------=_Part_102481_1063397888.1439284149248 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Please, note that this series also require = the "[PATCH v2 for-2.4] i.MX: Fix UART driver to work with unitialized "cha= rdev" device".

http://lis= ts.nongnu.org/archive/html/qemu-stable/2015-07/msg00140.html

Without it, Qemu will crash when accessing = the 5th serial device on imx25_pdk platform.
=

Regards

JC

-----= Le 11 Ao=C3=BB 15, =C3=A0 0:02, jcd <jcd@tribudubois.net> a =C3=A9cr= it :
This series of p= atches is generated against Peter Maydell GIT tree:
https://git.linaro.o= rg/people/peter.maydell/qemu-arm.git
  branch target-arm-post-= 2.4

This series of patches add the support for the i.MX25 processor = through the
Freescale PDK evaluation board.

For now a limited set= of devices is supported.
    * GPT timers (from i.MX31)<= br>    * EPIT timers (from i.MX31)
    * S= erial ports (from i.MX31)
    * Ethernet FEC port
&nbs= p;   * 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:
   &nb= sp;* booting a minimal linux system on the i.MX25 PDK platform
 &nb= sp;  * booting the Xvisor hypervisor on the i.MX25 PDK platform
&nb= sp;   * booting a minimal linux system on the KZM platform
Jean-Christophe Dubois (8):
  i.MX: Add SOC support for i.MX3= 1
  i.MX: KZM now uses the standalone i.MX31 SOC support
&n= bsp; i.MX: Add I2C controller emulator
  i.MX: Add FEC Et= hernet Emulator
  i.MX: Add SOC support for i.MX25
 &n= bsp;i.MX: Add the i.MX25 PDK plateform
  i.MX: Add qtest suppo= rt for I2C device emulator.
  i.MX: Add i2C devices to i.MX31 = SOC

 default-configs/arm-softmmu.mak |   6 +
 hw/a= rm/Makefile.objs            |   4 +-
=  hw/arm/fsl-imx25.c              | = 273 ++++++++++++++++
 hw/arm/fsl-imx31.c        = ;      | 246 ++++++++++++++
 hw/arm/imx25_pdk.c &nbs= p;            | 165 ++++++++++
 hw/ar= m/kzm.c                   &nbs= p;| 209 ++++++------
 hw/char/imx_serial.c       &nb= sp;    |  35 --
 hw/i2c/Makefile.objs     =        |   1 +
 hw/i2c/imx_i2c.c   &n= bsp;            | 339 +++++++++++++++++++
=  hw/net/Makefile.objs            |  = ; 1 +
 hw/net/imx_fec.c             &= nbsp;  | 709 ++++++++++++++++++++++++++++++++++++++++
 hw/time= r/imx_epit.c             |  11 -
&nbs= p;hw/timer/imx_gpt.c              | &nbs= p;11 -
 include/hw/arm/fsl-imx25.h      | 234 ++++++= +++++++
 include/hw/arm/fsl-imx31.h      | 110 +++++= ++
 include/hw/arm/imx.h            |=  26 --
 include/hw/i2c/imx_i2c.h        |=  85 +++++
 include/hw/net/imx_fec.h       &nbs= p;| 113 +++++++
 tests/Makefile           =        |   3 +
 tests/ds1338-test.c  =           |  78 +++++
 tests/libqos/= i2c-imx.c          | 209 ++++++++++++
 tes= ts/libqos/i2c.h              |   3 = +
 22 files changed, 2684 insertions(+), 187 deletions(-)
 = create mode 100644 hw/arm/fsl-imx25.c
 create mode 100644 hw/arm/fs= l-imx31.c
 create mode 100644 hw/arm/imx25_pdk.c
 create mo= de 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 10= 0644 include/hw/arm/fsl-imx31.h
 delete mode 100644 include/hw/arm/= imx.h
 create mode 100644 include/hw/i2c/imx_i2c.h
 create = mode 100644 include/hw/net/imx_fec.h
 create mode 100644 tests/ds13= 38-test.c
 create mode 100644 tests/libqos/i2c-imx.c

--
= 2.1.4
------=_Part_102481_1063397888.1439284149248--