Skip to content

linux-postmarketos-qcom-msm8974: upgrade to 6.11.4

Luca Weiss requested to merge msm8974-6.11 into master

Some kconfig changes to reduce kernel size to avoid conflict of 0x8000 (kernel load address) + uncompressed kernel size (arch/arm/boot/Image) + compressed kernel size (arch/arm/boot/zImage) being bigger than 0x1e00000 (tags address).

This causes mostly silent boot failures, with CONFIG_DEBUG_LL messages such as "no ATAGS support: can't continue" or "Error: invalid dtb and unrecognized/unsupported machine ID" can be seen on UART, though they're not very clear that the kernel image is essentially too big for what lk is setting up.

Manual kconfig changes:

  • Convert some =y to =m to reduce kernel size, mostly NFS_FS and CIFS since those are quite big and there's no point in having them built-in.
  • Disable EXT2_FS & EXT3_FS - handled by EXT4 driver
  • Disable PCI - unused

Tested on:

  • Fairphone 2 (fairphone-fp2)
  • Google Nexus 5 (lg-hammerhead)
  • HTC One M8 (htc-m8) @amessier
  • OnePlus One (oneplus-bacon)
  • Samsung Galaxy Note 3 (samsung-hlte)
  • Samsung Galaxy S5 (samsung-klte) @alexeymin
  • Sony Xperia Z3 (sony-leo)
Edited by Luca Weiss

Merge request reports

Loading