Message ID | 20210917132835.33227-1-dev@open-music-kontrollers.ch |
---|---|
State | Accepted |
Headers | show |
Series | [1/1] freescale: add support for Image.gz to post-image | expand |
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
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
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(+)