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
  DiY - Installing Void Linux ARM On The Pinebook Pro vincele 1 88 Yesterday, 05:03 PM
Last Post: tllim
Question Debian (Vanilla) no output on display after Kernel update (6.0.8-1) as365n4 0 64 11-25-2022, 08:28 AM
Last Post: as365n4
  WiFi stopped on Pinebook Pro after update tkudog 3 327 11-24-2022, 04:32 PM
Last Post: tkudog
  Pinebook Pro wifi not working Queliffrel 0 56 11-22-2022, 01:20 PM
Last Post: Queliffrel
  Kali Linux for Pinebook Pro Luke 95 109,361 11-22-2022, 12:46 AM
Last Post: Tazdevl
  slarm64 (unofficial slackware) Pinebook Pro RK3399 (aarch64) mara 39 25,361 11-12-2022, 01:06 PM
Last Post: mara
  PineBook Pro-Problems with ARCH-Manjaro. Ice-O-Star 0 228 10-22-2022, 10:46 AM
Last Post: Ice-O-Star
  kernel module that supports usb-c hdmi alexandre 15 8,663 10-13-2022, 10:51 PM
Last Post: rfm83
  Need help with new pinebook pro magistral 12 1,418 10-08-2022, 08:52 PM
Last Post: magistral
  Arch Linux ARM root filesystem SKiljan 24 11,832 09-24-2022, 03:11 AM
Last Post: alexandre

Forum Jump:


Users browsing this thread: 1 Guest(s)