Rockpi4/radxa-apt
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
Contents
Install the latest u-boot
sudo apt-get install rockpi4b-rk-ubootimg
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-image-4.4.154-59-rockchip-g5e70f14 linux-firmware-image-4.4.154-59-rockchip-g5e70f14
Edit /boot/extlinux/extlinux.conf to boot the new kernel by default
change line
default kernel-4.4
to
default kernel-4.4.154-59-rockchip-g5e70f14
Save, sync and reboot. Now you boot into the new kernel.
Available packages
Bionic
ap6255-firmware
ap6256-firmware
brcm-patchram-plus1-32
brcm-patchram-plus1-64
gstreamer1.0-rockchip1-extra
gstreamer1.0-rockchip1
librockchip-mpp1
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
linux-libc-dev
rockchip-fstab
rockchip-mali-midgard-dev
rockchip-mali-midgard14
rockchip-opencv
rockchip-overlay
rockpi4b-rk-ubootimg
Stretch
ap6255-firmware
ap6256-firmware
brcm-patchram-plus1-32
brcm-patchram-plus1-64
gstreamer1.0-rockchip1-dbgsym
gstreamer1.0-rockchip1-extra-dbgsym
gstreamer1.0-rockchip1-extra_20180115-1
gstreamer1.0-rockchip1-extra_20180115-1
gstreamer1.0-rockchip1
libgstreamer-plugins-bad1.0-0
libmali-rk-dev
libmali-rk-midgard-t76x-r14p0-r0p0-wayland
libmali-rk-midgard-t76x-r14p0-r0p0
libmali-rk-midgard-t76x-r14p0-r1p0
libmali-rk-midgard-t86x-r14p0
libmali-rk-utgard-400-r7p0
librockchip-mpp-dev
librockchip-mpp-static
librockchip-mpp1-dbgsym
librockchip-mpp1
librockchip-vpu0-dbgsym
librockchip-vpu0
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
linux-libc-dev
rockchip-fstab
rockchip-mali-midgard-dev
rockchip-mali-midgard14
rockchip-mpp-demos-dbgsym
rockchip-mpp-demos
rockchip-opencv
rockchip-overlay
rockpi4b-rk-ubootimg