Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/3] bump ti-k3-r5-loader version
@ 2024-10-10 23:39 Bryan Brattlof via buildroot
  2024-10-10 23:39 ` [Buildroot] [PATCH 1/3] boot/uboot: update link to the U-Boot docs Bryan Brattlof via buildroot
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Bryan Brattlof via buildroot @ 2024-10-10 23:39 UTC (permalink / raw)
  To: buildroot; +Cc: Xuanhao Shi, Bryan Brattlof, Anand Gadiyar

Hello everyone!

Now that the v2024.10 tag has been released for U-boot, update the 
default versions of ti-k3-r5-loader to match.

The only interesting thing is efi capsule tools seems to be more 
mandatory now, so I added an option to enable host-gnutls if needed to 
ti-k3-r5-loader

Happy Hacking
~Bryan

Signed-off-by: Bryan Brattlof <bb@ti.com>
---
Bryan Brattlof (3):
      boot/uboot: update link to the U-Boot docs
      boot/ti-k3-r5-loader: add option to include GnuTLS
      boot/ti-k3-r5-loader: bump to v2024.10

 boot/ti-k3-r5-loader/Config.in            | 11 +++++++++--
 boot/ti-k3-r5-loader/ti-k3-r5-loader.hash |  2 +-
 boot/ti-k3-r5-loader/ti-k3-r5-loader.mk   |  4 ++++
 boot/uboot/Config.in                      |  2 +-
 4 files changed, 15 insertions(+), 4 deletions(-)
---
base-commit: 83be59ae50cbbabc700d875efc803184250d2631
change-id: 20241007-uboot-bump-c5b98000a2e8

Best regards,
-- 
Bryan Brattlof <bb@ti.com>

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 1/3] boot/uboot: update link to the U-Boot docs
  2024-10-10 23:39 [Buildroot] [PATCH 0/3] bump ti-k3-r5-loader version Bryan Brattlof via buildroot
@ 2024-10-10 23:39 ` Bryan Brattlof via buildroot
  2024-10-22 20:54   ` Thomas Petazzoni via buildroot
  2024-11-06 20:49   ` Peter Korsgaard
  2024-10-10 23:39 ` [Buildroot] [PATCH 2/3] boot/ti-k3-r5-loader: add option to include GnuTLS Bryan Brattlof via buildroot
  2024-10-10 23:39 ` [Buildroot] [PATCH 3/3] boot/ti-k3-r5-loader: bump to v2024.10 Bryan Brattlof via buildroot
  2 siblings, 2 replies; 11+ messages in thread
From: Bryan Brattlof via buildroot @ 2024-10-10 23:39 UTC (permalink / raw)
  To: buildroot; +Cc: Xuanhao Shi, Bryan Brattlof, Anand Gadiyar

The denx.de/wiki/U-Boot link now redirects to docs.u-boot.org/en/latest
Replace the link to the new location for the U-Boot documentation

Signed-off-by: Bryan Brattlof <bb@ti.com>
---
 boot/uboot/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in
index bfe61cd167d6b..8648d6eb7e908 100644
--- a/boot/uboot/Config.in
+++ b/boot/uboot/Config.in
@@ -3,7 +3,7 @@ config BR2_TARGET_UBOOT
 	help
 	  Build "Das U-Boot" Boot Monitor
 
-	  https://www.denx.de/wiki/U-Boot
+	  https://docs.u-boot.org/en/latest/
 
 if BR2_TARGET_UBOOT
 choice

-- 
2.46.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 2/3] boot/ti-k3-r5-loader: add option to include GnuTLS
  2024-10-10 23:39 [Buildroot] [PATCH 0/3] bump ti-k3-r5-loader version Bryan Brattlof via buildroot
  2024-10-10 23:39 ` [Buildroot] [PATCH 1/3] boot/uboot: update link to the U-Boot docs Bryan Brattlof via buildroot
@ 2024-10-10 23:39 ` Bryan Brattlof via buildroot
  2024-10-22 20:55   ` Thomas Petazzoni via buildroot
  2024-10-10 23:39 ` [Buildroot] [PATCH 3/3] boot/ti-k3-r5-loader: bump to v2024.10 Bryan Brattlof via buildroot
  2 siblings, 1 reply; 11+ messages in thread
From: Bryan Brattlof via buildroot @ 2024-10-10 23:39 UTC (permalink / raw)
  To: buildroot; +Cc: Xuanhao Shi, Bryan Brattlof, Anand Gadiyar

Newer versions of U-Boot may require the GnuTLS library to be installed
on the host machine before building. Add in an option to select GnuTLS
as a dependency to the ti-k3-r5-loader package

Signed-off-by: Bryan Brattlof <bb@ti.com>
---
 boot/ti-k3-r5-loader/Config.in          | 7 +++++++
 boot/ti-k3-r5-loader/ti-k3-r5-loader.mk | 4 ++++
 2 files changed, 11 insertions(+)

diff --git a/boot/ti-k3-r5-loader/Config.in b/boot/ti-k3-r5-loader/Config.in
index c276528fad50d..4d1661dfeda77 100644
--- a/boot/ti-k3-r5-loader/Config.in
+++ b/boot/ti-k3-r5-loader/Config.in
@@ -144,4 +144,11 @@ config BR2_TARGET_TI_K3_R5_LOADER_SYSFW_ITB
 	  If unsure, use the default sysfw.itb (symlink) generated by
 	  binman.
 
+config BR2_TARGET_TI_K3_R5_LOADER_NEEDS_GNUTLS
+	bool "ti-k3-r5-loader needs GnuTLS"
+	help
+	  Some newer versions of U-Boot require the GnuTLS library
+	  on the host machine. This is typically the case when the
+	  board configuration has CONFIG_TOOLS_MKEFICAPSULE enabled.
+
 endif
diff --git a/boot/ti-k3-r5-loader/ti-k3-r5-loader.mk b/boot/ti-k3-r5-loader/ti-k3-r5-loader.mk
index e426f039e021d..07f5f7b33f668 100644
--- a/boot/ti-k3-r5-loader/ti-k3-r5-loader.mk
+++ b/boot/ti-k3-r5-loader/ti-k3-r5-loader.mk
@@ -56,6 +56,10 @@ TI_K3_R5_LOADER_DEPENDENCIES = \
 	host-python-yamllint \
 	ti-k3-boot-firmware
 
+ifeq ($(BR2_TARGET_TI_K3_R5_LOADER_NEEDS_GNUTLS),y)
+TI_K3_R5_LOADER_DEPENDENCIES += host-gnutls
+endif
+
 TI_K3_R5_LOADER_MAKE = $(BR2_MAKE)
 TI_K3_R5_LOADER_MAKE_ENV = $(TARGET_MAKE_ENV)
 TI_K3_R5_LOADER_KCONFIG_DEPENDENCIES = \

-- 
2.46.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 3/3] boot/ti-k3-r5-loader: bump to v2024.10
  2024-10-10 23:39 [Buildroot] [PATCH 0/3] bump ti-k3-r5-loader version Bryan Brattlof via buildroot
  2024-10-10 23:39 ` [Buildroot] [PATCH 1/3] boot/uboot: update link to the U-Boot docs Bryan Brattlof via buildroot
  2024-10-10 23:39 ` [Buildroot] [PATCH 2/3] boot/ti-k3-r5-loader: add option to include GnuTLS Bryan Brattlof via buildroot
@ 2024-10-10 23:39 ` Bryan Brattlof via buildroot
  2024-10-22 20:55   ` Thomas Petazzoni via buildroot
  2 siblings, 1 reply; 11+ messages in thread
From: Bryan Brattlof via buildroot @ 2024-10-10 23:39 UTC (permalink / raw)
  To: buildroot; +Cc: Xuanhao Shi, Bryan Brattlof, Anand Gadiyar

A new version of U-Boot has been released. Update to this latest version
to pull in the latest features and bug fixes

Signed-off-by: Bryan Brattlof <bb@ti.com>
---
 boot/ti-k3-r5-loader/Config.in            | 4 ++--
 boot/ti-k3-r5-loader/ti-k3-r5-loader.hash | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/boot/ti-k3-r5-loader/Config.in b/boot/ti-k3-r5-loader/Config.in
index 4d1661dfeda77..ac6fcad91abcd 100644
--- a/boot/ti-k3-r5-loader/Config.in
+++ b/boot/ti-k3-r5-loader/Config.in
@@ -17,7 +17,7 @@ choice
 	  here as it is used to build the main U-Boot package.
 
 config BR2_TARGET_TI_K3_R5_LOADER_LATEST_VERSION
-	bool "2024.04"
+	bool "2024.10"
 
 config BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION
 	bool "Custom version"
@@ -61,7 +61,7 @@ endif
 
 config BR2_TARGET_TI_K3_R5_LOADER_VERSION
 	string
-	default "2024.04"	if BR2_TARGET_TI_K3_R5_LOADER_LATEST_VERSION
+	default "2024.10"	if BR2_TARGET_TI_K3_R5_LOADER_LATEST_VERSION
 	default BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION_VALUE \
 		if BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_VERSION
 	default "custom"	if BR2_TARGET_TI_K3_R5_LOADER_CUSTOM_TARBALL
diff --git a/boot/ti-k3-r5-loader/ti-k3-r5-loader.hash b/boot/ti-k3-r5-loader/ti-k3-r5-loader.hash
index a8021fb696b1a..af025a583e44c 100644
--- a/boot/ti-k3-r5-loader/ti-k3-r5-loader.hash
+++ b/boot/ti-k3-r5-loader/ti-k3-r5-loader.hash
@@ -1,3 +1,3 @@
 # Locally computed:
-sha256  18a853fe39fad7ad03a90cc2d4275aeaed6da69735defac3492b80508843dd4a  u-boot-2024.04.tar.bz2
+sha256  b28daf4ac17e43156363078bf510297584137f6df50fced9b12df34f61a92fb0  u-boot-2024.10.tar.bz2
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  Licenses/gpl-2.0.txt

-- 
2.46.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [Buildroot] [PATCH 1/3] boot/uboot: update link to the U-Boot docs
  2024-10-10 23:39 ` [Buildroot] [PATCH 1/3] boot/uboot: update link to the U-Boot docs Bryan Brattlof via buildroot
@ 2024-10-22 20:54   ` Thomas Petazzoni via buildroot
  2024-11-06 20:49   ` Peter Korsgaard
  1 sibling, 0 replies; 11+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-10-22 20:54 UTC (permalink / raw)
  To: Bryan Brattlof via buildroot; +Cc: Bryan Brattlof, Xuanhao Shi, Anand Gadiyar

On Thu, 10 Oct 2024 18:39:22 -0500
Bryan Brattlof via buildroot <buildroot@buildroot.org> wrote:

> The denx.de/wiki/U-Boot link now redirects to docs.u-boot.org/en/latest
> Replace the link to the new location for the U-Boot documentation
> 
> Signed-off-by: Bryan Brattlof <bb@ti.com>
> ---
>  boot/uboot/Config.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Buildroot] [PATCH 2/3] boot/ti-k3-r5-loader: add option to include GnuTLS
  2024-10-10 23:39 ` [Buildroot] [PATCH 2/3] boot/ti-k3-r5-loader: add option to include GnuTLS Bryan Brattlof via buildroot
@ 2024-10-22 20:55   ` Thomas Petazzoni via buildroot
  2024-10-23 14:33     ` Bryan Brattlof via buildroot
  0 siblings, 1 reply; 11+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-10-22 20:55 UTC (permalink / raw)
  To: Bryan Brattlof via buildroot; +Cc: Bryan Brattlof, Xuanhao Shi, Anand Gadiyar

Hello Bryan,

On Thu, 10 Oct 2024 18:39:23 -0500
Bryan Brattlof via buildroot <buildroot@buildroot.org> wrote:

> Newer versions of U-Boot may require the GnuTLS library to be installed
> on the host machine before building. Add in an option to select GnuTLS
> as a dependency to the ti-k3-r5-loader package

Do you really expect to enable CONFIG_TOOLS_MKEFICAPSULE in the
Cortex-R5 U-Boot stage? I'm just trying to understand if this commit is
"let's do exactly like U-Boot does" or "there is really a use-case for
this".

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Buildroot] [PATCH 3/3] boot/ti-k3-r5-loader: bump to v2024.10
  2024-10-10 23:39 ` [Buildroot] [PATCH 3/3] boot/ti-k3-r5-loader: bump to v2024.10 Bryan Brattlof via buildroot
@ 2024-10-22 20:55   ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-10-22 20:55 UTC (permalink / raw)
  To: Bryan Brattlof via buildroot; +Cc: Bryan Brattlof, Xuanhao Shi, Anand Gadiyar

On Thu, 10 Oct 2024 18:39:24 -0500
Bryan Brattlof via buildroot <buildroot@buildroot.org> wrote:

> A new version of U-Boot has been released. Update to this latest version
> to pull in the latest features and bug fixes
> 
> Signed-off-by: Bryan Brattlof <bb@ti.com>
> ---
>  boot/ti-k3-r5-loader/Config.in            | 4 ++--
>  boot/ti-k3-r5-loader/ti-k3-r5-loader.hash | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Buildroot] [PATCH 2/3] boot/ti-k3-r5-loader: add option to include GnuTLS
  2024-10-22 20:55   ` Thomas Petazzoni via buildroot
@ 2024-10-23 14:33     ` Bryan Brattlof via buildroot
  2024-10-23 14:41       ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 11+ messages in thread
From: Bryan Brattlof via buildroot @ 2024-10-23 14:33 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: Bryan Brattlof via buildroot, Xuanhao Shi, Anand Gadiyar

Hi Thomas!

On October 22, 2024 thus sayeth Thomas Petazzoni:
> Hello Bryan,
> 
> On Thu, 10 Oct 2024 18:39:23 -0500
> Bryan Brattlof via buildroot <buildroot@buildroot.org> wrote:
> 
> > Newer versions of U-Boot may require the GnuTLS library to be installed
> > on the host machine before building. Add in an option to select GnuTLS
> > as a dependency to the ti-k3-r5-loader package
> 
> Do you really expect to enable CONFIG_TOOLS_MKEFICAPSULE in the
> Cortex-R5 U-Boot stage? I'm just trying to understand if this commit is
> "let's do exactly like U-Boot does" or "there is really a use-case for
> this".
>

Yeah I probably should have given more detail in the commit message :)

I don't expect many boards to need this option in buildroot especially 
if they target build systems which builds U-Boot themselves.

It's only really our reference boards and boards who are targeting the 
SystemReady IR spec that need to encapsulate all the boot binaries to 
take advantage of updating the binaries via the UEFI firmware management 
protocol. 

I know the Linaro people require this for testing boards in their lab. 
My hope is the industry coalesces towards some type of standard to boot 
a distribution and update firmware binaries but time will tell :)

~Bryan

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Buildroot] [PATCH 2/3] boot/ti-k3-r5-loader: add option to include GnuTLS
  2024-10-23 14:33     ` Bryan Brattlof via buildroot
@ 2024-10-23 14:41       ` Thomas Petazzoni via buildroot
  2024-10-24 22:38         ` Bryan Brattlof via buildroot
  0 siblings, 1 reply; 11+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-10-23 14:41 UTC (permalink / raw)
  To: Bryan Brattlof; +Cc: Bryan Brattlof via buildroot, Xuanhao Shi, Anand Gadiyar

Hello Bryan,

On Wed, 23 Oct 2024 09:33:01 -0500
Bryan Brattlof <bb@ti.com> wrote:

> Yeah I probably should have given more detail in the commit message :)
> 
> I don't expect many boards to need this option in buildroot especially 
> if they target build systems which builds U-Boot themselves.
> 
> It's only really our reference boards and boards who are targeting the 
> SystemReady IR spec that need to encapsulate all the boot binaries to 
> take advantage of updating the binaries via the UEFI firmware management 
> protocol. 

