mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <ada@thorsis.com>
To: ptxdist@pengutronix.de
Cc: Alexander Dahl <ada@thorsis.com>,
	Christian Melki <christian.melki@t2data.com>
Subject: Re: [ptxdist] [PATCH 1/3] u-boot: Move u-boot URL to github.
Date: Mon, 29 Aug 2022 10:49:36 +0200	[thread overview]
Message-ID: <2026849.Kn9BfFgYnX@ada> (raw)
In-Reply-To: <20220826133537.1843791-1-christian.melki@t2data.com>

Hello Christian,

Am Freitag, 26. August 2022, 15:35:35 CEST schrieb Christian Melki:
> * Make URL configurable. Also. This aids in pointing
> ptxdist to various vendor specific releases.
> * Make compression format .tar.gz. Default
> github contains such releases for really old releases,
> so it should be fine.
> * Bump default version to something more recent.
> Just cosmetics really.

What's the motivation for moving this to a mirror of the official sources? 
According to https://u-boot.readthedocs.io/en/latest/build/source.html the 
main and official forge is https://source.denx.de/u-boot/u-boot and 
additionally https://ftp.denx.de/pub/u-boot/ still contains all release 
tarballs up to the most recent RCs. This is also mentioned in the README in 
top level U-Boot source.

Greets
Alex

> 
> Signed-off-by: Christian Melki <christian.melki@t2data.com>
> ---
>  platforms/u-boot.in | 11 +++++++++--
>  rules/u-boot.make   |  4 ++--
>  2 files changed, 11 insertions(+), 4 deletions(-)
> 
> diff --git a/platforms/u-boot.in b/platforms/u-boot.in
> index 769237081..8c7931d13 100644
> --- a/platforms/u-boot.in
> +++ b/platforms/u-boot.in
> @@ -9,13 +9,20 @@ menuconfig U_BOOT
> 
>  if U_BOOT
> 
> +config U_BOOT_URL
> +	string
> +	default "https://github.com/u-boot/u-boot/releases/tag"
> +	prompt "U-Boot URL"
> +	help
> +	  Enter the U-Boot URL you want to use.
> +
>  config U_BOOT_VERSION
>  	string
> -	default "2019.01"
> +	default "v2022.01"
>  	prompt "U-Boot version"
>  	help
>  	  Enter the U-Boot version you want to build. Usually something like
> -	  "2019.01".
> +	  "v2022.01".
> 
>  config U_BOOT_MD5
>  	string
> diff --git a/rules/u-boot.make b/rules/u-boot.make
> index cadca4a6b..1ba6d47b0 100644
> --- a/rules/u-boot.make
> +++ b/rules/u-boot.make
> @@ -19,8 +19,8 @@ PACKAGES-$(PTXCONF_U_BOOT) += u-boot
>  U_BOOT_VERSION		:= $(call ptx/config-version, PTXCONF_U_BOOT)
>  U_BOOT_MD5		:= $(call ptx/config-md5, PTXCONF_U_BOOT)
>  U_BOOT			:= u-boot-$(U_BOOT_VERSION)
> -U_BOOT_SUFFIX		:= tar.bz2
> -U_BOOT_URL		:= https://ftp.denx.de/pub/u-boot/$(U_BOOT).$(U_BOOT_SUFFIX)
> +U_BOOT_SUFFIX		:= tar.gz
> +U_BOOT_URL		:= $(PTXCONF_U_BOOT_URL)/$(U_BOOT_VERSION).$(U_BOOT_SUFFIX)
>  U_BOOT_SOURCE		:= $(SRCDIR)/$(U_BOOT).$(U_BOOT_SUFFIX)
>  U_BOOT_DIR		:= $(BUILDDIR)/$(U_BOOT)
>  U_BOOT_BUILD_DIR	:= $(U_BOOT_DIR)$(call ptx/ifdef,
> PTXCONF_U_BOOT_BUILD_OOT,-build)







  parent reply	other threads:[~2022-08-29  8:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-26 13:35 Christian Melki
2022-08-26 13:35 ` [ptxdist] [PATCH 2/3] u-boot: Add two new u-boot image targets Christian Melki
2022-08-26 13:35 ` [ptxdist] [PATCH 3/3] u-boot: Move image copying from targetinstall to install Christian Melki
2022-08-30  7:25   ` Michael Olbrich
2022-08-30  7:41     ` Christian Melki
2022-08-29  8:49 ` Alexander Dahl [this message]
2022-08-29 16:57   ` [ptxdist] [PATCH 1/3] u-boot: Move u-boot URL to github Christian Melki
2022-08-30  7:23     ` Michael Olbrich
2022-08-30  7:58       ` Christian Melki
2022-08-30  9:13       ` Alexander Dahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2026849.Kn9BfFgYnX@ada \
    --to=ada@thorsis.com \
    --cc=christian.melki@t2data.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox