Difference between revisions of "Rockpi4/radxa-apt"
(→Available packages) |
|||
Line 101: | Line 101: | ||
==== Bionic ==== | ==== Bionic ==== | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="overflow:auto;"> | ||
96boards-tools-common | 96boards-tools-common | ||
Line 235: | Line 237: | ||
rockpi4b-rk-ubootimg | rockpi4b-rk-ubootimg | ||
+ | |||
+ | </div> | ||
==== Bionic-testing ==== | ==== Bionic-testing ==== | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="overflow:auto;"> | ||
96boards-tools-common | 96boards-tools-common | ||
Line 325: | Line 331: | ||
rockpis-rk-ubootimg | rockpis-rk-ubootimg | ||
+ | |||
+ | </div> | ||
==== Stretch ==== | ==== Stretch ==== | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="overflow:auto;"> | ||
96boards-tools-common | 96boards-tools-common | ||
Line 461: | Line 471: | ||
rockpi4b-rk-ubootimg | rockpi4b-rk-ubootimg | ||
+ | |||
+ | </div> | ||
==== Stretch-testing ==== | ==== Stretch-testing ==== | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="overflow:auto;"> | ||
96boards-tools-common | 96boards-tools-common | ||
Line 569: | Line 583: | ||
rtl8723ds-firmware | rtl8723ds-firmware | ||
+ | |||
+ | </div> | ||
==== Buster testing ==== | ==== Buster testing ==== | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="overflow:auto;"> | ||
96boards-tools-common | 96boards-tools-common | ||
Line 677: | Line 695: | ||
rtl8723ds-firmware | rtl8723ds-firmware | ||
+ | |||
+ | </div> | ||
=== Change Log === | === Change Log === |
Revision as of 09:11, 21 October 2019
ROCK Pi 4 > Radxa APT
Contents
[hide]Radxa APT is the Debian package repository maintained by Radxa to provide ROCK Pi 4 and Rockchip vendor specific package.
Currently Radxa APT supports Debian Stretch and Ubuntu Bionic, each distro has testing and stable repo, choose one of below:
export DISTRO=stretch export DISTRO=stretch-testing # update more frequently but maybe unstable export DISTRO=bionic export DISTRO=bionic-testing # update more frequently but maybe unstable
To use it, add radxa apt to your sources.list with the following command:
echo "deb http://apt.radxa.com/$DISTRO/ ${DISTRO%-testing} main" | sudo tee /etc/apt/sources.list.d/apt-radxa-com.list
For Chinese users
You can use https://apt.setq.me instead of http://apt.radxa.com to improve download speed. https://apt.setq.me is a mirror of Radxa APT.
Get the pub key
wget -O - apt.radxa.com/$DISTRO/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-latest
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-latest
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
Bionic-testing
Stretch
Stretch-testing
Buster testing
Change Log
Kernel packages
2019.09.12
- 4.4.143-27-rockchip
- update bluetooth uart driver for ROCK Pi S board