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?)
  Reply
#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. Started Bionic minimal - now "focal", Openbox desktop for general purpose daily PC.
* PinePhone v1.2a 2/16Gb daily driver with Mobian/Phosh
* PinePhone BraveHeart now v1.2b 3/32Gb playing with arch
  Reply
#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?
  Reply
#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. Started Bionic minimal - now "focal", Openbox desktop for general purpose daily PC.
* PinePhone v1.2a 2/16Gb daily driver with Mobian/Phosh
* PinePhone BraveHeart now v1.2b 3/32Gb playing with arch
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Ayufan RockPro64 updates? hemertje 3 454 10-22-2020, 01:16 PM
Last Post: dukla2000
  Slow/dead ethernet on (non-Ayufan) Linux Mainline (fixed) mmatyas 1 591 04-17-2020, 02:53 AM
Last Post: Thra11
  New Pre-release 0.10.9 from Ayufan Bullet64 0 554 04-09-2020, 06:49 AM
Last Post: Bullet64
  Problem with compiling ayufans linux kernel voegelit 4 1,012 01-14-2020, 07:38 AM
Last Post: patstew
  Ayufan 5.4.0 rc1 release - cannot boot Mentaluproar 2 1,080 01-05-2020, 02:39 PM
Last Post: mmiigg
  Mainline Kernel 5.4 Solution khaosgrille 1 881 01-05-2020, 12:57 PM
Last Post: khaosgrille
  Upgrade Debian kernel on a SD/SATA drive boot combo. linuxha 6 1,281 12-12-2019, 04:43 AM
Last Post: dukla2000
  Release 0.9.14 Ubuntu Mate desktop, LXDE, OMV, Docker CE (container) Luke 1 1,346 12-10-2019, 01:30 PM
Last Post: Helium75
  Reboot problem on latest ayufan and 4.4 /dev/null 2 880 11-27-2019, 04:23 AM
Last Post: dukla2000
  Frequent kernel panic, possibly due to PCIe SSD? meier 4 1,076 11-22-2019, 05:15 PM
Last Post: meier

Forum Jump:


Users browsing this thread: 1 Guest(s)