PINE64
Mobian kernel upgrade - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: Mobian kernel upgrade (/showthread.php?tid=15301)



Mobian kernel upgrade - user641 - 11-10-2021

Is mobian updating the 5.10 kernel with new patches or do we need to update/upgrade manually?
I have a bookworm install


RE: Mobian kernel upgrade - Zebulon Walton - 11-10-2021

There is information on upgrading to kernel 5.13 in the bookworm thread. (You'll want to be on the bookworm release if not already there. EDIT: I see you've already done that!) Installing the kernel amounts to:

apt search linux-image | grep sunxi  # List available kernels
apt install linux-image-5.13-sunxi64  # Install kernel

A wrinkle to this is that apparently with this kernel the screen brightness will be set to zero unless you otherwise set it during boot, so you'll want to do that first and make sure it's working before booting the 5.13 kernel. (Also to be on the safe side in case you get a black screen make sure you have another means of getting into the phone like ssh enabled.)

To set brightness at boot time I enabled the old-school /etc/rc.local file:

https://www.troublenow.org/752/debian-10-add-rc-local/

Then in /etc/rc.local I put the following command (higher number is more brightness and vice versa, I don't know what the max is):

echo 600 > /sys/class/backlight/backlight/brightness


RE: Mobian kernel upgrade - dukla2000 - 11-10-2021

(11-10-2021, 03:23 AM)user641 Wrote: Is mobian updating the 5.10 kernel with new patches or do we need to update/upgrade manually?
I have a bookworm install

Looks to me that the latest 5.10 via update/upgrade is 5.10.56. (You can also install 5.14.8 via apt install.)


Mobian kernel upgrade - vongillus - 11-10-2021

I think kernel 5.15 will probably come soon in Mobian. I would from my side wait until it's there as it's a long term supported one


RE: Mobian kernel upgrade - user641 - 11-10-2021

(11-10-2021, 09:18 AM)vongillus Wrote: I think kernel 5.15 will probably come soon in Mobian. I would from my side wait until it's there as it's a long term supported one

I think this is the best approach for me, as I use as daily drive. Just checked I am running 5.10.56.