Posts by balbes150

    Can this build be tested on the Khadas Edge2, and does anything need to be changed before flashing it?

    You can try changing the DTB settings, and if you’re using u‑boot with support for booting from USB, you can start it USB. If you’re using an SD card, you need to modify u‑boot.


    chewitt Привет ;)

    Send new device-trees to the mailing list, then they get added and supported upstream. Where do you publish image sources now?

    In the near future, I will upload the source code to GitHub and provide a link to it.

    P.S. Update branch rk3588-20261111 my github

    20261110-rk3588
    Посмотреть и скачать с Яндекс Диска
    disk.yandex.ru

    New images for 3588. Support for the new model Mekotronics-R58-4x4 has been added.

    IMPORTANT: there are several kernel variants (7.x and 6.12‑rockchip). The 6.12 kernel has better hardware support (sound and other features). The ALL image is universal; it includes all available DTBs. Both images use the same u-boot for mekotronics-r58-4x4; if a different one is needed, it must be manually configured as before (you can use the u-boot and DTB from Armbian; they are compatible).

    please push changes to your GitHub repo, thanks.

    switching to wayland · 150balbes/LibreELEC.tv@7a90b8e


    п.с. тут не все изменения строго нужны, просто добавил сразу то, что-бы можно было запустить сборку и получить готовый образ для rock5b с рабочим выводом на экран.

    PROJECT=Rockchip DEVICE=RK3588 ARCH=aarch64 UBOOT_SYSTEM=rock-5b make image

    Now this was all relevant to a fairly specific Armbian build using the old 5.1 kernel and unfortunately, the liujianfeng1994 repositories don't work with newer builds.

    This is a BSP core for which you need to use rk-mpp (for HW decoding), which greatly reduces its benefits. Back in 2023, I released LE builds with BSP 6.1 kernels, you can find them on the website. Yes, this core has better support for rk3588 hardware, but it's not the main core with a lot of hacks.

    Wrote test-image to sdcard and changed FTD to NanoPi-r6c

    rk3588-roc-pc.img.gz

    When writing to the SD card, the u-boot for RK3588-ROC-PC is used, which is not compatible with your model. You will have to manually replace the u-boot on the SD card with one that supports your model and (importantly) knows how to run the system using extlinux.conf.

    Or you need to use a USB flash drive, but you need a u-boot for your model that works with USB (as it is implemented for supported models of this theme).

    starting USB...
    Bus usb@fc800000: USB EHCI 1.00
    Bus usb@fc840000: USB OHCI 1.0
    Bus usb@fc880000: USB EHCI 1.00
    Bus usb@fc8c0000: USB OHCI 1.0
    Bus usb@fcd00000: usb maximum-speed not found
    Register 2000140 NbrPorts 2
    Starting the controller
    USB XHCI 1.10
    scanning bus usb@fc800000 for devices... WARN: interface 0 has 2 endpoint descriptor, different from the interface descriptor's value: 1
    4 USB Device(s) found
    scanning bus usb@fc840000 for devices... 1 USB Device(s) found
    scanning bus usb@fc880000 for devices... 1 USB Device(s) found
    scanning bus usb@fc8c0000 for devices... 1 USB Device(s) found
    scanning bus usb@fcd00000 for devices... 1 USB Device(s) found
    scanning usb for storage devices... 0 Storage Device(s) found

    Device 0: unknown device
    switch to partitions #0, OK
    mmc1 is current device
    Scanning mmc 1:1...
    Found /extlinux/extlinux.conf
    Retrieving file: /extlinux/extlinux.conf
    reading /extlinux/extlinux.conf
    225 bytes read in 6 ms (36.1 KiB/s)
    1: LibreELEC
    Retrieving file: /KERNEL
    reading /KERNEL
    86051328 bytes read in 13673 ms (6 MiB/s)
    !!! env helper try: /uEnv.txt
    Retrieving file: /uEnv.txt
    ** Unable to read file /uEnv.txt **
    append: boot=LABEL=LIBREELEC disk=LABEL=STORAGE quiet console=ttyS2,1500000 console=tty0 systemd.debug_shell=ttyS2 coherent_pool=2M cec.debounce_ms=5000
    Retrieving file: /dtb/rockchip/rk3588-rock-5b.dtb
    reading /dtb/rockchip/rk3588-rock-5b.dtb
    178470 bytes read in 41 ms (4.2 MiB/s)
    Fdt Ramdisk skip relocation
    No misc partition
    ## Flattened Device Tree blob at 0x0a100000
    Booting using the fdt blob at 0x0a100000
    'reserved-memory' shmem@10f000: addr=10f000 size=100
    Using Device Tree in place at 000000000a100000, end 000000000a12e925
    can't found rockchip,drm-logo, use rockchip,fb-logo
    WARNING: could not set reg FDT_ERR_BADOFFSET.
    failed to reserve fb-loader-logo memory
    Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
    Adding bank: 0x09400000 - 0xf0000000 (size: 0xe6c00000)
    Adding bank: 0x100000000 - 0x3fc000000 (size: 0x2fc000000)
    Adding bank: 0x3fc500000 - 0x3fff00000 (size: 0x03a00000)
    Adding bank: 0x4f0000000 - 0x500000000 (size: 0x10000000)
    Total: 20528.512 ms

    Starting kernel ...

    is building the image with the Wayland windowing environment, and this restricts you to a single refresh rate because Wayland does not support dynamic refresh rate changes. This is why LE does not use Wayland in official images (only GBM, and Xorg for nVidia). The LE build system supports Wayland because it's used with the Lakka retrogaming fork.

    If wyland hadn't been able to do this, no one would have started translating all modern distributions to wyland with gnome and kde. I admit that there are no such tools in LE yet (perhaps they just weren't needed yet).

    I launched armbian with a 6.15 core on Rock 5b with gnome and wyland - in the settings I can change the screen frequency (60 59.5 50 etc) and any resolution formats. And this is taking into account that there is not all support for 3588 yet.


    Alpha version 20250610-wayland . This is a universal version for all supported devices RK3399 RK356X RK3588 RK3576. SW decoding works on all devices by default. To enable HW decoding (including on 3588), need to enable drm_prem_hw in the settings (see the screenshots for details on how to do this). But on 3588, when HW decoding is turned on, there is a bug - on 4K video it does not work and the video freezes, all videos =< 1920 x 1080 work with HW decoding without any problems.


    screen_drm_hw
    Посмотреть и скачать с Яндекс Диска
    disk.yandex.ru

    почему wayland?

    с ним нормально работает графика, и плюс он лучше поддерживается в основном ядре


    Playing around a little more. I noticed that the monitor refresh rate only had one option, 30mhz and I was unable to connect to to either the Kodi or Libreelec repositories to install addons. I just get a timeout error.

    Here are screenshots showing that the network turnips are working on the supported models (the installation is going well) and the frequency is available at 60 Hz.

    screen
    Посмотреть и скачать с Яндекс Диска
    disk.yandex.ru