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
  Debian on Pinebook Pro u974615 7 1,538 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 2,058 02-22-2024, 04:02 PM
Last Post: tllim
  Attempting to install Void Linux, boots into a black screen 9a3eedi 0 472 02-18-2024, 08:54 AM
Last Post: 9a3eedi
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 2,324 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 2,447 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 90,973 12-08-2023, 11:25 PM
Last Post: tllim
  Boot Order in Pinebook Pro food 8 1,504 11-23-2023, 07:37 AM
Last Post: KC9UDX
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 7,809 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  PineBook Pro seems to go to deep sleep, but doesn't wake up pogo 11 5,677 08-31-2023, 04:20 PM
Last Post: TRS-80
  Would a Pinebook Pro be good for a Linux newbie? cassado10 6 1,667 08-08-2023, 04:58 AM
Last Post: moobythegoldensock

Forum Jump:


Users browsing this thread: 2 Guest(s)