PINE64
kernel build script for latest mainline manjaro kernel - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Pinebook Pro Tutorials (https://forum.pine64.org/forumdisplay.php?fid=117)
+--- Thread: kernel build script for latest mainline manjaro kernel (/showthread.php?tid=8968)

Pages: 1 2 3 4 5


RE: kernel build script for latest mainline manjaro kernel - xmixahlx - 03-23-2020

ok, good luck. happy to jump over and help in your thread.


RE: kernel build script for latest mainline manjaro kernel - xmixahlx - 03-30-2020

if you fancy running a shiny new linux 5.6 kernel here is a patch i made from the manjaro kernel repo:
https://pastebin.com/raw/bpPpPMdq

and for linux-next:
https://pastebin.com/raw/9M9rVxF7

and here is a config:
https://pastebin.com/raw/4zNS6p6W

linux 5.7 will be relatively exciting for pbp with the pbp dts, rkvdec and many other things landing.


RE: kernel build script for latest mainline manjaro kernel - IoSer - 04-01-2020

(03-30-2020, 11:14 AM)xmixahlx Wrote: if you fancy running a shiny new linux 5.6 kernel here is a patch i made from the manjaro kernel repo:
https://pastebin.com/raw/bpPpPMdq

and for linux-next:
https://pastebin.com/raw/9M9rVxF7

and here is a config:
https://pastebin.com/raw/4zNS6p6W

linux 5.7 will be relatively exciting for pbp with the pbp dts, rkvdec and many other things landing.
Thank you! 

I looked quickly without checking thoroughly.
it appears that the patch files have already been applied to those downloaded from manjaro / tsys

correct?


RE: kernel build script for latest mainline manjaro kernel - xmixahlx - 04-01-2020

you can apply the provided 5.6_manjaro patch against official 5.6.0 (or 5.6.1, etc.) kernels and linux-next_manjaro patch against e.g. linux-next-20200401 and likely 5.7-rc1, etc.

i made the patches to test linux-next (working great!) and thought i'd share generally for folks to follow along after noticing that the manjaro repo wasn't updated yet. (i believe that currently the master and v5.6 branches are equal to these patches now, btw.)

according to download numbers there are quite a few folks following along. nice.


RE: kernel build script for latest mainline manjaro kernel - xmixahlx - 04-13-2020

5.7-rc1 working well.

linux-5.7.0-rc1-manjaro-pinebookpro-20200413-1.patch:
https://pastebin.com/raw/9M9rVxF7

5.7.0-rc1 example config (mine...):
https://pastebin.com/raw/urQbHKSh


RE: kernel build script for latest mainline manjaro kernel - termac - 04-19-2020

(04-13-2020, 09:17 PM)xmixahlx Wrote: 5.7-rc1 working well.

linux-5.7.0-rc1-manjaro-pinebookpro-20200413-1.patch:
https://pastebin.com/raw/9M9rVxF7

5.7.0-rc1 example config (mine...):
https://pastebin.com/raw/urQbHKSh

Hello,

thank you for posting your build and cross compile scripts!
I used them to cross compile the latest 5.7-rc1 kernel. But I run into issues while booting the pinebook pro. Systemd gets stuck during boot at
Code:
A start job is running for Create Volatile Files and Directories.

I used danielt's installer from https://github.com/daniel-thompson/pineb...-installer to prepare a sd card. I booted into the system and than installed some additional packages including the 5.7-rc1 kernel built with your config. After a reboot systemd gets stuck with the message shown above. The kernel installed during debootstrap still boots fine though.

Has anyone seen this or has an idea how to fix this?


RE: kernel build script for latest mainline manjaro kernel - xmixahlx - 04-20-2020

strange. i use a modified and minimalized danielt installer so some components are disabled, and i also use debian sid arm64. are you otherwise having a problem with systemd tempfiles?

also, 5.7-rc2 working well for me with the patch and config above.


RE: kernel build script for latest mainline manjaro kernel - termac - 04-21-2020

(04-20-2020, 06:40 PM)xmixahlx Wrote: strange. i use a modified and minimalized danielt installer so some components are disabled, and i also use debian sid arm64. are you otherwise having a problem with systemd tempfiles?

also, 5.7-rc2 working well for me with the patch and config above.

It is just with the custom kernel + config. I tried your patch for the installer you posted earlier, but some changes already are merged and some don't apply cleanly  anymore. I couldn't figure out quickly what to keep and what to change so I went ahead with danielt's installer. I will try again with the 5.7-rc2 kernel but I assume it will be the same. Could you maybe post your install script? I have no issues with running sid.

Edit: I realised the patch for the installer is in another thread, this one: https://forum.pine64.org/showthread.php?tid=8487&pid=58996#pid58996

Edit 2: I got it working by compiling the kernel on the pinebook instead of cross compiling, which is better than nothing for now. Still struggling to get hardware decoding working for h264 1080p.


RE: kernel build script for latest mainline manjaro kernel - xmixahlx - 05-15-2020

i continue to crosscompile on my i7 server, moving the ~90min build time on the pbp to ~10min and freeing up some pbp resources. Smile

FYI, tsys has updated the repos to 5.7.0-rc2 and you can apply incremental patches to current 5.7-rcX releases in sequence if desired.


RE: kernel build script for latest mainline manjaro kernel - termac - 05-16-2020

(05-15-2020, 07:03 PM)xmixahlx Wrote: i continue to crosscompile on my i7 server, moving the ~90min build time on the pbp to ~10min and freeing up some pbp resources. Smile

FYI, tsys has updated the repos to 5.7.0-rc2 and you can apply incremental patches to current 5.7-rcX releases in sequence if desired.

I can now successfully cross compile on my desktop too, I missed some patches when I wrote the post above. Thanks again for Your nice build script! I saw tsys' 5.7.0-rc2 branch too and did compile that. After that i tried my hands on getting hardware decoding working, for that I added the rkvdec kernel patches from https://patchwork.kernel.org/project/linux-rockchip/list/?submitter=179601 and patched libva and libva-v4l2-request as per Your instructions in the other thread.
vainfo still would only show support for MPEG2. At that point I did give up. So now it is either waiting for full mainline support or have enough time and motivation to figure out where I went wrong.