Skip to contentSkip to conversation

orangepi: U-Boot needs OpenSSL

PATCH In review Sergey Matyukevich 2 participants 5 messages Apr 29, 2023 – May 7, 2023

lore
Share & tools
lore
#0 lore raw

cover orangepi: U-Boot needs OpenSSL

Fix build issue reported by Buildroot CI for OrangePi One after recent BSP updates. And while at it, also introduce the same fix for OrangePi Zero and PC-Plus boards. Possible build issues are masked only because Linux kernel is built before U-Boot for those specific images where where extra kernel modules are enabled.

Sergey Matyukevich (3):
configs: orangepi_one_defconfig: U-Boot requires OpenSSL
configs: orangepi_zero_defconfig: U-Boot requires OpenSSL
configs: orangepi_pc_plus_defconfig: U-Boot requires OpenSSL

 configs/orangepi_one_defconfig     | 1 +
 configs/orangepi_pc_plus_defconfig | 1 +
 configs/orangepi_zero_defconfig    | 1 +
 3 files changed, 3 insertions(+)
Signature · 6 lines
2.40.0

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

PATCH 1/3 configs: orangepi_one_defconfig: U-Boot requires OpenSSL

Building U-Boot for OrangePi One now requires host OpenSSL. Select BR2_TARGET_UBOOT_NEEDS_OPENSSL to fix the following build error:

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

      |            ^~~~~~~~~~~~~~~

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/4187707115

---
 configs/orangepi_one_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/orangepi_one_defconfig +1 -0
index 3f383e337e..ea988e87ea 100644
@@ -24,6 +24,7 @@ BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_one"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
 BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_TARGET_UBOOT_SPL=y
 BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
 BR2_PACKAGE_HOST_GENIMAGE=y
Signature · 6 lines
2.40.0

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

PATCH 2/3 configs: orangepi_zero_defconfig: U-Boot requires OpenSSL

In reply to Sergey Matyukevich

Building U-Boot for OrangePi Zero requires host OpenSSL. Build error is masked only because Linux kernel is built before U-Boot for this specific image configuration were wireless driver is enabled.

---
 configs/orangepi_zero_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/orangepi_zero_defconfig +1 -0
index 40269db233..e286f0b7f1 100644
@@ -36,6 +36,7 @@ BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_zero"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
 BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_TARGET_UBOOT_SPL=y
 BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
 
Signature · 6 lines
2.40.0

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

PATCH 3/3 configs: orangepi_pc_plus_defconfig: U-Boot requires OpenSSL

In reply to Sergey Matyukevich

Building U-Boot for OrangePi PC Plus requires host OpenSSL. Build error is masked only because Linux kernel is built before U-Boot for this specific image configuration were wireless driver is enabled.

---
 configs/orangepi_pc_plus_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/orangepi_pc_plus_defconfig +1 -0
index 73ba934b69..9dbf808da7 100644
@@ -26,6 +26,7 @@ BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_pc_plus"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
 BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_TARGET_UBOOT_SPL=y
 BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
 BR2_PACKAGE_HOST_GENIMAGE=y
Signature · 6 lines
2.40.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw
In reply to Sergey Matyukevich

Sergey, All,

On 2023-04-29 23:45 +0300, Sergey Matyukevich spake thusly:

Quoted 5 lines

Fix build issue reported by Buildroot CI for OrangePi One after recent BSP updates. And while at it, also introduce the same fix for OrangePi Zero and PC-Plus boards. Possible build issues are masked only because Linux kernel is built before U-Boot for those specific images where where extra kernel modules are enabled.

Whole series applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 17 lines

Sergey Matyukevich (3):
configs: orangepi_one_defconfig: U-Boot requires OpenSSL
configs: orangepi_zero_defconfig: U-Boot requires OpenSSL
configs: orangepi_pc_plus_defconfig: U-Boot requires OpenSSL

 configs/orangepi_one_defconfig     | 1 +
 configs/orangepi_pc_plus_defconfig | 1 +
 configs/orangepi_zero_defconfig    | 1 +
 3 files changed, 3 insertions(+)
Signature · 6 lines
2.40.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot