PINE64
A true mainline Linux Kernel for the Pinebook Pro - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: A true mainline Linux Kernel for the Pinebook Pro (/showthread.php?tid=8207)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16


RE: A true mainline Linux Kernel for the Pinebook Pro - simonsouth - 08-24-2020

(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?


RE: A true mainline Linux Kernel for the Pinebook Pro - mara - 10-22-2020

(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


5.12 - kalpazanius - 04-26-2021

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.


RE: 5.12 - ramsey - 06-19-2021

(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.


RE: 5.12 - linuxad - 06-20-2021

(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.