Posts by ilmich

    ilmich Hi! I found out that you released some time ago Lakka for this box using similar tools like you did for LibreELEC. Could you release an updated version for RK322x? Lakka v4 or v5? As you did here? http://ilmich6502.it/lakka-4.x/

    Latest release LibreELEC-RK322X.arm-11.0-nightly-20240218-d7324fb-rk322x.img worked really fine on my box, maybe if its tranplanted with Lakka it will probably run great too!

    Also, any news regarding an updated LibreELEC for this boxes?

    Hi ochentay4 this is not the right place to talk about lakka but know that I intend to continue that project too
    even if I prefer libreelec for retrograming as it's more simple than lakka (more click and play than the thousand settings of lakka) and the performances are identical (some addons on libreelec 11 are broken but most of them works)

    Also, any news regarding an updated LibreELEC for this boxes?

    I'm trying a test build that I will publish in a new post, you need to have a little patience but as I have written in the past, the project is not dead :)

    hi spigui I see from your logs

    Code
    Aug 21 15:59:44 LibreELEC kernel: VideoPlayer invoked oom-killer: gfp_mask=0x400dc2(GFP_KERNEL_ACCOUNT|__GFP_HIGHMEM|__GFP_ZERO), order=0, oom_score_adj=0

    basically kodi has run out of available memory. I don't think it's a problem with my build but maybe some KODI bug with the stream you're trying to play. try playing it locally rather than another streaming method (http for example instead of UPnP)

    It seems there are some problems with your SD card, try replacing it

    Hi openminded

    I see you are running low on time ilmich , let me know how I can help out with that.

    yes, real life and lack of devices (I lost a couple of boxes due to some experiments) is preventing me from working on this project. But it's not dead, I started working on libreelec 12 (https://github.com/rockchip-with-…e12-rk322x-wip/).

    Time I have soon, I know Linux, kernels and have been compiling kernels and hacking all kinds of boxes ( although no expert ).

    it would be great, first of all I recommend trying to build libreelec yourself and study the patches you find for rk322x. the code is quite stable but as you can see some boxes work better than others (especially because there are so many variations and not having them it is impossible for me to make everything work)

    I can dumb a dtb from Android if useful ? It's running Android 11.1 I think.

    it would be useful because the wifi must be activated via gpio pin and they are often indicated in the dtb. if your board is equipped with wifi compatible with the mainline kernel there is hope of making it work. otherwise, I recommend the network cable or an external USB wifi.

    I had some time to try with my rpi4. I don't know if anything has changed in the meantime, but trying on a clean install of Libreelec 12 (no other addons) the psx emulation with pcsx_rearmed didn't give me any problems (just moments of fun with an old car racing game)

    By the way, it also works fine on my old rk3229 box (arm 32bit and unofficial build of libreelec 12) but that's off-topic of course.

    P.s: I saw from your logs that you are using libreelec 11, I suggest you try to update.

    pcsx-rearmed contains special optimizations for arm architectures (dynamic recompiler and emulated graphics card optimized with NEON instructions). if they are not enabled it's essentially unusable. Lakka enables them, the kodi addon (used by libreelec) does not. Or at least that's what I saw. I'll try to take a look at it.

    sorry, forget what I wrote. in the past pcsx_rearmed had to be compiled by manually inserting optimizations at build time (as the LAKKA build system still does). But I saw that now the best architecture and options are automatically selected by the makefile without any need to specify them

    pcsx-rearmed contains special optimizations for arm architectures (dynamic recompiler and emulated graphics card optimized with NEON instructions). if they are not enabled it's essentially unusable. Lakka enables them, the kodi addon (used by libreelec) does not. Or at least that's what I saw. I'll try to take a look at it.

    jaum20 I use estuary and my builds are optimized for this skin. personally on the boxes with ddr2 I tried pellucid for a period but estuary is the best currently.

    However, try this pre-release build if you have an extra SD card.

    Index of /libreelec-11/test/

    there are some kodi optimizations that use smaller textures (lower quality but less stress on the cpu/gpu). Even third party skins should be better (I tried arctic fuse and it's not too bad)

    remlei I imagine you also tried changing the HDMI cable. In any case, the problem is that the edid is not read correctly (so basically your TV is not correctly detected). this can happen if the HDMI cable is of poor quality, or the TV returns an EDID not correctly recognized by the driver.

    Android in these cases sets the resolution fixed to 720p with audio. Linux instead at 768p without audio.
    The best thing would be to understand if this is the problem (I'm pretty sure it is) because I could simulate what android does but you miss out on all the other resolutions.
    So, as requested, please send a log (tutorial here https://wiki.libreelec.tv/support/log-files)

    hi pocng

    it's because I don't have any SDIO device information in the dmesg

    that's correct, if you don't see this

    Code
    mmc2: new high speed SDIO card at address 0001

    at least it means that the wifi card is not active. I looked at the DTS and it seems to me to be the usual pin (90 --> gpio2 PD2) so the problem is really strange.

    Thanks for rtl8822bs-aml git projet, I'll test it as soon as I get to detect SDIO

    Index of /libreelec-11/test/

    in this image, I have compiled the driver I was telling you about. the source is here (I forked) https://github.com/rockchip-with-…rtchip-sci-wifi

    PS: for the r329q v3.1 I've finally made the merge request for boot support on the emmc :) and share this patched LibreElec built here

    Thanks so much, I'll take a look at it as soon as I can

    Hi @ilmich,

    I quickly checked the GPIOs for Wlan and so far I haven't found the source of the problem. At first glance, the pins are indeed those defined in the dtb...


    To help me identify the pinctrl from the gpio kernel debug file, I've made myself a correspondence table, I don't know if it can help other people but i share it here : http://sandbox02.poc.ng/tvbox/rk322x_linux_gpio.txt
    :)

    To be continue ... :)

    maybe you have already sent it, but could you please send me a dmesg? at this point the problem could be elsewhere.

    SDIO WIFI : not detected :( => wifi is sdio 02e7/9086 / smartchip sci S9082H (on armbian forum i can see : its a clone of some wifi rtl chips , its closse source , no linux support)

    I found this driver

    GitHub - ChalesYu/rtl8822bs-aml at smartchip_sci_s9012p
    unoffical driver for linux (Support rtl8189es rtl8723bs rtl8822bs) and SCI(smartchip)WiFi(S9082C S9012P) - GitHub - ChalesYu/rtl8822bs-aml at…
    github.com

    I don't like it much but I can try.

    That might not be a simple exercise though, and his time is limited.

    I'm starting to work on libreelec 12, but unfortunately, it's true that I have little time available.

    pocng , do you have a link to the Android firmware of your box (alternatively also the first ~100mb of a dump of the internal memory) ? I looked at the logs and you should have a Broadcom BCM4330 wifi chip which is supported by the mainline kernel. If it's not detected, the correct gpio that enables it probably needs to be added, but I need the android dtb.

    guerrero2694 as pocng said, try sending a photo of the board

    The resizing process appears to have been interrupted because the partition is 7GB but the filesystem has not been completely resized. as they told you, post the resize log because it may have had problems completing. however you can also try the manual resize directly from the multitool