LE13 Testing for RK3288, RK3328, RK3399, RK3566, RK3568, RK3576, RK3588

  • Hi chewitt, two RK3399 boot issues I found and fixed on real boards while working on Lakka (which shares the LE Rockchip bootloader setup):
    1. NanoPi M4 2GB The 2GB variant uses DDR3 (Samsung K4B4G1646E-BCMA) instead of the LPDDR3 on the 4GB model, so the nanopi-m4 image stops in TPL with "sdram_init: LPDDR3 - 933MHz failed!". Adding a nanopi-m4-2gb entry using the upstream nanopi-m4-2gb-rk3399_defconfig fixes it. Tested on LE master (U-Boot 2026.07). PR: https://github.com/LibreELEC/LibreELEC.tv/pull/11832
    2. ROCK 4C+ (V1.41 with different LPDDR4) Same issue as https://forum.libreelec.tv/thread/29774/ : with the mainline TPL there is no UART output at all (confirmed with the current LE master rock-4c-plus image). It boots with the legacy chain (rkbin DDR blob + miniloader + trust, mainline U-Boot proper) using rk3399_ddr_666MHz_v1.30.bin, matching Radxa's statement that the RK3399-T needs the RAM at 666MHz. I added it as a separate "rock-4c-plus-ddr666" board so existing rock-4c-plus users are unaffected. The DDR blob is selected in rkbin/package.mk, next to the RK3328 frequency override. Tested on LE master: boots to Kodi on cold boot and reboot, 4GB RAM. Commit: https://github.com/ShigeakiAsai/L…65eb17339d1cc5e Is this approach acceptable for a PR, or would you prefer something else (e.g. mainline SPL with CONFIG_ROCKCHIP_EXTERNAL_TPL)?

  • Will the nightlies work on Ugoos SK3 powered SoC RK3588S2-DV and 8/128 GB on board?

    I don't think so. I've not seen any mention of RK3588S2 support in the upstream kernel (only RK3588/RK3588S). The SoC differences are likely minor, but as there is no u-boot defconfig or board dts in the kernel for that box, LE will want to see those pieces in-place before offering support. NB: AFAIK there is no 8K support for RK3588 at the moment (in the to-do list, but not at the top) and DV will likely require some proper reverse engineering. I wouldn't rush out to buy one just yet.

  • I don't think so. I've not seen any mention of RK3588S2 support in the upstream kernel (only RK3588/RK3588S). The SoC differences are likely minor, but as there is no u-boot defconfig or board dts in the kernel for that box, LE will want to see those pieces in-place before offering support. NB: AFAIK there is no 8K support for RK3588 at the moment (in the to-do list, but not at the top) and DV will likely require some proper reverse engineering. I wouldn't rush out to buy one just yet.

    Thank You so much for the reply, I will keep my eye on things as I always do.


    Cheers again C

  • I uploaded booting and stoping UART TTL logs from Radxa rock 5b+ at testing build and also at LE13 nightly build. With kernel 7 is rarity of succes shut down, but was also recorded with logs.

    atirage21
    October 8, 2026 at 8:11 PM
  • So far, I have not been able to boot correctly new builds from chewitt github on internal eMMC
    I use Khadas Edge2 RK3588s, the SPI flash erase but stuck here:

    U-Boot SPL 2026.10-00848-g8d534cec0cc0 (Oct 18 2026 - 17:20:51 +0300)
    Trying to boot from MMC1
    spl: partition error
    Error: -38
    SPL: Unsupported Boot Device!
    Trying to boot from MMC2
    Card did not respond to voltage select! : -110
    spl: mmc init failed with error: -95
    Error: -95
    SPL: Unsupported Boot Device!
    Trying to boot from MMC1
    spl: partition error
    Error: -38
    SPL: Unsupported Boot Device!
    SPL: failed to boot from all boot devices
    ### ERROR ### Please RESET the board ###


    If i use u-boot-rockchip.bin from https://github.com/khadas/u-boot/tree/khadas-u-boot-v2024.07 and
    dd if=u-boot-rockchip.bin of=LibreELEC.khadas-edge2.img seek=64 conv=notrunc,fsync
    Boot process is correct an Libreeelc is working

    Is there any other way to use the current U-Boot version?

  • Dmesg log from last testing build 21.10.2026 of Radxa rock 5b plus:

    https://paste.libreelec.tv/compensational-memphis.log

    Turn off is correctly as at kernel 6.19, and compare to older kernel is working a power button as first time ever at LE. Always is issue with wakeup through lan/button.

    It seems systems working better than with kernel 6.19. Thank you and i am waiting for a beatiful update to LE13 :)

    Edited 7 times, last by atirage21 (October 25, 2026 at 10:51 AM).

  • f1gogata please retest with the latest image in my test share. If there is still the same issue with 2026.10 u-boot please pastebin the full UART boot output (don't snip anything). I've swapped to upstream AT-F from rkbin to enable HDMI-RX support so this might (or might not) change anything.

  • This is new log:

    DDR ff1a08bde6 typ 25/03/13-15:39:39,fwver: v1.19
    ch0 ttot10
    ch1 ttot10
    ch2 ttot10
    ch3 ttot10
    ch0 ttot16
    LPDDR4X, 2112MHz
    channel[0] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
    ch1 ttot16
    channel[1] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
    ch2 ttot16
    channel[2] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
    ch3 ttot16
    channel[3] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
    Manufacturer ID:0x6
    DQS rds:l1,h1
    CH0 RX Vref:28.9%, TX Vref:23.8%,23.8%
    DQ rds:h4 l0 h1 l0 h1 l0 h1 l1, h2 h4 h3 h1 h2 h1 h1 h3

    DQS rds:h2,l0
    CH1 RX Vref:28.5%, TX Vref:21.8%,21.8%
    DQ rds:h4 h3 h1 h2 h1 h1 l0 h1, l0 h2 l1 h3 h3 h2 h2 l0

    DQS rds:l0,l5
    CH2 RX Vref:25.8%, TX Vref:23.8%,22.8%
    DQ rds:l0 l0 h1 l1 h3 h1 h1 h1, l0 h1 h2 l0 l0 l0 l1 h6

    DQS rds:h2,l0
    CH3 RX Vref:30.1%, TX Vref:21.8%,20.8%
    DQ rds:h2 h2 h6 h4 h3 h2 h4 h3, l0 h1 h1 l0 l0 h1 l0 h5

    stride=0x2, ddr_config=0x4
    hash ch_mask0-1 0x20 0x40, bank_mask0-3 0xa00 0x1400 0x2800 0x0, rank_mask0 0x401000
    change to F1: 528MHz
    ch0 ttot10
    ch1 ttot10
    ch2 ttot10
    ch3 ttot10
    change to F2: 1068MHz
    ch0 ttot12
    ch1 ttot12
    ch2 ttot12
    ch3 ttot12
    change to F3: 1560MHz
    ch0 ttot14
    ch1 ttot14
    ch2 ttot14
    ch3 ttot14
    change to F0: 2112MHz
    ch0 ttot16
    ch1 ttot16
    ch2 ttot16
    ch3 ttot16
    out

    U-Boot SPL 2026.10 (Oct 25 2026 - 09:03:48 +0000)
    Trying to boot from MMC1
    spl: partition error
    Error: -38
    SPL: Unsupported Boot Device!
    Trying to boot from MMC2
    Card did not respond to voltage select! : -110
    spl: mmc init failed with error: -95
    Error: -95
    SPL: Unsupported Boot Device!
    Trying to boot from MMC1
    spl: partition error
    Error: -38
    SPL: Unsupported Boot Device!
    SPL: failed to boot from all boot devices
    ### ERROR ### Please RESET the board ###

  • Try instal first armbian and only after libreelec. I was succes with this guide. According ai gemini is two separate spl topic, one for androide booting and second for linux booting. Armbian can update spl to linux bootong which is relevant for libreelec.

    Edge2 — Armbian
    Download Armbian for Edge2 by Khadas. Platinum support, 11 images available including Resolute, Trixie, Sid.
    armbian.com

    Edited once, last by atirage21 (October 25, 2026 at 1:00 PM).

  • this is log with U-Boot 2024.07 dd to - LibreELEC-RK3588.aarch64-12.95.1-khadas-edge2.img

    DDR b8ce94f14b cym 25/08/25-14:29:26,fwver: v1.20
    ch0 ttot10
    ch1 ttot10
    ch2 ttot10
    ch3 ttot10
    ch0 ttot16
    LPDDR4X, 2112MHz
    channel[0] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
    ch1 ttot16
    channel[1] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
    ch2 ttot16
    channel[2] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
    ch3 ttot16
    channel[3] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
    Manufacturer ID:0x6
    DQS rds:l1,h1
    CH0 RX Vref:28.9%, TX Vref:23.8%,23.8%
    DQ rds:h3 l0 h2 l0 h1 l0 h2 l1, h2 h5 h2 h1 h2 h1 h1 h3

    DQS rds:h2,l0
    CH1 RX Vref:28.5%, TX Vref:21.8%,21.8%
    DQ rds:h4 h3 h1 h2 h1 h1 l0 h1, l0 h2 l1 h4 h3 h3 h3 l0

    DQS rds:l0,l5
    CH2 RX Vref:25.8%, TX Vref:22.8%,22.8%
    DQ rds:l0 l0 h1 l1 h3 h1 h2 h1, l0 h1 h1 l0 l0 l0 l1 h7

    DQS rds:h4,l0
    CH3 RX Vref:30.1%, TX Vref:21.8%,21.8%
    DQ rds:h1 h2 h5 h3 h3 h2 h5 h3, l0 h1 h1 l0 l0 h1 h1 h5

    stride=0x2, ddr_config=0x4
    hash ch_mask0-1 0x20 0x40, bank_mask0-3 0xa00 0x1400 0x2800 0x0, rank_mask0 0x401000
    change to F1: 528MHz
    ch0 ttot10
    ch1 ttot10
    ch2 ttot10
    ch3 ttot10
    change to F2: 1068MHz
    ch0 ttot12
    ch1 ttot12
    ch2 ttot12
    ch3 ttot12
    change to F3: 1560MHz
    ch0 ttot14
    ch1 ttot14
    ch2 ttot14
    ch3 ttot14
    change to F0: 2112MHz
    ch0 ttot16
    ch1 ttot16
    ch2 ttot16
    ch3 ttot16
    out

    U-Boot SPL 2024.07 (Oct 16 2026 - 00:03:59 +0300)
    Trying to boot from MMC1
    spl: partition error
    ## Checking hash(es) for config config-1 ... OK
    ## Checking hash(es) for Image atf-1 ... sha256+ OK
    ## Checking hash(es) for Image u-boot ... sha256+ OK
    ## Checking hash(es) for Image fdt-1 ... sha256+ OK
    ## Checking hash(es) for Image atf-2 ... sha256+ OK
    ## Checking hash(es) for Image atf-3 ... sha256+ OK
    INFO: Preloader serial: 2
    NOTICE: BL31: v2.3():v2.3-942-g98eaeb2f3:derrick.huang, fwver: v1.53
    NOTICE: BL31: Built : 12:10:56, Aug 25 2025
    INFO: spec: 0x13
    INFO: code: 0x88
    INFO: customer demand: 0x0
    INFO: ext 32k is valid
    INFO: ddr: stride-en 4CH
    INFO: GICv3 without legacy support detected.
    INFO: ARM GICv3 driver initialized in EL3
    INFO: valid_cpu_msk=0xff bcore0_rst = 0x0, bcore1_rst = 0x0
    INFO: l3 cache partition cfg-0
    INFO: system boots from cpu-hwid-0
    INFO: disable memory repair
    INFO: idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001
    INFO: dfs DDR fsp_params[0].freq_mhz= 2112MHz
    INFO: dfs DDR fsp_params[1].freq_mhz= 528MHz
    INFO: dfs DDR fsp_params[2].freq_mhz= 1068MHz
    INFO: dfs DDR fsp_params[3].freq_mhz= 1560MHz
    INFO: BL31: Initialising Exception Handling Framework
    INFO: BL31: Initializing runtime services
    WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
    ERROR: Error initializing runtime service opteed_fast
    INFO: BL31: Preparing for EL3 exit to normal world
    INFO: Entry point address = 0xa00000
    INFO: SPSR = 0x3c9


    U-Boot 2024.07 (Oct 16 2026 - 00:03:59 +0300)

    Model: Khadas Edge2
    DRAM: 16 GiB
    Core: 338 devices, 30 uclasses, devicetree: separate
    MMC: mmc@fe2c0000: 1, mmc@fe2e0000: 0
    Loading Environment from nowhere... OK
    In: serial@feb50000
    Out: serial@feb50000
    Err: serial@feb50000
    Model: Khadas Edge2
    Net: No ethernet found.
    Hit SPACE in 2 seconds to stop autoboot
    DDR b8ce94f14b cym 25/08/25-14:29:26,fwver: v1.20
    ch0 ttot10
    ch1 ttot10
    ch2 ttot10
    ch3 ttot10
    ch0 ttot16
    LPDDR4X, 2112MHz
    channel[0] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
    ch1 ttot16
    channel[1] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
    ch2 ttot16
    channel[2] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
    ch3 ttot16
    channel[3] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
    Manufacturer ID:0x6
    DQS rds:l1,h1
    CH0 RX Vref:28.9%, TX Vref:23.8%,23.8%
    DQ rds:h4 l0 h2 l0 l0 l0 h2 l1, h2 h4 h2 h1 h2 h1 h1 h3

    DQS rds:h3,l0
    CH1 RX Vref:28.5%, TX Vref:21.8%,21.8%
    DQ rds:h4 h3 h1 h2 h1 h1 l0 h1, l0 h2 l1 h4 h3 h3 h3 l0

    DQS rds:l0,l1
    CH2 RX Vref:26.3%, TX Vref:22.8%,23.8%
    DQ rds:l0 l0 h2 l1 h3 h1 h2 h1, l0 h1 h1 l0 l0 l0 l1 h7

    DQS rds:h2,l0
    CH3 RX Vref:30.1%, TX Vref:21.8%,21.8%
    DQ rds:h2 h2 h5 h4 h3 h2 h5 h3, l0 h1 h1 l0 l0 h1 l0 h5

    stride=0x2, ddr_config=0x4
    hash ch_mask0-1 0x20 0x40, bank_mask0-3 0xa00 0x1400 0x2800 0x0, rank_mask0 0x401000
    change to F1: 528MHz
    ch0 ttot10
    ch1 ttot10
    ch2 ttot10
    ch3 ttot10
    change to F2: 1068MHz
    ch0 ttot12
    ch1 ttot12
    ch2 ttot12
    ch3 ttot12
    change to F3: 1560MHz
    ch0 ttot14
    ch1 ttot14
    ch2 ttot14
    ch3 ttot14
    change to F0: 2112MHz
    ch0 ttot16
    ch1 ttot16
    ch2 ttot16
    ch3 ttot16
    out

    U-Boot SPL 2024.07 (Oct 16 2026 - 00:03:59 +0300)
    Trying to boot from MMC1
    spl: partition error
    ## Checking hash(es) for config config-1 ... OK
    ## Checking hash(es) for Image atf-1 ... sha256+ OK
    ## Checking hash(es) for Image u-boot ... sha256+ OK
    ## Checking hash(es) for Image fdt-1 ... sha256+ OK
    ## Checking hash(es) for Image atf-2 ... sha256+ OK
    ## Checking hash(es) for Image atf-3 ... sha256+ OK
    INFO: Preloader serial: 2
    NOTICE: BL31: v2.3():v2.3-942-g98eaeb2f3:derrick.huang, fwver: v1.53
    NOTICE: BL31: Built : 12:10:56, Aug 25 2025
    INFO: spec: 0x13
    INFO: code: 0x88
    INFO: customer demand: 0x0
    INFO: ext 32k is valid
    INFO: ddr: stride-en 4CH
    INFO: GICv3 without legacy support detected.
    INFO: ARM GICv3 driver initialized in EL3
    INFO: valid_cpu_msk=0xff bcore0_rst = 0x0, bcore1_rst = 0x0
    INFO: l3 cache partition cfg-0
    INFO: system boots from cpu-hwid-0
    INFO: disable memory repair
    INFO: idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001
    INFO: dfs DDR fsp_params[0].freq_mhz= 2112MHz
    INFO: dfs DDR fsp_params[1].freq_mhz= 528MHz
    INFO: dfs DDR fsp_params[2].freq_mhz= 1068MHz
    INFO: dfs DDR fsp_params[3].freq_mhz= 1560MHz
    INFO: BL31: Initialising Exception Handling Framework
    INFO: BL31: Initializing runtime services
    WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
    ERROR: Error initializing runtime service opteed_fast
    INFO: BL31: Preparing for EL3 exit to normal world
    INFO: Entry point address = 0xa00000
    INFO: SPSR = 0x3c9


    U-Boot 2024.07 (Oct 16 2026 - 00:03:59 +0300)

    Model: Khadas Edge2
    DRAM: 16 GiB
    Core: 338 devices, 30 uclasses, devicetree: separate
    MMC: mmc@fe2c0000: 1, mmc@fe2e0000: 0
    Loading Environment from nowhere... OK
    In: serial@feb50000
    Out: serial@feb50000
    Err: serial@feb50000
    Model: Khadas Edge2
    Net: No ethernet found.
    Hit SPACE in 2 seconds to stop autoboot
    Scanning for bootflows in all bootdevs
    Seq Method State Uclass Part Name Filename
    --- ----------- ------ -------- ---- ------------------------ ----------------
    Scanning global bootmeth 'efi_mgr':
    Card did not respond to voltage select! : -110
    No EFI system partition
    No EFI system partition
    Failed to persist EFI variables
    No EFI system partition
    Failed to persist EFI variables
    No EFI system partition
    Failed to persist EFI variables
    0 efi_mgr ready (none) 0 <NULL>
    ** Booting bootflow '<NULL>' with efi_mgr
    Loading Boot0000 'mmc 0' failed
    EFI boot manager: Cannot load any image
    Boot failed (err=-14)
    Scanning bootdev '[email protected]':
    Card did not respond to voltage select! : -110
    Scanning bootdev '[email protected]':
    1 extlinux ready mmc 1 [email protected] /extlinux/extlinux.conf
    ** Booting bootflow '[email protected]_1' with extlinux
    1: LibreELEC
    Retrieving file: /KERNEL
    append: boot=UUID=2510-0217 disk=UUID=5a3d83ea-2e0a-4aae-9a50-dd70ec4d672f quiet earlycon console=uart8250,mmio32,0xfeb50000 console=tty0 coherent_pool=2M systemd.debug_shell=ttyS2
    Retrieving file: /rockchip/rk3588s-khadas-edge2.dtb
    ## Flattened Device Tree blob at 12000000
    Booting using the fdt blob at 0x12000000
    Working FDT set to 12000000
    Loading Device Tree to 00000000ece76000, end 00000000ecea27ba ... OK
    Working FDT set to ece76000

    Starting kernel ...

    [ 0.542324] sdhci-dwcmshc fe2e0000.mmc: Can't reduce the clock below 52MHz in HS200/HS400 mode
    [ 0.745140] rockchip-pm-domain fd8d8000.power-management:power-controller: Failed to create device link (0x180) with supplier spi2.0 for /power-management@fd8d8000/power-controller/power-domain@12
    +q6E616D65LibreELEC:/ #