Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

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

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

Available packages

Bionic

96boards-tools-common

ap6255-firmware

ap6256-firmware

brcm-patchram-plus1-32

brcm-patchram-plus1-64

ffmpeg

ffmpeg-dbgsym

ffmpeg-doc

gstreamer1.0-rockchip1

gstreamer1.0-rockchip1-dbgsym

gstreamer1.0-rockchip1-extra

gstreamer1.0-rockchip1-extra-dbgsym

libav-tools

libavcodec-dev

libavcodec-extra

libavcodec-extra57

libavcodec-extra57-dbgsym

libavcodec57

libavcodec57-dbgsym

libavdevice-dev

libavdevice57

libavdevice57-dbgsym

libavfilter-dev

libavfilter-extra

libavfilter-extra6

libavfilter-extra6-dbgsym

libavfilter6

libavfilter6-dbgsym

libavformat-dev

libavformat57

libavformat57-dbgsym

libavresample-dev

libavresample3

libavresample3-dbgsym

libavutil-dev

libavutil55

libavutil55-dbgsym

libdrm-dev

libdrm-rockchip1

libdrm2

libmali-bifrost-g31-rxp0-wayland-gbm

libmali-rk-dev

libmali-rk-midgard-t86x-r14p0

libmali-rk-utgard-450-r7p0

libmraa-rockpi4

libpostproc-dev

libpostproc54

libpostproc54-dbgsym

libqgsttools-p1

libqgsttools-p1-dbgsym

libqt5multimedia5

libqt5multimedia5-dbgsym

libqt5multimedia5-plugins

libqt5multimedia5-plugins-dbgsym

libqt5multimediaquick-p5

libqt5multimediaquick-p5-dbgsym

libqt5multimediawidgets5

libqt5multimediawidgets5-dbgsym

librockchip-mpp-dev

librockchip-mpp-static

librockchip-mpp1

librockchip-mpp1-dbgsym

librockchip-vpu0

librockchip-vpu0-dbgsym

libswresample-dev

libswresample2

libswresample2-dbgsym

libswscale-dev

libswscale4

libswscale4-dbgsym

linux-4.4-lastest

linux-firmware-image-4.4.154-59-rockchip-g5e70f14

linux-firmware-image-4.4.154-72-rockchip-g6520deb

linux-firmware-image-4.4.154-73-rockchip-00007-g155a65a

linux-firmware-image-4.4.154-74-rockchip-00012-g0333c19

linux-firmware-image-4.4.154-75-rockchip-00013-gcc4fef3

linux-firmware-image-4.4.154-76-rockchip-00015-g6cd6212

linux-firmware-image-4.4.154-77-rockchip-00016-ged3107a

linux-firmware-image-4.4.154-78-rockchip-00017-g625c2b2

linux-firmware-image-4.4.154-81-rockchip-00021-g43bca74

linux-headers-4.4.154-10-g209c242-dirty

linux-headers-4.4.154-59-rockchip-g5e70f14

linux-headers-4.4.154-72-rockchip-g6520deb

linux-headers-4.4.154-73-rockchip-00007-g155a65a

linux-headers-4.4.154-74-rockchip-00012-g0333c19

linux-headers-4.4.154-75-rockchip-00013-gcc4fef3

linux-headers-4.4.154-76-rockchip-00015-g6cd6212

linux-headers-4.4.154-77-rockchip-00016-ged3107a

linux-headers-4.4.154-78-rockchip-00017-g625c2b2

linux-headers-4.4.154-81-rockchip-00021-g43bca74

linux-headers-4.4.154-ge0ce80a-dirty

linux-image-4.4.154-10-g209c242-dirty

linux-image-4.4.154-10-g209c242-dirty-dbg

linux-image-4.4.154-59-rockchip-g5e70f14

linux-image-4.4.154-72-rockchip-g6520deb

linux-image-4.4.154-73-rockchip-00007-g155a65a

linux-image-4.4.154-74-rockchip-00012-g0333c19

linux-image-4.4.154-75-rockchip-00013-gcc4fef3

linux-image-4.4.154-76-rockchip-00015-g6cd6212

linux-image-4.4.154-77-rockchip-00016-ged3107a

linux-image-4.4.154-78-rockchip-00017-g625c2b2

linux-image-4.4.154-81-rockchip-00021-g43bca74

linux-image-4.4.154-ge0ce80a-dirty

linux-image-4.4.154-ge0ce80a-dirty-dbg

linux-libc-dev

linux-virtual-generic

mpv-rkmpp

mpv-rkmpp-dbgsym

opencv4.0

qml-module-qtaudioengine

qml-module-qtaudioengine-dbgsym

qml-module-qtmultimedia

qml-module-qtmultimedia-dbgsym

qtmultimedia5-dev

qtmultimedia5-doc

qtmultimedia5-doc-html

qtmultimedia5-examples

qtmultimedia5-examples-dbgsym

rock960ab-rk-u-boot-lastest

rock960ab-rk-ubootimg

rock960c-rk-u-boot-lastest

rock960c-rk-ubootimg

rockchip-fstab

rockchip-mali-midgard-dev

rockchip-mali-midgard14

rockchip-mpp-demos

rockchip-mpp-demos-dbgsym

rockchip-overlay

rockpi4-dtbo

rockpi4b-rk-u-boot-lastest

rockpi4b-rk-ubootimg

Stretch

96boards-tools-common

ap6255-firmware

ap6256-firmware

brcm-patchram-plus1-32

brcm-patchram-plus1-64

chromium

ffmpeg

ffmpeg-dbgsym

ffmpeg-doc

gstreamer1.0-rockchip1

gstreamer1.0-rockchip1-dbgsym

gstreamer1.0-rockchip1-extra

gstreamer1.0-rockchip1-extra-dbgsym

kodi

kodi-bin

libav-tools

libavcodec-dev

libavcodec-extra

libavcodec-extra57

libavcodec-extra57-dbgsym

libavcodec57

libavcodec57-dbgsym

libavdevice-dev

libavdevice57

libavdevice57-dbgsym

libavfilter-dev

libavfilter-extra

libavfilter-extra6

libavfilter-extra6-dbgsym

libavfilter6

libavfilter6-dbgsym

libavformat-dev

libavformat57

libavformat57-dbgsym

libavresample-dev

libavresample3

libavresample3-dbgsym

libavutil-dev

libavutil55

libavutil55-dbgsym

libdrm-dev

libdrm-rockchip1

libdrm2

libgstreamer-plugins-bad1.0-0

libmali-bifrost-g31-rxp0-wayland-gbm

libmali-rk-dev

libmali-rk-midgard-t76x-r14p0-r0p0

libmali-rk-midgard-t76x-r14p0-r0p0-wayland

libmali-rk-midgard-t76x-r14p0-r1p0

libmali-rk-midgard-t86x-r14p0

libmali-rk-utgard-400-r7p0

libmali-rk-utgard-450-r7p0

libmpv-dev

libmpv1

libmpv1-dbgsym

libmraa-rockpi4

libpostproc-dev

libpostproc54

libpostproc54-dbgsym

libqgsttools-p1

libqgsttools-p1-dbgsym

libqt5multimedia5

libqt5multimedia5-dbgsym

libqt5multimedia5-plugins

libqt5multimedia5-plugins-dbgsym

libqt5multimediaquick-p5

libqt5multimediaquick-p5-dbgsym

libqt5multimediawidgets5

libqt5multimediawidgets5-dbgsym

librockchip-mpp-dev

librockchip-mpp-static

librockchip-mpp1

librockchip-mpp1-dbgsym

librockchip-vpu0

librockchip-vpu0-dbgsym

libswresample-dev

libswresample2

libswresample2-dbgsym

libswscale-dev

libswscale4

libswscale4-dbgsym

linux-4.4-lastest

linux-firmware-image-4.4.154-59-rockchip-g5e70f14

linux-firmware-image-4.4.154-72-rockchip-g6520deb

linux-firmware-image-4.4.154-73-rockchip-00007-g155a65a

linux-firmware-image-4.4.154-74-rockchip-00012-g0333c19

linux-firmware-image-4.4.154-75-rockchip-00013-gcc4fef3

linux-firmware-image-4.4.154-76-rockchip-00015-g6cd6212

linux-firmware-image-4.4.154-77-rockchip-00016-ged3107a

linux-firmware-image-4.4.154-78-rockchip-00017-g625c2b2

linux-firmware-image-4.4.154-81-rockchip-00021-g43bca74

linux-headers-4.4.154-10-g209c242-dirty

linux-headers-4.4.154-11-gaad28c8-dirty

linux-headers-4.4.154-59-rockchip-g5e70f14

linux-headers-4.4.154-72-rockchip-g6520deb

linux-headers-4.4.154-73-rockchip-00007-g155a65a

linux-headers-4.4.154-74-rockchip-00012-g0333c19

linux-headers-4.4.154-75-rockchip-00013-gcc4fef3

linux-headers-4.4.154-76-rockchip-00015-g6cd6212

linux-headers-4.4.154-77-rockchip-00016-ged3107a

linux-headers-4.4.154-78-rockchip-00017-g625c2b2

linux-headers-4.4.154-81-rockchip-00021-g43bca74

linux-headers-4.4.154-ge0ce80a-dirty

linux-image-4.4.154-10-g209c242-dirty

linux-image-4.4.154-10-g209c242-dirty-dbg

linux-image-4.4.154-11-gaad28c8-dirty

linux-image-4.4.154-59-rockchip-g5e70f14

linux-image-4.4.154-72-rockchip-g6520deb

linux-image-4.4.154-73-rockchip-00007-g155a65a

linux-image-4.4.154-74-rockchip-00012-g0333c19

linux-image-4.4.154-75-rockchip-00013-gcc4fef3

linux-image-4.4.154-76-rockchip-00015-g6cd6212

linux-image-4.4.154-77-rockchip-00016-ged3107a

linux-image-4.4.154-78-rockchip-00017-g625c2b2

linux-image-4.4.154-81-rockchip-00021-g43bca74

linux-image-4.4.154-ge0ce80a-dirty

linux-image-4.4.154-ge0ce80a-dirty-dbg

linux-libc-dev

linux-virtual-generic

mpv

mpv-dbgsym

mpv-rkmpp

mpv-rkmpp-dbgsym

opencv4.0

qml-module-qtaudioengine

qml-module-qtaudioengine-dbgsym

qml-module-qtmultimedia

qml-module-qtmultimedia-dbgsym

qtmultimedia5-dev

qtmultimedia5-doc

qtmultimedia5-doc-html

qtmultimedia5-examples

qtmultimedia5-examples-dbgsym

rock960ab-rk-u-boot-lastest

rock960ab-rk-ubootimg

rock960c-rk-u-boot-lastest

rock960c-rk-ubootimg

rockchip-fstab

rockchip-mali-midgard-dev

rockchip-mali-midgard14

rockchip-mpp-demos

rockchip-mpp-demos-dbgsym

rockchip-overlay

rockpi4-dtbo

rockpi4b-rk-u-boot-lastest

rockpi4b-rk-ubootimg