[PATCH v2 0/6] phytec: imx8: cleanup environments
Benjamin Hahn
B.Hahn at phytec.de
Fri Nov 28 17:38:40 CET 2025
The state of the environments are different for imx8 boards. Some boards
have more and some have less features. Cleanup the environment and bring
all phytec imx8 boards to the same level. This includes:
- remove unused variables
- modify variables for use with ampliphy-boot bootscripts
- set bootdevices, bootmeths in devicetree for standardboot
- modify boot_devices dynamically for sdcard boot
- let standardboot set bootcmd
- sort env variables alphabetically
Signed-off-by: Benjamin Hahn <B.Hahn at phytec.de>
---
Changes in v2:
- fix for modifying boot_devices dynamically for sdcardboot
- reordering patches (modify boot_devices depends on setting them in the
devicetree)
- remove bootenv_addr_r as it is no longer used with ampliphy-boot
- Link to v1: https://lore.kernel.org/r/20251125-wip-bhahn-imx8_cleanup_env-v1-0-414829c01b4b@phytec.de
---
Benjamin Hahn (6):
phytec: adapt env to ampliphy-boot bootscripts for imx8 boards
phytec: add emmc_dev and sd_dev env vars for imx8 boards
phytec: set bootdevices and bootmeths in devicetree for imx8 boards
phytec: change preferred bootdevice dynamically
phytec: use fdtoverlay_addr_r
phytec: sort .env files alphabetically for imx8 boards
arch/arm/dts/imx8mm-phyboard-polis-rdk-u-boot.dtsi | 16 ++++++++++++++++
arch/arm/dts/imx8mm-phygate-tauri-l-u-boot.dtsi | 16 ++++++++++++++++
arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi | 20 ++++++++++++++++++++
board/phytec/imx8mp-libra-fpsc/imx8mp-libra-fpsc.c | 2 +-
board/phytec/imx8mp-libra-fpsc/imx8mp-libra-fpsc.env | 14 ++++++--------
board/phytec/phycore_imx8mm/phycore-imx8mm.c | 2 ++
board/phytec/phycore_imx8mm/phycore_imx8mm.env | 14 ++++++++------
board/phytec/phycore_imx8mp/phycore-imx8mp.c | 5 ++++-
board/phytec/phycore_imx8mp/phycore_imx8mp.env | 17 +++--------------
configs/phycore-imx8mp_defconfig | 1 -
10 files changed, 76 insertions(+), 31 deletions(-)
---
base-commit: a22f664b64aaa7ab8d431e1e6c021c6e63fd9a51
change-id: 20251125-wip-bhahn-imx8_cleanup_env-fbab8d00fa55
Best regards,
--
Benjamin Hahn <B.Hahn at phytec.de>
More information about the U-Boot
mailing list