Picture of a Rock5B
By Lin Hanzhen / DesktopGeneral purpose / 0 Comments

Rock 5


Enable 3D Acceleration (Ubuntu variant only):

sudo add-apt-repository ppa:liujianfeng1994/panfork-mesa
sudo add-apt-repository ppa:liujianfeng1994/rockchip-multimedia
sudo apt update
sudo apt dist-upgrade
sudo apt install mali-g610-firmware rockchip-multimedia-config
# In order to install additional packages with hardware acceleration support like chromium sudo apt install chromium-browser

Check this link to see what software supports hardware acceleration:

In order to enable 3D acceleration on Kodi:

  • Follow the above “Enable 3D Acceleration” steps
  • and install kodi as an additional package (sudo apt install kodi)

To enable kodi hardware decode you have to run kodi under gbm or wayland.


In case you need to run Docker:

update-alternatives --set iptables /usr/sbin/iptables-legacy
update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
Radxa Zero
By Yakov / General purposeIOT / 0 Comments

Radxa Zero

If you have a Radxa Zero with eMMC (any model with 2GB or 4GB of RAM), you’ll need to erase the eMMC before you can boot it from a microSD card and use Armbian. 1GB version is not supported.

Full instructions are available on the Radxa wiki, but here are some quick notes.

– Connect a USB cable to the Zero’s OTG port (the USB-C plug marked USB-PWR)
– Hold down the “USB BOOT” button on the Radxa Zero while connecting the USB cable to a USB port on the Linux host
sudo pip3 install pyamlboot on the host
curl -O https://dl.armbian.com/radxa-zero/loader/radxa-zero-erase-emmc.bin
sudo boot-g12.py radxa-zero-erase-emmc.bin

You may have to run the sudo boot-g12.py command a second time to fully clear the eMMC. In case you encounter boot issues, try this hint and report there.

By Roman Brent / IOTNetworking / 0 Comments

Rockpi S

  • If your RockPi-S is equipped with >=2GB SDNAND, you may flash an OS image directly to this internal flash as follows:
    • Build Linux x86 binary rkdeveloptool (sources) on host
    • Remove any SDcard
    • Hold down MASKROM button while you…
    • Power on or press the RESET button to enter flash mode
    • Release the MASKROM button after 2 seconds
      Next, run these host commands to flash the internal SDnand:


  • Holding the MASKROM button during reset prevents booting from internal the SDNAND.
  • But, the board will always boot from the SD Card, if it finds a valid image there.
  • Kernel serial console is on UART0.  [some older images have their console on UART2]
  • The serial console operates at 1.5Mbaud with 8 data, 1 stop, and no parity bits.
  • Black(left)=GND, White(center)=TxD, Green(right)=RxD

If you have a recent board (revision >=1.3), you should add the following line to your /boot/armbianEnv.txt file to tune for the newer “BS” silicon:

overlays=bs bs@1.3ghz

Refer to /boot/dtb/rockchip/overlay/README.rockchip-overlays for more information.