freescale: add support for Image.gz to post-image
PATCH 1/1 freescale: add support for Image.gz to post-image
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 <[email protected]>
--- board/freescale/common/imx/post-image.sh | 2 ++ 1 file changed, 2 insertions(+)
board/freescale/common/imx/post-image.sh +2 -0
@@ -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
Signature · 6 lines
2.33.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedHanspeter, All,
On 2021-09-17 15:28 +0200, Hanspeter Portner spake thusly:
Quoted 5 lines
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 <[email protected]>
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.
Quoted 24 lines
--- board/freescale/common/imx/post-image.sh | 2 ++ 1 file changed, 2 insertions(+)board/freescale/common/imx/post-image.sh +2
-0@@ -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\"" fiSignature · 6 lines
2.33.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | 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 [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot