Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/picotool, pico-sdk: Bump version to 2.1.1
@ 2025-08-05  0:03 Jesse Taube
  2025-08-05  0:03 ` [Buildroot] [PATCH 2/2] package/pico-sdk: Clone submodules for picotool Jesse Taube
  2026-01-06 21:09 ` [Buildroot] [PATCH 1/2] package/picotool, pico-sdk: Bump version to 2.1.1 Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 5+ messages in thread
From: Jesse Taube @ 2025-08-05  0:03 UTC (permalink / raw)
  To: buildroot; +Cc: Jesse Taube, Thomas Petazzoni, Marcus Hoffmann

pico-sdk and picotool 2.x.x adds support for the rp2350 bump package to
latest version.

Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com>
---
 package/pico-sdk/pico-sdk.hash | 2 +-
 package/pico-sdk/pico-sdk.mk   | 2 +-
 package/picotool/picotool.hash | 2 +-
 package/picotool/picotool.mk   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/pico-sdk/pico-sdk.hash b/package/pico-sdk/pico-sdk.hash
index 5db7e8bdb4..6d40417f3a 100644
--- a/package/pico-sdk/pico-sdk.hash
+++ b/package/pico-sdk/pico-sdk.hash
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  95f5e522be3919e36a47975ffd3b208c38880c14468bd489ac672cfe3cec803c  pico-sdk-1.5.1.tar.gz
+sha256  979af5c5aa5a07990544bc65e24a2121c096abd72ad0e6a03e7c524302e0f26e  pico-sdk-2.1.1.tar.gz
 sha256  483f865953435b66c443dee7558debe3cc3cf8fcbb6a112fd9fc6a795d53f1f6  LICENSE.TXT
diff --git a/package/pico-sdk/pico-sdk.mk b/package/pico-sdk/pico-sdk.mk
index 27930651b9..cf487ac568 100644
--- a/package/pico-sdk/pico-sdk.mk
+++ b/package/pico-sdk/pico-sdk.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PICO_SDK_VERSION = 1.5.1
+PICO_SDK_VERSION = 2.1.1
 PICO_SDK_SITE = $(call github,raspberrypi,pico-sdk,$(PICO_SDK_VERSION))
 PICO_SDK_LICENSE = BSD-3-Clause
 PICO_SDK_LICENSE_FILES = LICENSE.TXT
diff --git a/package/picotool/picotool.hash b/package/picotool/picotool.hash
index 26b790d968..3ebd592430 100644
--- a/package/picotool/picotool.hash
+++ b/package/picotool/picotool.hash
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  f1746ead7815c13be1152f0645db8ea3b277628eb0110d42a0a186db37d40a91  picotool-1.1.2.tar.gz
+sha256  19200c6dc4be5acd6fb53de3d7f35c826af596c18879d56f214b795300100260  picotool-2.1.1.tar.gz
 sha256  483f865953435b66c443dee7558debe3cc3cf8fcbb6a112fd9fc6a795d53f1f6  LICENSE.TXT
diff --git a/package/picotool/picotool.mk b/package/picotool/picotool.mk
index 42f74fb244..bc76900c07 100644
--- a/package/picotool/picotool.mk
+++ b/package/picotool/picotool.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PICOTOOL_VERSION = 1.1.2
+PICOTOOL_VERSION = 2.1.1
 PICOTOOL_SITE = $(call github,raspberrypi,picotool,$(PICOTOOL_VERSION))
 PICOTOOL_CONF_OPTS = -DPICO_SDK_PATH=$(STAGING_DIR)/usr/share/pico-sdk
 PICOTOOL_DEPENDENCIES = libusb pico-sdk
-- 
2.49.0

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

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

* [Buildroot] [PATCH 2/2] package/pico-sdk: Clone submodules for picotool
  2025-08-05  0:03 [Buildroot] [PATCH 1/2] package/picotool, pico-sdk: Bump version to 2.1.1 Jesse Taube
@ 2025-08-05  0:03 ` Jesse Taube
  2026-01-06 21:12   ` Thomas Petazzoni via buildroot
  2026-01-06 21:09 ` [Buildroot] [PATCH 1/2] package/picotool, pico-sdk: Bump version to 2.1.1 Thomas Petazzoni via buildroot
  1 sibling, 1 reply; 5+ messages in thread
From: Jesse Taube @ 2025-08-05  0:03 UTC (permalink / raw)
  To: buildroot; +Cc: Jesse Taube, Thomas Petazzoni, Marcus Hoffmann

picotool needs mbedtls for --hash --sign and --offset.
Clone submodules in pico-sdk to provide the nessasaary files for
picotool to build and link mbedtls and other optional libraries.

Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com>
---
 package/pico-sdk/pico-sdk.hash | 2 +-
 package/pico-sdk/pico-sdk.mk   | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/package/pico-sdk/pico-sdk.hash b/package/pico-sdk/pico-sdk.hash
index 6d40417f3a..a7028cfa1d 100644
--- a/package/pico-sdk/pico-sdk.hash
+++ b/package/pico-sdk/pico-sdk.hash
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  979af5c5aa5a07990544bc65e24a2121c096abd72ad0e6a03e7c524302e0f26e  pico-sdk-2.1.1.tar.gz
+sha256  9f50e041d5f5afa7d7d0dd0d7dad46e524e9702c7d07ea3f445556c35afa226d  pico-sdk-refs_tags_2.1.1-git4.tar.gz
 sha256  483f865953435b66c443dee7558debe3cc3cf8fcbb6a112fd9fc6a795d53f1f6  LICENSE.TXT
diff --git a/package/pico-sdk/pico-sdk.mk b/package/pico-sdk/pico-sdk.mk
index cf487ac568..45db495623 100644
--- a/package/pico-sdk/pico-sdk.mk
+++ b/package/pico-sdk/pico-sdk.mk
@@ -4,8 +4,10 @@
 #
 ################################################################################
 
-PICO_SDK_VERSION = 2.1.1
-PICO_SDK_SITE = $(call github,raspberrypi,pico-sdk,$(PICO_SDK_VERSION))
+PICO_SDK_VERSION = refs/tags/2.1.1
+PICO_SDK_SITE = https://git@github.com/raspberrypi/pico-sdk.git
+PICO_SDK_SITE_METHOD = git
+PICO_SDK_GIT_SUBMODULES = YES
 PICO_SDK_LICENSE = BSD-3-Clause
 PICO_SDK_LICENSE_FILES = LICENSE.TXT
 PICO_SDK_INSTALL_STAGING = YES
-- 
2.49.0

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

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

* Re: [Buildroot] [PATCH 1/2] package/picotool, pico-sdk: Bump version to 2.1.1
  2025-08-05  0:03 [Buildroot] [PATCH 1/2] package/picotool, pico-sdk: Bump version to 2.1.1 Jesse Taube
  2025-08-05  0:03 ` [Buildroot] [PATCH 2/2] package/pico-sdk: Clone submodules for picotool Jesse Taube
@ 2026-01-06 21:09 ` Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 5+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-01-06 21:09 UTC (permalink / raw)
  To: Jesse Taube; +Cc: buildroot, Marcus Hoffmann

Hello Jesse,

Sorry for the delay in getting back to you.

On Mon,  4 Aug 2025 20:03:51 -0400
Jesse Taube <mr.bossman075@gmail.com> wrote:

> pico-sdk and picotool 2.x.x adds support for the rp2350 bump package to
> latest version.
> 
> Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com>

This commit breaks the download:

ERROR: while checking hashes from package/pico-sdk/pico-sdk.hash
ERROR: pico-sdk-2.1.1.tar.gz has wrong sha256 hash:
ERROR: expected: 979af5c5aa5a07990544bc65e24a2121c096abd72ad0e6a03e7c524302e0f26e
ERROR: got     : 179c5531e75ac7f82d0679e70b6e8881f871738dc0ef17baf3b4ff4679291c41
ERROR: Incomplete download, or man-in-the-middle (MITM) attack

Also, I'll reply to PATCH 2/2, because I'm not sure it should be a
separate patch.

Thanks!

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] 5+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/pico-sdk: Clone submodules for picotool
  2025-08-05  0:03 ` [Buildroot] [PATCH 2/2] package/pico-sdk: Clone submodules for picotool Jesse Taube
@ 2026-01-06 21:12   ` Thomas Petazzoni via buildroot
  2026-01-12 21:20     ` Jesse T
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-01-06 21:12 UTC (permalink / raw)
  To: Jesse Taube; +Cc: buildroot, Marcus Hoffmann

