Posts by ilmich

    So Wuk-jvi , if you want to compile a version that works, these are the generic instructions, change this script https://github.com/LibreELEC/Libr…r#L347C1-L350C9 adding the flag I indicated earlier and run the build as shown here

    But keep in mind that performance will never be the same as the original board because the RAM is slower. The problem with LibreElec is relative, but it's worth mentioning.

    chewitt the truth is that while Rockchip's upstream support is decent, for RAM management purposes, it's currently preferable to use the proprietary binary (rkbin miniloader). Libreelec supports this type of bootloader where tpl/spl are proprietary and the uboot proper upstream is used.

    I don't use this board daily. I bought it to help with support, but I solved the problem by adding that flag.

    So Wuk-jvi , if you want to compile a version that works, these are the generic instructions, change this script https://github.com/LibreELEC/Libr…r#L347C1-L350C9 adding the flag I indicated earlier and run the build as shown here

    You have the same problem as me. As described here, unfortunately a fake version of the board is being sold (I can't tell you if it's due to Radxa or the distributor). In fact, some voltage regulators are missing (I presume) and the RAM is different. Rockchip's proprietary bootloader recognizes them and in fact, from the serial port output, the clock set in the distro that works(dietpi) is 666MHz. The Libreelec bootloader (which is the upstream one) for this board sets it to 800MHz as it should be if everything were according to the official specifications.

    Unfortunately, this board doesn't work at this frequency. There's no solution at the moment, or at least the legacy bootloader should be used in Libreelec as well.

    Samui67 you can use dd to take only the first 100 MB for example like this

    dd if=unpacked.img of=first_100_mb.img bs=1M count=100

    Confirmed. The USB port on the HDMI side - if it is connected with my PC - is showing the SSD (4TB) correctly and it is read/write accessible. But it is not detected as drive in LibreELEC!

    Could you send me a dmesg of libreelec? What filesystem is the hard disk formatted with?

    Samui67 thanks for the info..

    I try to buy it from alibaba, hoping the model with rk322x arrives and not, as for the android boxes, something else. If you can share the first 100mb of your dump I will try to extract dts.

    however given the type of device, it does not recognize the sata hard disk or can you not use it connected to a pc? I ask this because it's possible to configure the kernel to transform the usb ports into usb gadgets and therefore make, for example, an android box similar to an external hard disk that you can connect to a pc. This feature is disabled because I always thought it was not very useful (until today).

    Hi Samui67, as far as i remember, the rk322x does not have a sata controller nor a usb3 controller (i'm looking at the case of the device).
    Probably there is a USB to SATA controller that is connected directly to a USB 2.0 port (in many devices there are 4 ports and here i only see 3). In any case, this device is fascinating. Where did you buy it? To try to solve your problem, I would need some LibreELEC logs and probably also the DTS of the original firmware (is it an Android?).

    Hi, sorry for the absence. My life has changed recently (my little star was born <3), so my time has been reduced. But I don't intend to abandon this project, I'll just go slower.

    supergigi73 Are you trying to boot from the SD card? If so, how did you prepare it? The error is very strange because it stopped during the storage mount phase, which presupposes that the hardware side has detected everything. Maybe it had a problem when it tried to resize the data partition at the first boot, and consequently, then cannot use it correctly. In any case, if you have a copy of the original firmware (or a link where you can download it, I'll take a look)

    leap123 Unfortunately, since I don't have the board, I can't, as I never managed to do in the past, verify what happens. In any case, with libreelec-13, I'll switch to a hybrid bootloader (some proprietary blobs and mainline U-Boot, a bit like Armbian), where that board seems to work fine. You have to be patient.

    hi oldie__ thanks for the logs

    libreelec 11

    Code
    Feb 16 18:11:14.664106 LibreELEC kernel: ntfs: volume version 3.1.
    Feb 16 18:11:14.664699 LibreELEC kernel: ntfs: (device sda5): load_system_files(): Volume is dirty.  Mounting read-only.  Run chkdsk and mount in Windows.
    Feb 16 18:11:14.665111 LibreELEC kernel: ntfs: volume version 3.1.
    Feb 16 18:11:14.665411 LibreELEC kernel: ntfs: (device sda1): load_system_files(): Volume is dirty.  Mounting read-only.  Run chkdsk and mount in Windows.

    libreelec 12

    Code
    Feb 27 17:26:20.095723 LibreELEC udevil[580]: mount: /var/media/WD ELEMENTS 2-1: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.
    Feb 27 17:26:20.095723 LibreELEC udevil[580]:        dmesg(1) may have more information after failed mount system call.
    Feb 27 17:26:20.098361 LibreELEC kernel: ntfs3: sda1: volume is dirty and "force" flag is not set!
    Feb 27 17:26:20.136565 LibreELEC systemd[1]: Starting [email protected]...
    Feb 27 17:26:20.150721 LibreELEC kernel: ntfs3: sdb1: volume is dirty and "force" flag is not set!
    Feb 27 17:26:20.151416 LibreELEC udevil[597]: mount: /var/media/WD ELEMENTS 5-1: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error.
    Feb 27 17:26:20.151416 LibreELEC udevil[597]:        dmesg(1) may have more information after failed mount system call.
    Feb 27 17:26:20.163521 LibreELEC kernel: ntfs3: sda2: volume is dirty and "force" flag is not set!
    Feb 27 17:26:20.164094 LibreELEC udevil[591]: mount: /var/media/WD ELEMENTS 2-2: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error.
    Feb 27 17:26:20.164094 LibreELEC udevil[591]:        dmesg(1) may have more information after failed mount system call.

    you should kindly try running a file system check from windows. Libreelec 11 mounts your volumes in read-only mode, the new libreelec 12 ntfs driver refuses to do this.

    There is only one "small" problem called wifi... Wifi works fine with armbian but shows no signs of life in libreelec (using generic image, I don't think others will work). Wifi adapter is Realtek 8723CS.

    meho my mistake, it was included in previous releases. I will reinsert it as soon as possible

    My problem is that the Le11 versions do recogniize my USB-HD's but the Le12 version doesn't. My HD's are nothing special but normal WD-Elements connected via a 4x USB3 hub.

    oldie__ I have to check but I don't often use 'complex' USB devices because since the libreelec 10 builds, I have always had problems without a separate power supply (the USB ports are not powerful enough). In any case please send a log and your dtb

    leap123 can you understand if we are talking more or less about the same board? (You may have to open the device). Unfortunately, I don't have all the boards, but I remember that pocng had solved it. If so, I'll try to do the fix you suggested

    First, I just want to say thanks for this port!

    I'm happy that my work is useful

    It made my old device collecting dust worth using again.

    Aside from the fun of developing this port, reusing 'old' hardware is one of the goals.

    I have an Alfawise A95XR1 so I needed to make my own dtb in order to get leds working but after that it seems to work very well except for HD audio passthrough, it's just silent, but works it well if I disable passthrough for TrueHD and DTS-HD. Other passthrough works fine.

    Make sure you have selected the correct device (default could be spdif output). Send a log anyway if you can.

    Any chance of getting a95xr1 included in future builds?

    Of course, I don't understand if you can do it independently, in any case I need the stock dtb (or a link to download the original firmware)

    LibreELEC 11.0 uses kernel 6.1.x (not mainline), LibreELEC 12.0 uses kernel 6.6.x (not mainline)

    Libreelec uses the latest LTS version of the mainline kernel (i.e., the official one, not the RockChip one), which is available when the stable version is released.

    The 6.12 kernel will (probably) be used in libreelec 13, which is currently still in development.

    Is there any official way to install LE to the internal eMMC ?

    Official no, so if you have problems (in reality, it's very unlikely that you have them), you may not have support. But if you want to install it in your internal emmc, just write an image of Libreelec (previously saved on a SD card) with dd after starting it from the SD card.