Skip to content

PinePhone upgrade: kernel 5.18.7, U-Boot 2022.07, TF-A 2.7

Bobby The Builder requested to merge BobbyTheBuilder/pmaports:pp-5.18.7 into master

This MR upgrade a lot of components so testers are more than welcome.

I was able to boot a PP KDE CE and then use Wifi, use both cameras, suspend and resume and play videos on FF.

Here are things I didn't test:

  • Calls Tested, works fine
  • SMS/MMS Tested, works fine
  • DATA Tested, works fine
  • Bluetooth Tested, works fine
  • PP Keyboard (I don't own one) Tested, works fine (!3263 (comment 1022997144))
  • ARMv7 kernel build

Here are things known to be broken:

Here is a bit more details on all components change:

Kernel:

  1. Upgrade to 5.18.7

TF-A:

  1. Upgrade to 2.7
  2. Remove patch (I confirmed with Samuel and everything for the PP is now upstream )
  3. Add build options as stated by Megi:
2022-05-21:
- rebase on v5.18-rc8
[...]
- drop A64 idle states from DT (these should be auto-added by TF-A when supported;
  you need to build TF-A properly, though! check p-boot/fw for example)

http://megous.com/git/linux/tag/?h=orange-pi-5.18-20220627-1924

U-Boot:

  1. Upgrade to 2022.07 Upgrade to 2022.07-rc5 (will switch to official release when it comes out in the next few days)
  2. Drop patches from Megi to enable faster read speed (They're not easy to maintain, and only allow to shave a few tenth of seconds to the boot time)
  3. Drop H6 patches, they do not seem to be needed anymore: As of today, this U-Boot is only used by PinePhone and PineTab

Things that need to be done to complete WIP:

  • Resolve Audio issues [Fixed by !3267 (merged)]
  • Restore U-Boot boot delay to 0
  • Official release of U-Boot 2022.07
  • Switch back source URL to HTTPS
  • Upstream TF-A => out of scope of this MR, see #1611
Edited by Bobby The Builder

Merge request reports