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

[Xen-devel] [RFC PATCH 0/2] XEN booting on i.MX8M platform



This series tries to enable XEN booting on i.MX 8MQuad Applications 
Processors[1].

Patch-set includes driver for UART controller found on i.MX8MQ SoC and debug 
code
for earlyprintk support.

Mainline dts binding that are used for platform discover has GPC as root 
interrupt parent 
is not yet supported in XEN, therefore following changes is needed to boot XEN 
on this platform.

diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi 
b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
index 6d635ba..7eac1786 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
@@ -13,7 +13,7 @@
 #include "imx8mq-pinfunc.h"
 
 / {
-       interrupt-parent = <&gpc>;
+       interrupt-parent = <&gic>;
 
        #address-cells = <2>;
        #size-cells = <2>;

It has been tested on nitrogen8m board[2] by booting dom0 with RAMFS.

[1]:https://www.nxp.com/support/developer-resources/evaluation-and-development-boards/i.mx-evaluation-and-development-boards/evaluation-kit-for-the-i.mx-8m-applications-processor:MCIMX8M-EVK
[2]:https://boundarydevices.com/product/nitrogen8m/

Amit Singh Tomar (2):
  xen/arm: Add i.MX8MQ SoCs earlyprintk support
  xen/arm: Add UART driver for i.MX8MQ SoC

 xen/arch/arm/arm64/debug-imx8mq.inc |  54 +++++++
 xen/drivers/char/Kconfig            |   8 +
 xen/drivers/char/Makefile           |   1 +
 xen/drivers/char/imx8mq-uart.c      | 306 ++++++++++++++++++++++++++++++++++++
 4 files changed, 369 insertions(+)
 create mode 100644 xen/arch/arm/arm64/debug-imx8mq.inc
 create mode 100644 xen/drivers/char/imx8mq-uart.c

-- 
2.7.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.