Posts by knaerzche

    I recorded the image with the help of LibreELEC USB-SD Creator, installed the card in the slot, turned on the power and ... nothing.

    What means nothing ... android didn't boot up either? With the exact device? I'm currently watching TV with it .... There is something I forgot to mention: Some people might have an RK3228(A/B) without even knowing it ... they are sold as RK3229 too. These current images won't boot on these hardware ... I just found found a way to support these too ... is going to come

    mo123: I will add your f the firmware files for your AP6210 wifi too ... they are in the rk-firmware-package LE is currently using, but they are not all copied ... got my ap6330 working with it.

    Tried with SCISHION V88 Mars II (2Gb DDR3). Doesn't boot at all (no led, no HDMI). I've used Mars and HK1 dtbs.

    Just extracted an Image for this Device from rk3229_6.0_MX1_MARSII_SSV6051p_zhongx_20170627_v001_Spectek.zip - Google Drive -inside:

    FIRMWARE_VER:6.0.1

    MACHINE_MODEL:V88

    MACHINE_ID:007

    MANUFACTURER:RK30SDK

    MAGIC: 0x5041524B

    ATAG: 0x60000800

    MACHINE: 3228

    CHECK_MASK: 0x80

    KERNEL_IMG: 0x60408000

    ... so what you are actually having is an RK3228 ... as said before: will be supported soon

    Maybe you bought a RK3229-Device some years ago and thought: Oh what a buggy chinese grap ... and tostedt into trash ... but wait: maybe you didn't ... just look for it in the boxroom, storeroom your whereever you put stuff you 'maybe need later' ... Since current Rockchip 4.4-Kernel supports it I added support to current LE-9.2 branch - it works nice - so why not publishing it - mainline Images build against a recent 9.80 tree now available too)

    Legacy Images:

    Source: GitHub - knaerzche/LibreELEC.tv: Just enough OS for KODI

    Images: Release RK322x-le92-d20c7bc · knaerzche/LibreELEC.tv · GitHub

    Main differences to curent LE-9.2 tree:

    • use of recent RK-4.4-Kernel (4.4.194)
    • use of latest rkmpp
    • added support for MPEG4-Hardware decoding (not sure, why it wasn't added before)
    • Support for SSV6051-Wifi module

    Everything that is working an RK3328-Platform is working for RK322x-platform with this builds too (except for HDR and fractional frame rates - this is not supported by the hardware)

    These builds are using LE-Binary-Addons from RK3328 - so they are available too

    CEC is enabled in all images but will only work if your manufacturer solderd the parts that are needed to make it work. Automatic frame-rate-switching is working, but disabled by default: You can enable it, if you are sure, you wont use any fractional-frame-rate content

    Currently supported RK3229 devices:

    • A95XR1 -DDR3, SSV6051 Wifi , eMMC, CEC
    • D88 HDMI Stick - DDR3, RTL8723 Wifi (SDIO Package), NAND, no ethernet
    • HK1 mini - DDR3, SSV6051 Wifi, NAND
    • V884K - DDR3, SSV6051 wifi, NAND
    • V88Mars - DDR2, SSV6051 Wifi, NAND
    • HPH NT-N8 - DDR3, AP6181 wifi (SDIO Package), eMMC
    • TANIX TX2, DDR3, RTL8703 Wifi (unsure, if wifi will work)

    Just try any image you like you think could working ... you can't destroy anything ...but on the contrary: You can your device bring back to live, if its bricked already. As the very last resort for you should always try the V88Mars image - since it has DDR2 DRAM it has no dram-timing configuration and no frequency setting for DRAM and should therefore boot on any RK3229 device (but it will be sloooow). Main difference between the differend images are the dram-timing configuration and the wifi type: If you for example have an DDR3-Type Box with RTL8189 Wifi - try to use the image HPH NT-N8 ... since it has an SDIO-Package type wifi. (actual wifi chip will be autodetected by the driver).

    If none of the obove images is working (booting) for you: You're likely to have an RK3228A or RK3228B in your box ... and you might not even now - they were often sold as RK3229 - buth they won't boot an RK3229-image since they need a different ATF/TrustOS image. Main difference between RK3228 A and RK3228B: RK3228A's CPU will run at 1,2 GHz (instead of 1,4) and GPU will run at 400 MHz (instead of 500 Mhz) .. basically any RK3228A-Image will run on both: A and B (and vice versa)

    Currently supported RK3228 devices:

    • V88 Mars II, DDR3, RK3228B, SSV6051 wifi, NAND
    • H96 Mini H8, DDR3, RK3228A, AP6330 (SDIO Package) wifi, eMMC, CEC (This box does not have an SD Card slot - you will have to erase emmc to use it - I explained how to to this here: [unoffical] LE-9.2-Images for RK3229/RK3228)
    • MK809IV HDMI Stick, RK3228B, DDR3, RTL8723 Wifi (SDIO Package), eMMC, no ethernet
    • MXQ 4K Pro, RK3228A, DDR3, oviously deliverd with different wifi types - some will work, others not
    • Alfawise A8, RK3228B, DDR2, SSV6051P (should/will work on other RK3228X devices with DDR2 too)

    Mainline Images:

    Source: GitHub - knaerzche/LibreELEC.tv at ml-master

    Images: Release RK322x first mainline release · knaerzche/LibreELEC.tv · GitHub

    Build against:

    • LE 9.80
    • Kernel 5.5.0
    • uboot 202001
    • mesa 20.0 (beta), which makes use of opensource lima drm gpu driver

    Currently supported features:

    • HDMI resolutions up to 2160p; CEC if device supports it (only none interlaced modes are supported by current RK DRM driver in mainline kernel)
    • HW video decoding for MPEG2/VP8/H264 up to 1080p; everything else will be software decoded
    • Wifi will work if there is a mainline driver available for your chipset
    • no preconfigured RC keymaps (create your own, IR Receiver itself is working)
    • all other IO-Ports should work as well (with the exception for analog audio and anlog AV Port: there is no driver available for RK322x in mainline yet)

    Images are available for generic RK3229 and RK3228 device - 2 "optimized" images are also for A95XR1 and H96 Mini - optimization level is currently quite low.

    Since there are currently no addons available for Rockchip in LE-9.80 branch I uploaded all pvr and inputstream addons to my release to make testing a bit easier for you :)

    Special thanks to jock2 and fabiobassa for testing and all sort of support :)

    Give it a shot :) - any feedback is welcome - escapcially like jimjack12 did: Post if an image works with an box it is not made for: thanks

    Kwiboo

    this seems to be a 1:1-copy of kernel/rockchip_dmc.c at develop-4.4 · rockchip-linux/kernel · GitHub ... (only rk3399-part, no dfi) ... why did they do it? (was pushed by rk ;)

    ... was a little fast in judging: DRAM-Configuration is send via ARM-Trustzone-SIP-Call, since it will affect applications running in trustzone too ... this is currently only implemented for rk3399 in opensource version of their ATF arm-trusted-firmware/plat/rockchip at master · ARM-software/arm-trusted-firmware · GitHub

    Kwiboo

    first of all: Thank you for all your hard work in for rk-devices ... and: I really appreciate yours and all others mainlining efforts. Thanks also for pushing the rk322x-bins to your branch ... this will make things easier... Problem in this case: Even if docs saying other things: If there are contents as ddr+miniloader at the first mmc (i.e. emmc), the contents from sd will always be ignored - this seems to be hardcoded in the srom/efuse ... only stuff starting at offset 0x4000 (u-boot, trustos ...) will be taken form sd card in this case ... i found this out in another annoying rk-night (you propably had more ;) trying to get another ddr-bin to work - puhsing it directly to emmc helped ...

    I just realized that there is dmc-support in mainline - but only for rk3399: linux/rk3399_dmc.c at master · torvalds/linux · GitHub ... this seems to be a 1:1-copy of kernel/rockchip_dmc.c at develop-4.4 · rockchip-linux/kernel · GitHub ... (only rk3399-part, no dfi) ... why did they do it? (was pushed by rk ;)

    chewitt

    I saw you did. As far as I'm concerned RK322x (with the exception of hdmi-ip-block and dram-controller) is a combination of RK3288 and RK3328 and it should be relativly easy to port it - when looking at rk322x.dtsi\dts\boot\arm\arch - kernel/git/mmind/linux-rockchip.git - Linux Rockchip kernel tree most (if not all) work is already done

    For me at this point it makes no sense to port it now: current mainline does by far not support as much features as current rk-4.4-tree does. I'm not sure, if its that clever that a distro as LE switches to mainline so early - it's a political decision you made - in contrast to CE. Current LE-master tree is still using an almost 1.25 year old rk-4.4.-tree with A LOT enhancements/fixes from rk missing (my tree is more or less up to date)

    Main problem for me at this point: They dropped the driver for dmc-controller in mainline - which means all features for dram-frequency-switching (at kernel time) is no available now and device will always run in the (propably very low) freq, at which it was initialised at boot time

    Nevertheless: I will merge Kwiboo's-mainline tree in a branch and see whats happening ;)

    mo123

    Forget what I wrote about IR-Stuff: I never merged this change in my tree - what you did with ir is perfectly ok. I'm going to merge your changes (with a seaperate dts) in my tree.

    Just saw that I have another RK322x-device with ap6212 wifi, I will try to get it working.

    Hi mo123,

    I just saw you created a build from your device here: mxq 4k rk3229


    Woul be great if you could submit your work by creating a PR in my github repo. I took a quick look on you device-tree - from what I've seen so far:

    You replaced the rk -ir-driver with the generic "gpio-ir-receiver" - which is great and I had it before - but: You cant use the suspend/resume-functions witch this driver- which is suppored by my tree (in contrast to current LE-Master-Tree) - that's why I'm using the rk one - the only ir currently supported is this baby: s-l1600.jpg - creating a new keymapping is straightforward, if you have a differend one.

    I doubt that my tree will ever get merged in LE-Tree for supporting this device - when I find time I'm trying to get it merged in CE

    Didn't know, that there are people who are interessted in this device besides me ;)

    I did this GitHub - knaerzche/LibreELEC.tv: Just enough OS for KODI some days ago ... If you know how to build LE, this is your thing.

    Other than current LE buildsystem it uses (almost) latest Rockchip 4.4 kernel and (almost) latest mpp. Currently there are 4 supported TV boxes: a95rx1, hk1mini, d88 (hdmi-stick), v884k and v88mars. If your device isn't listed v88mars build should work on all devices ... LE is working great besides one very anyoing bug: Exactly 10 minutes after startup the screen starts flickering - you'll have to login via ssh a restart kodi - after that its running for days or weeks without interruption. It working soooooo much better and faster than android on these boxes ... comparable to Allwinner H3. Don't expect to much according to HEVC-4k-10bit streams ... its working but almost always the sound isn't in sync. 8bit works great ... and: no HDR at all

    See https://github.com/knaerzche/libreelec.tv/tree/master/projects/rockchip/devices/rk322x for build instrucations