Skip to contentSkip to conversation

configs/imx7dpico: Select BR2_TARGET_UBOOT_NEEDS_OPENSSL

PATCH Applied Fabio Estevam 3 participants 4 messages Sep 14, 2024 – Oct 3, 2024 Arm i.MX and Layerscape

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/2 configs/imx7dpico: Select BR2_TARGET_UBOOT_NEEDS_OPENSSL

Select BR2_TARGET_UBOOT_NEEDS_OPENSSL to fix the following build warning:

include/image.h:1471:12: fatal error: openssl/evp.h: No such file or directory
1471 | # include <openssl/evp.h>

---
 configs/imx7dpico_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/imx7dpico_defconfig +1 -0
index b0a4b3dd12d1..eaaa0202bb16 100644
@@ -26,6 +26,7 @@ BR2_TARGET_UBOOT_SPL_NAME="SPL"
 BR2_TARGET_UBOOT_BOARDNAME="pico-pi-imx7d"
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.07"
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y
 
 # wifi firmware for brcm43439
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
author reviewer
#1 lore raw

PATCH 2/2 configs/mx6udoo: Select BR2_TARGET_UBOOT_NEEDS_OPENSSL

Select BR2_TARGET_UBOOT_NEEDS_OPENSSL to fix the following build warning:

include/image.h:1471:12: fatal error: openssl/evp.h: No such file or directory
1471 | # include <openssl/evp.h>

---
 configs/mx6udoo_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/mx6udoo_defconfig +1 -0
index 6c84a41bfdcf..7e94e0a8338a 100644
@@ -14,6 +14,7 @@ BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BOARDNAME="udoo"
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.07"
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_TARGET_UBOOT_FORMAT_IMG=y
 BR2_TARGET_UBOOT_SPL=y
 BR2_TARGET_UBOOT_SPL_NAME="SPL"
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Fabio Estevam
Quoted 9 lines · Fabio Estevam

Select BR2_TARGET_UBOOT_NEEDS_OPENSSL to fix the following build warning:

include/image.h:1471:12: fatal error: openssl/evp.h: No such file or directory
1471 | # include <openssl/evp.h>

Applied both to master, thanks.

If you're actively working with these boards, perhaps you could also add
hashes for U-Boot and kernel and enable BR2_DOWNLOAD_FORCE_CHECK_HASHES?

Regards,
Arnout

Quoted 9 lines
---
  configs/imx7dpico_defconfig | 1 +
  1 file changed, 1 insertion(+)
configs/imx7dpico_defconfig +0 -0
index b0a4b3dd12d1..eaaa0202bb16 100644

configs/imx7dpico_defconfig BR2_TARGET_UBOOT_SPL_NAME="SPL" · line 32

Quoted 7 lines
configs/imx7dpico_defconfig +1 -0
@@ -26,6 +26,7 @@ BR2_TARGET_UBOOT_SPL_NAME="SPL"
  BR2_TARGET_UBOOT_BOARDNAME="pico-pi-imx7d"
  BR2_TARGET_UBOOT_CUSTOM_VERSION=y
  BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.07"
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
  BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y
 
  # wifi firmware for brcm43439

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Arnout" == Arnout Vandecappelle via buildroot <[email protected]> writes:

Quoted 7 lines · Fabio Estevam

Select BR2_TARGET_UBOOT_NEEDS_OPENSSL to fix the following build warning:
include/image.h:1471:12: fatal error: openssl/evp.h: No such file or directory
1471 | # include <openssl/evp.h>

Quoted 5 lines

Applied both to master, thanks.

If you're actively working with these boards, perhaps you could also add hashes for U-Boot and kernel and enable
BR2_DOWNLOAD_FORCE_CHECK_HASHES?

NIT: This is a build ERROR, not a warning and it was presumably introduced by your recent u-boot bump in commit 8cf677f4 (configs/imx7dpico: bump kernel and U-Boot version). It would be great to mention such things in future patches as it helps with figuring out what needs to be backported to the stable branches.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot