Armbian and LibreELEC for BPI-R2-pro (rk3568)

ArmbianTV test version for BPI-R2-pro. To run, download the image, unpack, burn to an SD card, connect to the device and turn on the power. The system starts automatically. Perform the initial setup according to the Armbian documentation. It works with HDMI (1080p), USB, analog and HDMI sound, WAN port. Full-screen video playback works.

The first (>= 20220405) version of Libreelec for Banana PI R2 pro (rk3568) is available. To launch. Download the image for bpir2pro, unpack, burn to SD card. Connect to the device and turn on the power. The system starts automatically. At the first startup, the system automatically expands the partition to the entire media and automatically restarts. At the first start, you need to perform the initial configuration. Details can be found at the link.

Important. All Armbian and LE systems have support for direct launch from USB media. You can connect an SD card with any Armbian or LE system to BPIr2pro, burn any system to USB media and connect it (along with the SD card) and the system will automatically start completely from USB. When the USB is disconnected, the system starts from the SD card. When the SD card is disconnected, the system starts with eMMC.

2 Likes

Ver 20220501-edge fix LAN

you should link your source here too

and please include author information and do not squash different patches together…it makes it easier to find something.

the ArmbianTV version which is published here

I also plan to send a PR with CSC support to the official Armbian build system.

?

The patches are received “as is” from the official Linux website.

i mean squashed patches like this:

which is partly iodomain fix i’ve send, partly the network-fix and some own code

have not yet found the patch adding the dsa-node for switch.

Your DTB is working, there is sound with my core. When using the kernel file, there is no sound. So the reason is either in the kernel configuration or in the source code. Analyzing your source code, I found a number of things that may affect the sound (clk-rk3568.c). It has different values for

your

PNAME(i2s0_mclkout_tx_p) = { “clk_i2s0_8ch_tx”, “xin_osc0_half” };
PNAME(i2s0_mclkout_rx_p) = { “clk_i2s0_8ch_rx”, “xin_osc0_half” };

my

PNAME(i2s0_mclkout_tx_p) = { “mclk_i2s0_8ch_tx”, “xin_osc0_half” };
PNAME(i2s0_mclkout_rx_p) = { “mclk_i2s0_8ch_rx”, “xin_osc0_half” };

These patches are designed for the build system and are created for its proper operation (they are not intended to be sent to the mainline). Patches from PATCHWORK go “as is”.

that will point to this patch, i tried without success (not sure i reverted before or after upload the kernel-binary)

btw. where does this come (do not remember seen this on patchwork).

but i tested with it, so it is not cause of the hdmi-problem

we should move this discussion to the pm thread

The first (>= 20220405) version of Libreelec for Banana PI R2 pro (rk3568) is available. To launch. Download the image for bpir2pro, unpack, burn to SD card. Connect to the device and turn on the power. The system starts automatically. At the first startup, the system automatically expands the partition to the entire media and automatically restarts. At the first start, you need to perform the initial configuration. Details can be found at the link. Important. All Armbian and LE systems have support for direct launch from USB media. You can connect an SD card with any Armbian or LE system to BPIr2pro, burn any system to USB media and connect it (along with the SD card) and the system will automatically start completely from USB. When the USB is disconnected, the system starts from the SD card. When the SD card is disconnected, the system starts with eMMC. :slight_smile:

New image ArmbianTV ver 20220511 edge - kernel 5.18-rc6 current - kernel 5.17.6 legacy - kernel 4.19.219 (work LAN mt7531)

Libreelec 20220512 kernel 5.18-rc6

why such old kernel? btw. i have up-ported the phy driver too (at least to 5.17)…

This core has the maximum hardware support and will be useful until the moment when the main core receives all the missing elements. By the way, with the help of an image with this kernel, I was able to check that my equipment is not broken and the LAN ports are working and receiving addresses via DHCP. It would be interesting to check on your instance, suddenly it turns out that you haven’t broken anything in the LAN equipment :slight_smile:

Image 20220517-edge kernel 5.18-rc7 add patch