Jump to content

Latest kernel not updated for Orange PI 5 Plus


Go to solution Solved by Igor,

Recommended Posts

Posted (edited)

I'm using Orange Pi 5 Plus, I've updated to latest by apt upgrade but seems to be stuck on old version as you can see 25.2.2 but kernel is still 6.1.75 :

 

# uname -a
Linux abeure 6.1.75-vendor-rk35xx #1 SMP Wed Aug 21 11:45:59 UTC 2024 aarch64 GNU/Linux


# cat /var/log/apt/history.log
Start-Date: 2025-02-25  01:00:39
Commandline: /usr/bin/unattended-upgrade
Upgrade: armbian-firmware:arm64 (25.2.1, 25.2.2)
End-Date: 2025-02-25  01:00:42

Start-Date: 2025-02-25  01:01:10
Commandline: /usr/bin/unattended-upgrade
Upgrade: linux-u-boot-orangepi5-plus-vendor:arm64 (24.11.1, 25.2.2)
End-Date: 2025-02-25  01:01:11

 

 

Latest version https://www.armbian.com/orange-pi-5-plus/  does not seems to be fetched.

 

Armbian 25.2.1 Bookworm Minimal / IOT

Kernel: 6.1.99, Size: 295.5 MB, Release date: Feb 15, 2025

 

Can you explain what i've missed ?

Edited by Rdlop
Posted

Hi

 

Providing logs with

 

PASTE_SERVER_HOST=paste.armbian.de armbianmonitor -u

 

 helps with troubleshooting and significantly raises chances that issue gets addressed.

 

 

Posted
apt-mark showhold
N: Ignoring file '02-armbian-periodic.distrib' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension

 

Posted

armbianmonitor -U sends output to stdout instead of paste service

Posted
# armbianmonitor -U

     1
     2  ### lsusb:
     3
     4  Bus 002 Device 002: ID 05e3:0620 Genesys Logic, Inc. GL3523 Hub
     5  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
     6  Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub
     7  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
     8  Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
     9  Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    10  Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    11  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    12
    13  /:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
    14  /:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
    15  /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-platform/1p, 12M
    16  /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-platform/1p, 480M
    17  /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    18      |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
    19  /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
    20      |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
    21
    22  ### Userland generated with Armbian Build Framework:
    23
    24  PRETTY_NAME="Armbian 25.2.2 bookworm"
    25  ARMBIAN_PRETTY_NAME="Armbian 25.2.2 bookworm"
    26
    27  ### Installed packages:
    28
    29  ii  armbian-bsp-cli-orangepi5-plus-vendor 25.2.2                         arm64        Armbian CLI BSP for board 'orangepi5-plus' branch 'vendor'
    30  ii  armbian-firmware                      25.2.2                         all          Armbian - Linux firmware
    31  ii  linux-base                            4.9                            all          Linux image base package
    32  ii  linux-dtb-vendor-rk35xx               24.8.1                         arm64        Armbian Linux vendor DTBs in /boot/dtb-6.1.75-vendor-rk35xx
    33  ii  linux-image-vendor-rk35xx             24.8.1                         arm64        Armbian Linux vendor kernel image 6.1.75-vendor-rk35xx
    34  ii  linux-u-boot-orangepi5-plus-vendor    25.2.2                         arm64        Das U-Boot for orangepi5-plus

 

Posted
dpkg-divert --no-rename --add /etc/apt/apt.conf.d/02-armbian-periodic

I've modified that file not to be erased during update which contains

 


// Enable the update/upgrade script (0=disable)
APT::Periodic::Enable 1;

// Do apt-get update automatically every n-days (0=disable)
APT::Periodic::Update-Package-Lists 1;

// Do apt-get upgrade --download-only every n-days (0=disable)
APT::Periodic::Download-Upgradeable-Packages 1;

// Run the unattended-upgrade security upgrade script
// every n-days (0=disabled)
// Requires the package unattended-upgrades and will write
// a log in /var/log/unattended-upgrades
APT::Periodic::Unattended-Upgrade 1;

// Do apt-get autoclean every n-days (0=disable)
APT::Periodic::AutocleanInterval 20;

// Define basic patterns
//Unattended-Upgrade::Origins-Pattern {
//        origin=,codename=;
//        origin=Armbian;
//};

APT::Periodic::Update-Package-Lists 1;
APT::Periodic::Verbose 1;
Unattended-Upgrade::Remove-New-Unused-Dependencies true;
Unattended-Upgrade::Remove-Unused-Dependencies true;
Unattended-Upgrade::Automatic-Reboot true;
Unattended-Upgrade::Automatic-Reboot-Time 02:30;

Unattended-Upgrade::Origins-Pattern {
        origin=*;
      };

Do you think that file might be the problem ?

 

Also package are updated :

cat /var/log/apt/history.log

Start-Date: 2025-03-04  01:00:37
Commandline: /usr/bin/unattended-upgrade
Upgrade: armbian-firmware:arm64 (25.2.2, 25.2.2)
End-Date: 2025-03-04  01:00:40

 

Posted
1 hour ago, Rdlop said:

Do you think that file might be the problem ?


Try armbian-config way - drop your configs before.

 

Posted

how can I update by using unattended-upgrades the whole system kernel too ?

(I mean like in Debian distribution) ?

 

  • Solution
Posted
44 minutes ago, Rdlop said:

how can I update by using unattended-upgrades the whole system kernel too ?


With enabled everything in automatic upgrades. If kernel is not frozen, it will update too. If it's frozen (check with apt-mark showhold) find in the armbian-config to unfreeze it.

Posted (edited)

I've seen the latest kernel in armbian-config, installed it with armbian-config.

I'll see if next release will be fetch automatically.

Thanks for answer !

 

armbianmonitor -U

  5484  PRETTY_NAME="Armbian 25.2.2 bookworm"
  5485  ARMBIAN_PRETTY_NAME="Armbian 25.2.2 bookworm"
  5486
  5487  ### Installed packages:
  5488
  5489  ii  armbian-bsp-cli-orangepi5-plus-vendor 25.2.2                         arm64        Armbian CLI BSP for board 'orangepi5-plus' branch 'vendor'
  5490  ii  armbian-config                        25.5.0-trunk.157.0305.102925   all          Armbian config: The Next Generation
  5491  ii  armbian-firmware                      25.2.2                         all          Armbian - Linux firmware
  5492  ii  linux-base                            4.9                            all          Linux image base package
  5493  ii  linux-dtb-vendor-rk35xx               25.2.2                         arm64        Armbian Linux vendor DTBs in /boot/dtb-6.1.99-vendor-rk35xx
  5494  ii  linux-image-vendor-rk35xx             25.2.2                         arm64        Armbian Linux vendor kernel image 6.1.99-vendor-rk35xx
  5495  ii  linux-u-boot-orangepi5-plus-vendor    25.2.2                         arm64        Das U-Boot for orangepi5-plus

 

Edited by Rdlop

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines