Kernel Update from 4.4 (Ayufan) on Ubuntu 20.04
#1
I started with Ayufan's 0.9 image (Ubuntu 18.04) - the minimal server variant. I then apt-installed ubuntu-gnome-desktop, and then upgraded the Ubuntu version through the graphical software updater to 20.04. So far so great, but I'm curious about upgrading the kernel.


Code:
$ uname -r
4.4.190-1233-rockchip-ayufan-gd3f1be0ed310


Suggests that the OS upgrade was just userland, not kernel. Am I right in thinking RockPro64 support has been fully mainlined into the Linux Kernel as off 5.8? If so is there any reason not to upgrade to it?

Basically would

Code:
$ wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8.13/arm64/linux-headers-5.8.13-050813-generic_5.8.13-050813.202010011235_arm64.deb
$ wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8.13/arm64/linux-image-unsigned-5.8.13-050813-generic_5.8.13-050813.202010011235_arm64.deb
$ wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8.13/arm64/linux-modules-5.8.13-050813-generic_5.8.13-050813.202010011235_arm64.deb
$ sudo apt install ./*.deb

Break my system or get me onto working mainline 5.8 kernel? (Also am I right in assuming the RockPro64 does not require a signed kernel image to boot?)
#2
(10-04-2020, 02:45 PM)db579 Wrote: I started with Ayufan's 0.9 image (Ubuntu 18.04) - the minimal server variant. I then apt-installed ubuntu-gnome-desktop, and then upgraded the Ubuntu version through the graphical software updater to 20.04. So far so great, but I'm curious about upgrading the kernel.


Code:
$ uname -r
4.4.190-1233-rockchip-ayufan-gd3f1be0ed310


Suggests that the OS upgrade was just userland, not kernel. Am I right in thinking RockPro64 support has been fully mainlined into the Linux Kernel as off 5.8? If so is there any reason not to upgrade to it?

Basically would

Code:
$ wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8.13/arm64/linux-headers-5.8.13-050813-generic_5.8.13-050813.202010011235_arm64.deb
$ wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8.13/arm64/linux-image-unsigned-5.8.13-050813-generic_5.8.13-050813.202010011235_arm64.deb
$ wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8.13/arm64/linux-modules-5.8.13-050813-generic_5.8.13-050813.202010011235_arm64.deb
$ sudo apt install ./*.deb

Break my system or get me onto working mainline 5.8 kernel? (Also am I right in assuming the RockPro64 does not require a signed kernel image to boot?)

If you search the repos (apt search 1144) you can find the latest (from Ayufan) 5.9 kernel that you can install into the 0.9 image just fine.

Make sure you have a recovery mechanism (depending where you are booting from) - unless I am very much mistaken there is still no support for eMMC so if you are booting from eMMC you will break your install and need to edit extlinx.conf from a bootable SDcard to recover.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (5.16 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edittion, Tow-boot on SPI, Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, daily driver: Tow-boot with Arch/Phosh on eMMC
#3
(10-21-2020, 05:17 PM)dukla2000 Wrote: Make sure you have a recovery mechanism (depending where you are booting from) - unless I am very much mistaken there is still no support for eMMC so if you are booting from eMMC you will break your install and need to edit extlinx.conf from a bootable SDcard to recover.

Right I am booting from eMMC so that doesn't sound promising. What's the reason for it still needing to be a custom (ayufan) kernel rather than mainline?
#4
(10-22-2020, 09:37 AM)db579 Wrote: ...
Right I am booting from eMMC so that doesn't sound promising. What's the reason for it still needing to be a custom (ayufan) kernel rather than mainline?

Not sure the differences: for sure Armbian comes with a 5.8 kernel that I suspect is pretty mainline (and for sure does not support eMMC). Similarly Manjaro.

Methinks Ayufan has some PCIe bits that help the RockPro64 but I have no skills to decipher his GitHub - indeed I have minimal skills to understand Git at all! (In my day source code control was a diagonal line down the deck of punch cards!)

The other thing that used to be dodgy on mainline kernels was supporting sound (e.g. via HDMI) on the RockPro64 - I think this was solved a while ago.

But what puzzles me is how to benefit from PineBook Pro kernels/work to get a 5.x kernel that supports eMMC!
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (5.16 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edittion, Tow-boot on SPI, Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, daily driver: Tow-boot with Arch/Phosh on eMMC


Possibly Related Threads…
Thread Author Replies Views Last Post
  [OS] SkiffOS and Buildroot for Rockpro64 w/ 5.17 kernel paralin1 1 374 05-08-2022, 03:26 PM
Last Post: paralin1
  Kernel OOPs triggered by big writes to ext4 FS ajtravis 1 295 04-04-2022, 05:29 PM
Last Post: ajtravis
  Installing Ubuntu Server on RockPro64 deutschlmao 1 687 02-15-2022, 08:44 AM
Last Post: Rocklobster
  WORKING: GPU-accelerated Widevine Chromium for Ubuntu 64 twilite 0 773 09-13-2021, 11:02 AM
Last Post: twilite
  Manjaro ARM - Built-in ethernet was broken with kernel 5.14.1-1 (over now) Dendrocalamus64 2 977 09-11-2021, 08:58 PM
Last Post: t4_4t
  Compiling ayufan mainline - DT-overlay missing Mentaluproar 0 737 07-24-2021, 09:46 PM
Last Post: Mentaluproar
  compiling a new kernel for overclocking on arch Mentaluproar 2 1,324 07-15-2021, 10:16 AM
Last Post: Mentaluproar
  Other boot options than Sdcard for linux 5.x kernel? MisterA 2 1,407 07-14-2021, 02:37 PM
Last Post: TRS-80
  ayufan kernel update unbootable TheHunter 2 1,746 03-12-2021, 05:17 PM
Last Post: LMM
  Kernel oops after big-ish writes gaeb 1 1,318 02-11-2021, 03:55 PM
Last Post: gaeb

Forum Jump:


Users browsing this thread: 2 Guest(s)