kernel build script for latest mainline manjaro kernel
#11
ok, good luck. happy to jump over and help in your thread.
  Reply
#12
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.
  Reply
#13
(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?
  Reply
#14
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.
  Reply
#15
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
  Reply
#16
(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?
  Reply
#17
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.
  Reply
#18
(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?...6#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.
  Reply
#19
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.
  Reply
#20
(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/lin...ter=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.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to update Manjaro to 20.10 pineitup 6 2,263 01-04-2021, 02:00 PM
Last Post: nightranger73
  Make your own Manjaro image flatulent_piney 0 827 11-07-2020, 03:30 AM
Last Post: flatulent_piney
  Manjaro ARM, Cryptomator, and MEGA Sync dp1kinobe 3 1,839 10-24-2020, 06:38 AM
Last Post: pineitup
  Downgrading packages on Manjaro ARM (on the example of boinc) wrzomar 0 871 10-02-2020, 12:20 PM
Last Post: wrzomar
  Freepascal FPC3.20 and Lazarus IDE on Manjaro KDE dieselnutjob 0 858 08-02-2020, 06:57 AM
Last Post: dieselnutjob
  Installing WPS Office on Manjaro brent.thierens 5 3,363 07-13-2020, 03:13 AM
Last Post: brent.thierens
  full disk encryption with luks on manjaro xfce limxr 48 23,705 07-09-2020, 07:27 AM
Last Post: JtR
  Is there a MMC upgrade instruction from debian-mate to manjaro factory (20.06)? pljanson 4 2,477 06-23-2020, 12:41 AM
Last Post: pljanson
  mesa-git build script for latest panfrost xmixahlx 28 18,519 06-11-2020, 11:16 PM
Last Post: xmixahlx
  How to boot Manjaro from NVME with uboot on eMMC as400 47 18,960 06-07-2020, 02:37 AM
Last Post: as400

Forum Jump:


Users browsing this thread: 2 Guest(s)