Skip to contentSkip to conversation

configs: toradex: Enable EFI

PATCH In review Francesco Dolcini 2 participants 12 messages Apr 25 – May 5 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

cover configs: toradex: Enable EFI

From: Francesco Dolcini <[email protected]>

Enable standard EFI support for all the arm64 Toradex boards, as required for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance [1].

The RTC used on these boards is not currently supported by U-Boot, therefore it is not enabled at the moment.

Francesco Dolcini (10):
configs: apalis-imx8: Enable EFI
configs: aquila-am69: Enable EFI related options
configs: colibri-imx8x: Enable EFI
configs: toradex-smarc-imx8mp: Enable EFI related options
configs: toradex-smarc-imx95: Enable EFI related options
configs: verdin-am62: Enable EFI related options
configs: verdin-am62p: Enable EFI related options
configs: verdin-imx8mm: Enable EFI related options
configs: verdin-imx8mp: Enable EFI related options
configs: verdin-imx95: Enable EFI related options

 configs/apalis-imx8_defconfig          | 3 ++-
 configs/aquila-am69_a72_defconfig      | 2 +-
 configs/colibri-imx8x_defconfig        | 3 ++-
 configs/toradex-smarc-imx8mp_defconfig | 3 ++-
 configs/toradex-smarc-imx95_defconfig  | 2 ++
 configs/verdin-am62_a53_defconfig      | 3 ++-
 configs/verdin-am62p_a53_defconfig     | 3 ++-
 configs/verdin-imx8mm_defconfig        | 3 ++-
 configs/verdin-imx8mp_defconfig        | 3 ++-
 configs/verdin-imx95_defconfig         | 2 ++
 10 files changed, 19 insertions(+), 8 deletions(-)
Signature · 1 line
2.47.3
#1 lore raw

PATCH 1/10 configs: apalis-imx8: Enable EFI

From: Francesco Dolcini <[email protected]>

Enable standard EFI support, as required for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance [1].

The RTC used on this board is not currently supported by U-Boot, therefore it is not enabled at the moment.

---
 configs/apalis-imx8_defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
configs/apalis-imx8_defconfig +2 -1
index 6ab4dd3dc575..f50ef140f6be 100644
@@ -18,7 +18,6 @@ CONFIG_IMX_BOOTAUX=y
 CONFIG_SYS_MEMTEST_START=0x88000000
 CONFIG_SYS_MEMTEST_END=0x89000000
 CONFIG_REMAKE_ELF=y
-# CONFIG_EFI_LOADER is not set
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_DISTRO_DEFAULTS=y
@@ -35,11 +34,13 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SYS_PROMPT="Apalis iMX8 # "
 CONFIG_CMD_CPU=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_NVEDIT_EFI=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_CLK=y
 CONFIG_CMD_DM=y
 CONFIG_CMD_FUSE=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_GPT=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_CACHE=y
Signature · 1 line
2.47.3
#2 lore raw

PATCH 2/10 configs: aquila-am69: Enable EFI related options

In reply to Francesco Dolcini

From: Francesco Dolcini <[email protected]>

Enable EFI related options, as suggested for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance [1].

The RTC used on this board is not currently supported by U-Boot, therefore it is not enabled at the moment.

---
 configs/aquila-am69_a72_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/aquila-am69_a72_defconfig +1 -1
index 6a0ccd15e6db..07c9be658094 100644
@@ -57,6 +57,7 @@ CONFIG_SPL_THERMAL=y
 CONFIG_SYS_PROMPT="Aquila AM69 # "
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_EXPORTENV is not set
+CONFIG_CMD_NVEDIT_EFI=y
 CONFIG_CRC32_VERIFY=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_MD5SUM_VERIFY=y
@@ -72,7 +73,6 @@ CONFIG_CMD_USB_MASS_STORAGE=y
 CONFIG_CMD_BOOTCOUNT=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_EXT4_WRITE=y
-# CONFIG_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_SPL_OF_CONTROL=y
Signature · 1 line
2.47.3
#3 lore raw

PATCH 3/10 configs: colibri-imx8x: Enable EFI

In reply to Francesco Dolcini

From: Francesco Dolcini <[email protected]>

Enable standard EFI support, as required for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance [1].

The RTC used on this board is not currently supported by U-Boot, therefore it is not enabled at the moment.

---
 configs/colibri-imx8x_defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
configs/colibri-imx8x_defconfig +2 -1
index fd6a6b47fcfc..abca8a96d630 100644
@@ -19,7 +19,6 @@ CONFIG_IMX_BOOTAUX=y
 CONFIG_SYS_MEMTEST_START=0x88000000
 CONFIG_SYS_MEMTEST_END=0x89000000
 CONFIG_REMAKE_ELF=y
-# CONFIG_EFI_LOADER is not set
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_DISTRO_DEFAULTS=y
@@ -36,11 +35,13 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_SYS_PROMPT="Colibri iMX8X # "
 CONFIG_CMD_CPU=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_NVEDIT_EFI=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_CLK=y
 CONFIG_CMD_DM=y
 CONFIG_CMD_FUSE=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_GPT=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_CACHE=y
Signature · 1 line
2.47.3
#4 lore raw

PATCH 4/10 configs: toradex-smarc-imx8mp: Enable EFI related options

In reply to Francesco Dolcini

From: Francesco Dolcini <[email protected]>

Enable EFI related options, as suggested for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance [1].

The RTC used on this board is not currently supported by U-Boot, therefore it is not enabled at the moment.

---
 configs/toradex-smarc-imx8mp_defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
configs/toradex-smarc-imx8mp_defconfig +2 -1
index 13a0e5f028b8..c6097af3ebf0 100644
@@ -63,6 +63,7 @@ CONFIG_SPL_WATCHDOG=y
 CONFIG_SYS_PROMPT="SMARC iMX8MP # "
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_EXPORTENV is not set
+CONFIG_CMD_NVEDIT_EFI=y
 CONFIG_CRC32_VERIFY=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_MD5SUM_VERIFY=y
@@ -70,6 +71,7 @@ CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_CLK=y
 CONFIG_CMD_FUSE=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_GPT=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PCI=y
@@ -83,7 +85,6 @@ CONFIG_CMD_SYSBOOT=y
 CONFIG_CMD_UUID=y
 CONFIG_CMD_REGULATOR=y
 CONFIG_CMD_EXT4_WRITE=y
-# CONFIG_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_SPL_OF_CONTROL=y
Signature · 1 line
2.47.3
#5 lore raw

PATCH 5/10 configs: toradex-smarc-imx95: Enable EFI related options

In reply to Francesco Dolcini

From: Francesco Dolcini <[email protected]>

Enable EFI related options, as suggested for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance [1].

The RTC used on this board is not currently supported by U-Boot, therefore it is not enabled at the moment.

---
 configs/toradex-smarc-imx95_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/toradex-smarc-imx95_defconfig +2 -0
index 61abeff1afb6..a68adfa4e609 100644
@@ -63,6 +63,7 @@ CONFIG_SPL_THERMAL=y
 CONFIG_SPL_WATCHDOG=y
 CONFIG_SYS_PROMPT="SMARC iMX95 # "
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_NVEDIT_EFI=y
 CONFIG_CRC32_VERIFY=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_MD5SUM_VERIFY=y
@@ -70,6 +71,7 @@ CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_CLK=y
 CONFIG_CMD_FUSE=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_GPT=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PCI=y
Signature · 1 line
2.47.3
#6 lore raw

PATCH 6/10 configs: verdin-am62: Enable EFI related options

In reply to Francesco Dolcini

From: Francesco Dolcini <[email protected]>

Enable EFI related options, as suggested for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance [1].

The RTC used on this board is not currently supported by U-Boot, therefore it is not enabled at the moment.

---
 configs/verdin-am62_a53_defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
configs/verdin-am62_a53_defconfig +2 -1
index f04858099da5..09e302c74a00 100644
@@ -57,6 +57,7 @@ CONFIG_SYS_PROMPT="Verdin AM62 # "
 CONFIG_CMD_ADTIMG=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_EXPORTENV is not set
+CONFIG_CMD_NVEDIT_EFI=y
 CONFIG_CRC32_VERIFY=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_MD5SUM_VERIFY=y
@@ -65,6 +66,7 @@ CONFIG_CMD_BCB=y
 CONFIG_CMD_CLK=y
 CONFIG_CMD_DFU=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_GPT=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_READ=y
@@ -77,7 +79,6 @@ CONFIG_CMD_UUID=y
 CONFIG_CMD_PMIC=y
 CONFIG_CMD_REGULATOR=y
 CONFIG_CMD_EXT4_WRITE=y
-# CONFIG_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_SPL_OF_CONTROL=y
Signature · 1 line
2.47.3
#7 lore raw

PATCH 7/10 configs: verdin-am62p: Enable EFI related options

In reply to Francesco Dolcini

From: Francesco Dolcini <[email protected]>

Enable EFI related options, as suggested for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance [1].

The RTC used on this board is not currently supported by U-Boot, therefore it is not enabled at the moment.

---
 configs/verdin-am62p_a53_defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
configs/verdin-am62p_a53_defconfig +2 -1
index 3dbffa78662f..b362f136ebcf 100644
@@ -59,6 +59,7 @@ CONFIG_SYS_PROMPT="Verdin AM62P # "
 CONFIG_CMD_ADTIMG=y
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_EXPORTENV is not set
+CONFIG_CMD_NVEDIT_EFI=y
 CONFIG_CRC32_VERIFY=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_MD5SUM_VERIFY=y
@@ -67,6 +68,7 @@ CONFIG_CMD_BCB=y
 CONFIG_CMD_CLK=y
 CONFIG_CMD_DFU=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_GPT=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_READ=y
@@ -79,7 +81,6 @@ CONFIG_CMD_UUID=y
 CONFIG_CMD_PMIC=y
 CONFIG_CMD_REGULATOR=y
 CONFIG_CMD_EXT4_WRITE=y
-# CONFIG_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_SPL_OF_CONTROL=y
Signature · 1 line
2.47.3
#8 lore raw

PATCH 8/10 configs: verdin-imx8mm: Enable EFI related options

In reply to Francesco Dolcini

From: Francesco Dolcini <[email protected]>

Enable EFI related options, as suggested for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance [1].

The RTC used on this board is not currently supported by U-Boot, therefore it is not enabled at the moment.

---
 configs/verdin-imx8mm_defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
configs/verdin-imx8mm_defconfig +2 -1
index 454372058376..fb4e6e261292 100644
@@ -55,6 +55,7 @@ CONFIG_SPL_WATCHDOG=y
 CONFIG_SYS_PROMPT="Verdin iMX8MM # "
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_EXPORTENV is not set
+CONFIG_CMD_NVEDIT_EFI=y
 CONFIG_CRC32_VERIFY=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_MD5SUM_VERIFY=y
@@ -62,6 +63,7 @@ CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_CLK=y
 CONFIG_CMD_FUSE=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_GPT=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_READ=y
@@ -76,7 +78,6 @@ CONFIG_CMD_PMIC=y
 CONFIG_CMD_REGULATOR=y
 # CONFIG_CMD_HASH is not set
 CONFIG_CMD_EXT4_WRITE=y
-# CONFIG_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_SPL_OF_CONTROL=y
Signature · 1 line
2.47.3
#9 lore raw

PATCH 9/10 configs: verdin-imx8mp: Enable EFI related options

In reply to Francesco Dolcini

From: Francesco Dolcini <[email protected]>

Enable EFI related options, as suggested for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance [1].

The RTC used on this board is not currently supported by U-Boot, therefore it is not enabled at the moment.

---
 configs/verdin-imx8mp_defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
configs/verdin-imx8mp_defconfig +2 -1
index 455a601b07db..540000c99226 100644
@@ -64,6 +64,7 @@ CONFIG_SPL_WATCHDOG=y
 CONFIG_SYS_PROMPT="Verdin iMX8MP # "
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_EXPORTENV is not set
+CONFIG_CMD_NVEDIT_EFI=y
 CONFIG_CRC32_VERIFY=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_MD5SUM_VERIFY=y
@@ -71,6 +72,7 @@ CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_CLK=y
 CONFIG_CMD_FUSE=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_GPT=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PCI=y
@@ -83,7 +85,6 @@ CONFIG_CMD_TIME=y
 CONFIG_CMD_UUID=y
 CONFIG_CMD_REGULATOR=y
 CONFIG_CMD_EXT4_WRITE=y
-# CONFIG_ISO_PARTITION is not set
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_SPL_OF_CONTROL=y
Signature · 1 line
2.47.3
#10 lore raw

PATCH 10/10 configs: verdin-imx95: Enable EFI related options

In reply to Francesco Dolcini

From: Francesco Dolcini <[email protected]>

Enable EFI related options, as suggested for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance [1].

The RTC used on this board is not currently supported by U-Boot, therefore it is not enabled at the moment.

---
 configs/verdin-imx95_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/verdin-imx95_defconfig +2 -0
index 6dbf921e64be..c4a6bcd25864 100644
@@ -64,6 +64,7 @@ CONFIG_SPL_THERMAL=y
 CONFIG_SPL_WATCHDOG=y
 CONFIG_SYS_PROMPT="Verdin iMX95 # "
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_NVEDIT_EFI=y
 CONFIG_CRC32_VERIFY=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_MD5SUM_VERIFY=y
@@ -71,6 +72,7 @@ CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_CLK=y
 CONFIG_CMD_FUSE=y
 CONFIG_CMD_GPIO=y
+CONFIG_CMD_GPT=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
 CONFIG_CMD_PCI=y
Signature · 1 line
2.47.3
#11 lore raw
In reply to Francesco Dolcini
Quoted 10 lines · Francesco Dolcini

From: Francesco Dolcini <[email protected]>

Enable standard EFI support for all the arm64 Toradex boards, as required for booting standard aarch64 Linux distribution, following the ARM recommendations for SystemReady compliance [1].

The RTC used on these boards is not currently supported by U-Boot, therefore it is not enabled at the moment.

[...]

Applied to u-boot/master, thanks!

[01/10] configs: apalis-imx8: Enable EFI

        commit: 2c34e32b9b684b77b7799ac9962b22d10f271ec3
[02/10] configs: aquila-am69: Enable EFI related options
        commit: 6912d6190912fa09765202fd8f45db560090a9eb
[03/10] configs: colibri-imx8x: Enable EFI
        commit: 398fca82ae37c3e627b6839c9dd2e9cf06ee7d29
[04/10] configs: toradex-smarc-imx8mp: Enable EFI related options
        commit: 1bd90ebe2ce1e600c7cf35ff9879ada3ea639843
[05/10] configs: toradex-smarc-imx95: Enable EFI related options
        commit: 1dda05fe997f8dfeaf3c602eb2873eb835236cc3
[06/10] configs: verdin-am62: Enable EFI related options
        commit: 3a304e7347aa7dc8ebcd957da9cde65b8e7a098c
[07/10] configs: verdin-am62p: Enable EFI related options
        commit: 1327724ffdba25e6b9c0c16226cf96c1de11eebd
[08/10] configs: verdin-imx8mm: Enable EFI related options
        commit: 9f5c862eccaaa5d88901279ec66da738361c942e
[09/10] configs: verdin-imx8mp: Enable EFI related options
        commit: d52f67197bb9e0fcda30f9309c9c873e21f7c643
[10/10] configs: verdin-imx95: Enable EFI related options
        commit: a97668cd8bb8394609765ab209da000f410a563d
Signature · 1 line
Tom