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
  Upgrading Armbian from v24.2.1 gnome, breaks pinebook pro Sb2024 0 120 11-10-2024, 02:50 PM
Last Post: Sb2024
  Attempting to install Void Linux, boots into a black screen 9a3eedi 1 1,197 09-28-2024, 09:23 AM
Last Post: throwawayforvoid
  Pinebook pro won't boot after bootloader installation jwensouls 4 942 08-21-2024, 04:17 AM
Last Post: KC9UDX
  Slackware Linux working on PBP vxzero 0 604 06-05-2024, 04:30 PM
Last Post: vxzero
  [Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both SynthGal 0 402 05-31-2024, 09:42 AM
Last Post: SynthGal
  Debian on Pinebook Pro u974615 7 2,900 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 4,116 02-22-2024, 04:02 PM
Last Post: tllim
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,230 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 3,512 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 103,914 12-08-2023, 11:25 PM
Last Post: tllim

Forum Jump:


Users browsing this thread: 8 Guest(s)