Skip to contentSkip to conversation

configs/olimex_*: fix uboot build failure on gitlab jobs

PATCH In review Giulio Benetti 2 participants 9 messages Oct 30, 2021 – Oct 31, 2021

lore
Share & tools
lore
#0 lore raw

cover configs/olimex_*: fix uboot build failure on gitlab jobs

Unfortunately before sending the patchset to update Linux and u-boot for almost all Olimex Olinuxino boards I didn't try to build all those boards' defconfigs inside the latest official Buildroot Docker. This lead to build failure in case host doesnd't provide openssl, python3 and pylibfdt. So this patchset fix those build failure and end up uniforming all the BR2_TARGET_UBOOT_NEEDS_* since all are based on sunxi SoCs and share the same board.c. Anyway everything I've added is required.

Best regards
---
Giulio Benetti
Benetti Engineering sas

Giulio Benetti (6):
configs/olimex_a10_olinuxino: uboot 2021.10 needs openssl and python3 configs/olimex_a13_olinuxino: uboot 2021.10 needs openssl, pylibfdt
and python3
configs/olimex_a20_olinuxino_lime2: uboot 2021.10 needs openssl configs/olimex_a20_olinuxino_lime: uboot 2021.10 needs openssl configs/olimex_a20_olinuxino_micro: uboot 2021.10 needs openssl,
pylibfdt and python3
configs/olimex_a33_olinuxino: uboot 2021.10 needs openssl and python3

 configs/olimex_a10_olinuxino_lime_defconfig  | 2 ++
 configs/olimex_a13_olinuxino_defconfig       | 3 +++
 configs/olimex_a20_olinuxino_lime2_defconfig | 3 ++-
 configs/olimex_a20_olinuxino_lime_defconfig  | 3 ++-
 configs/olimex_a20_olinuxino_micro_defconfig | 3 +++
 configs/olimex_a33_olinuxino_defconfig       | 2 ++
 6 files changed, 14 insertions(+), 2 deletions(-)
Signature · 6 lines
2.25.1

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

PATCH 1/6 configs/olimex_a10_olinuxino: uboot 2021.10 needs openssl and python3

Uboot 2021.10 needs openssl and python3 so enable them.

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

---
 configs/olimex_a10_olinuxino_lime_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/olimex_a10_olinuxino_lime_defconfig +2 -0
index c3b4f0161b..b168792b00 100644
@@ -36,7 +36,9 @@ BR2_TARGET_UBOOT_CUSTOM_VERSION=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A10-OLinuXino-Lime"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
+BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
 BR2_TARGET_UBOOT_FORMAT_BIN=y
 BR2_TARGET_UBOOT_SPL=y
 BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
Signature · 6 lines
2.25.1

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

PATCH 2/6 configs/olimex_a13_olinuxino: uboot 2021.10 needs openssl, pylibfdt and python3

In reply to Giulio Benetti

Uboot 2021.10 needs openssl, pylibfdt and python3 so enable them.

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

---
 configs/olimex_a13_olinuxino_defconfig | 3 +++
 1 file changed, 3 insertions(+)
configs/olimex_a13_olinuxino_defconfig +3 -0
index 14cec97d49..d18a9ee6bd 100644
@@ -18,6 +18,9 @@ BR2_TARGET_UBOOT_CUSTOM_VERSION=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A13-OLinuXino"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
+BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
+BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
 BR2_TARGET_UBOOT_FORMAT_BIN=y
 BR2_TARGET_UBOOT_SPL=y
 BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
Signature · 6 lines
2.25.1

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

PATCH 3/6 configs/olimex_a20_olinuxino_lime2: uboot 2021.10 needs openssl

In reply to Giulio Benetti

Uboot 2021.10 needs openssl so enable it. Let's also alphabetize BR2_TARGET_UBOOT_NEEDS_*.

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

---
 configs/olimex_a20_olinuxino_lime2_defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
configs/olimex_a20_olinuxino_lime2_defconfig +2 -1
index 248e5d7207..a298ca19ed 100644
@@ -47,8 +47,9 @@ BR2_TARGET_UBOOT_CUSTOM_VERSION=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime2"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
-BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
+BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
 BR2_TARGET_UBOOT_FORMAT_BIN=y
 BR2_TARGET_UBOOT_SPL=y
 BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
Signature · 6 lines
2.25.1

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

PATCH 4/6 configs/olimex_a20_olinuxino_lime: uboot 2021.10 needs openssl

In reply to Giulio Benetti

Uboot 2021.10 needs openssl so enable it. Let's also alphabetize BR2_TARGET_UBOOT_NEEDS_*.

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

