Armbian and LibreELEC for rk3399

I checked running the latest versions of ArmbianTV and Libreelec on roc-pc-rk3399. The systems start up and work well. If desired, you can install these systems on eMMC or NVMe. You can find out more about how to do this in these topics.

https://forum.armbian.com/topic/ … l-aw-aarch64-armv8/

https://forum.armbian.com/topic/ … ment&comment=109308

https://forum.libreelec.tv/threa … rk3328-rk3399-3288/

Or ask questions in this topic.

Support for media functions.

https://forum.armbian.com/topic/16516-rk3399-legacy-multimedia-framework/

New image
Libreelec ver 20200928 kernel 5.9-rc7 , u-boot-2020.10-rc5
Armbian ver 20200928-dev kernel 5.9-rc7 u-boot-2020.10-rc5

Libreelec ver 20201012 kernel 5.9
Armbian ver 20201014 kernel 5.9

New versions of Armbian and Libreelec. Checked the launch on Firefly Station P1. all the main equipment (LAN, WiFi, BT, sound HDMI) Works except for the analog audio output. Important difference between the new versions. After writing the image to the SD card, you no longer need to make changes to the extlinux settings to run, all the necessary settings are already in the images. Download links for new versions are now located here. Dir Firefly_station_p1

https://yadi.sk/d/CJW9Idb0IpQZag?w=1

https://mega.nz/#F!j9QSDQSQ!6WpasOlbZYIInfw6yo4phQ

https://users.armbian.com/balbes150/

Thank you for these builds babels150! However as a new owner of Firefly Station P1 I am not sure how to boot from MicroSD or USB. Any tips? The wiki does not have a page yet for the Firefly Station P1, but I am eager to test these.

So far I have tried this to boot from MicroSD:

unxz Armbian_20.11.0-trunk_Roc-rk3399-pc_buster_current_5.8.16.img.xz
dd if=Armbian_20.11.0-trunk_Roc-rk3399-pc_buster_current_5.8.16.img of=/dev/sdb
*Insert microSD*
Machine does not boot (or no HDMI output?)

If possible I would prefer boot live from USB prior to flashing. Please let me know.

Previously, I have already encountered that users had problems when starting the system from an SD card on different models, if they used the DD utility to write the image (there is a topic on the Armbian forum where many users write about this). Try using specialized programs for writing images to the SD card to write the image. More important information. There is no power button on P1, and after turning off the LE \ Armbian system, to quickly re-enable it, you need to either disconnect the power connector from P1 itself, or pull the power supply out of the socket and wait a few (3-5) minutes (until the circuits in P1 self-discharge).

Starting from USB only works in boot loaders that are used in LE and Armbian. This means that if you want to save Android and run systems from USB, you need to additionally (along with the USB media) connect the SD card on which LE or Armbian is recorded. If you install a LE or Armbian system in eMMC, there will also be the installation of a new u-boot with support for starting from USB, and then you can start systems from USB without an SD card.

Important information. To run LE and Armbian correctly from an SD card, the SD card must not have a GPT table. If any systems with GPT were previously written to this SD card, you must completely clear the entire SD card (or clear the last sectors where the GPT backup is stored).

Libreelec ver 2020111 kernel 5.9.7

Detected flaws. Restart does not work, you need to turn off the power supply.

https://yadi.sk/d/8vNYuuxynz1L0w?w=1

ArmbianTV ver 20.11

To enable BT in Armbian, you need to install the full firmware package. This can be easily done either through the “armbian-config” or through the standard DEB package (apt install armbian-firmware-full) installation tools. After installing the firmware, turn on BT and restart the system.

Tried flashing this on my firefly rk3399 using the android tool v 2.65 on the upgrade firmware tab but am getting the error ‘Loading firmware failed!’ …what could be the issue?

n1klaus Posted at 11/19/2020 11:02
Tried flashing this on my firefly rk3399 using the android tool v 2.65 on the upgrade firmware tab b …

This is not a firmware for the android tool, it is an independent system for launching from external media and the possibility of subsequent installation in eMMC (instead of Android).
To start, you need to follow a few simple steps.

  1. to download the image.
  2. Unpack.
  3. Write a special program (which records ISO images) to the SD card.
  4. Connect the SD card and turn on the power.

Update image Armbian and Libreelec 20201120.

I added support for Station P1 in ArmbianTV (this is a version with improved media capabilities compared to the official Armbian). In the latest version 20201127, almost all hardware works (LAN, WiFi, BT, HDMI audio, except audio 3’5"). Starting the system is simple, download, unpack, write to SD card and connect to P1, the system starts automatically.

The images to download are located in subdirectories named ArmbianTV

Update image ArmbianTV 20201202 and Libreelec 20201201.

Armbian 20201203
kernel 5.9.12
expanded the list of USB modules

I added Armbian images with the Legacy core to the site (directories with images with this core have the extension “legacy”). This core is based on rockchip 4.4. for the Buster version, there is a special package “media-buster-legacy-rk3399”, which installs HW acceleration and a set of additional packages with KODI, Rockchip Gst Playe, etc., with HW acceleration, including for 4K. After starting the Armbian system (Buster-legacy), you can run the command at this link (in the future, this command will change and it will be easier, small bug in the package name and the author will fix it soon). To start KODI, log out and on the Lightdm login screen, select KODI in the upper-right corner of the session menu and log in. Please note that the sound settings and so on, you need to install in the system before starting KODI (it uses the settings that are set before the user logs out to DE).

sudo apt install media-buster-legacy-rk3399 kodi-rk=2:18.9~git20201128.1604-6a1acdb9c6-18.9buster0armbian2 --install-recommends

Update Libreelec and ArmbianTV 20201210 kernel 5.10.0-rc7

fixed media package installation for Buster-legacy. To install, you now need to use the command.

sudo apt install media-buster-legacy-rk3399 --install-recommends

New test image any DE (XFCE\Mate\KDE etc)

https://yadi.sk/d/IOFDncmBWzj5uw?w=1

20201216 ArmbianTV and Libreelec kernel 5.10.1

Support for media functions.

https://forum.armbian.com/topic/16516-rk3399-legacy-multimedia-framework/

New image ArmbianTV-desktop

https://users.armbian.com/balbes150/firefly_station_p1/ArmbianTV-desktop/