u-boot: Migrate to git mirror

Message ID 20261110161532.1940455-1-akarpovich@ilbers.de
State New
Headers show
Series u-boot: Migrate to git mirror | expand

Commit Message

Aliaksei Karpovich Nov. 10, 2026, 4:15 p.m. UTC
The ftp.denx.de mirror is no more accessable, so move to git releases usage.
---
 meta-isar/recipes-bsp/u-boot/u-boot-2020.10.inc                | 2 +-
 meta-isar/recipes-bsp/u-boot/u-boot-beagleplay_2025.10.bb      | 2 +-
 .../recipes-bsp/u-boot/u-boot-starfive-visionfive2_2024.01.bb  | 3 ++-
 3 files changed, 4 insertions(+), 3 deletions(-)

Comments

Jan Kiszka Nov. 10, 2026, 4:26 p.m. UTC | #1
On 10.11.26 17:15, Aliaksei Karpovich wrote:
> The ftp.denx.de mirror is no more accessable, so move to git releases usage.

Missing signed-off.

> ---
>  meta-isar/recipes-bsp/u-boot/u-boot-2020.10.inc                | 2 +-
>  meta-isar/recipes-bsp/u-boot/u-boot-beagleplay_2025.10.bb      | 2 +-
>  .../recipes-bsp/u-boot/u-boot-starfive-visionfive2_2024.01.bb  | 3 ++-
>  3 files changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/meta-isar/recipes-bsp/u-boot/u-boot-2020.10.inc b/meta-isar/recipes-bsp/u-boot/u-boot-2020.10.inc
> index 8ae1b8d0..be303bac 100644
> --- a/meta-isar/recipes-bsp/u-boot/u-boot-2020.10.inc
> +++ b/meta-isar/recipes-bsp/u-boot/u-boot-2020.10.inc
> @@ -6,7 +6,7 @@
>  inherit u-boot
>  
>  SRC_URI += " \
> -    https://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \
> +    https://git.u-boot-project.org/u-boot/u-boot/-/releases/v${PV}/downloads/u-boot-${PV}.tar.bz2 \
>      "
>  SRC_URI[sha256sum] = "0d481bbdc05c0ee74908ec2f56a6daa53166cc6a78a0e4fac2ac5d025770a622"
>  
> diff --git a/meta-isar/recipes-bsp/u-boot/u-boot-beagleplay_2025.10.bb b/meta-isar/recipes-bsp/u-boot/u-boot-beagleplay_2025.10.bb
> index a40d4e04..dcf0e8a0 100644
> --- a/meta-isar/recipes-bsp/u-boot/u-boot-beagleplay_2025.10.bb
> +++ b/meta-isar/recipes-bsp/u-boot/u-boot-beagleplay_2025.10.bb
> @@ -12,7 +12,7 @@ MAINTAINER = "isar-users <isar-users@googlegroups.com>"
>  TI_FIRMWARE_SRCREV = "0a37dc07b1120127eba73c7196a0b532350b9639"
>  
>  SRC_URI += " \
> -    https://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \
> +    https://git.u-boot-project.org/u-boot/u-boot/-/releases/v${PV}/downloads/u-boot-${PV}.tar.bz2 \
>      https://github.com/TexasInstruments/ti-linux-firmware/raw/${TI_FIRMWARE_SRCREV}/ti-sysfw/ti-fs-firmware-am62x-gp.bin;downloadfilename=ti-fs-firmware-am62x-gp.bin;name=sysfw \
>      https://github.com/TexasInstruments/ti-linux-firmware/raw/${TI_FIRMWARE_SRCREV}/ti-sysfw/ti-fs-stub-firmware-am62x-gp.bin;downloadfilename=ti-fs-stub-firmware-am62x-gp.bin;name=sysfw-stub \
>      https://github.com/TexasInstruments/ti-linux-firmware/raw/${TI_FIRMWARE_SRCREV}/ti-dm/am62xx/ipc_echo_testb_mcu1_0_release_strip.xer5f;downloadfilename=ipc_echo_testb_mcu1_0_release_strip.xer5f;name=dm \
> diff --git a/meta-isar/recipes-bsp/u-boot/u-boot-starfive-visionfive2_2024.01.bb b/meta-isar/recipes-bsp/u-boot/u-boot-starfive-visionfive2_2024.01.bb
> index 7abba742..a40fbf54 100644
> --- a/meta-isar/recipes-bsp/u-boot/u-boot-starfive-visionfive2_2024.01.bb
> +++ b/meta-isar/recipes-bsp/u-boot/u-boot-starfive-visionfive2_2024.01.bb
> @@ -9,7 +9,8 @@ MAINTAINER = "isar-users <isar-users@googlegroups.com>"
>  
>  COMPATIBLE_MACHINE = "^(starfive-visionfive2)$"
>  
> -SRC_URI += "https://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \
> +SRC_URI += " \
> +    https://git.u-boot-project.org/u-boot/u-boot/-/releases/v${PV}/downloads/u-boot-${PV}.tar.bz2 \
>      file://0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch \
>      file://starfive-visionfive2-rules.tmpl"
>  SRC_URI[sha256sum] = "b99611f1ed237bf3541bdc8434b68c96a6e05967061f992443cb30aabebef5b3"

Ah, using the release artifacts is actually better than the generated
archives [1] - less load on the server, likely faster access.

Jan

[1]
https://gitlab.com/cip-project/cip-core/isar-cip-core/-/commit/ab5c16004580286d1a0d1aeabf1029a62a113019

Patch

diff --git a/meta-isar/recipes-bsp/u-boot/u-boot-2020.10.inc b/meta-isar/recipes-bsp/u-boot/u-boot-2020.10.inc
index 8ae1b8d0..be303bac 100644
--- a/meta-isar/recipes-bsp/u-boot/u-boot-2020.10.inc
+++ b/meta-isar/recipes-bsp/u-boot/u-boot-2020.10.inc
@@ -6,7 +6,7 @@ 
 inherit u-boot
 
 SRC_URI += " \
-    https://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \
+    https://git.u-boot-project.org/u-boot/u-boot/-/releases/v${PV}/downloads/u-boot-${PV}.tar.bz2 \
     "
 SRC_URI[sha256sum] = "0d481bbdc05c0ee74908ec2f56a6daa53166cc6a78a0e4fac2ac5d025770a622"
 
diff --git a/meta-isar/recipes-bsp/u-boot/u-boot-beagleplay_2025.10.bb b/meta-isar/recipes-bsp/u-boot/u-boot-beagleplay_2025.10.bb
index a40d4e04..dcf0e8a0 100644
--- a/meta-isar/recipes-bsp/u-boot/u-boot-beagleplay_2025.10.bb
+++ b/meta-isar/recipes-bsp/u-boot/u-boot-beagleplay_2025.10.bb
@@ -12,7 +12,7 @@  MAINTAINER = "isar-users <isar-users@googlegroups.com>"
 TI_FIRMWARE_SRCREV = "0a37dc07b1120127eba73c7196a0b532350b9639"
 
 SRC_URI += " \
-    https://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \
+    https://git.u-boot-project.org/u-boot/u-boot/-/releases/v${PV}/downloads/u-boot-${PV}.tar.bz2 \
     https://github.com/TexasInstruments/ti-linux-firmware/raw/${TI_FIRMWARE_SRCREV}/ti-sysfw/ti-fs-firmware-am62x-gp.bin;downloadfilename=ti-fs-firmware-am62x-gp.bin;name=sysfw \
     https://github.com/TexasInstruments/ti-linux-firmware/raw/${TI_FIRMWARE_SRCREV}/ti-sysfw/ti-fs-stub-firmware-am62x-gp.bin;downloadfilename=ti-fs-stub-firmware-am62x-gp.bin;name=sysfw-stub \
     https://github.com/TexasInstruments/ti-linux-firmware/raw/${TI_FIRMWARE_SRCREV}/ti-dm/am62xx/ipc_echo_testb_mcu1_0_release_strip.xer5f;downloadfilename=ipc_echo_testb_mcu1_0_release_strip.xer5f;name=dm \
diff --git a/meta-isar/recipes-bsp/u-boot/u-boot-starfive-visionfive2_2024.01.bb b/meta-isar/recipes-bsp/u-boot/u-boot-starfive-visionfive2_2024.01.bb
index 7abba742..a40fbf54 100644
--- a/meta-isar/recipes-bsp/u-boot/u-boot-starfive-visionfive2_2024.01.bb
+++ b/meta-isar/recipes-bsp/u-boot/u-boot-starfive-visionfive2_2024.01.bb
@@ -9,7 +9,8 @@  MAINTAINER = "isar-users <isar-users@googlegroups.com>"
 
 COMPATIBLE_MACHINE = "^(starfive-visionfive2)$"
 
-SRC_URI += "https://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \
+SRC_URI += " \
+    https://git.u-boot-project.org/u-boot/u-boot/-/releases/v${PV}/downloads/u-boot-${PV}.tar.bz2 \
     file://0001-scripts-dtc-pylibfdt-libfdt.i_shipped-Use-SWIG_Appen.patch \
     file://starfive-visionfive2-rules.tmpl"
 SRC_URI[sha256sum] = "b99611f1ed237bf3541bdc8434b68c96a6e05967061f992443cb30aabebef5b3"