summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Hahn <[email protected]>2025-11-28 17:38:43 +0100
committerFabio Estevam <[email protected]>2025-11-29 18:02:13 -0300
commit27d6ea356193badc418d79e27ce6cf33120aa743 (patch)
treec616adb4fb0dd47c7a27479a2fc247fc17723974
parent67a658324087638fe12927f0747b289e1723801a (diff)
phytec: set bootdevices and bootmeths in devicetree for imx8 boards
Standardboot allows setting bootdevices and bootmeths in devicetree. This is already implemented for imx8mp-libra board. Signed-off-by: Benjamin Hahn <[email protected]>
-rw-r--r--arch/arm/dts/imx8mm-phyboard-polis-rdk-u-boot.dtsi16
-rw-r--r--arch/arm/dts/imx8mm-phygate-tauri-l-u-boot.dtsi16
-rw-r--r--arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi20
-rw-r--r--board/phytec/phycore_imx8mp/phycore_imx8mp.env6
4 files changed, 52 insertions, 6 deletions
diff --git a/arch/arm/dts/imx8mm-phyboard-polis-rdk-u-boot.dtsi b/arch/arm/dts/imx8mm-phyboard-polis-rdk-u-boot.dtsi
index 512dbc9ee86..143ce6a6d77 100644
--- a/arch/arm/dts/imx8mm-phyboard-polis-rdk-u-boot.dtsi
+++ b/arch/arm/dts/imx8mm-phyboard-polis-rdk-u-boot.dtsi
@@ -12,6 +12,22 @@
wdt = <&wdog1>;
bootph-pre-ram;
};
+
+ bootstd {
+ bootph-verify;
+ compatible = "u-boot,boot-std";
+
+ filename-prefixes = "/", "/boot/";
+ bootdev-order = "mmc2", "mmc1", "ethernet";
+
+ rauc {
+ compatible = "u-boot,distro-rauc";
+ };
+
+ script {
+ compatible = "u-boot,script";
+ };
+ };
};
&pinctrl_i2c1 {
diff --git a/arch/arm/dts/imx8mm-phygate-tauri-l-u-boot.dtsi b/arch/arm/dts/imx8mm-phygate-tauri-l-u-boot.dtsi
index f59f119374f..26361780c01 100644
--- a/arch/arm/dts/imx8mm-phygate-tauri-l-u-boot.dtsi
+++ b/arch/arm/dts/imx8mm-phygate-tauri-l-u-boot.dtsi
@@ -11,6 +11,22 @@
wdt = <&wdog1>;
bootph-pre-ram;
};
+
+ bootstd {
+ bootph-verify;
+ compatible = "u-boot,boot-std";
+
+ filename-prefixes = "/", "/boot/";
+ bootdev-order = "mmc2", "mmc1", "ethernet";
+
+ rauc {
+ compatible = "u-boot,distro-rauc";
+ };
+
+ script {
+ compatible = "u-boot,script";
+ };
+ };
};
&pinctrl_uart3 {
diff --git a/arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi b/arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi
index b4efff27a70..4804a204e92 100644
--- a/arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi
+++ b/arch/arm/dts/imx8mp-phyboard-pollux-rdk-u-boot.dtsi
@@ -12,6 +12,26 @@
wdt = <&wdog1>;
bootph-pre-ram;
};
+
+ bootstd {
+ bootph-verify;
+ compatible = "u-boot,boot-std";
+
+ filename-prefixes = "/", "/boot/";
+ bootdev-order = "mmc2", "mmc1", "ethernet";
+
+ efi {
+ compatible = "u-boot,distro-efi";
+ };
+
+ rauc {
+ compatible = "u-boot,distro-rauc";
+ };
+
+ script {
+ compatible = "u-boot,script";
+ };
+ };
};
&reg_usdhc2_vmmc {
diff --git a/board/phytec/phycore_imx8mp/phycore_imx8mp.env b/board/phytec/phycore_imx8mp/phycore_imx8mp.env
index 1ebd9f06a0c..f825c7bc61f 100644
--- a/board/phytec/phycore_imx8mp/phycore_imx8mp.env
+++ b/board/phytec/phycore_imx8mp/phycore_imx8mp.env
@@ -3,12 +3,6 @@ bootcmd=
fastboot 0;
fi;
bootflow scan -lb;
-#ifdef CONFIG_BOOTMETH_RAUC
-bootmeths=rauc script efi
-#else
-bootmeths=script efi
-#endif
-boot_targets=mmc2 mmc1 usb ethernet
boot_script_dhcp=net_boot_fit.scr.uimg
console=ttymxc0,115200
dofastboot=0