On Mon,  4 Aug 2025 20:03:52 -0400
Jesse Taube <mr.bossman075@gmail.com> wrote:

> picotool needs mbedtls for --hash --sign and --offset.
> Clone submodules in pico-sdk to provide the nessasaary files for

                                              ^^^^^^^^^^ typo

> picotool to build and link mbedtls and other optional libraries.
> 
> Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com>

But then does that mean that your PATCH 1/2, without PATCH 2/2, breaks
the build of picotool?

If that's the case, then you should do this change to use submodules
directly in PATCH 1/2, as part of the bump, so that the build works
between every patch we apply.


> -PICO_SDK_VERSION = 2.1.1
> -PICO_SDK_SITE = $(call github,raspberrypi,pico-sdk,$(PICO_SDK_VERSION))
> +PICO_SDK_VERSION = refs/tags/2.1.1

Just "2.1.1" should be fine here

> +PICO_SDK_SITE = https://git@github.com/raspberrypi/pico-sdk.git

Should be just https://github.com/raspberrypi/pico-sdk.git

Has anyone reported to upstream that their release tarball should
contain the submodules?

Thanks!

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] 5+ messages in thread

* Re: [Buildroot] [PATCH 2/2] package/pico-sdk: Clone submodules for picotool
  2026-01-06 21:12   ` Thomas Petazzoni via buildroot
@ 2026-01-12 21:20     ` Jesse T
  0 siblings, 0 replies; 5+ messages in thread
From: Jesse T @ 2026-01-12 21:20 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: buildroot, Marcus Hoffmann

On Tue, Jan 6, 2026, 4:12 PM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> On Mon,  4 Aug 2025 20:03:52 -0400
> Jesse Taube <mr.bossman075@gmail.com> wrote:
>
> > picotool needs mbedtls for --hash --sign and --offset.
> > Clone submodules in pico-sdk to provide the nessasaary files for
>
>                                               ^^^^^^^^^^ typo
>
> > picotool to build and link mbedtls and other optional libraries.
> >
> > Signed-off-by: Jesse Taube <Mr.Bossman075@gmail.com>
>
> But then does that mean that your PATCH 1/2, without PATCH 2/2, breaks
> the build of picotool?


No. Picotool will compile and work without the submodules. This just
allows optional features for picotool. The reason I want them is
because when building a project for the pi pico 2 it requires them,
whereas for the original pico it doesn't.

As for why I sent two patches is because the first bumps both picosdk
and picotool while this only adds submodules to pico-sdk. I can squash
them though.

>
> If that's the case, then you should do this change to use submodules
> directly in PATCH 1/2, as part of the bump, so that the build works
> between every patch we apply.
>
>
> > -PICO_SDK_VERSION = 2.1.1
> > -PICO_SDK_SITE = $(call github,raspberrypi,pico-sdk,$(PICO_SDK_VERSION))
> > +PICO_SDK_VERSION = refs/tags/2.1.1
>
> Just "2.1.1" should be fine here


I put that because git warns
"warning: refname '2.1.1' is ambiguous."

>
> > +PICO_SDK_SITE = https://git@github.com/raspberrypi/pico-sdk.git
>
> Should be just https://github.com/raspberrypi/pico-sdk.git
>
> Has anyone reported to upstream that their release tarball should
> contain the submodules?


I honestly didn't think that I'll make an issue for it.
Also don't worry about the late reply, it coincided with me working on
this project again.

Thanks,
Jesse Taube

>
> Thanks!
>
> 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] 5+ messages in thread

end of thread, other threads:[~2026-01-12 21:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-05  0:03 [Buildroot] [PATCH 1/2] package/picotool, pico-sdk: Bump version to 2.1.1 Jesse Taube
2025-08-05  0:03 ` [Buildroot] [PATCH 2/2] package/pico-sdk: Clone submodules for picotool Jesse Taube
2026-01-06 21:12   ` Thomas Petazzoni via buildroot
2026-01-12 21:20     ` Jesse T
2026-01-06 21:09 ` [Buildroot] [PATCH 1/2] package/picotool, pico-sdk: Bump version to 2.1.1 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