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) |
RE: A true mainline Linux Kernel for the Pinebook Pro - theotherjimmy - 01-16-2020 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/trusted-firmware-a.git/commit/?id=b4899041e5f0b8e8b388c6511b5233516b8785ec (Not super important link, merged to integration 7 days later: https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/commit/?id=287a81dfada75024e06a16544ea8da2672630011 ) 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/maniphest/query/open/ PS: Hello Pine forums RE: A true mainline Linux Kernel for the Pinebook Pro - bsammon - 01-25-2020 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. RE: A true mainline Linux Kernel for the Pinebook Pro - xmixahlx - 01-25-2020 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? RE: A true mainline Linux Kernel for the Pinebook Pro - bsammon - 01-25-2020 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. RE: A true mainline Linux Kernel for the Pinebook Pro - xmixahlx - 01-25-2020 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. RE: A true mainline Linux Kernel for the Pinebook Pro - xmixahlx - 01-30-2020 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!!! # 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 RE: A true mainline Linux Kernel for the Pinebook Pro - tsys - 01-31-2020 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!!! 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? RE: A true mainline Linux Kernel for the Pinebook Pro - as400 - 01-31-2020 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. RE: A true mainline Linux Kernel for the Pinebook Pro - User 15997 - 01-31-2020 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 RE: A true mainline Linux Kernel for the Pinebook Pro - as400 - 01-31-2020 (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 |