Can't upgrade to latest kernel (Rock64)

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
chestercs
Posts: 3
Joined: Sun Jun 10, 2018 12:57 pm

Can't upgrade to latest kernel (Rock64)

Post by chestercs »

Hello DietPi community.

I really appreciate if anyone can help me out. I want to upgrade my kernel from 4.4.77-rockchip-ayufan-136 to the latest one (4.17)
Tried these methods already:

https://unix.stackexchange.com/question ... st-version
https://github.com/ayufan-rock64/linux- ... upgrade.md

But the kernel remains everytime the same default (4.4.77-rockchip-ayufan-136). What am I doing wrong?

Version: DietPi v6.9
Last edited by chestercs on Sun Jun 10, 2018 7:13 pm, edited 1 time in total.
burgyman
Posts: 6
Joined: Sat Jun 23, 2018 10:40 pm

Re: Can't upgrade to latest kernel (Rock64)

Post by burgyman »

Hi,
Did you manage to find a solution?

I'm in the same situation, installed DietPi and upgraded to v6.9 and no matter what I try (I'm not a linux expert), kernel doesn't get upgraded to latest stable release - https://github.com/ayufan-rock64/linux- ... ses/latest

Appreciate if you or someone else can post some tips.
Thanks.
chestercs
Posts: 3
Joined: Sun Jun 10, 2018 12:57 pm

Re: Can't upgrade to latest kernel (Rock64)

Post by chestercs »

Hello!

Nowadays I don't have time nowadays to tinker with my server.
But actually, I think we need to learn how to compile the kernel from source code and configure it to compile u-boot files too.
A professional here would be awesome here.
We still need the answer ^^
burgyman
Posts: 6
Joined: Sat Jun 23, 2018 10:40 pm

Re: Can't upgrade to latest kernel (Rock64)

Post by burgyman »

I don't understand why it would be so difficult, according to
https://github.com/ayufan-rock64/linux- ... tag/0.6.44 it should be enough to:

Code: Select all

sudo apt-get update -y
sudo apt-get install linux-rock64 -y
There is also an option in dietpi-config to update firmware so I wonder if should be reported as a bug.
User avatar
MichaIng
Site Admin
Posts: 2294
Joined: Sat Nov 18, 2017 6:21 pm

Re: Can't upgrade to latest kernel (Rock64)

Post by MichaIng »

@chestercs
Just for the record, we further discuss this topic on GitHub, if you are interest to join: https://github.com/Fourdee/DietPi/issues/1892
gregb49
Posts: 13
Joined: Mon Aug 21, 2017 11:24 am
Location: Wessex, UK

Re: Can't upgrade to latest kernel (Rock64)

Post by gregb49 »

I'm also running 4.4.7-rockchip-ayufan-136 and was beginning to think that this was the best desktop install that I had yet seen on a Rock 64. However, I've just made the mistake of upgrading and updating the software and have hit the problem that I hit with two other microSD cards. When typing 'startx' I get a

Code: Select all

Fatal Server error (EE) no screens found
report. I had assumed that, previously, I had tried to use suspect uSD cards, but that appears not to be the case.
Could it be that the update was trying to install a new kernel?
uname -a gives

Code: Select all

 Linux DietPi 4.4.77-ayufan 136 #1
Yet another fresh install of something or the other coming up.
Rock 64 4GB. Evaluating desktops using Armbian-Debian-Stretch/DietPi-Stretch/Bionic-LXDE
User avatar
MichaIng
Site Admin
Posts: 2294
Joined: Sat Nov 18, 2017 6:21 pm

Re: Can't upgrade to latest kernel (Rock64)

Post by MichaIng »

@gregb49
What you mean by upgrading and updating the software: dietpi-update, apt update & upgrade or something else?

Until now, dietpi-update does not address the Rock64 kernel upgrade issue, that is topic here. apt full-upgrade will install a current kernel package, but it will not be placed into to EFI partition, thus have no effect.

But let's investigate what's the reason in your case.
burgyman
Posts: 6
Joined: Sat Jun 23, 2018 10:40 pm

Re: Can't upgrade to latest kernel (Rock64)

Post by burgyman »

Sharing the link with steps to upgrade to latest stable in case someone gets here

https://github.com/Fourdee/DietPi/issue ... -408260405
Post Reply