Skip to contentSkip to conversation

boot/uboot: Change from FTP to HTTP for official releases

PATCH Superseded Joachim Nilsson 2 participants 3 messages Jun 4, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 boot/uboot: Change from FTP to HTTP for official releases

The HTTP URL seems to be more reliable and quicker for download than FTP. FTP may also be a blocked protocol on some sites and in CI/CD setups.

---
 boot/uboot/uboot.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
boot/uboot/uboot.mk +1 -1
index 1d50e72846..ede14fe234 100644
@@ -33,7 +33,7 @@ UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL))
 UBOOT_SITE_METHOD = svn
 else
 # Handle stable official U-Boot versions
-UBOOT_SITE = ftp://ftp.denx.de/pub/u-boot
+UBOOT_SITE = http://ftp.denx.de/pub/u-boot
 UBOOT_SOURCE = u-boot-$(UBOOT_VERSION).tar.bz2
 endif
 
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 boot/uboot: Change from FTP to HTTP for official releases

Hi Joachim,

Quoted 13 lines · Joachim Nilsson

The HTTP URL seems to be more reliable and quicker for download than FTP. FTP may also be a blocked protocol on some sites and in CI/CD setups.

---
 boot/uboot/uboot.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
boot/uboot/uboot.mk +0 -0
index 1d50e72846..ede14fe234 100644

boot/uboot/uboot.mk UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)) · line 36

Quoted 5 lines
boot/uboot/uboot.mk +1 -1
@@ -33,7 +33,7 @@ UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL))
 UBOOT_SITE_METHOD = svn
 else
 # Handle stable official U-Boot versions
-UBOOT_SITE = ftp://ftp.denx.de/pub/u-boot
+UBOOT_SITE = http://ftp.denx.de/pub/u-boot

This URL redirects to https. Better use https directly.

baruch

Quoted 2 lines
boot/uboot/uboot.mk +0 -0
 UBOOT_SOURCE = u-boot-$(UBOOT_VERSION).tar.bz2
 endif
Signature · 3 lines
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
#2 lore raw

PATCH 1/1 boot/uboot: Change from FTP to HTTP for official releases

Quoted 4 lines · Baruch Siach

boot/uboot/uboot.mk UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)) · line 36

Quoted 2 lines · Joachim Nilsson
boot/uboot/uboot.mk +1 -1
-UBOOT_SITE = ftp://ftp.denx.de/pub/u-boot
+UBOOT_SITE = http://ftp.denx.de/pub/u-boot

This URL redirects to https. Better use https directly.

Argh! Thanks for taking the time to audit this, Baruch! :) I'll send a v2 patch shortly.

Regards
/Joachim