iMX8M Quad EVK board: UEFI boot on U-boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX8M Quad EVK board: UEFI boot on U-boot

803 Views
Julie3
Contributor II

Hello,

 

I am working on iMX8M Quad EVK and I am using Secure Boot with imx-image-core yocto image.

Now, I would like to implement UEFI boot. To do that, I changed configuration file in u-boot-imx by adding the following patch:

 

diff --git a/configs/imx8mq_evk_defconfig b/configs/imx8mq_evk_defconfig
index 1902941139..191215a288 100644
--- a/configs/imx8mq_evk_defconfig
+++ b/configs/imx8mq_evk_defconfig
@@ -1,5 +1,8 @@
CONFIG_ARM=y
CONFIG_ARCH_IMX8M=y
+CONFIG_SECURE_BOOT=y
+CONFIG_HAS_CAAM=y
+CONFIG_IMX_HAB=y
CONFIG_SYS_TEXT_BASE=0x40200000
CONFIG_SPL_GPIO_SUPPORT=y
CONFIG_SPL_LIBCOMMON_SUPPORT=y
@@ -139,3 +142,7 @@ CONFIG_EFI_RUNTIME_UPDATE_CAPSULE=y
CONFIG_EFI_CAPSULE_ON_DISK=y
CONFIG_EFI_CAPSULE_FIRMWARE_RAW=y
CONFIG_EFI_SECURE_BOOT=y
+CONFIG_CMD_BOOTEFI=y
+CONFIG_EFI_LOADER=y
+CONFIG_CMD_BOOTEFI_HELLO_COMPILE=y
+CONFIG_CMD_BOOTEFI_HELLO=y
\ No newline at end of file
 
I can succesfully flash eMMC and boot my board. But I don't think UEFI is implemented now. I am totally lost on how to do it. Could I get some help please?
 
 
Best regards,
 
Julie
Labels (1)
0 Kudos
0 Replies