You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
ewaldc:
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 $(wrapper) -Z gz -c -o $ @ -p $2 //$(wrapper) -z -c -o $ @ -p $2 //
//
Works if changed to //cmd_wrap =$(CONFIG_SHELL)
or alternatively //cmd_wrap =$(CONFIG_SHELL)
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.
The text was updated successfully, but these errors were encountered: