imx95_evk: Share the env file for both 19x19 EVK and 15x15 EVK
Subsystems (3)
PATCH v2 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
Signed-off-by Ye Li <[email protected]>
---
.../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
PATCH v2 2/3 arm: dts: imx95-15x15-evk: Add -u-boot.dtsi for SPL and binman
Add -u-boot.dtsi for iMX95 15x15 EVK used by SPL and binman. iMX95 15x15 EVK uses LPDDR4X which needs dedicated DDR FW.
Signed-off-by Ye Li <[email protected]>
--- 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 v2 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.
Signed-off-by Ye Li <[email protected]>
---
Changes in v2:
- add imx95_15x15_evk_defconfig to MAINTAINERS file
arch/arm/mach-imx/imx9/Kconfig | 7 ++ board/freescale/imx95_evk/Kconfig | 2 +- board/freescale/imx95_evk/MAINTAINERS | 1 + configs/imx95_15x15_evk_defconfig | 148 ++++++++++++++++++++++++++ doc/board/nxp/imx95_evk.rst | 24 ++++- include/configs/imx95_evk.h | 8 +- 6 files changed, 183 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"
board/freescale/imx95_evk/MAINTAINERS +1 -0
@@ -5,3 +5,4 @@ F: board/freescale/imx95_evk/ F: include/configs/imx95_evk.h F: configs/imx95_a0_19x19_evk_defconfig F: configs/imx95_19x19_evk_defconfig +F: configs/imx95_15x15_evk_defconfig
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