A true mainline Linux Kernel for the Pinebook Pro
#91
Re: Suspend-to-ram,

It looks like TF-A master contains a fix that claims to fix hangs when resuming from a soft-reset, which may be related to the post-suspend hang.
link to the commit: https://git.trustedfirmware.org/TF-A/tru...516b8785ec
(Not super important link, merged to integration 7 days later: https://git.trustedfirmware.org/TF-A/tru...2672630011 )

If that does not fix it for you, you could capture the debug UART, looking for a TF-A or Linux Panic. If you find a TF-A panic, you could raise an issue on trustedfirmware.org here: https://developer.trustedfirmware.org/ma...uery/open/

PS: Hello Pine forums
#92
Can someone post/give-pointers-to a brief set of instructions on how to compile/install this kernel?

I used to compile kernels all the time 15+ years ago, but mostly on x86 (and a few times on my Powerbook)

I just dug up the following website
https://kernelnewbies.org/FAQ/KernelCompilation
which seems to match the way I remember compiling kernels back in the day.

Would those instructions fit this kernel here? I have my doubts about whether "make install" would do what I want/need it to do.
#93
the debian way is to build kernel packages

you need build deps, a kernel config, and 1-2 hours to build

what distro are you building for?
#94
So I did a "git clone https://gitlab.manjaro.org/tsys/linux-pinebook-pro.git" and it was 2.5 GB.
I did a "download as .tar.bz2" from https://gitlab.manjaro.org/tsys/linux-pinebook-pro and it was only 130 MB.

Just ... wow.

(maybe this is a "I'm pretty new to git" moment)

P.S. The time it took for both operations was (to an order of magnitude) proportional to those relative numbers.
#95
yes. for an idea, git has every revision of the repo ever in it...

you can use --depth=1 to get only the latest version and still benefit from the git system.

that is what i do most of the time if just needing source to build from.
#96
hi @tsys , thank you for your mainline work! (also @danielt for your attention)

regarding pinebook_pro_defconfig, please disable the new ARM erratum addition. if enabled the big cores won't come up. an interesting note: without the big cores i get a *970* octane2 score versus *10200* with!!! Smile

# CONFIG_ARM64_ERRATUM_1319367 is not set

also confirming that 5.5-rc7-panfrost-fixes and v5.5 branches work very well on debian sid arm64 with mesa-git.


cheers
#97
Hi @xmixahlx,

(01-30-2020, 11:44 AM)xmixahlx Wrote: regarding pinebook_pro_defconfig, please disable the new ARM erratum addition. if enabled the big cores won't come up. an interesting note: without the big cores i get a *970* octane2 score versus *10200* with!!! Smile

the BIG cores are online on my device with CONFIG_ARM64_ERRATUM_1319367=y. Tasks seem to be scheduled to them as well. Also corrupted TLBs don't sound particularly fun to me. Are you sure I should disable that option?
Manjaro ARM

Kernel dev
Buy me a coffee
#98
I have the same problem with big cores not coming up on boot if I set maxcpus=4 on boot. After boot there is no way to bring them up.
#99
that's an effect of the BSP uboot the device comes with not bringing the big cores up properly. a newer version of uboot does that, making the maxcpus=4 hack and disabling mitigations unnecessary: https://forum.pine64.org/showthread.php?tid=8752
(01-31-2020, 07:07 AM)dhivael Wrote: that's an effect of the BSP uboot the device comes with not bringing the big cores up properly. a newer version of uboot does that, making the maxcpus=4 hack and disabling mitigations unnecessary: https://forum.pine64.org/showthread.php?tid=8752

Problem is that newer version of uboot doesn't support nvme which I'm booting from Smile


Possibly Related Threads…
Thread Author Replies Views Last Post
  Slackware Linux working on PBP vxzero 0 124 06-05-2024, 04:30 PM
Last Post: vxzero
  [Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both SynthGal 0 92 05-31-2024, 09:42 AM
Last Post: SynthGal
  Debian on Pinebook Pro u974615 7 1,688 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 2,292 02-22-2024, 04:02 PM
Last Post: tllim
  Attempting to install Void Linux, boots into a black screen 9a3eedi 0 525 02-18-2024, 08:54 AM
Last Post: 9a3eedi
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 2,432 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 2,568 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 92,000 12-08-2023, 11:25 PM
Last Post: tllim
  Boot Order in Pinebook Pro food 8 1,631 11-23-2023, 07:37 AM
Last Post: KC9UDX
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 8,011 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine

Forum Jump:


Users browsing this thread: 3 Guest(s)