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

Difference between revisions of "Rockpi4/radxa-apt"

(Kernel packages)
Line 740: Line 740:
  
 
==== Kernel packages ====
 
==== Kernel packages ====
 +
 +
 +
===== 2019.11.19 =====
 +
 +
* 4.4.154-99-rockchip
 +
** Add rtl8821cu and rtl8723du modules and enable them.
 +
** Support ROCK Pi E board.
  
 
===== 2019.09.12 =====
 
===== 2019.09.12 =====

Revision as of 03:41, 19 November 2019

    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.

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

Notes:

Why do we need to install rockchip-fstab packages? There are kernel images, devicetree overlay and others files in the fourth partition, boot partition. Before updating kernel, rockpi4-dtbo and other packages, we need to mount /dev/mmcblk*p4 or /dev/nvme*p4 to /boot directory. Use command, mount, to show the mounted devices.

Install the latest u-boot

Type the following command.

 $ sudo apt-get install -y rockpi4b-rk-u-boot-latest

Screen shows

 ...
 You are currently running on board:
 ROCK PI 4B 
 There will be two steps that you have to confirm. One is upgrading bootloader on SPI Flash.
 The other is upgrading bootloader on eMMC or uSD card.
 
 Step one: upgrade bootloader on SPI Flash
 Boot device, SPI Flash, is not found. Make sure there is one SPI Flash on board.
 You can install package rockpi4-dtbo later manually and uncomment three lines in file /boot/hw_intfc.conf.
 intfc:uart4=off
 intfc:spi1=on
 intfc:dtoverlay=spi1-flash
 After restarting the Pi, execute command, /usr/local/sbin/rockpi4b_upgrade_bootloader.sh.

 Step two: upgrade bootloader on uSD card or eMMC.
 Boot device, uSD card or eMMC, is found. Would you like to upgrade bootloader on it?
 If yes, type Y/y. If no, type N/n.

Just type Y or y.

 y
 Backup bootloader on boot device (/dev/mmcblk1p2).
 8192+0 records in
 8192+0 records out
 4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.107356 s, 39.1 MB/s
 Overwrite bootloader to boot device (/dev/mmcblk1p2).
 2048+0 records in
 2048+0 records out
 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.140072 s, 7.5 MB/s
 Done.

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

96boards-tools-common

ap6255-firmware

ap6256-firmware

ap6356-firmware

brcm-patchram-plus1-32

brcm-patchram-plus1-64

gstreamer1.0-rockchip1

gstreamer1.0-rockchip1-dbgsym

gstreamer1.0-rockchip1-extra

gstreamer1.0-rockchip1-extra-dbgsym

libmraa-rockpi4

librockchip-mpp-dev

librockchip-mpp-static

librockchip-mpp1

librockchip-mpp1-dbgsym

librockchip-vpu0

librockchip-vpu0-dbgsym

linux-4.4-latest

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-firmware-image-4.4.154-82-rockchip-00022-gb99b90e

linux-firmware-image-4.4.154-83-rockchip-00023-gae7a309

linux-firmware-image-4.4.154-87-rockchip-00029-g8216f17

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-82-rockchip-00022-gb99b90e

linux-headers-4.4.154-83-rockchip-00023-gae7a309

linux-headers-4.4.154-87-rockchip-00029-g8216f17

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-82-rockchip-00022-gb99b90e

linux-image-4.4.154-83-rockchip-00023-gae7a309

linux-image-4.4.154-87-rockchip-00029-g8216f17

opencv4.0

rock960ab-rk-u-boot-latest

rock960ab-rk-ubootimg

rock960c-rk-u-boot-latest

rock960c-rk-ubootimg

rockchip-fstab

rockchip-mpp-demos

rockchip-mpp-demos-dbgsym

rockchip-overlay

rockpi4-dtbo

rockpi4-poe

rockpi4b-rk-u-boot-latest

rockpi4b-rk-ubootimg

Bionic-testing

96boards-tools-common

io

linux-4.4-latest

linux-4.4-rockpis-latest

linux-firmware-image-4.4.154-86-rockchip-00028-gfcfcea3

linux-firmware-image-4.4.154-87-rockchip-00029-g8216f17

linux-firmware-image-4.4.154-88-rockchip-00030-g90239a6

linux-firmware-image-4.4.154-89-rockchip-g5fc53464d9db

linux-firmware-image-4.4.154-90-rockchip-ga14f6502e045

linux-firmware-image-4.4.154-91-rockchip-g70838c09a6b6

linux-firmware-image-4.4.154-92-rockchip-g58d4b8d2fd3b

linux-headers-4.4.143-13-rockchip-gea65ae4

linux-headers-4.4.143-14-rockchip-g2c5a33f60f54

linux-headers-4.4.143-22-rockchip-g46e0a13a34f0

linux-headers-4.4.143-23-rockchip-g394d86b2b38b

linux-headers-4.4.154-86-rockchip-00028-gfcfcea3

linux-headers-4.4.154-87-rockchip-00029-g8216f17

linux-headers-4.4.154-88-rockchip-00030-g90239a6

linux-headers-4.4.154-89-rockchip-g5fc53464d9db

linux-headers-4.4.154-90-rockchip-ga14f6502e045

linux-headers-4.4.154-91-rockchip-g70838c09a6b6

linux-headers-4.4.154-92-rockchip-g58d4b8d2fd3b

linux-image-4.4.143-13-rockchip-gea65ae4

linux-image-4.4.143-14-rockchip-g2c5a33f60f54

linux-image-4.4.143-22-rockchip-g46e0a13a34f0

linux-image-4.4.143-23-rockchip-g394d86b2b38b

linux-image-4.4.154-86-rockchip-00028-gfcfcea3

linux-image-4.4.154-87-rockchip-00029-g8216f17

linux-image-4.4.154-88-rockchip-00030-g90239a6

linux-image-4.4.154-89-rockchip-g5fc53464d9db

linux-image-4.4.154-90-rockchip-ga14f6502e045

linux-image-4.4.154-91-rockchip-g70838c09a6b6

linux-image-4.4.154-92-rockchip-g58d4b8d2fd3b

login-prompt-rockpi4

rockchip-fstab

rockchip-mali-midgard-dev

rockchip-mali-midgard14

rockchip-overlay

rockpi4-brcm-patch

rockpi4-dtbo

rockpi4b-rk-u-boot-latest

rockpi4b-rk-ubootimg

rockpis-dtbo

rockpis-rk-u-boot-latest

rockpis-rk-ubootimg

Stretch

96boards-tools-common

ap6255-firmware

ap6256-firmware

ap6356-firmware

brcm-patchram-plus1-32

brcm-patchram-plus1-64

gstreamer1.0-rockchip1

gstreamer1.0-rockchip1-dbgsym

gstreamer1.0-rockchip1-extra

gstreamer1.0-rockchip1-extra-dbgsym

libmraa-rockpi4

librockchip-mpp-dev

librockchip-mpp-static

librockchip-mpp1

librockchip-mpp1-dbgsym

librockchip-vpu0

librockchip-vpu0-dbgsym

linux-4.4-latest

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-firmware-image-4.4.154-82-rockchip-00022-gb99b90e

linux-firmware-image-4.4.154-83-rockchip-00023-gae7a309

linux-firmware-image-4.4.154-87-rockchip-00029-g8216f17

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-82-rockchip-00022-gb99b90e

linux-headers-4.4.154-83-rockchip-00023-gae7a309

linux-headers-4.4.154-87-rockchip-00029-g8216f17

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-82-rockchip-00022-gb99b90e

linux-image-4.4.154-83-rockchip-00023-gae7a309

linux-image-4.4.154-87-rockchip-00029-g8216f17

opencv4.0

rock960ab-rk-u-boot-latest

rock960ab-rk-ubootimg

rock960c-rk-u-boot-latest

rock960c-rk-ubootimg

rockchip-fstab

rockchip-mpp-demos

rockchip-mpp-demos-dbgsym

rockchip-overlay

rockpi4-dtbo

rockpi4-poe

rockpi4b-rk-u-boot-latest

rockpi4b-rk-ubootimg

Stretch-testing

96boards-tools-common

io

linux-4.4-latest

linux-4.4-rockpis-latest

linux-firmware-image-4.4.154-86-rockchip-00028-gfcfcea3

linux-firmware-image-4.4.154-87-rockchip-00029-g8216f17

linux-firmware-image-4.4.154-88-rockchip-00030-g90239a6

linux-firmware-image-4.4.154-89-rockchip-g5fc53464d9db

linux-firmware-image-4.4.154-90-rockchip-ga14f6502e045

linux-firmware-image-4.4.154-91-rockchip-g70838c09a6b6

linux-firmware-image-4.4.154-92-rockchip-g58d4b8d2fd3b

linux-headers-4.4.143-13-rockchip-gea65ae4

linux-headers-4.4.143-14-rockchip-g2c5a33f60f54

linux-headers-4.4.143-22-rockchip-g46e0a13a34f0

linux-headers-4.4.143-23-rockchip-g394d86b2b38b

linux-headers-4.4.143-24-rockchip-g23ef9f208b12

linux-headers-4.4.143-25-rockchip-gcf69a4100e39

linux-headers-4.4.143-26-rockchip-g5dbd30f3e92b

linux-headers-4.4.143-27-rockchip-g2d66709b32cd

linux-headers-4.4.154-86-rockchip-00028-gfcfcea3

linux-headers-4.4.154-87-rockchip-00029-g8216f17

linux-headers-4.4.154-88-rockchip-00030-g90239a6

linux-headers-4.4.154-89-rockchip-g5fc53464d9db

linux-headers-4.4.154-90-rockchip-ga14f6502e045

linux-headers-4.4.154-91-rockchip-g70838c09a6b6

linux-headers-4.4.154-92-rockchip-g58d4b8d2fd3b

linux-image-4.4.143-13-rockchip-gea65ae4

linux-image-4.4.143-14-rockchip-g2c5a33f60f54

linux-image-4.4.143-22-rockchip-g46e0a13a34f0

linux-image-4.4.143-23-rockchip-g394d86b2b38b

linux-image-4.4.143-24-rockchip-g23ef9f208b12

linux-image-4.4.143-25-rockchip-gcf69a4100e39

linux-image-4.4.143-26-rockchip-g5dbd30f3e92b

linux-image-4.4.143-27-rockchip-g2d66709b32cd

linux-image-4.4.154-86-rockchip-00028-gfcfcea3

linux-image-4.4.154-87-rockchip-00029-g8216f17

linux-image-4.4.154-88-rockchip-00030-g90239a6

linux-image-4.4.154-89-rockchip-g5fc53464d9db

linux-image-4.4.154-90-rockchip-ga14f6502e045

linux-image-4.4.154-91-rockchip-g70838c09a6b6

linux-image-4.4.154-92-rockchip-g58d4b8d2fd3b

login-prompt-rockpi4

rockchip-fstab

rockchip-mali-midgard-dev

rockchip-mali-midgard14

rockchip-overlay

rockpi4-brcm-patch

rockpi4-dtbo

rockpi4b-rk-u-boot-latest

rockpi4b-rk-ubootimg

rockpis-dtbo

rockpis-rk-u-boot-latest

rockpis-rk-ubootimg

rtl8723ds-firmware

Buster testing

96boards-tools-common

io

linux-4.4-latest

linux-4.4-rockpis-latest

linux-firmware-image-4.4.154-86-rockchip-00028-gfcfcea3

linux-firmware-image-4.4.154-87-rockchip-00029-g8216f17

linux-firmware-image-4.4.154-88-rockchip-00030-g90239a6

linux-firmware-image-4.4.154-89-rockchip-g5fc53464d9db

linux-firmware-image-4.4.154-90-rockchip-ga14f6502e045

linux-firmware-image-4.4.154-91-rockchip-g70838c09a6b6

linux-firmware-image-4.4.154-92-rockchip-g58d4b8d2fd3b

linux-headers-4.4.143-13-rockchip-gea65ae4

linux-headers-4.4.143-14-rockchip-g2c5a33f60f54

linux-headers-4.4.143-22-rockchip-g46e0a13a34f0

linux-headers-4.4.143-23-rockchip-g394d86b2b38b

linux-headers-4.4.143-24-rockchip-g23ef9f208b12

linux-headers-4.4.143-25-rockchip-gcf69a4100e39

linux-headers-4.4.143-26-rockchip-g5dbd30f3e92b

linux-headers-4.4.143-27-rockchip-g2d66709b32cd

linux-headers-4.4.154-86-rockchip-00028-gfcfcea3

linux-headers-4.4.154-87-rockchip-00029-g8216f17

linux-headers-4.4.154-88-rockchip-00030-g90239a6

linux-headers-4.4.154-89-rockchip-g5fc53464d9db

linux-headers-4.4.154-90-rockchip-ga14f6502e045

linux-headers-4.4.154-91-rockchip-g70838c09a6b6

linux-headers-4.4.154-92-rockchip-g58d4b8d2fd3b

linux-image-4.4.143-13-rockchip-gea65ae4

linux-image-4.4.143-14-rockchip-g2c5a33f60f54

linux-image-4.4.143-22-rockchip-g46e0a13a34f0

linux-image-4.4.143-23-rockchip-g394d86b2b38b

linux-image-4.4.143-24-rockchip-g23ef9f208b12

linux-image-4.4.143-25-rockchip-gcf69a4100e39

linux-image-4.4.143-26-rockchip-g5dbd30f3e92b

linux-image-4.4.143-27-rockchip-g2d66709b32cd

linux-image-4.4.154-86-rockchip-00028-gfcfcea3

linux-image-4.4.154-87-rockchip-00029-g8216f17

linux-image-4.4.154-88-rockchip-00030-g90239a6

linux-image-4.4.154-89-rockchip-g5fc53464d9db

linux-image-4.4.154-90-rockchip-ga14f6502e045

linux-image-4.4.154-91-rockchip-g70838c09a6b6

linux-image-4.4.154-92-rockchip-g58d4b8d2fd3b

login-prompt-rockpi4

rockchip-fstab

rockchip-mali-midgard-dev

rockchip-mali-midgard14

rockchip-overlay

rockpi4-dtbo

rockpi4b-rk-u-boot-latest

rockpi4b-rk-ubootimg

rockpis-dtbo

rockpis-rk-u-boot-latest

rockpis-rk-ubootimg

rtl8723ds-firmware

Change Log

Kernel packages

2019.11.19
  • 4.4.154-99-rockchip
    • Add rtl8821cu and rtl8723du modules and enable them.
    • Support ROCK Pi E board.
2019.09.12
  • 4.4.143-27-rockchip
    • update bluetooth uart driver for ROCK Pi S board