[PATCH v7 18/19] imx95_evk: add i.MX95 19x19 EVK board basic support
Lothar Waßmann
LW at KARO-electronics.de
Thu Mar 6 06:58:20 CET 2025
Hi,
On Wed, 05 Mar 2025 21:28:30 +0800 Alice Guo (OSS) wrote:
> From: Ye Li <ye.li at nxp.com>
>
> This patch adds i.MX95 19x19 EVK board basic support.
>
> Messaging unit for EdgeLock Secure Enclave, messaging unit for System
> Manager, uSDHC for SD Card, gpio, lpuart are supported now.
>
> Signed-off-by: Ye Li <ye.li at nxp.com>
> Signed-off-by: Alice Guo <alice.guo at nxp.com>
> Reviewed-by: Peng Fan <peng.fan at nxp.com>
> ---
> arch/arm/dts/imx95-19x19-evk-u-boot.dtsi | 62 ++++++++++
> arch/arm/dts/imx95-u-boot.dtsi | 157 ++++++++++++++++++++++++++
> arch/arm/mach-imx/imx9/Kconfig | 8 ++
> arch/arm/mach-imx/imx9/scmi/container.cfg | 10 ++
> arch/arm/mach-imx/imx9/scmi/imximage.cfg | 15 +++
> board/freescale/imx95_evk/Kconfig | 12 ++
> board/freescale/imx95_evk/MAINTAINERS | 6 +
> board/freescale/imx95_evk/Makefile | 11 ++
> board/freescale/imx95_evk/imx95_19x19_evk.env | 91 +++++++++++++++
> board/freescale/imx95_evk/imx95_evk.c | 36 ++++++
> board/freescale/imx95_evk/spl.c | 72 ++++++++++++
> configs/imx95_19x19_evk_defconfig | 152 +++++++++++++++++++++++++
> doc/board/nxp/imx95_evk.rst | 114 +++++++++++++++++++
> doc/board/nxp/index.rst | 1 +
> include/configs/imx95_evk.h | 24 ++++
> 15 files changed, 771 insertions(+)
>
[...]
> diff --git a/arch/arm/dts/imx95-u-boot.dtsi b/arch/arm/dts/imx95-u-boot.dtsi
> new file mode 100644
> index 0000000000..b0dcf765a7
> --- /dev/null
> +++ b/arch/arm/dts/imx95-u-boot.dtsi
> @@ -0,0 +1,157 @@
[...]
> +&elemu3 {
> + compatible = "fsl,imx93-mu-s4";
> + status = "okay";
> + bootph-all;
> +};
> +
'status' should be the LAST property in a node.
> diff --git a/arch/arm/mach-imx/imx9/scmi/container.cfg b/arch/arm/mach-imx/imx9/scmi/container.cfg
> new file mode 100644
> index 0000000000..ac5a0a2818
> --- /dev/null
> +++ b/arch/arm/mach-imx/imx9/scmi/container.cfg
> @@ -0,0 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0+ */
> +/*
> + * Copyright 2025 NXP
> + */
> +
> +BOOT_FROM SD
> +SOC_TYPE IMX9
> +CONTAINER
> +IMAGE A55 bl31.bin 0x8a200000
> +IMAGE A55 u-boot.bin CONFIG_TEXT_BASE
> \ No newline at end of file
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> diff --git a/arch/arm/mach-imx/imx9/scmi/imximage.cfg b/arch/arm/mach-imx/imx9/scmi/imximage.cfg
> new file mode 100644
> index 0000000000..678d15c99b
> --- /dev/null
> +++ b/arch/arm/mach-imx/imx9/scmi/imximage.cfg
> @@ -0,0 +1,15 @@
> +/* SPDX-License-Identifier: GPL-2.0+ */
> +/*
> + * Copyright 2025 NXP
> + */
> +
> +BOOT_FROM SD
> +SOC_TYPE IMX9
> +APPEND mx95a0-ahab-container.img
> +CONTAINER
> +IMAGE OEI m33-oei-ddrfw.bin 0x1ffc0000
> +HOLD 0x10000
> +IMAGE OEI oei-m33-tcm.bin 0x1ffc0000
> +IMAGE M33 m33_image.bin 0x1ffc0000
> +IMAGE A55 spl/u-boot-spl.bin 0x20480000
> +DUMMY_V2X 0x8b000000
> \ No newline at end of file
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[...]
> diff --git a/board/freescale/imx95_evk/imx95_19x19_evk.env b/board/freescale/imx95_evk/imx95_19x19_evk.env
> new file mode 100644
> index 0000000000..becf6c3162
> --- /dev/null
> +++ b/board/freescale/imx95_evk/imx95_19x19_evk.env
> @@ -0,0 +1,91 @@
[...]
> +bsp_bootcmd=echo Running BSP bootcmd ...;
> + mmc dev ${mmcdev}; if mmc rescan; then
> + if run loadbootscript; then
> + run bootscript;
> + else
> + if test ${sec_boot} = yes; then
> + if run loadcntr; then
> + run mmcboot;
> + else run netboot;
> + fi;
> + else
> + if run loadimage; then
> + run mmcboot;
> + else run netboot;
> + fi;
> + fi;
> + fi;
> + fi;
> \ No newline at end of file
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Lothar Waßmann
More information about the U-Boot
mailing list