mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 0/2] at91bootstrap2: Add missing dependencies
@ 2022-09-26 13:57 Alexander Dahl
  2022-09-26 13:57 ` [ptxdist] [PATCH 1/2] at91bootstrap2: Add missing dependency to special BOOTLOADER symbol Alexander Dahl
  2022-09-26 13:57 ` [ptxdist] [PATCH 2/2] at91bootstrap2: Bump default version and add host-system dependency Alexander Dahl
  0 siblings, 2 replies; 5+ messages in thread
From: Alexander Dahl @ 2022-09-26 13:57 UTC (permalink / raw)
  To: ptxdist

Hei hei,

got build errors with recent ptxdist due to the missing host python3
dependency, and fixed the other one on the way.

Greets
Alex

Alexander Dahl (2):
  at91bootstrap2: Add missing dependency to special BOOTLOADER symbol
  at91bootstrap2: Bump default version and add host-system dependency

 platforms/at91bootstrap2.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


base-commit: 174951e837490428de5b53156c6667f232f701af
-- 
2.30.2




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

* [ptxdist] [PATCH 1/2] at91bootstrap2: Add missing dependency to special BOOTLOADER symbol
  2022-09-26 13:57 [ptxdist] [PATCH 0/2] at91bootstrap2: Add missing dependencies Alexander Dahl
@ 2022-09-26 13:57 ` Alexander Dahl
  2022-10-07  7:38   ` [ptxdist] [APPLIED] " Michael Olbrich
  2022-09-26 13:57 ` [ptxdist] [PATCH 2/2] at91bootstrap2: Bump default version and add host-system dependency Alexander Dahl
  1 sibling, 1 reply; 5+ messages in thread
From: Alexander Dahl @ 2022-09-26 13:57 UTC (permalink / raw)
  To: ptxdist

This is probably needed to use $(BOOTLOADER_CROSS_COMPILE) in make rule,
as suggested in commit 1c402fa0d9ae ("[bootloader] better "special"
compiler handling for bootloader").

Fixes: 1bc08bd7836c ("at91bootstrap2: Revise make env and opt")
Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 platforms/at91bootstrap2.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/platforms/at91bootstrap2.in b/platforms/at91bootstrap2.in
index 0182912e5..2ae27d64f 100644
--- a/platforms/at91bootstrap2.in
+++ b/platforms/at91bootstrap2.in
@@ -1,6 +1,7 @@
 ## SECTION=bootloader
 
 menuconfig AT91BOOTSTRAP2
+	select BOOTLOADER
 	tristate
 	prompt "AT91 bootstrap 3.x            "
 	help
-- 
2.30.2




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

* [ptxdist] [PATCH 2/2] at91bootstrap2: Bump default version and add host-system dependency
  2022-09-26 13:57 [ptxdist] [PATCH 0/2] at91bootstrap2: Add missing dependencies Alexander Dahl
  2022-09-26 13:57 ` [ptxdist] [PATCH 1/2] at91bootstrap2: Add missing dependency to special BOOTLOADER symbol Alexander Dahl
@ 2022-09-26 13:57 ` Alexander Dahl
  2022-10-07  7:38   ` [ptxdist] [APPLIED] " Michael Olbrich
  1 sibling, 1 reply; 5+ messages in thread
From: Alexander Dahl @ 2022-09-26 13:57 UTC (permalink / raw)
  To: ptxdist

Configurations building for boards using NAND flash call a host system
python script for generating a special header file.  That script was
migrated to python3 with at91bootstrap v3.9.3 (and above).

(Meanwhile 3.10 is the latest v3 branch, upstream at91bootstrap
continued with v4 for new boards.)

Python3 is most probably installed on any modern build host anyways, so
it should not hurt much to enable the dependency unconditionally.
Otherwise we might get an error message like this:

    'at91bootstrap2' must depend on 'host-system-python3' for 'python3'!

Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 platforms/at91bootstrap2.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/platforms/at91bootstrap2.in b/platforms/at91bootstrap2.in
index 2ae27d64f..b64947a6a 100644
--- a/platforms/at91bootstrap2.in
+++ b/platforms/at91bootstrap2.in
@@ -2,6 +2,7 @@
 
 menuconfig AT91BOOTSTRAP2
 	select BOOTLOADER
+	select HOST_SYSTEM_PYTHON3
 	tristate
 	prompt "AT91 bootstrap 3.x            "
 	help
@@ -36,7 +37,7 @@ if AT91BOOTSTRAP2
 
 config AT91BOOTSTRAP2_VERSION
 	string
-	default "3.8.5"
+	default "3.9.3"
 	prompt "AT91 Bootstrap version"
 	help
 	  Enter the AT91 Bootstrap version you want to build. Usually something like "3.8.5"
-- 
2.30.2




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

* Re: [ptxdist] [APPLIED] at91bootstrap2: Add missing dependency to special BOOTLOADER symbol
  2022-09-26 13:57 ` [ptxdist] [PATCH 1/2] at91bootstrap2: Add missing dependency to special BOOTLOADER symbol Alexander Dahl
@ 2022-10-07  7:38   ` Michael Olbrich
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Olbrich @ 2022-10-07  7:38 UTC (permalink / raw)
  To: ptxdist; +Cc: Alexander Dahl

Thanks, applied as c723b8b24d9ac4be0a61c6563d0135d1c1d493dc.

Michael

[sent from post-receive hook]

On Fri, 07 Oct 2022 09:38:42 +0200, Alexander Dahl <ada@thorsis.com> wrote:
> This is probably needed to use $(BOOTLOADER_CROSS_COMPILE) in make rule,
> as suggested in commit 1c402fa0d9ae ("[bootloader] better "special"
> compiler handling for bootloader").
> 
> Fixes: 1bc08bd7836c ("at91bootstrap2: Revise make env and opt")
> Signed-off-by: Alexander Dahl <ada@thorsis.com>
> Message-Id: <20220926135713.20499-2-ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/platforms/at91bootstrap2.in b/platforms/at91bootstrap2.in
> index 0182912e51a7..2ae27d64f39a 100644
> --- a/platforms/at91bootstrap2.in
> +++ b/platforms/at91bootstrap2.in
> @@ -1,6 +1,7 @@
>  ## SECTION=bootloader
>  
>  menuconfig AT91BOOTSTRAP2
> +	select BOOTLOADER
>  	tristate
>  	prompt "AT91 bootstrap 3.x            "
>  	help



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

* Re: [ptxdist] [APPLIED] at91bootstrap2: Bump default version and add host-system dependency
  2022-09-26 13:57 ` [ptxdist] [PATCH 2/2] at91bootstrap2: Bump default version and add host-system dependency Alexander Dahl
@ 2022-10-07  7:38   ` Michael Olbrich
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Olbrich @ 2022-10-07  7:38 UTC (permalink / raw)
  To: ptxdist; +Cc: Alexander Dahl

Thanks, applied as eba684db8db9770b95b23b155078eca13257b5b9.

Michael

[sent from post-receive hook]

On Fri, 07 Oct 2022 09:38:43 +0200, Alexander Dahl <ada@thorsis.com> wrote:
> Configurations building for boards using NAND flash call a host system
> python script for generating a special header file.  That script was
> migrated to python3 with at91bootstrap v3.9.3 (and above).
> 
> (Meanwhile 3.10 is the latest v3 branch, upstream at91bootstrap
> continued with v4 for new boards.)
> 
> Python3 is most probably installed on any modern build host anyways, so
> it should not hurt much to enable the dependency unconditionally.
> Otherwise we might get an error message like this:
> 
>     'at91bootstrap2' must depend on 'host-system-python3' for 'python3'!
> 
> Signed-off-by: Alexander Dahl <ada@thorsis.com>
> Message-Id: <20220926135713.20499-3-ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/platforms/at91bootstrap2.in b/platforms/at91bootstrap2.in
> index 2ae27d64f39a..b64947a6ab96 100644
> --- a/platforms/at91bootstrap2.in
> +++ b/platforms/at91bootstrap2.in
> @@ -2,6 +2,7 @@
>  
>  menuconfig AT91BOOTSTRAP2
>  	select BOOTLOADER
> +	select HOST_SYSTEM_PYTHON3
>  	tristate
>  	prompt "AT91 bootstrap 3.x            "
>  	help
> @@ -36,7 +37,7 @@ if AT91BOOTSTRAP2
>  
>  config AT91BOOTSTRAP2_VERSION
>  	string
> -	default "3.8.5"
> +	default "3.9.3"
>  	prompt "AT91 Bootstrap version"
>  	help
>  	  Enter the AT91 Bootstrap version you want to build. Usually something like "3.8.5"



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

end of thread, other threads:[~2022-10-07  7:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-26 13:57 [ptxdist] [PATCH 0/2] at91bootstrap2: Add missing dependencies Alexander Dahl
2022-09-26 13:57 ` [ptxdist] [PATCH 1/2] at91bootstrap2: Add missing dependency to special BOOTLOADER symbol Alexander Dahl
2022-10-07  7:38   ` [ptxdist] [APPLIED] " Michael Olbrich
2022-09-26 13:57 ` [ptxdist] [PATCH 2/2] at91bootstrap2: Bump default version and add host-system dependency Alexander Dahl
2022-10-07  7:38   ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox