mobile-nixos icon indicating copy to clipboard operation
mobile-nixos copied to clipboard

pine64-pinephone: kernel 6.0.12 -> 6.8.0

Open Luflosi opened this issue 1 year ago • 5 comments

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.

Luflosi avatar Jan 23 '24 20:01 Luflosi

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.

Thra11 avatar Jan 28 '24 17:01 Thra11

Thank you for reviewing!

Luflosi avatar Jan 29 '24 22:01 Luflosi

Updated to 6.7.4.

Luflosi avatar Feb 10 '24 12:02 Luflosi

Updated to 6.8.0-rc6.

Luflosi avatar Feb 28 '24 18:02 Luflosi

Updated to 6.8.0.

Luflosi avatar Mar 11 '24 10:03 Luflosi

Like I said, I'll follow your lead for Pinephone (A64) stuff.

samueldr avatar May 13 '24 19:05 samueldr

Thank you!

Luflosi avatar May 15 '24 16:05 Luflosi