[U-Boot] [PATCH v5 0/2] Add board support for iMX8QXP AI_ML board

Manivannan Sadhasivam manivannan.sadhasivam at linaro.org
Thu Aug 15 08:27:23 UTC 2019


Hello,

This patchset adds initial board support for iMX8QXP AI_ML board
from Einfochips. This board is one of the Consumer Edition and AI
boards of the 96Boards family.

This initial supports contains following peripherals which are tested and
known to work:

1. Debug serial via UART2
2. SD card
3. Ethernet

Below is the boot log from SPL to Linux kernel:
===============================================

MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial at 5a080000
Out:   serial at 5a080000
Err:   serial at 5a080000
Net:   
Warning: ethernet at 5b040000 (eth0) using random MAC address - d2:46:66:cf:f5:61
eth0: ethernet at 5b040000
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
171 bytes read in 14 ms (11.7 KiB/s)
1:      ai_ml-kernel
Retrieving file: /Image
24689152 bytes read in 1055 ms (22.3 MiB/s)
append: earlycon console=ttyLP2,115200 rw root=/dev/mmcblk0p2 rootfstype=ext4 init=/sbin/t
Retrieving file: /imx8qxp-ai_ml.dtb
12529 bytes read in 13 ms (940.4 KiB/s)
## Flattened Device Tree blob at 83000000
   Booting using the fdt blob at 0x83000000
   Using Device Tree in place at 0000000083000000, end 00000000830060f0

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd042]
[    0.000000] Linux version 5.2.0-03138-gd75da80dce39 (mani at Mani-XPS-13-9360) (gcc versi9
[    0.000000] Machine model: Einfochips i.MX8QXP AI_ML
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 32 MiB at 0x00000000fe000000
[    0.000000] earlycon: lpuart32 at MMIO 0x000000005a080000 (options '')
[    0.000000] printk: bootconsole [lpuart32] enabled

Thanks,
Mani

Note: This patchset depends on the below cleanup patches submitted:
[U-Boot,1/2] arm: imx8: factor out uart init code
[U-Boot,2/2] arm: imx8: don't duplicate build_info()

Changes in v5:

* Incorporated review comments from Lukasz.

Changes in v4:

* Incorporated review comments from Fabio.

Changes in v3:

* Incorporated review comments from Fabio. Major change is switching to
  distro_boot.
* Added Reviewed-by tag from Peng Fan.

Changes in v2:

* Rebased the patches on top of following patches:
  [U-Boot,1/2] arm: imx8: factor out uart init code
  [U-Boot,2/2] arm: imx8: don't duplicate build_info()

Manivannan Sadhasivam (2):
  arm: dts: Add devicetree support for iMXQXP AI_ML board
  board: Add support for iMX8QXP AI_ML board

 arch/arm/dts/Makefile                         |   1 +
 arch/arm/dts/fsl-imx8qxp-ai_ml-u-boot.dtsi    | 117 +++++++++++
 arch/arm/dts/fsl-imx8qxp-ai_ml.dts            | 181 ++++++++++++++++++
 arch/arm/mach-imx/imx8/Kconfig                |   6 +
 board/einfochips/imx8qxp_ai_ml/Kconfig        |  21 ++
 board/einfochips/imx8qxp_ai_ml/MAINTAINERS    |   6 +
 board/einfochips/imx8qxp_ai_ml/Makefile       |   8 +
 board/einfochips/imx8qxp_ai_ml/README         |  49 +++++
 .../einfochips/imx8qxp_ai_ml/imx8qxp_ai_ml.c  |  79 ++++++++
 board/einfochips/imx8qxp_ai_ml/imximage.cfg   |  24 +++
 board/einfochips/imx8qxp_ai_ml/spl.c          |  39 ++++
 configs/imx8qxp_ai_ml_defconfig               |  83 ++++++++
 include/configs/imx8qxp_ai_ml.h               |  95 +++++++++
 13 files changed, 709 insertions(+)
 create mode 100644 arch/arm/dts/fsl-imx8qxp-ai_ml-u-boot.dtsi
 create mode 100644 arch/arm/dts/fsl-imx8qxp-ai_ml.dts
 create mode 100644 board/einfochips/imx8qxp_ai_ml/Kconfig
 create mode 100644 board/einfochips/imx8qxp_ai_ml/MAINTAINERS
 create mode 100644 board/einfochips/imx8qxp_ai_ml/Makefile
 create mode 100644 board/einfochips/imx8qxp_ai_ml/README
 create mode 100644 board/einfochips/imx8qxp_ai_ml/imx8qxp_ai_ml.c
 create mode 100644 board/einfochips/imx8qxp_ai_ml/imximage.cfg
 create mode 100644 board/einfochips/imx8qxp_ai_ml/spl.c
 create mode 100644 configs/imx8qxp_ai_ml_defconfig
 create mode 100644 include/configs/imx8qxp_ai_ml.h

-- 
2.17.1



More information about the U-Boot mailing list