---
 configs/olimex_a20_olinuxino_lime_defconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
configs/olimex_a20_olinuxino_lime_defconfig +2 -1
index fb095c8b7b..964e4449ae 100644
@@ -47,8 +47,9 @@ BR2_TARGET_UBOOT_CUSTOM_VERSION=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
-BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
+BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
 BR2_TARGET_UBOOT_FORMAT_BIN=y
 BR2_TARGET_UBOOT_SPL=y
 BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
Signature · 6 lines
2.25.1

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

PATCH 5/6 configs/olimex_a20_olinuxino_micro: uboot 2021.10 needs openssl, pylibfdt and python3

In reply to Giulio Benetti

Uboot 2021.10 needs openssl, pylibfdt and python3 so enable them.

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

---
 configs/olimex_a20_olinuxino_micro_defconfig | 3 +++
 1 file changed, 3 insertions(+)
configs/olimex_a20_olinuxino_micro_defconfig +3 -0
index 93912b95c0..9115358a69 100644
@@ -36,6 +36,9 @@ BR2_TARGET_UBOOT_CUSTOM_VERSION=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino_MICRO"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
+BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
+BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
 BR2_TARGET_UBOOT_SPL=y
 BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
 BR2_PACKAGE_HOST_UBOOT_TOOLS=y
Signature · 6 lines
2.25.1

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

PATCH 6/6 configs/olimex_a33_olinuxino: uboot 2021.10 needs openssl and python3

In reply to Giulio Benetti

Uboot 2021.10 needs openssl and python3 so enable them.

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

---
 configs/olimex_a33_olinuxino_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/olimex_a33_olinuxino_defconfig +2 -0
index e2474db2ec..2067335951 100644
@@ -19,7 +19,9 @@ BR2_TARGET_UBOOT_CUSTOM_VERSION=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A33-OLinuXino"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
 BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
+BR2_TARGET_UBOOT_NEEDS_PYTHON3=y
 BR2_TARGET_UBOOT_FORMAT_BIN=y
 BR2_TARGET_UBOOT_SPL=y
 BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#7 lore raw
In reply to Giulio Benetti

Hello,

Quoted 9 lines · On Sun, 31 Oct 2021 01:46:44 +0200 Giulio Benetti…

Giulio Benetti (6):
configs/olimex_a10_olinuxino: uboot 2021.10 needs openssl and python3 configs/olimex_a13_olinuxino: uboot 2021.10 needs openssl, pylibfdt
and python3
configs/olimex_a20_olinuxino_lime2: uboot 2021.10 needs openssl configs/olimex_a20_olinuxino_lime: uboot 2021.10 needs openssl configs/olimex_a20_olinuxino_micro: uboot 2021.10 needs openssl,
pylibfdt and python3
configs/olimex_a33_olinuxino: uboot 2021.10 needs openssl and python3

I've applied the entire series, but I changed something: the options in a defconfig are not sorted alphabetically, but they are sorted in their "natural" order in a defconfig (when generated with "make savedefconfig").

Of course, those hand-edited defconfigs, with extra comments, makes using "make savedefconfig" bit less convenient, but still I think we should follow the ordering of option that "make savedefconfig" provides, which is based on the ordering of options in Config.in files.

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#8 lore raw
Quoted 20 lines · Thomas Petazzoni

Hello,

Quoted 9 lines · On Sun, 31 Oct 2021 01:46:44 +0200 Giulio Benetti…

Giulio Benetti (6):
configs/olimex_a10_olinuxino: uboot 2021.10 needs openssl and python3 configs/olimex_a13_olinuxino: uboot 2021.10 needs openssl, pylibfdt
and python3
configs/olimex_a20_olinuxino_lime2: uboot 2021.10 needs openssl configs/olimex_a20_olinuxino_lime: uboot 2021.10 needs openssl configs/olimex_a20_olinuxino_micro: uboot 2021.10 needs openssl,
pylibfdt and python3
configs/olimex_a33_olinuxino: uboot 2021.10 needs openssl and python3

I've applied the entire series, but I changed something: the options in a defconfig are not sorted alphabetically, but they are sorted in their "natural" order in a defconfig (when generated with "make savedefconfig").

Quoted 4 lines

Of course, those hand-edited defconfigs, with extra comments, makes using "make savedefconfig" bit less convenient, but still I think we should follow the ordering of option that "make savedefconfig" provides, which is based on the ordering of options in Config.in files.

Ok, thank you for pointing.

Kind regards

Signature · 6 lines
Giulio Benetti
Benetti Engineering sas
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot