[1/1] configs/ti_am62x_sk: bump Linux to 6.10.13 and U-Boot to 2024.10

Message ID 20241009062631.895124-1-dario.binacchi@amarulasolutions.com
State New
Headers show
Series
  • [1/1] configs/ti_am62x_sk: bump Linux to 6.10.13 and U-Boot to 2024.10
Related show

Commit Message

Dario Binacchi Oct. 9, 2024, 6:26 a.m. UTC
The patch bumps the Linux kernel to version 6.10.13 and U-Boot to
version 2024.10. Arm trusted firmware is already up to date.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
 board/ti/am62x-sk/patches/linux/linux.hash | 2 +-
 board/ti/am62x-sk/patches/uboot/uboot.hash | 2 +-
 configs/ti_am62x_sk_defconfig              | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)

Comments

'Thomas Petazzoni' via Amarula Linux Oct. 9, 2024, 3 p.m. UTC | #1
Hi Dario!

On October  9, 2024 thus sayeth Dario Binacchi:
> The patch bumps the Linux kernel to version 6.10.13 and U-Boot to
> version 2024.10. Arm trusted firmware is already up to date.
> 
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> ---
>  board/ti/am62x-sk/patches/linux/linux.hash | 2 +-
>  board/ti/am62x-sk/patches/uboot/uboot.hash | 2 +-
>  configs/ti_am62x_sk_defconfig              | 6 +++---
>  3 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/board/ti/am62x-sk/patches/linux/linux.hash b/board/ti/am62x-sk/patches/linux/linux.hash
> index 53eb1438945b..706ddb8dbbd4 100644
> --- a/board/ti/am62x-sk/patches/linux/linux.hash
> +++ b/board/ti/am62x-sk/patches/linux/linux.hash
> @@ -1,2 +1,2 @@
>  # Locally calculated
> -sha256  774698422ee54c5f1e704456f37c65c06b51b4e9a8b0866f34580d86fef8e226  linux-6.10.tar.xz
> +sha256  5ffceb2350db1547e69231a63df2d3beed015a313d7d7adf8b5cb71dedaeb16a  linux-6.10.13.tar.xz
> diff --git a/board/ti/am62x-sk/patches/uboot/uboot.hash b/board/ti/am62x-sk/patches/uboot/uboot.hash
> index fe9b4f53dc63..904fa56c02a3 100644
> --- a/board/ti/am62x-sk/patches/uboot/uboot.hash
> +++ b/board/ti/am62x-sk/patches/uboot/uboot.hash
> @@ -1,2 +1,2 @@
>  # Locally calculated
> -sha256  f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f  u-boot-2024.07.tar.bz2
> +sha256  b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0  u-boot-2024.10.tar.bz2
> diff --git a/configs/ti_am62x_sk_defconfig b/configs/ti_am62x_sk_defconfig
> index e11b803b73e4..6d071b4cc148 100644
> --- a/configs/ti_am62x_sk_defconfig
> +++ b/configs/ti_am62x_sk_defconfig
> @@ -8,7 +8,7 @@ BR2_ROOTFS_POST_BUILD_SCRIPT_ARGS="-c ttyS2,115200n8 -d k3-am625-sk.dtb -l am62x
>  BR2_ROOTFS_POST_IMAGE_SCRIPT_ARGS="-c board/ti/am62x-sk/genimage.cfg"
>  BR2_LINUX_KERNEL=y
>  BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.10"
> +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.10.13"

I've noticed you've been picking stable tags and was curious if you 
prefer to stay on stable tags? I have plans to move everything to v6.11 
but I could choose the stable version (v6.11.2) if that helps you.

>  BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
>  BR2_LINUX_KERNEL_DTS_SUPPORT=y
>  BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/k3-am625-sk"
> @@ -27,12 +27,12 @@ BR2_TARGET_OPTEE_OS=y
>  BR2_TARGET_OPTEE_OS_PLATFORM="k3-am62x"
>  BR2_TARGET_TI_K3_R5_LOADER=y
>  BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION=y
> -BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2024.07"
> +BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2024.10"
>  BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG="am62x_evm_r5"
>  BR2_TARGET_UBOOT=y
>  BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
>  BR2_TARGET_UBOOT_CUSTOM_VERSION=y
> -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.07"
> +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.10"

One of the more interesting things we've been working on lately is EFI 
Capsule support which depends on GnuTLS. We'll need to check 
BR2_TARGET_UBOOT_NEEDS_GNUTLS when moving to this version. :)

~Bryan

To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.
Dario Binacchi Oct. 9, 2024, 3:11 p.m. UTC | #2
Hi Bryan,

On Wed, Oct 9, 2024 at 5:00 PM Bryan Brattlof <bb@ti.com> wrote:
>
> Hi Dario!
>
> On October  9, 2024 thus sayeth Dario Binacchi:
> > The patch bumps the Linux kernel to version 6.10.13 and U-Boot to
> > version 2024.10. Arm trusted firmware is already up to date.
> >
> > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> > ---
> >  board/ti/am62x-sk/patches/linux/linux.hash | 2 +-
> >  board/ti/am62x-sk/patches/uboot/uboot.hash | 2 +-
> >  configs/ti_am62x_sk_defconfig              | 6 +++---
> >  3 files changed, 5 insertions(+), 5 deletions(-)
> >
> > diff --git a/board/ti/am62x-sk/patches/linux/linux.hash b/board/ti/am62x-sk/patches/linux/linux.hash
> > index 53eb1438945b..706ddb8dbbd4 100644
> > --- a/board/ti/am62x-sk/patches/linux/linux.hash
> > +++ b/board/ti/am62x-sk/patches/linux/linux.hash
> > @@ -1,2 +1,2 @@
> >  # Locally calculated
> > -sha256  774698422ee54c5f1e704456f37c65c06b51b4e9a8b0866f34580d86fef8e226  linux-6.10.tar.xz
> > +sha256  5ffceb2350db1547e69231a63df2d3beed015a313d7d7adf8b5cb71dedaeb16a  linux-6.10.13.tar.xz
> > diff --git a/board/ti/am62x-sk/patches/uboot/uboot.hash b/board/ti/am62x-sk/patches/uboot/uboot.hash
> > index fe9b4f53dc63..904fa56c02a3 100644
> > --- a/board/ti/am62x-sk/patches/uboot/uboot.hash
> > +++ b/board/ti/am62x-sk/patches/uboot/uboot.hash
> > @@ -1,2 +1,2 @@
> >  # Locally calculated
> > -sha256  f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f  u-boot-2024.07.tar.bz2
> > +sha256  b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0  u-boot-2024.10.tar.bz2
> > diff --git a/configs/ti_am62x_sk_defconfig b/configs/ti_am62x_sk_defconfig
> > index e11b803b73e4..6d071b4cc148 100644
> > --- a/configs/ti_am62x_sk_defconfig
> > +++ b/configs/ti_am62x_sk_defconfig
> > @@ -8,7 +8,7 @@ BR2_ROOTFS_POST_BUILD_SCRIPT_ARGS="-c ttyS2,115200n8 -d k3-am625-sk.dtb -l am62x
> >  BR2_ROOTFS_POST_IMAGE_SCRIPT_ARGS="-c board/ti/am62x-sk/genimage.cfg"
> >  BR2_LINUX_KERNEL=y
> >  BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> > -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.10"
> > +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.10.13"
>
> I've noticed you've been picking stable tags and was curious if you
> prefer to stay on stable tags?

As far as I know, it is good practice.

> I have plans to move everything to v6.11
> but I could choose the stable version (v6.11.2) if that helps you.

>
> >  BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
> >  BR2_LINUX_KERNEL_DTS_SUPPORT=y
> >  BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/k3-am625-sk"
> > @@ -27,12 +27,12 @@ BR2_TARGET_OPTEE_OS=y
> >  BR2_TARGET_OPTEE_OS_PLATFORM="k3-am62x"
> >  BR2_TARGET_TI_K3_R5_LOADER=y
> >  BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION=y
> > -BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2024.07"
> > +BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2024.10"
> >  BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG="am62x_evm_r5"
> >  BR2_TARGET_UBOOT=y
> >  BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
> >  BR2_TARGET_UBOOT_CUSTOM_VERSION=y
> > -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.07"
> > +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.10"
>
> One of the more interesting things we've been working on lately is EFI
> Capsule support which depends on GnuTLS. We'll need to check
> BR2_TARGET_UBOOT_NEEDS_GNUTLS when moving to this version. :)

Do I have to enable this option? When I tested, I didn't notice anything unusual
Or is there something I'm missing?

Thanks and regards,
Dario

>
> ~Bryan
'Thomas Petazzoni' via Amarula Linux Oct. 9, 2024, 7:09 p.m. UTC | #3
On October  9, 2024 thus sayeth Dario Binacchi:
> Hi Bryan,
> 
> On Wed, Oct 9, 2024 at 5:00 PM Bryan Brattlof <bb@ti.com> wrote:
> >
> > Hi Dario!
> >
> > On October  9, 2024 thus sayeth Dario Binacchi:
> > > The patch bumps the Linux kernel to version 6.10.13 and U-Boot to
> > > version 2024.10. Arm trusted firmware is already up to date.
> > >
> > > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> > > ---
> > >  board/ti/am62x-sk/patches/linux/linux.hash | 2 +-
> > >  board/ti/am62x-sk/patches/uboot/uboot.hash | 2 +-
> > >  configs/ti_am62x_sk_defconfig              | 6 +++---
> > >  3 files changed, 5 insertions(+), 5 deletions(-)
> > >
> > > diff --git a/board/ti/am62x-sk/patches/linux/linux.hash b/board/ti/am62x-sk/patches/linux/linux.hash
> > > index 53eb1438945b..706ddb8dbbd4 100644
> > > --- a/board/ti/am62x-sk/patches/linux/linux.hash
> > > +++ b/board/ti/am62x-sk/patches/linux/linux.hash
> > > @@ -1,2 +1,2 @@
> > >  # Locally calculated
> > > -sha256  774698422ee54c5f1e704456f37c65c06b51b4e9a8b0866f34580d86fef8e226  linux-6.10.tar.xz
> > > +sha256  5ffceb2350db1547e69231a63df2d3beed015a313d7d7adf8b5cb71dedaeb16a  linux-6.10.13.tar.xz
> > > diff --git a/board/ti/am62x-sk/patches/uboot/uboot.hash b/board/ti/am62x-sk/patches/uboot/uboot.hash
> > > index fe9b4f53dc63..904fa56c02a3 100644
> > > --- a/board/ti/am62x-sk/patches/uboot/uboot.hash
> > > +++ b/board/ti/am62x-sk/patches/uboot/uboot.hash
> > > @@ -1,2 +1,2 @@
> > >  # Locally calculated
> > > -sha256  f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f  u-boot-2024.07.tar.bz2
> > > +sha256  b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0  u-boot-2024.10.tar.bz2
> > > diff --git a/configs/ti_am62x_sk_defconfig b/configs/ti_am62x_sk_defconfig
> > > index e11b803b73e4..6d071b4cc148 100644
> > > --- a/configs/ti_am62x_sk_defconfig
> > > +++ b/configs/ti_am62x_sk_defconfig
> > > @@ -8,7 +8,7 @@ BR2_ROOTFS_POST_BUILD_SCRIPT_ARGS="-c ttyS2,115200n8 -d k3-am625-sk.dtb -l am62x
> > >  BR2_ROOTFS_POST_IMAGE_SCRIPT_ARGS="-c board/ti/am62x-sk/genimage.cfg"
> > >  BR2_LINUX_KERNEL=y
> > >  BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> > > -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.10"
> > > +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.10.13"
> >
> > I've noticed you've been picking stable tags and was curious if you
> > prefer to stay on stable tags?
> 
> As far as I know, it is good practice.
>

All good. It's just preference. I try to run the latest kernel to try out
all the latest features and fixes before they need to be back-ported anywhere

> 
> > I have plans to move everything to v6.11
> > but I could choose the stable version (v6.11.2) if that helps you.
> 
> >
> > >  BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
> > >  BR2_LINUX_KERNEL_DTS_SUPPORT=y
> > >  BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/k3-am625-sk"
> > > @@ -27,12 +27,12 @@ BR2_TARGET_OPTEE_OS=y
> > >  BR2_TARGET_OPTEE_OS_PLATFORM="k3-am62x"
> > >  BR2_TARGET_TI_K3_R5_LOADER=y
> > >  BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION=y
> > > -BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2024.07"
> > > +BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2024.10"
> > >  BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG="am62x_evm_r5"
> > >  BR2_TARGET_UBOOT=y
> > >  BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
> > >  BR2_TARGET_UBOOT_CUSTOM_VERSION=y
> > > -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.07"
> > > +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.10"
> >
> > One of the more interesting things we've been working on lately is EFI
> > Capsule support which depends on GnuTLS. We'll need to check
> > BR2_TARGET_UBOOT_NEEDS_GNUTLS when moving to this version. :)
> 
> Do I have to enable this option? When I tested, I didn't notice anything unusual
> Or is there something I'm missing?
> 

It's on my todo list to start breaking up the U-Boot defconfig into 
various feature fragments to suit a number of usecases our SK boards 
have. Sadly this one[0] is mandatory if we move to the v2024.10 tag or 
the build will complain about missing libraries.

    tools/mkeficapsule.c:21:10: fatal error: gnutls/gnutls.h: No such file or directory
       21 | #include <gnutls/gnutls.h>
          |          ^~~~~~~~~~~~~~~~~
    compilation terminated.
    make[3]: *** [scripts/Makefile.host:95: tools/mkeficapsule] Error 1
    make[3]: *** Waiting for unfinished jobs....
    make[2]: *** [Makefile:1895: tools] Error 2
    make[1]: *** [package/pkg-generic.mk:289: /home/me/src/buildroot/output/build/uboot-2024.10/.stamp_built] Error 2
    make: *** [Makefile:83: _all] Error 2

[0] https://source.denx.de/u-boot/u-boot/-/commit/0040f07e5a563f64f60915a6cefdf7b1be7bfee8

> Thanks and regards,
> Dario
> 
> >
> > ~Bryan
> 
> 
> 
> -- 
> 
> Dario Binacchi
> 
> Senior Embedded Linux Developer
> 
> dario.binacchi@amarulasolutions.com
> 
> __________________________________
> 
> 
> Amarula Solutions SRL
> 
> Via Le Canevare 30, 31100 Treviso, Veneto, IT
> 
> T. +39 042 243 5310
> info@amarulasolutions.com
> 
> www.amarulasolutions.com
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.
Dario Binacchi Oct. 10, 2024, 8:43 a.m. UTC | #4
Hi Bryan

On Wed, Oct 9, 2024 at 9:09 PM Bryan Brattlof <bb@ti.com> wrote:
>
> On October  9, 2024 thus sayeth Dario Binacchi:
> > Hi Bryan,
> >
> > On Wed, Oct 9, 2024 at 5:00 PM Bryan Brattlof <bb@ti.com> wrote:
> > >
> > > Hi Dario!
> > >
> > > On October  9, 2024 thus sayeth Dario Binacchi:
> > > > The patch bumps the Linux kernel to version 6.10.13 and U-Boot to
> > > > version 2024.10. Arm trusted firmware is already up to date.
> > > >
> > > > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> > > > ---
> > > >  board/ti/am62x-sk/patches/linux/linux.hash | 2 +-
> > > >  board/ti/am62x-sk/patches/uboot/uboot.hash | 2 +-
> > > >  configs/ti_am62x_sk_defconfig              | 6 +++---
> > > >  3 files changed, 5 insertions(+), 5 deletions(-)
> > > >
> > > > diff --git a/board/ti/am62x-sk/patches/linux/linux.hash b/board/ti/am62x-sk/patches/linux/linux.hash
> > > > index 53eb1438945b..706ddb8dbbd4 100644
> > > > --- a/board/ti/am62x-sk/patches/linux/linux.hash
> > > > +++ b/board/ti/am62x-sk/patches/linux/linux.hash
> > > > @@ -1,2 +1,2 @@
> > > >  # Locally calculated
> > > > -sha256  774698422ee54c5f1e704456f37c65c06b51b4e9a8b0866f34580d86fef8e226  linux-6.10.tar.xz
> > > > +sha256  5ffceb2350db1547e69231a63df2d3beed015a313d7d7adf8b5cb71dedaeb16a  linux-6.10.13.tar.xz
> > > > diff --git a/board/ti/am62x-sk/patches/uboot/uboot.hash b/board/ti/am62x-sk/patches/uboot/uboot.hash
> > > > index fe9b4f53dc63..904fa56c02a3 100644
> > > > --- a/board/ti/am62x-sk/patches/uboot/uboot.hash
> > > > +++ b/board/ti/am62x-sk/patches/uboot/uboot.hash
> > > > @@ -1,2 +1,2 @@
> > > >  # Locally calculated
> > > > -sha256  f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f  u-boot-2024.07.tar.bz2
> > > > +sha256  b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0  u-boot-2024.10.tar.bz2
> > > > diff --git a/configs/ti_am62x_sk_defconfig b/configs/ti_am62x_sk_defconfig
> > > > index e11b803b73e4..6d071b4cc148 100644
> > > > --- a/configs/ti_am62x_sk_defconfig
> > > > +++ b/configs/ti_am62x_sk_defconfig
> > > > @@ -8,7 +8,7 @@ BR2_ROOTFS_POST_BUILD_SCRIPT_ARGS="-c ttyS2,115200n8 -d k3-am625-sk.dtb -l am62x
> > > >  BR2_ROOTFS_POST_IMAGE_SCRIPT_ARGS="-c board/ti/am62x-sk/genimage.cfg"
> > > >  BR2_LINUX_KERNEL=y
> > > >  BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> > > > -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.10"
> > > > +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.10.13"
> > >
> > > I've noticed you've been picking stable tags and was curious if you
> > > prefer to stay on stable tags?
> >
> > As far as I know, it is good practice.
> >
>
> All good. It's just preference. I try to run the latest kernel to try out
> all the latest features and fixes before they need to be back-ported anywhere
>
> >
> > > I have plans to move everything to v6.11
> > > but I could choose the stable version (v6.11.2) if that helps you.
> >
> > >
> > > >  BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
> > > >  BR2_LINUX_KERNEL_DTS_SUPPORT=y
> > > >  BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/k3-am625-sk"
> > > > @@ -27,12 +27,12 @@ BR2_TARGET_OPTEE_OS=y
> > > >  BR2_TARGET_OPTEE_OS_PLATFORM="k3-am62x"
> > > >  BR2_TARGET_TI_K3_R5_LOADER=y
> > > >  BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION=y
> > > > -BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2024.07"
> > > > +BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2024.10"
> > > >  BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG="am62x_evm_r5"
> > > >  BR2_TARGET_UBOOT=y
> > > >  BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
> > > >  BR2_TARGET_UBOOT_CUSTOM_VERSION=y
> > > > -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.07"
> > > > +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.10"
> > >
> > > One of the more interesting things we've been working on lately is EFI
> > > Capsule support which depends on GnuTLS. We'll need to check
> > > BR2_TARGET_UBOOT_NEEDS_GNUTLS when moving to this version. :)
> >
> > Do I have to enable this option? When I tested, I didn't notice anything unusual
> > Or is there something I'm missing?
> >
>
> It's on my todo list to start breaking up the U-Boot defconfig into
> various feature fragments to suit a number of usecases our SK boards
> have. Sadly this one[0] is mandatory if we move to the v2024.10 tag or
> the build will complain about missing libraries.
>
>     tools/mkeficapsule.c:21:10: fatal error: gnutls/gnutls.h: No such file or directory
>        21 | #include <gnutls/gnutls.h>
>           |          ^~~~~~~~~~~~~~~~~
>     compilation terminated.
>     make[3]: *** [scripts/Makefile.host:95: tools/mkeficapsule] Error 1
>     make[3]: *** Waiting for unfinished jobs....
>     make[2]: *** [Makefile:1895: tools] Error 2
>     make[1]: *** [package/pkg-generic.mk:289: /home/me/src/buildroot/output/build/uboot-2024.10/.stamp_built] Error 2
>     make: *** [Makefile:83: _all] Error 2

I didn't get the error because my laptop /usr/include/gnutls/gnutls.h
is installed. But after temporarily renaming it for
testing the patch I got the compiling error. So thank you for the info.
Do I need in version 2 move the Linux bump to v6.11 too, or only
enable BR2_TARGET_UBOOT_NEEDS_GNUTLS
for U-Boot?

Thanks and regards,
Dario

>
> [0] https://source.denx.de/u-boot/u-boot/-/commit/0040f07e5a563f64f60915a6cefdf7b1be7bfee8
>
> > Thanks and regards,
> > Dario
> >
> > >
> > > ~Bryan
> >
> >
> >
> > --
> >
> > Dario Binacchi
> >
> > Senior Embedded Linux Developer
> >
> > dario.binacchi@amarulasolutions.com
> >
> > __________________________________
> >
> >
> > Amarula Solutions SRL
> >
> > Via Le Canevare 30, 31100 Treviso, Veneto, IT
> >
> > T. +39 042 243 5310
> > info@amarulasolutions.com
> >
> > www.amarulasolutions.com
> > _______________________________________________
> > buildroot mailing list
> > buildroot@buildroot.org
> > https://lists.buildroot.org/mailman/listinfo/buildroot
'Thomas Petazzoni' via Amarula Linux Oct. 10, 2024, 3:04 p.m. UTC | #5
On October 10, 2024 thus sayeth Dario Binacchi:
> Hi Bryan
> 
> On Wed, Oct 9, 2024 at 9:09 PM Bryan Brattlof <bb@ti.com> wrote:
> >
> > On October  9, 2024 thus sayeth Dario Binacchi:
> > > Hi Bryan,
> > >
> > > On Wed, Oct 9, 2024 at 5:00 PM Bryan Brattlof <bb@ti.com> wrote:
> > > >
> > > > Hi Dario!
> > > >
> > > > On October  9, 2024 thus sayeth Dario Binacchi:
> > > > > The patch bumps the Linux kernel to version 6.10.13 and U-Boot to
> > > > > version 2024.10. Arm trusted firmware is already up to date.
> > > > >
> > > > > Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> > > > > ---
> > > > >  board/ti/am62x-sk/patches/linux/linux.hash | 2 +-
> > > > >  board/ti/am62x-sk/patches/uboot/uboot.hash | 2 +-
> > > > >  configs/ti_am62x_sk_defconfig              | 6 +++---
> > > > >  3 files changed, 5 insertions(+), 5 deletions(-)
> > > > >
> > > > > diff --git a/board/ti/am62x-sk/patches/linux/linux.hash b/board/ti/am62x-sk/patches/linux/linux.hash
> > > > > index 53eb1438945b..706ddb8dbbd4 100644
> > > > > --- a/board/ti/am62x-sk/patches/linux/linux.hash
> > > > > +++ b/board/ti/am62x-sk/patches/linux/linux.hash
> > > > > @@ -1,2 +1,2 @@
> > > > >  # Locally calculated
> > > > > -sha256  774698422ee54c5f1e704456f37c65c06b51b4e9a8b0866f34580d86fef8e226  linux-6.10.tar.xz
> > > > > +sha256  5ffceb2350db1547e69231a63df2d3beed015a313d7d7adf8b5cb71dedaeb16a  linux-6.10.13.tar.xz
> > > > > diff --git a/board/ti/am62x-sk/patches/uboot/uboot.hash b/board/ti/am62x-sk/patches/uboot/uboot.hash
> > > > > index fe9b4f53dc63..904fa56c02a3 100644
> > > > > --- a/board/ti/am62x-sk/patches/uboot/uboot.hash
> > > > > +++ b/board/ti/am62x-sk/patches/uboot/uboot.hash
> > > > > @@ -1,2 +1,2 @@
> > > > >  # Locally calculated
> > > > > -sha256  f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f  u-boot-2024.07.tar.bz2
> > > > > +sha256  b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0  u-boot-2024.10.tar.bz2
> > > > > diff --git a/configs/ti_am62x_sk_defconfig b/configs/ti_am62x_sk_defconfig
> > > > > index e11b803b73e4..6d071b4cc148 100644
> > > > > --- a/configs/ti_am62x_sk_defconfig
> > > > > +++ b/configs/ti_am62x_sk_defconfig
> > > > > @@ -8,7 +8,7 @@ BR2_ROOTFS_POST_BUILD_SCRIPT_ARGS="-c ttyS2,115200n8 -d k3-am625-sk.dtb -l am62x
> > > > >  BR2_ROOTFS_POST_IMAGE_SCRIPT_ARGS="-c board/ti/am62x-sk/genimage.cfg"
> > > > >  BR2_LINUX_KERNEL=y
> > > > >  BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> > > > > -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.10"
> > > > > +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.10.13"
> > > >
> > > > I've noticed you've been picking stable tags and was curious if you
> > > > prefer to stay on stable tags?
> > >
> > > As far as I know, it is good practice.
> > >
> >
> > All good. It's just preference. I try to run the latest kernel to try out
> > all the latest features and fixes before they need to be back-ported anywhere
> >
> > >
> > > > I have plans to move everything to v6.11
> > > > but I could choose the stable version (v6.11.2) if that helps you.
> > >
> > > >
> > > > >  BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
> > > > >  BR2_LINUX_KERNEL_DTS_SUPPORT=y
> > > > >  BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/k3-am625-sk"
> > > > > @@ -27,12 +27,12 @@ BR2_TARGET_OPTEE_OS=y
> > > > >  BR2_TARGET_OPTEE_OS_PLATFORM="k3-am62x"
> > > > >  BR2_TARGET_TI_K3_R5_LOADER=y
> > > > >  BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION=y
> > > > > -BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2024.07"
> > > > > +BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2024.10"
> > > > >  BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG="am62x_evm_r5"
> > > > >  BR2_TARGET_UBOOT=y
> > > > >  BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
> > > > >  BR2_TARGET_UBOOT_CUSTOM_VERSION=y
> > > > > -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.07"
> > > > > +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.10"
> > > >
> > > > One of the more interesting things we've been working on lately is EFI
> > > > Capsule support which depends on GnuTLS. We'll need to check
> > > > BR2_TARGET_UBOOT_NEEDS_GNUTLS when moving to this version. :)
> > >
> > > Do I have to enable this option? When I tested, I didn't notice anything unusual
> > > Or is there something I'm missing?
> > >
> >
> > It's on my todo list to start breaking up the U-Boot defconfig into
> > various feature fragments to suit a number of usecases our SK boards
> > have. Sadly this one[0] is mandatory if we move to the v2024.10 tag or
> > the build will complain about missing libraries.
> >
> >     tools/mkeficapsule.c:21:10: fatal error: gnutls/gnutls.h: No such file or directory
> >        21 | #include <gnutls/gnutls.h>
> >           |          ^~~~~~~~~~~~~~~~~
> >     compilation terminated.
> >     make[3]: *** [scripts/Makefile.host:95: tools/mkeficapsule] Error 1
> >     make[3]: *** Waiting for unfinished jobs....
> >     make[2]: *** [Makefile:1895: tools] Error 2
> >     make[1]: *** [package/pkg-generic.mk:289: /home/me/src/buildroot/output/build/uboot-2024.10/.stamp_built] Error 2
> >     make: *** [Makefile:83: _all] Error 2
> 
> I didn't get the error because my laptop /usr/include/gnutls/gnutls.h
> is installed. But after temporarily renaming it for
> testing the patch I got the compiling error. So thank you for the info.
> Do I need in version 2 move the Linux bump to v6.11 too, or only
> enable BR2_TARGET_UBOOT_NEEDS_GNUTLS
> for U-Boot?

if you don't mind. I'll have some patches to bump all the versions of 
TI's reference boards and a few beagle boards by the end of the day. 
That way everyone stays on the same baseline for my sanity ;)

~Bryan

To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.

Patch

diff --git a/board/ti/am62x-sk/patches/linux/linux.hash b/board/ti/am62x-sk/patches/linux/linux.hash
index 53eb1438945b..706ddb8dbbd4 100644
--- a/board/ti/am62x-sk/patches/linux/linux.hash
+++ b/board/ti/am62x-sk/patches/linux/linux.hash
@@ -1,2 +1,2 @@ 
 # Locally calculated
-sha256  774698422ee54c5f1e704456f37c65c06b51b4e9a8b0866f34580d86fef8e226  linux-6.10.tar.xz
+sha256  5ffceb2350db1547e69231a63df2d3beed015a313d7d7adf8b5cb71dedaeb16a  linux-6.10.13.tar.xz
diff --git a/board/ti/am62x-sk/patches/uboot/uboot.hash b/board/ti/am62x-sk/patches/uboot/uboot.hash
index fe9b4f53dc63..904fa56c02a3 100644
--- a/board/ti/am62x-sk/patches/uboot/uboot.hash
+++ b/board/ti/am62x-sk/patches/uboot/uboot.hash
@@ -1,2 +1,2 @@ 
 # Locally calculated
-sha256  f591da9ab90ef3d6b3d173766d0ddff90c4ed7330680897486117df390d83c8f  u-boot-2024.07.tar.bz2
+sha256  b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0  u-boot-2024.10.tar.bz2
diff --git a/configs/ti_am62x_sk_defconfig b/configs/ti_am62x_sk_defconfig
index e11b803b73e4..6d071b4cc148 100644
--- a/configs/ti_am62x_sk_defconfig
+++ b/configs/ti_am62x_sk_defconfig
@@ -8,7 +8,7 @@  BR2_ROOTFS_POST_BUILD_SCRIPT_ARGS="-c ttyS2,115200n8 -d k3-am625-sk.dtb -l am62x
 BR2_ROOTFS_POST_IMAGE_SCRIPT_ARGS="-c board/ti/am62x-sk/genimage.cfg"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.10"
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.10.13"
 BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
 BR2_LINUX_KERNEL_INTREE_DTS_NAME="ti/k3-am625-sk"
@@ -27,12 +27,12 @@  BR2_TARGET_OPTEE_OS=y
 BR2_TARGET_OPTEE_OS_PLATFORM="k3-am62x"
 BR2_TARGET_TI_K3_R5_LOADER=y
 BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION=y
-BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2024.07"
+BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE="2024.10"
 BR2_TARGET_TI_K3_R5_LOADER_BOARD_DEFCONFIG="am62x_evm_r5"
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
 BR2_TARGET_UBOOT_CUSTOM_VERSION=y
-BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.07"
+BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.10"
 BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am62x_evm_a53"
 BR2_TARGET_UBOOT_NEEDS_DTC=y
 BR2_TARGET_UBOOT_NEEDS_OPENSSL=y