pine64-pinephone: kernel 6.0.12 -> 6.8.0
This updates the PinePhone kernel to Linux 6.7. Upgrading the kernel so many versions at once is slightly scary, so I made a separate commit for each major version. I have used every one of these kernel versions on my PinePhone for about a day and haven't noticed any regressions. For each version, I tested at least the camera, 4G data connectivity, WiFi, waking from sleep, nheko, WayDroid, notifications and Firefox.
Building the 6.6 kernel without 7394f1a77037a61b1f72add8e7aa88415a14b475 fails:
ERROR: CONFIG_PSTORE_COMPRESS_DEFAULT is expected to be set to «CONFIG_PSTORE_COMPRESS_DEFAULT="zstd"», but is not present in config file.
ERROR: CONFIG_PSTORE_ZSTD_COMPRESS is expected to be set to «CONFIG_PSTORE_ZSTD_COMPRESS=y», but is not present in config file.
So I disabled those configuration options for new kernels. Please double-check that this is correct. Even with this change, "Validating kernel configuration" shows 39 warnings. Is that normal?
The Github repo at https://github.com/megous/linux no longer exists. You can read about it here: https://xnux.eu/log/094.html. I wanted to use the git bundles from https://xff.cz/kernels/git/ as officially recommended by megi but there is no stable URL where they can be downloaded, so I can't really do that. In https://xnux.eu/log/096.html it was announced, that the repo is now also available on Codeberg. There is a warning "the mirrors, [...] are just temporary and should not be linked to, unless you want your links to be broken in the future." but I think linking to a mirror that may stop working in the distant future is much better than linking to an unstable URL where the hashes will be broken in the future.
https://github.com/NixOS/mobile-nixos/commit/7394f1a77037a61b1f72add8e7aa88415a14b475 might be superceded by https://github.com/NixOS/mobile-nixos/issues/653? However, looks like a good fix for the current system.
Thank you for reviewing!
Updated to 6.7.4.
Updated to 6.8.0-rc6.
Updated to 6.8.0.
Like I said, I'll follow your lead for Pinephone (A64) stuff.
Thank you!