A true mainline Linux Kernel for the Pinebook Pro
(06-09-2020, 04:34 PM)timmes Wrote: lspci -vvv reports ASPM L2 is not supported. That could be a crucial difference with the NVMe SSD's that do not have this problem?

I'm seeing this issue as well with a WD SN550 250 GB SSD, similar to yours. From "lspci -vvv" it does look as though the drive supports only ASPM L1.

This is using Linux 5.7.15 (built from Guix's "wip-pinebook-pro" branch), along with mainline U-Boot 2020.07 and ATF v2.3.

On Linux 5.8.1, suspend-to-RAM crashes for me with an "Unhandled Exception in EL3" from the ATF. The register values it dumps indicate the reason for the exception is "unknown" and probably unrelated to the code being executed at the time (the entry to sram_func_set_ddrctl_pll(), invoked from plat/rockchip/rk3399/drivers/pmu/pmu.c:847), suggesting the exception arrived from an external source—possibly the memory subsystem? I note the code seems to be getting ready to switch the memory's clock source.

Has anyone made any progress towards getting suspend working on Linux 5.8?
(06-16-2020, 12:19 PM)xmixahlx Wrote: hi @tsys and cc: @spikerguy

i have the following build error with 5.8-rc1 branch:

  CC      drivers/soc/rockchip/rockchip_pm_config.o
drivers/soc/rockchip/rockchip_pm_config.c: In function ‘rockchip_pm_virt_pwroff_prepare’:
drivers/soc/rockchip/rockchip_pm_config.c:102:10: error: implicit declaration of function ‘disable_nonboot_cpus’ [-Werror=implicit-function-declaration]
  102 |  error = disable_nonboot_cpus();
      |          ^~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[6]: *** [scripts/Makefile.build:281: drivers/soc/rockchip/rockchip_pm_config.o] Error 1
make[5]: *** [scripts/Makefile.build:497: drivers/soc/rockchip] Error 2
make[4]: *** [scripts/Makefile.build:497: drivers/soc] Error 2
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:1764: drivers] Error 2
disable_nonboot_cpus() function is no longer supported in place of freeze_secondary_cpus(), fixed patch
donation   slarm64

Hi all,
is there any news on this topic? Are there any plans for updating? 5.12 is out already. Could we just use vanilla kernel sources already? Are all patches upstreamed and if no - is there a list of relevant fixes that are not upstreamed?
I guess that 5.11 and 5.12 kernels may bring useful updates to pinefrost, hantro and rkvdec.
(04-26-2021, 04:38 PM)kalpazanius Wrote: Hi all,
is there any news on this topic? Are there any plans for updating? 5.12 is out already. Could we just use vanilla kernel sources already? Are all patches upstreamed and if no - is there a list of relevant fixes that are not upstreamed?
I guess that 5.11 and 5.12 kernels may bring useful updates to pinefrost, hantro and rkvdec.

I found this repo which appears to be a PKGBUILD for mainline support on Arch Linux ARM with kernel 5.12.9

https://github.com/nadiaholmquist/pbp-packages

This is actually ahead of the ALARM linux-aarch64, which is currently at 5.11.4. But it appears she archived it just a week ago. I'm not sure if that means the work is being moved elsewhere or she lost interest. In any case, I plan to build it myself. Hopefully it can be merged into the official ALARM pkgbuild.
(06-19-2021, 05:36 PM)ramsey Wrote:
(04-26-2021, 04:38 PM)kalpazanius Wrote: Hi all,
is there any news on this topic? Are there any plans for updating? 5.12 is out already. Could we just use vanilla kernel sources already? Are all patches upstreamed and if no - is there a list of relevant fixes that are not upstreamed?
I guess that 5.11 and 5.12 kernels may bring useful updates to pinefrost, hantro and rkvdec.

I found this repo which appears to be a PKGBUILD for mainline support on Arch Linux ARM with kernel 5.12.9

https://github.com/nadiaholmquist/pbp-packages

This is actually ahead of the ALARM linux-aarch64, which is currently at 5.11.4. But it appears she archived it just a week ago. I'm not sure if that means the work is being moved elsewhere or she lost interest. In any case, I plan to build it myself. Hopefully it can be merged into the official ALARM pkgbuild.

I was introduced to Arch Linux from Nadia's PBP work and quite like it. After trying a lot of distros, I like Arch on the Pinebook Pro most. I'm quite sad that she has stopped her efforts.

Per https://github.com/nadiaholmquist/archiso-pbp, the normal ALARM linux-aarch64 kernel does not (yet?) support the PBP. I can confirm this is the case. What's needed now is an installer and kernel that boot ALARM on the PBP, and perhaps a wiki that keeps track of quirks. Nadia had done an excellent job with all of the above.


Possibly Related Threads…
Thread Author Replies Views Last Post
  postmarketOS/Alpine edge image for the Pinebook Pro MartijnBraam 72 52,399 Yesterday, 03:58 PM
Last Post: stozi
  Kernel panics solostian 3 92 09-14-2021, 04:12 PM
Last Post: jiyong
  Arch Linux ARM root filesystem SKiljan 20 1,961 09-12-2021, 11:16 AM
Last Post: flyingscorpio
  Pinebook pro nearly unusable after using manjaro-arm-installer TheCounselor 3 676 09-07-2021, 08:34 PM
Last Post: TRS-80
  Sound stuttering on Manjaro gnome after latest kernel upgrade? pjsf 1 286 08-27-2021, 06:09 AM
Last Post: bikerlatt1
  Please help...Pinebook Pro Night Color / mode not working :( sushilsharma71@gmail.com 13 1,106 08-16-2021, 05:16 PM
Last Post: sushilsharma71@gmail.com
Sad 1080p60 video on PBP Linux chewie 2 445 08-03-2021, 09:43 AM
Last Post: chewie
  which distro + DE are you using these days on the Pinebook Pro? halogen 19 2,026 08-01-2021, 03:25 AM
Last Post: gabeeg
  Blobs on the Pinebook Pro globaltree 6 651 07-25-2021, 12:11 PM
Last Post: igorp
  Kernel panic on boot with danielt's Debian installer hjalfi 11 1,802 07-09-2021, 08:52 AM
Last Post: moonwalkers

Forum Jump:


Users browsing this thread: 3 Guest(s)