Add i.MX95 15x15 EVK support
Subsystems (3)
cover Add i.MX95 15x15 EVK support
The patch set adds basic support for i.MX95 15x15 LPDDR4X EVK. We share same board codes with i.MX95 19x19 EVK since different DTS is used.
boot log:
U-Boot SPL 2025.10-00455-g648db5f1a0a6-dirty (Oct 13 2025 - 10:56:03 +0800) SYS Boot reason: pmic, origin: -1, errid: -1
SYS shutdown reason: pmic, origin: -1, errid: -1
Normal Boot
Trying to boot from MMC1
Primary set selected
Load image from MMC/SD 0xc4400
NOTICE: BL31: v2.12.0(release):android-16.0.0_1.0.0-rc2 NOTICE: BL31: Built : 04:04:45, Sep 10 2025
U-Boot 2025.10-00455-g648db5f1a0a6-dirty (Oct 13 2025 - 10:56:03 +0800)
CPU: NXP i.MX95 Rev2.0 A55 at 1800 MHz Model: NXP i.MX95 15X15 board DRAM: 7.8 GiB Core: 280 devices, 22 uclasses, devicetree: separate MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... Reading from MMC(0)... *** Warning - bad CRC, using default environment
PCIE-2: Link down In: serial@44380000 Out: serial@44380000 Err: serial@44380000
BuildInfo:
- ELE firmware version 2.0.3-5f1204b7
switch to partitions #0, OK
mmc0(part 0) is current device
Net: WARNING: no MAC address assigned for MAC0imx_get_mac_from_fuse: fuse read err: 0
Warning: enetc-0 (eth0) using random MAC address - f2:02:36:b0:80:06
eth0: enetc-0 [PRIME]WARNING: no MAC address assigned for MAC1imx_get_mac_from_fuse: fuse read err: 0
Warning: enetc-1 (eth1) using random MAC address - ea:ad:db:53:30:f0 , eth1: enetc-1
Hit any key to stop autoboot: 0
u-boot=>
Ye Li (3):
imx95_evk: Share the env file for both 19x19 EVK and 15x15 EVK
arm: dts: imx95-15x15-evk: Add -u-boot.dtsi for SPL and binman
imx95_evk: Add basic support for iMX95 15x15 EVK
arch/arm/dts/imx95-15x15-evk-u-boot.dtsi | 85 ++++++++++
arch/arm/mach-imx/imx9/Kconfig | 7 +
board/freescale/imx95_evk/Kconfig | 2 +-
.../{imx95_19x19_evk.env => imx95_evk.env} | 0
configs/imx95_15x15_evk_defconfig | 148 ++++++++++++++++++
configs/imx95_evk.config | 2 +-
doc/board/nxp/imx95_evk.rst | 24 ++-
include/configs/imx95_evk.h | 8 +-
8 files changed, 268 insertions(+), 8 deletions(-)
create mode 100644 arch/arm/dts/imx95-15x15-evk-u-boot.dtsi
rename board/freescale/imx95_evk/{imx95_19x19_evk.env => imx95_evk.env} (100%)
create mode 100644 configs/imx95_15x15_evk_defconfigSignature · 1 line
2.37.1
PATCH 1/3 imx95_evk: Share the env file for both 19x19 EVK and 15x15 EVK
Rename the env file to imx95_evk.env to share it with iMX95 15x15 EVK
---
.../freescale/imx95_evk/{imx95_19x19_evk.env => imx95_evk.env} | 0
configs/imx95_evk.config | 2 +-
2 files changed, 1 insertion(+), 1 deletion(-)
rename board/freescale/imx95_evk/{imx95_19x19_evk.env => imx95_evk.env} (100%)board/freescale/imx95_evk/imx95_evk.env renamed from board/freescale/imx95_evk/imx95_19x19_evk.env +0 -0
configs/imx95_evk.config +1 -1
@@ -7,7 +7,7 @@ CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_NR_DRAM_BANKS=3 -CONFIG_ENV_SOURCE_FILE="imx95_19x19_evk" +CONFIG_ENV_SOURCE_FILE="imx95_evk" CONFIG_SF_DEFAULT_SPEED=40000000 CONFIG_ENV_SIZE=0x4000 CONFIG_ENV_OFFSET=0x700000
Signature · 1 line
2.37.1
Re: [PATCH 1/3] imx95_evk: Share the env file for both 19x19 EVK and 15x15 EVK
Quoted 4 lines · Ye Li
Rename the env file to imx95_evk.env to share it with iMX95 15x15 EVK
Signed-off-by Ye Li <[email protected]>
Applied the series, thanks.
Fabio Estevam
reviewerRe: [PATCH 1/3] imx95_evk: Share the env file for both 19x19 EVK and 15x15 EVK
Quoted 1 line · Fabio Estevam
Applied the series, thanks.
Actually, I applied v2.
PATCH 2/3 arm: dts: imx95-15x15-evk: Add -u-boot.dtsi for SPL and binman
In reply to Ye LiAdd -u-boot.dtsi for iMX95 15x15 EVK used by SPL and binman. iMX95 15x15 EVK uses LPDDR4X which needs dedicated DDR FW.
--- arch/arm/dts/imx95-15x15-evk-u-boot.dtsi | 85 ++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 arch/arm/dts/imx95-15x15-evk-u-boot.dtsi
arch/arm/dts/imx95-15x15-evk-u-boot.dtsi new file +85 -0
@@ -0,0 +1,85 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2025 NXP + */ + +#include "imx95-u-boot.dtsi" + +/ { + aliases { + pci0 = &netc_bus0; + pci1 = &netc_bus1; + }; +}; + +&{/binman/m33-oei-ddrfw/imx-lpddr/imx-lpddr-imem} { + filename = "lpddr4x_imem_v202409.bin"; +}; + +&{/binman/m33-oei-ddrfw/imx-lpddr/imx-lpddr-dmem} { + filename = "lpddr4x_dmem_v202409.bin"; +}; + +&{/binman/m33-oei-ddrfw/imx-lpddr-qb/imx-lpddr-imem-qb} { + filename = "lpddr4x_imem_qb_v202409.bin"; +}; + +&{/binman/m33-oei-ddrfw/imx-lpddr-qb/imx-lpddr-dmem-qb} { + filename = "lpddr4x_dmem_qb_v202409.bin"; +}; + +&lpuart1 { + bootph-pre-ram; +}; + +®_usdhc2_vmmc { + bootph-pre-ram; +}; + +&usdhc1 { + bootph-pre-ram; +}; + +&usdhc2 { + bootph-pre-ram; +}; + +&wdog3 { + status = "disabled"; +}; + +&pinctrl_uart1 { + bootph-pre-ram; +}; + +&pinctrl_usdhc1 { + bootph-pre-ram; +}; + +&pinctrl_usdhc1_100mhz { + bootph-pre-ram; +}; + +&pinctrl_usdhc1_200mhz { + bootph-pre-ram; +}; + +&pinctrl_usdhc2 { + bootph-pre-ram; +}; + +&pinctrl_usdhc2_100mhz { + bootph-pre-ram; +}; + +&pinctrl_usdhc2_200mhz { + bootph-pre-ram; +}; + +&pinctrl_usdhc2_gpio { + bootph-pre-ram; +}; + +&pinctrl_reg_usdhc2_vmmc { + bootph-pre-ram; +};
Signature · 1 line
2.37.1
PATCH 3/3 imx95_evk: Add basic support for iMX95 15x15 EVK
In reply to Ye LiAdd boot support and peripherals like eMMC/SD, UART, I2C, GPIO, ENETC0/1 and PCIE0/1 for iMX95 15x15 LPDDR4X EVK.
Updated doc for build instructions.
--- arch/arm/mach-imx/imx9/Kconfig | 7 ++ board/freescale/imx95_evk/Kconfig | 2 +- configs/imx95_15x15_evk_defconfig | 148 ++++++++++++++++++++++++++++++ doc/board/nxp/imx95_evk.rst | 24 ++++- include/configs/imx95_evk.h | 8 +- 5 files changed, 182 insertions(+), 7 deletions(-) create mode 100644 configs/imx95_15x15_evk_defconfig
arch/arm/mach-imx/imx9/Kconfig +7 -0
@@ -106,6 +106,13 @@ config TARGET_IMX95_19X19_EVK imply BOOTSTD_FULL imply OF_UPSTREAM +config TARGET_IMX95_15X15_EVK + bool "imx95_15x15_evk" + select IMX95 + imply BOOTSTD_BOOTCOMMAND + imply BOOTSTD_FULL + imply OF_UPSTREAM + config TARGET_IMX943_EVK bool "imx943_evk" select IMX94
board/freescale/imx95_evk/Kconfig +1 -1
@@ -1,4 +1,4 @@ -if TARGET_IMX95_19X19_EVK +if TARGET_IMX95_19X19_EVK || TARGET_IMX95_15X15_EVK config SYS_BOARD default "imx95_evk"
configs/imx95_15x15_evk_defconfig new file +148 -0
148 lines not on this page · raw message
doc/board/nxp/imx95_evk.rst +20 -4
@@ -48,6 +48,7 @@ Note: srctree is U-Boot source directory $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.28-994fa14.bin $ sh firmware-imx-8.28-994fa14.bin --auto-accept $ cp firmware-imx-8.28-994fa14/firmware/ddr/synopsys/lpddr5*v202409.bin $(srctree) + $ cp firmware-imx-8.28-994fa14/firmware/ddr/synopsys/lpddr4x*v202409.bin $(srctree) Get and Build OEI Images --------------------------------------
@@ -65,7 +66,7 @@ branch: master $ git clone -b master https://github.com/nxp-imx/imx-oei.git $ cd imx-oei -i.MX95 A0 silicon version +i.MX95 A0 silicon version on 19x19 LPDDR5 EVK .. code-block:: bash
@@ -75,13 +76,20 @@ i.MX95 A0 silicon version $ make board=mx95lp5 oei=tcm DEBUG=1 r=A0 all $ cp build/mx95lp5/tcm/oei-m33-tcm.bin $(srctree) -i.MX95 B0 silicon version +i.MX95 B0 silicon version on 19x19 LPDDR5 EVK .. code-block:: bash $ make board=mx95lp5 oei=ddr DEBUG=1 r=B0 all $ cp build/mx95lp5/ddr/oei-m33-ddr.bin $(srctree) +i.MX95 B0 silicon version on 15x15 LPDDR4X EVK + +.. code-block:: bash + + $ make board=mx95lp4x-15 oei=ddr DEBUG=1 r=B0 all + $ cp build/mx95lp4x-15/ddr/oei-m33-ddr.bin $(srctree) + Get and Build System Manager Image --------------------------------------
@@ -120,7 +128,7 @@ branch: lf_v2.12 Build the Bootloader Image -------------------------- -i.MX95 A0 silicon version +i.MX95 A0 silicon version on 19x19 LPDDR5 EVK .. code-block:: bash
@@ -128,7 +136,7 @@ i.MX95 A0 silicon version $ make imx95_a0_19x19_evk_defconfig $ make -i.MX95 B0 silicon version +i.MX95 B0 silicon version on 19x19 LPDDR5 EVK .. code-block:: bash
@@ -136,6 +144,14 @@ i.MX95 B0 silicon version $ make imx95_19x19_evk_defconfig $ make +i.MX95 B0 silicon version on 15x15 LPDDR4X EVK + +.. code-block:: bash + + $ export CROSS_COMPILE=aarch64-poky-linux- + $ make imx95_15x15_evk_defconfig + $ make + Copy imx-boot-imx95.bin to the MicroSD card: .. code-block:: bash
include/configs/imx95_evk.h +6 -2
@@ -15,9 +15,13 @@#define CFG_SYS_SDRAM_BASE 0x90000000#define PHYS_SDRAM 0x90000000 -/* Totally 16GB */ +#define PHYS_SDRAM_SIZE 0x70000000/* 2GB - 256MB DDR */ -#define PHYS_SDRAM_2_SIZE 0x380000000/* 14GB */ +#ifdef CONFIG_TARGET_IMX95_15X15_EVK +#define PHYS_SDRAM_2_SIZE 0x180000000/* 6GB (Totally 8GB) */ +#else +#define PHYS_SDRAM_2_SIZE 0x380000000/* 14GB (Totally 16GB) */ +#endif #define WDOG_BASE_ADDR WDG3_BASE_ADDR
Signature · 1 line
2.37.1
Quoted 47 lines · Ye Li
The patch set adds basic support for i.MX95 15x15 LPDDR4X EVK. We share same board codes with i.MX95 19x19 EVK since different DTS is used.
boot log:
U-Boot SPL 2025.10-00455-g648db5f1a0a6-dirty (Oct 13 2025 - 10:56:03 +0800) SYS Boot reason: pmic, origin: -1, errid: -1
SYS shutdown reason: pmic, origin: -1, errid: -1
Normal Boot
Trying to boot from MMC1
Primary set selected
Load image from MMC/SD0xc4400NOTICE: BL31: v2.12.0(release):android-16.0.0_1.0.0-rc2 NOTICE: BL31: Built : 04:04:45, Sep 10 2025U-Boot 2025.10-00455-g648db5f1a0a6-dirty (Oct 13 2025 - 10:56:03 +0800)
CPU: NXP i.MX95 Rev2.0 A55 at 1800 MHz Model: NXP i.MX95 15X15 board DRAM: 7.8 GiB Core: 280 devices, 22 uclasses, devicetree: separate MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2Loading Environment from MMC... Reading from MMC(0)... *** Warning - bad CRC, using default environment
PCIE-2: Link down In: serial@44380000 Out: serial@44380000 Err: serial@44380000BuildInfo:
- ELE firmware version 2.0.3-5f1204b7switch to partitions #0, OK
mmc0(part 0) is current device
Net: WARNING: no MAC address assigned for MAC0imx_get_mac_from_fuse: fuse read err: 0Warning: enetc-0 (eth0) using random MAC address - f2:02:36:b0:80:06
eth0: enetc-0 [PRIME]WARNING: no MAC address assigned for MAC1imx_get_mac_from_fuse: fuse read err: 0Warning: enetc-1 (eth1) using random MAC address - ea:ad:db:53:30:f0 , eth1: enetc-1
Hit any key to stop autoboot: 0
u-boot=>
Quoted 5 lines
Ye Li (3):
imx95_evk: Share the env file for both 19x19 EVK and 15x15 EVK
arm: dts: imx95-15x15-evk: Add-u-boot.dtsifor SPL and binman
imx95_evk: Add basic support for iMX95 15x15 EVK
For this series:
Fabio Estevam
reviewerQuoted 4 lines · Ye Li
Ye Li (3):
imx95_evk: Share the env file for both 19x19 EVK and 15x15 EVK
arm: dts: imx95-15x15-evk: Add-u-boot.dtsifor SPL and binman
imx95_evk: Add basic support for iMX95 15x15 EVK
This fails in CI due to the lack of a MAINTAINERS file:
https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/1268701
WARNING: no maintainers for 'imx95_15x15_evk'
NXP folks, please ensure that you always run your series via CI.
Otherwise, it is a waste of everyone's time.
Quoted 9 lines · Fabio Estevam
Quoted 4 lines · Ye Li
Ye Li (3):
imx95_evk: Share the env file for both 19x19 EVK and 15x15 EVK
arm: dts: imx95-15x15-evk: Add-u-boot.dtsifor SPL and binman
imx95_evk: Add basic support for iMX95 15x15 EVKThis fails in CI due to the lack of a
MAINTAINERSfile:
Quoted 7 lines
https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/1268701
WARNING: no maintainers for '
imx95_15x15_evk'NXP folks, please ensure that you always run your series via CI.
Otherwise, it is a waste of everyone's time.
I apologize for it.
Just send v2, CI is passed.
Best regards,
Ye Li