diff mbox series

configs/lego_ev3: update to U-Boot 2021.07

Message ID 20211016213626.3264701-1-david@lechnology.com
State Accepted
Headers show
Series configs/lego_ev3: update to U-Boot 2021.07 | expand

Commit Message

David Lechner Oct. 16, 2021, 9:36 p.m. UTC
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.

Signed-off-by: David Lechner <david@lechnology.com>
---
 configs/lego_ev3_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Yann E. MORIN Oct. 17, 2021, 8:15 a.m. UTC | #1
David, All,

On 2021-10-16 16:36 -0500, David Lechner spake thusly:
> 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...

> 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.

> Signed-off-by: David Lechner <david@lechnology.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  configs/lego_ev3_defconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configs/lego_ev3_defconfig b/configs/lego_ev3_defconfig
> index b4a1000036..555a63e36c 100644
> --- a/configs/lego_ev3_defconfig
> +++ b/configs/lego_ev3_defconfig
> @@ -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
> -- 
> 2.25.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
Peter Korsgaard Oct. 22, 2021, 6:46 p.m. UTC | #2
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 > David, All,
 > On 2021-10-16 16:36 -0500, David Lechner spake thusly:
 >> 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.

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.
diff mbox series

Patch

diff --git a/configs/lego_ev3_defconfig b/configs/lego_ev3_defconfig
index b4a1000036..555a63e36c 100644
--- a/configs/lego_ev3_defconfig
+++ b/configs/lego_ev3_defconfig
@@ -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