Skip to contentSkip to conversation

configs/lego_ev3: update to U-Boot 2021.07

PATCH Applied David Lechner 3 participants 3 messages Oct 16, 2021 – Oct 22, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs/lego_ev3: update to U-Boot 2021.07

Buildroot CI has been failing due to 404 error on older U-Boot. Updating the U-Boot version should fix it and it doesn't hurt to use the latest U-Boot anyway.

---
 configs/lego_ev3_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/lego_ev3_defconfig +1 -1
index b4a1000036..555a63e36c 100644
@@ -43,7 +43,7 @@ BR2_TARGET_ROOTFS_SQUASHFS4_XZ=y
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.11"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.07"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="legoev3"
 
 # host
Signature · 6 lines
2.25.1

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

David, All,

On 2021-10-16 16:36 -0500, David Lechner spake thusly:

Quoted 1 line

Buildroot CI has been failing due to 404 error on older U-Boot.

The real problem is that the certificate presented by the https server at ftp.denx.de, can't be validated:

    wget --passive-ftp -nd -t 3 -O '/builds/buildroot.org/buildroot/output/build/.u-boot-2018.11.tar.bz2.rycJD2/output' 'https://ftp.denx.de/pub/u-boot/u-boot-2018.11.tar.bz2' 
    --2021-10-14 13:07:22-- https://ftp.denx.de/pub/u-boot/u-boot-2018.11.tar.bz2
    Resolving ftp.denx.de (ftp.denx.de)... 85.214.49.3, 2a01:238:43f4:4600:bc64:4f44:381f:1163
    Connecting to ftp.denx.de (ftp.denx.de)|85.214.49.3|:443... connected.
    ERROR: The certificate of ‘ftp.denx.de’ is not trusted.
    ERROR: The certificate of ‘ftp.denx.de’ has expired.

That's probably because we are still using an old distribution as the base image to do the run in the CI.

We have a patch pending to update that image. It has just been promoted to the top of my list of patches to look at today...

Quoted 3 lines

Updating
the U-Boot version should fix it and it doesn't hurt to use the latest U-Boot anyway.

Agreed, although that will still fail in the CI, until we bump to newer components.

Quoted 1 line

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 24 lines
---
 configs/lego_ev3_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/lego_ev3_defconfig +1 -1
index b4a1000036..555a63e36c 100644
@@ -43,7 +43,7 @@ BR2_TARGET_ROOTFS_SQUASHFS4_XZ=y
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.11"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.07"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="legoev3"
 
 # host
Signature · 6 lines
2.25.1

_______________________________________________
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
#2 lore raw
Quoted 18 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

David, All,
On 2021-10-16 16:36 -0500, David Lechner spake thusly:

Quoted 1 line

Buildroot CI has been failing due to 404 error on older U-Boot.

The real problem is that the certificate presented by the https server at ftp.denx.de, can't be validated:

    wget --passive-ftp -nd -t 3 -O
'/builds/buildroot.org/buildroot/output/build/.u-boot-2018.11.tar.bz2.rycJD2/output'
'https://ftp.denx.de/pub/u-boot/u-boot-2018.11.tar.bz2'
    --2021-10-14 13:07:22-- https://ftp.denx.de/pub/u-boot/u-boot-2018.11.tar.bz2
    Resolving ftp.denx.de (ftp.denx.de)... 85.214.49.3, 2a01:238:43f4:4600:bc64:4f44:381f:1163
    Connecting to ftp.denx.de (ftp.denx.de)|85.214.49.3|:443... connected.
    ERROR: The certificate of ‘ftp.denx.de’ is not trusted.
    ERROR: The certificate of ‘ftp.denx.de’ has expired.
Quoted 2 lines

That's probably because we are still using an old distribution as the base image to do the run in the CI.

Yes, it is because wget is linked against gnutls on Debian, and older gnutls versions have issues with the new alternative cert chain used by letsencrypt when they moved to the new CA certificate.

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