Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] freescale: add support for Image.gz to post-image
@ 2021-09-17 13:28 Hanspeter Portner
  2021-09-18  6:56 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Hanspeter Portner @ 2021-09-17 13:28 UTC (permalink / raw)
  To: buildroot

For the i.MX8 often an Image.gz is built. With these changes, if
BR2_LINUX_KERNEL_IMAGEGZ=y, the correct Image.gz file is now put into
the generated image instead of falling back to the non-existent zImage.

Signed-off-by: Hanspeter Portner <dev@open-music-kontrollers.ch>
---
 board/freescale/common/imx/post-image.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/board/freescale/common/imx/post-image.sh b/board/freescale/common/imx/post-image.sh
index 3bb482debd..d36f82917e 100755
--- a/board/freescale/common/imx/post-image.sh
+++ b/board/freescale/common/imx/post-image.sh
@@ -25,6 +25,8 @@ linux_image()
 		echo "\"uImage\""
 	elif grep -Eq "^BR2_LINUX_KERNEL_IMAGE=y$" ${BR2_CONFIG}; then
 		echo "\"Image\""
+	elif grep -Eq "^BR2_LINUX_KERNEL_IMAGEGZ=y$" ${BR2_CONFIG}; then
+		echo "\"Image.gz\""
 	else
 		echo "\"zImage\""
 	fi
-- 
2.33.0

_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] freescale: add support for Image.gz to post-image
  2021-09-17 13:28 [Buildroot] [PATCH 1/1] freescale: add support for Image.gz to post-image Hanspeter Portner
@ 2021-09-18  6:56 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2021-09-18  6:56 UTC (permalink / raw)
  To: Hanspeter Portner; +Cc: buildroot

Hanspeter, All,

On 2021-09-17 15:28 +0200, Hanspeter Portner spake thusly:
> For the i.MX8 often an Image.gz is built. With these changes, if
> BR2_LINUX_KERNEL_IMAGEGZ=y, the correct Image.gz file is now put into
> the generated image instead of falling back to the non-existent zImage.
> 
> Signed-off-by: Hanspeter Portner <dev@open-music-kontrollers.ch>

I've changed the commit title to:

    board/freescale: add support for Image.gz to post-image

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  board/freescale/common/imx/post-image.sh | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/board/freescale/common/imx/post-image.sh b/board/freescale/common/imx/post-image.sh
> index 3bb482debd..d36f82917e 100755
> --- a/board/freescale/common/imx/post-image.sh
> +++ b/board/freescale/common/imx/post-image.sh
> @@ -25,6 +25,8 @@ linux_image()
>  		echo "\"uImage\""
>  	elif grep -Eq "^BR2_LINUX_KERNEL_IMAGE=y$" ${BR2_CONFIG}; then
>  		echo "\"Image\""
> +	elif grep -Eq "^BR2_LINUX_KERNEL_IMAGEGZ=y$" ${BR2_CONFIG}; then
> +		echo "\"Image.gz\""
>  	else
>  		echo "\"zImage\""
>  	fi
> -- 
> 2.33.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@lists.buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2021-09-18  6:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-17 13:28 [Buildroot] [PATCH 1/1] freescale: add support for Image.gz to post-image Hanspeter Portner
2021-09-18  6:56 ` Yann E. MORIN

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