12-02-2020, 02:27 PM
I've got the Manjaro 5.9.10-3 kernel in git here, https://github.com/xyzzy42/linux/tree/pbp
This has all the patches from Manjaro ARM (5.9.10-3) applied, plus additional patches to make panfrost built-in work, plus some stuff to getting WBS working with USB BT adapters.
Also attached is a defconfig that produces a (more) minimal kernel with (I think) full PBP support. I turned off support for non-RK3399 SoCs, assumed that the only PCI-e devices added would be NVMe SSDs and so turned off all other PCI-e and PCI cards, etc. This doesn't just result in a smaller kernel that uses less memory, and megabytes of fewer modules, it also compiles far faster!
defconfig.txt (Size: 45.72 KB / Downloads: 2,509)
You could extract the patches or build the tree from git. I find dealing with the "pile of patches" version control system that the manjaro pkgbuild uses to be a PITA. And extremely slow when building on the PBP.
With the manjaro system, to change the patch series, or fix a patch, or move to a new stable release like 5.9.11, you basically have to wipe the kernel source tree and re-extract the kernel tar, re-apply to the stable series megapatch, re-apply the manjaro patch series, and rebuild from scratch. It takes literally hours on a PBP.
With git, you can modify the patch series or edit patches with rebase -i, without needing to wipe the kernel tree, and then only the files that changed need to be recompiled. It takes a minute or two to rebuild.
This has all the patches from Manjaro ARM (5.9.10-3) applied, plus additional patches to make panfrost built-in work, plus some stuff to getting WBS working with USB BT adapters.
Also attached is a defconfig that produces a (more) minimal kernel with (I think) full PBP support. I turned off support for non-RK3399 SoCs, assumed that the only PCI-e devices added would be NVMe SSDs and so turned off all other PCI-e and PCI cards, etc. This doesn't just result in a smaller kernel that uses less memory, and megabytes of fewer modules, it also compiles far faster!
![Text Document .txt](https://forum.pine64.org/images/attachtypes/txt.png)
You could extract the patches or build the tree from git. I find dealing with the "pile of patches" version control system that the manjaro pkgbuild uses to be a PITA. And extremely slow when building on the PBP.
With the manjaro system, to change the patch series, or fix a patch, or move to a new stable release like 5.9.11, you basically have to wipe the kernel source tree and re-extract the kernel tar, re-apply to the stable series megapatch, re-apply the manjaro patch series, and rebuild from scratch. It takes literally hours on a PBP.
With git, you can modify the patch series or edit patches with rebase -i, without needing to wipe the kernel tree, and then only the files that changed need to be recompiled. It takes a minute or two to rebuild.