Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2940 - Kernel uImage end up being non compressed - error in patch 900-powerpc-bootwrapper ... #7716

Open
openwrt-bot opened this issue Mar 27, 2020 · 0 comments
Labels
flyspray kernel pull request/issue with Linux kernel related changes

Comments

@openwrt-bot
Copy link

ewaldc:

  • Device problem occurs on: My Book Live - platform apm821xx
  • Software versions of OpenWrt/LEDE release, packages, etc. : trunk, kernel 5.4
  • Steps to reproduce: simply build the kernel

The patch [[https://github.com/openwrt/openwrt/blob/master/target/linux/apm821xx/patches-5.4/900-powerpc-bootwrapper-force-gzip-as-mkimage-s-compress.patch]] does not seem to work for me and results in an uncompressed uImage.

I believe the issue is this line of the patch: //cmd_wrap =$(CONFIG_SHELL) $(wrapper) -Z gzip -c -o $@ -p $2
//
Works if changed to //cmd_wrap =$(CONFIG_SHELL) $(wrapper) -Z gz -c -o $@ -p $2 //
or alternatively //cmd_wrap =$(CONFIG_SHELL) $(wrapper) -z -c -o $@ -p $2 //

This patch seems to be a workaround for a change in the kernel configuration from:
//CONFIG_KERNEL_GZIP=y

CONFIG_KERNEL_XZ is not set//

To
//# CONFIG_KERNEL_GZIP is not set
CONFIG_KERNEL_XZ=y//

Maybe this change is not needed...

//PS.// I maintain custom kernels for the My Book Live platform @ [[ftp://https://github.com/ewaldc/My-Book-Live]], specifically tuning the networking, DMA and SATA drivers, as well as SAMBA.
I admire all the work from the OpenWrt team (Christian in particular) and I am always willing to help and test.
Regards,
Ewald.

@aparcar aparcar added the kernel pull request/issue with Linux kernel related changes label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray kernel pull request/issue with Linux kernel related changes
Projects
None yet
Development

No branches or pull requests

2 participants