But even in this case, you need mkeficapsule support in the Cortex-R5
firmware? That the main U-Boot needs EFI support, I can understand, but
the Cortex-R5 firmware?

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Buildroot] [PATCH 2/3] boot/ti-k3-r5-loader: add option to include GnuTLS
  2024-10-23 14:41       ` Thomas Petazzoni via buildroot
@ 2024-10-24 22:38         ` Bryan Brattlof via buildroot
  0 siblings, 0 replies; 11+ messages in thread
From: Bryan Brattlof via buildroot @ 2024-10-24 22:38 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: Bryan Brattlof via buildroot, Xuanhao Shi, Anand Gadiyar

On October 23, 2024 thus sayeth Thomas Petazzoni:
> Hello Bryan,
> 
> On Wed, 23 Oct 2024 09:33:01 -0500
> Bryan Brattlof <bb@ti.com> wrote:
> 
> > Yeah I probably should have given more detail in the commit message :)
> > 
> > I don't expect many boards to need this option in buildroot especially 
> > if they target build systems which builds U-Boot themselves.
> > 
> > It's only really our reference boards and boards who are targeting the 
> > SystemReady IR spec that need to encapsulate all the boot binaries to 
> > take advantage of updating the binaries via the UEFI firmware management 
> > protocol. 
> 
> But even in this case, you need mkeficapsule support in the Cortex-R5
> firmware? That the main U-Boot needs EFI support, I can understand, but
> the Cortex-R5 firmware?
> 

Ah I miss understood. I went a double checked as I wasn't too sure 
myself but yeah from my understanding we'll need the mkeficapsule tool 
to be built for the 'binman' packaging phase to generate the final 
capsule for all the boot images including the tiboot3.bin images.

  https://source.denx.de/u-boot/u-boot/-/blob/v2024.10/arch/arm/dts/k3-binman-capsule-r5.dtsi
  https://source.denx.de/u-boot/u-boot/-/blob/v2024.10/arch/arm/dts/k3-binman-capsule.dtsi

  https://source.denx.de/u-boot/u-boot/-/blob/v2024.10/tools/binman/etype/efi_capsule.py

~Bryan

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [Buildroot] [PATCH 1/3] boot/uboot: update link to the U-Boot docs
  2024-10-10 23:39 ` [Buildroot] [PATCH 1/3] boot/uboot: update link to the U-Boot docs Bryan Brattlof via buildroot
  2024-10-22 20:54   ` Thomas Petazzoni via buildroot
@ 2024-11-06 20:49   ` Peter Korsgaard
  1 sibling, 0 replies; 11+ messages in thread
From: Peter Korsgaard @ 2024-11-06 20:49 UTC (permalink / raw)
  To: Bryan Brattlof via buildroot; +Cc: Bryan Brattlof, Xuanhao Shi, Anand Gadiyar

>>>>> "Bryan" == Bryan Brattlof via buildroot <buildroot@buildroot.org> writes:

 > The denx.de/wiki/U-Boot link now redirects to docs.u-boot.org/en/latest
 > Replace the link to the new location for the U-Boot documentation

 > Signed-off-by: Bryan Brattlof <bb@ti.com>

Committed to 2024.02.x and 2024.08.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-11-06 20:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-10 23:39 [Buildroot] [PATCH 0/3] bump ti-k3-r5-loader version Bryan Brattlof via buildroot
2024-10-10 23:39 ` [Buildroot] [PATCH 1/3] boot/uboot: update link to the U-Boot docs Bryan Brattlof via buildroot
2024-10-22 20:54   ` Thomas Petazzoni via buildroot
2024-11-06 20:49   ` Peter Korsgaard
2024-10-10 23:39 ` [Buildroot] [PATCH 2/3] boot/ti-k3-r5-loader: add option to include GnuTLS Bryan Brattlof via buildroot
2024-10-22 20:55   ` Thomas Petazzoni via buildroot
2024-10-23 14:33     ` Bryan Brattlof via buildroot
2024-10-23 14:41       ` Thomas Petazzoni via buildroot
2024-10-24 22:38         ` Bryan Brattlof via buildroot
2024-10-10 23:39 ` [Buildroot] [PATCH 3/3] boot/ti-k3-r5-loader: bump to v2024.10 Bryan Brattlof via buildroot
2024-10-22 20:55   ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox