* [ptxdist] [PATCH] u-boot: hopefully fix download URL
@ 2015-10-09 8:05 Markus Niebel
2015-10-12 9:21 ` Marc Kleine-Budde
0 siblings, 1 reply; 5+ messages in thread
From: Markus Niebel @ 2015-10-09 8:05 UTC (permalink / raw)
To: ptxdist; +Cc: m.olbrich, mkl, Markus Niebel
From: Markus Niebel <Markus.Niebel@tq-group.com>
Use the ftp server only via ftp protocol. Other URL and protocols
gets redirected and cause download to fail. u-boot-tools uses already
the correct URL.
See also www.denx.de/wiki/U-Boot/SourceCode
Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
---
rules/u-boot.make | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/rules/u-boot.make b/rules/u-boot.make
index 79aa33e..6dd2e43 100644
--- a/rules/u-boot.make
+++ b/rules/u-boot.make
@@ -21,11 +21,7 @@ U_BOOT_VERSION := $(call remove_quotes,$(PTXCONF_U_BOOT_VERSION))
U_BOOT_MD5 := $(call remove_quotes,$(PTXCONF_U_BOOT_MD5))
U_BOOT := u-boot-$(U_BOOT_VERSION)
U_BOOT_SUFFIX := tar.bz2
-U_BOOT_URL := \
- ftp://ftp.denx.de/pub/u-boot/$(U_BOOT).$(U_BOOT_SUFFIX) \
- http://ftp.denx.de/pub/u-boot/$(U_BOOT).$(U_BOOT_SUFFIX) \
- https://ftp.denx.de/pub/u-boot/$(U_BOOT).$(U_BOOT_SUFFIX) \
- https://ftp.denx.de/pub/u-boot/$(U_BOOT).$(U_BOOT_SUFFIX);no-check-certificate
+U_BOOT_URL := ftp://ftp.denx.de/pub/u-boot/$(U_BOOT).$(U_BOOT_SUFFIX)
U_BOOT_SOURCE := $(SRCDIR)/$(U_BOOT).$(U_BOOT_SUFFIX)
U_BOOT_DIR := $(BUILDDIR)/$(U_BOOT)
--
2.6.1
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] [PATCH] u-boot: hopefully fix download URL
2015-10-09 8:05 [ptxdist] [PATCH] u-boot: hopefully fix download URL Markus Niebel
@ 2015-10-12 9:21 ` Marc Kleine-Budde
2015-10-19 10:32 ` Markus Niebel
0 siblings, 1 reply; 5+ messages in thread
From: Marc Kleine-Budde @ 2015-10-12 9:21 UTC (permalink / raw)
To: Markus Niebel, ptxdist; +Cc: m.olbrich, Markus Niebel
[-- Attachment #1.1: Type: text/plain, Size: 789 bytes --]
On 10/09/2015 10:05 AM, Markus Niebel wrote:
> From: Markus Niebel <Markus.Niebel@tq-group.com>
>
> Use the ftp server only via ftp protocol. Other URL and protocols
> gets redirected and cause download to fail. u-boot-tools uses already
> the correct URL.
>
> See also www.denx.de/wiki/U-Boot/SourceCode
ftp is broken in some corporate environments due to "security"
restrictions. With my patch ftp is tried first, so I don't see an
improvement with your patch, or do I miss something?
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] [PATCH] u-boot: hopefully fix download URL
2015-10-12 9:21 ` Marc Kleine-Budde
@ 2015-10-19 10:32 ` Markus Niebel
2015-10-19 10:34 ` Marc Kleine-Budde
0 siblings, 1 reply; 5+ messages in thread
From: Markus Niebel @ 2015-10-19 10:32 UTC (permalink / raw)
To: Marc Kleine-Budde, Markus Niebel, ptxdist; +Cc: m.olbrich, Markus Niebel
Am 12.10.2015 um 11:21 schrieb Marc Kleine-Budde:
> On 10/09/2015 10:05 AM, Markus Niebel wrote:
>> From: Markus Niebel <Markus.Niebel@tq-group.com>
>>
>> Use the ftp server only via ftp protocol. Other URL and protocols
>> gets redirected and cause download to fail. u-boot-tools uses already
>> the correct URL.
>>
>> See also www.denx.de/wiki/U-Boot/SourceCode
>
> ftp is broken in some corporate environments due to "security"
> restrictions. With my patch ftp is tried first, so I don't see an
> improvement with your patch, or do I miss something?
>
I sent the patch because download via http / https failed permanently.
When I test downloading from the given http / https URL using wget I see
the following:
$ wget http://ftp.denx.de/pub/u-boot/u-boot-2015.04.tar.bz2
...
Proxy-Anforderung gesendet, warte auf Antwort... 302 Moved Temporarily
Platz: https://owncloud.denx.de/pub/u-boot/u-boot-2015.04.tar.bz2 [folge]
--2015-10-19 12:12:29--
https://owncloud.denx.de/pub/u-boot/u-boot-2015.04.tar.bz2
...
FEHLER: Kann das Zertifikat von »owncloud.denx.de« nicht prüfen,
ausgestellt von »»/C=DE/ST=Bayern/L=Muenchen/O=DENX Software
Engineering/CN=www.denx.de/emailAddress=noc@denx.de««:.
Die Authorität des Ausstellers des Zertifikates kann lokal nicht
geprüft werden.
Verwenden Sie »--no-check-certificate«, um zu dem Server
»owncloud.denx.de« eine nicht gesicherte Verbindung aufzubauen.
tqc@ubuntu:/opt/tqma6x/tqma6-devel$ wget
https://ftp.denx.de/pub/u-boot/u-boot-2015.04.tar.bz2
...
FEHLER: Kann das Zertifikat von »ftp.denx.de« nicht prüfen, ausgestellt
von »»/C=DE/ST=Bayern/L=Muenchen/O=DENX Software
Engineering/CN=www.denx.de/emailAddress=noc@denx.de««:.
Die Authorität des Ausstellers des Zertifikates kann lokal nicht
geprüft werden.
FEHLER: Der Common Name »»owncloud.denx.de«« des Zertifikates
entspricht nicht dem angeforderten Hostname »»ftp.denx.de««.
Verwenden Sie »--no-check-certificate«, um zu dem Server »ftp.denx.de«
eine nicht gesicherte Verbindung aufzubauen.
tqc@ubuntu:/opt/tqma6x/tqma6-devel$ wget --no-check-certificate
https://ftp.denx.de/pub/u-boot/u-boot-2015.04.tar.bz2
--2015-10-19 12:13:55--
https://ftp.denx.de/pub/u-boot/u-boot-2015.04.tar.bz2
...
WARNUNG: Kann das Zertifikat von »ftp.denx.de« nicht prüfen, ausgestellt
von »»/C=DE/ST=Bayern/L=Muenchen/O=DENX Software
Engineering/CN=www.denx.de/emailAddress=noc@denx.de««:.
Die Authorität des Ausstellers des Zertifikates kann lokal nicht
geprüft werden.
WARNUNG: Der Common Name »»owncloud.denx.de«« des Zertifikates
entspricht nicht dem angeforderten Hostname »»ftp.denx.de««.
Proxy-Anforderung gesendet, warte auf Antwort... 404 Not Found
2015-10-19 12:13:55 FEHLER 404: Not Found.
so I see redirects to this owncloud URL and not found errors plus
certificate problems. The only way I got this working was to use ftp
A Question on the U-Boot mailing list was answered with
(http://lists.denx.de/pipermail/u-boot/2015-October/229480.html)
1) use ftp
2) use Amazon Cloud (non scriptable)
3) use git (not preffered because of bandwidth
> Marc
>
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] [PATCH] u-boot: hopefully fix download URL
2015-10-19 10:32 ` Markus Niebel
@ 2015-10-19 10:34 ` Marc Kleine-Budde
2015-10-19 10:35 ` Marc Kleine-Budde
0 siblings, 1 reply; 5+ messages in thread
From: Marc Kleine-Budde @ 2015-10-19 10:34 UTC (permalink / raw)
To: Markus Niebel, Markus Niebel, ptxdist; +Cc: m.olbrich, Markus Niebel
[-- Attachment #1.1: Type: text/plain, Size: 1165 bytes --]
On 10/19/2015 12:32 PM, Markus Niebel wrote:
> Am 12.10.2015 um 11:21 schrieb Marc Kleine-Budde:
>> On 10/09/2015 10:05 AM, Markus Niebel wrote:
>>> From: Markus Niebel <Markus.Niebel@tq-group.com>
>>>
>>> Use the ftp server only via ftp protocol. Other URL and protocols
>>> gets redirected and cause download to fail. u-boot-tools uses already
>>> the correct URL.
>>>
>>> See also www.denx.de/wiki/U-Boot/SourceCode
>>
>> ftp is broken in some corporate environments due to "security"
>> restrictions. With my patch ftp is tried first, so I don't see an
>> improvement with your patch, or do I miss something?
>>
>
> I sent the patch because download via http / https failed permanently.
> When I test downloading from the given http / https URL using wget I see
> the following:
Ahh, okay. Seems the https://ftp.denx.de was completely blocked/removed.
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ptxdist] [PATCH] u-boot: hopefully fix download URL
2015-10-19 10:34 ` Marc Kleine-Budde
@ 2015-10-19 10:35 ` Marc Kleine-Budde
0 siblings, 0 replies; 5+ messages in thread
From: Marc Kleine-Budde @ 2015-10-19 10:35 UTC (permalink / raw)
To: Markus Niebel, Markus Niebel, ptxdist; +Cc: m.olbrich, Markus Niebel
[-- Attachment #1.1: Type: text/plain, Size: 609 bytes --]
On 10/19/2015 12:34 PM, Marc Kleine-Budde wrote:
>> I sent the patch because download via http / https failed permanently.
>> When I test downloading from the given http / https URL using wget I see
>> the following:
>
> Ahh, okay. Seems the https://ftp.denx.de was completely blocked/removed.
Applied to master.
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-10-19 10:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-09 8:05 [ptxdist] [PATCH] u-boot: hopefully fix download URL Markus Niebel
2015-10-12 9:21 ` Marc Kleine-Budde
2015-10-19 10:32 ` Markus Niebel
2015-10-19 10:34 ` Marc Kleine-Budde
2015-10-19 10:35 ` Marc Kleine-Budde
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox