Updates the i.MX8ULP EVK board support
Subsystems (3)
v2 cover Updates the i.MX8ULP EVK board support
Changes for v2:
- Delete fdt_high and initrd_high from imx8ulp_evk.env.
- Remove arch/arm/dts/imx8ulp.dtsi and arch/arm/dts/imx8ulp-evk.dts.
---
Alice Guo (2):
imx8ulp_evk: Move environment variables to .env file
imx8ulp_evk: Switch to use devicetree imported from Linux kernel release
arch/arm/dts/Makefile | 3 - arch/arm/dts/imx8ulp-evk-u-boot.dtsi | 8 + arch/arm/dts/imx8ulp-evk.dts | 125 -------- arch/arm/dts/imx8ulp.dtsi | 476 ---------------------------- arch/arm/mach-imx/imx8ulp/Kconfig | 2 + board/freescale/imx8ulp_evk/imx8ulp_evk.env | 97 ++++++ configs/imx8ulp_evk_defconfig | 7 +- include/configs/imx8ulp_evk.h | 24 -- 8 files changed, 110 insertions(+), 632 deletions(-)
---
base-commit: 209bbc4e0032228c6ea17e2172a8a6b89756c4f5
change-id: 20251203-imx8ulp-a67582c7554e
Best regards,
Signature · 1 line
Alice Guo <[email protected]>
PATCH v2 1/2 imx8ulp_evk: Move environment variables to .env file
From: Alice Guo <[email protected]>
Add board-specific environment variables to imx8ulp_evk.env for better maintainability.
--- arch/arm/mach-imx/imx8ulp/Kconfig | 1 + board/freescale/imx8ulp_evk/imx8ulp_evk.env | 97 +++++++++++++++++++++++++++++ configs/imx8ulp_evk_defconfig | 5 +- include/configs/imx8ulp_evk.h | 24 ------- 4 files changed, 100 insertions(+), 27 deletions(-)
arch/arm/mach-imx/imx8ulp/Kconfig +1 -0
@@ -27,6 +27,7 @@ config TARGET_IMX8ULP_EVK select IMX8ULP select SUPPORT_SPL select IMX8ULP_DRAM + imply BOOTSTD_FULL endchoice
board/freescale/imx8ulp_evk/imx8ulp_evk.env new file +97 -0
97 lines not on this page · raw message
configs/imx8ulp_evk_defconfig +2 -3
@@ -27,9 +27,8 @@ CONFIG_REMAKE_ELF=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y CONFIG_DISTRO_DEFAULTS=y -CONFIG_BOOTDELAY=0 -CONFIG_BOOTCOMMAND="run distro_bootcmd;run bsp_bootcmd" -CONFIG_DEFAULT_FDT_FILE="imx8ulp-evk" +CONFIG_BOOTCOMMAND="bootflow scan -l; run bsp_bootcmd" +CONFIG_DEFAULT_FDT_FILE="imx8ulp-evk.dtb" CONFIG_SYS_CBSIZE=2048 CONFIG_SYS_PBSIZE=2068 CONFIG_BOARD_EARLY_INIT_F=y
include/configs/imx8ulp_evk.h +0 -24
@@ -21,30 +21,6 @@#define CFG_FEC_MXC_PHYADDR 1#endif -#ifdef CONFIG_DISTRO_DEFAULTS -#define BOOT_TARGET_DEVICES (func) \ - func(MMC, mmc, 0) - -#include <config_distro_bootcmd.h> -#else -#define BOOTENV -#endif - -/* Initial environment variables */ -#define CFG_EXTRA_ENV_SETTINGS \ - BOOTENV \ - "scriptaddr=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \ - "kernel_addr_r=" __stringify(CONFIG_SYS_LOAD_ADDR) "\0" \ - "image=Image\0" \ - "console=ttyLP1,115200 earlycon\0" \ - "fdt_addr_r=0x83000000\0" \ - "boot_fit=no\0" \ - "fdtfile=imx8ulp-evk.dtb\0" \ - "initrd_addr=0x83800000\0" \ - "bootm_size=0x10000000\0" \ - "mmcpart=1\0" \ - "mmcroot=/dev/mmcblk2p2 rootwait rw\0" \ -/* Link Definitions */ #define CFG_SYS_INIT_RAM_ADDR 0x80000000
Signature · 1 line
2.43.0
Fabio Estevam
reviewerRe: [PATCH v2 1/2] imx8ulp_evk: Move environment variables to .env file
Hi Alice,
Quoted 5 lines · On Wed, Dec 3, 2025 at 5:52 AM <[email protected]> wrote:
From: Alice Guo <[email protected]>
Add board-specific environment variables to imx8ulp_evk.env for better maintainability.
You are doing more than that...
Quoted 13 lines
Signed-off-by Alice Guo <[email protected]>--- arch/arm/mach-imx/imx8ulp/Kconfig | 1 + board/freescale/imx8ulp_evk/imx8ulp_evk.env | 97 +++++++++++++++++++++++++++++ configs/imx8ulp_evk_defconfig | 5 +- include/configs/imx8ulp_evk.h | 24 ------- 4 files changed, 100 insertions(+), 27 deletions(-)arch/arm/mach-imx/imx8ulp/Kconfig +0
-0
arch/arm/mach-imx/imx8ulp/Kconfig config TARGET_IMX8ULP_EVK · line 30
Quoted 4 lines
arch/arm/mach-imx/imx8ulp/Kconfig +1
-0@@ -27,6 +27,7 @@ config TARGET_IMX8ULP_EVK select IMX8ULP select SUPPORT_SPL select IMX8ULP_DRAM + imply BOOTSTD_FULL
Here you convert to standard boot.
Please split this in two separate changes: one for env and another for bootstd.
Also, I had issues applying patch 2/2. Please rebase and send a v3.
Thanks
PATCH v2 2/2 imx8ulp_evk: Switch to use devicetree imported from Linux kernel release
In reply to [email protected]From: Alice Guo <[email protected]>
Enable OF_UPSTREAM for i.MX8ULP EVK so that devicetree imported from Linux kernel release can be used.
If mailbox@29220000 is enabled, gd->arch.ele_dev will be set to this device for communication with ELE firmware. This is incorrect because mu@27020000 is the MU used for communication with the ELE firmware. To prevent misconfiguration, disable mailbox@29220000.
The driver model for watchdog timer is not enabled yet, so disable wdog3 temporarily.
--- arch/arm/dts/Makefile | 3 - arch/arm/dts/imx8ulp-evk-u-boot.dtsi | 8 + arch/arm/dts/imx8ulp-evk.dts | 125 --------- arch/arm/dts/imx8ulp.dtsi | 476 ----------------------------------- arch/arm/mach-imx/imx8ulp/Kconfig | 1 + configs/imx8ulp_evk_defconfig | 2 +- 6 files changed, 10 insertions(+), 605 deletions(-)
arch/arm/dts/Makefile +0 -3
@@ -880,9 +880,6 @@ dtb-$(CONFIG_ARCH_IMX8) += \ fsl-imx8qxp-mek.dtb \ imx8-capricorn-cxg3.dtb \ -dtb-$(CONFIG_ARCH_IMX8ULP) += \ - imx8ulp-evk.dtb - dtb-$(CONFIG_ARCH_IMX8M) += \ imx8mm-data-modul-edm-sbc.dtb \ imx8mm-icore-mx8mm-ctouch2.dtb \
arch/arm/dts/imx8ulp-evk-u-boot.dtsi +8 -0
@@ -22,6 +22,14 @@ bootph-all; }; +&mu { + status = "disabled"; +}; + +&wdog3 { + status = "disabled"; +}; + &per_bridge4 { bootph-pre-ram; };
arch/arm/dts/imx8ulp-evk.dts deleted +0 -125
125 lines not on this page · raw message
arch/arm/dts/imx8ulp.dtsi deleted +0 -476
476 lines not on this page · raw message
arch/arm/mach-imx/imx8ulp/Kconfig +1 -0
@@ -28,6 +28,7 @@ config TARGET_IMX8ULP_EVK select SUPPORT_SPL select IMX8ULP_DRAM imply BOOTSTD_FULL + imply OF_UPSTREAM endchoice
configs/imx8ulp_evk_defconfig +1 -1
@@ -10,7 +10,7 @@ CONFIG_ENV_SIZE=0x2000 CONFIG_ENV_OFFSET=0x400000 CONFIG_IMX_CONFIG="arch/arm/mach-imx/imx8ulp/imximage.cfg" CONFIG_DM_GPIO=y -CONFIG_DEFAULT_DEVICE_TREE="imx8ulp-evk" +CONFIG_DEFAULT_DEVICE_TREE="freescale/imx8ulp-evk" CONFIG_TARGET_IMX8ULP_EVK=y CONFIG_SYS_MONITOR_LEN=524288 CONFIG_SPL_SERIAL=y
Signature · 1 line
2.43.0