11-24-2018, 04:09 AM
Quote:ah-, could you share where you got 4.18.0-rc8 from? I can't seem to find it neither in ayufan's linux-kernel repo, nor in his linux-mainline-kernel repo. Also, could you briefly describe how I would go about building it into a usable/install-able kernel if it's not too much to ask?
When you look into his PKGBUILD in his sources, you can find the link to the linux kernel resources he used to get the kernel sources from. Otherwise, you can also look into the linux-mainline-kernel repo of ayufan, under the tab 'Releases' you can also find his releases. ah- as well as myself use these resources to compile our kernels (even though I already upgraded to the 4.19 release).
You can look into the PKGBUILD file ah- created, you can also look into my repo (you'll find the link in the post above yours). Basically, you need to check out the git repository, install the base-devel package on your rockpro and then type 'makepkg' in the root of the downloaded sources. This will create a linux-aarch64.....tar.xz package that you can then install with 'pacman -U linux-aarch64.....tar.xz'
Alternatively, you can read the PKGBUILD file to see what is being done to compile the kernel (mine and ah- are identical in that aspect as we both used the same resources to create our packages). I also recommend you to read the article about creating packages in the arch wiki to better understand what is being done.
Hope that helps,
Matyas
PS: before you compile the kernel, make sure you edit the file /etc/makepkg.conf and uncomment the line
Code:
#MAKEFLAGS="-j5"
PPS: If I can give you a tip, do not compile a kernel on your SD card, use an external HDD or SSD instead. Most SD cards are not made to endure the write load that linux generates while compiling a kernel or using swap and will kill the card after a couple of weeks of heavy use.