ExplainerIoT Hardwares

Rock Pi 4 – Radxa APT

Radxa APT is the Debian package repository maintained by Radxa to provide ROCK Pi 4 and Rockchip vendor specific package.

To use it, edit your /etc/apt/sources.list and add the following:

For Debian Stretch

deb http://apt.radxa.com/stretch/ stretch main

For Ubuntu bionic

deb http://apt.radxa.com/bionic/ bionic main

Get the pub key

wget -O - apt.radxa.com/stretch/public.key | sudo apt-key add -

Update

sudo apt-get update && sudo apt-get upgrade

Install essential packages:

sudo apt-get install rockchip-overlay rockchip-fstab

Install the latest u-boot

sudo apt-get install rockpi4b-rk-u-boot-lastest

Manually run the u-boot flash script

/usr/local/sbin/rockpi4b_upgrade_bootloader.sh

Type YES to perform the uboot.img flashing.

Install the latest kernel

Now install the latest kernel package and module:

sudo apt-get install linux-base
sudo apt-get install linux-4.4-lastest

After installation, check file /boot/extlinux/extlinux.conf. It lists all kernel version installed in ROCK Pi. The kernel corresponding to the first label is the newest version and the first boot option.

When want to boot your wanted kernel by default, add one line in file /boot/extlinux/extlinux.conf. The format is as follows:

 default <label name>

For example,

default kernel-4.4.154-73-rockchip-00007-g155a65a

Save, sync and reboot. Now you boot into the new kernel.

Available kernel packages

belows are the lists of kernels packages.

 version: kernel-4.4.154-59-rockchip-g5e70f14
 packages:
 ├── linux-firmware-image-4.4.154-59-rockchip-g5e70f14
 ├── linux-headers-4.4.154-59-rockchip-g5e70f14
 └── linux-image-4.4.154-59-rockchip-g5e70f14
 verison: kernel-4.4.154-72-rockchip-g6520deb
 packages:
 ├── linux-firmware-image-4.4.154-72-rockchip-g6520deb
 ├── linux-headers-4.4.154-72-rockchip-g6520deb
 └── linux-image-4.4.154-72-rockchip-g6520deb
 version: kernel-4.4.154-73-rockchip-00007-g155a65a
 packages:
 ├── linux-firmware-image-4.4.154-73-rockchip-00007-g155a65a
 ├── linux-headers-4.4.154-73-rockchip-00007-g155a65a
 └── linux-image-4.4.154-73-rockchip-00007-g155a65a
 veersion: kernel-4.4.154-74-rockchip-00012-g0333c19
 packages:
 ├── linux-firmware-image-4.4.154-74-rockchip-00012-g0333c19
 ├── linux-headers-4.4.154-74-rockchip-00012-g0333c19
 └── linux-image-4.4.154-74-rockchip-00012-g0333c19
 verison: kernel-4.4.154-75-rockchip-00013-gcc4fef3
 packages:
 ├── linux-firmware-image-4.4.154-75-rockchip-00013-gcc4fef3
 ├── linux-headers-4.4.154-75-rockchip-00013-gcc4fef3
 ├── linux-image-4.4.154-75-rockchip-00013-gcc4fef3

For latest information visit this – https://wiki.radxa.com/Rockpi4/radxa-apt


You may like also:


 

Harshvardhan Mishra

Hi, I'm Harshvardhan Mishra. Tech enthusiast and IT professional with a B.Tech in IT, PG Diploma in IoT from CDAC, and 6 years of industry experience. Founder of HVM Smart Solutions, blending technology for real-world solutions. As a passionate technical author, I simplify complex concepts for diverse audiences. Let's connect and explore the tech world together! If you want to help support me on my journey, consider sharing my articles, or Buy me a Coffee! Thank you for reading my blog! Happy learning! Linkedin

One thought on “Rock Pi 4 – Radxa APT

Leave a Reply

Your email address will not be published. Required fields are marked *