Very early community images for H3

  • Hello everyone,


    after a lot of work, which isn't finished by far, I can present you first, somehow usable, images.


    IMAGES:

    Images for following boards are available here:

    - Beelink X2

    - OrangePi One

    - OrangePi 2

    - OrangePi PC

    - OrangePi PC Plus

    - OrangePi Plus/Plus 2 (same image for both boards)

    - OrangePi Plus 2E

    - OrangePi Lite


    UPDATE:

    Once you prepared base image, take the latest update here. It works with any board. Just grab the latest by the date. It would be too much work and it would take too much space if I would upload fresh image for each board each time.


    If you have different board, drop a message here. I'm interested what are the most popular boards. TV boxes are not really supported, except maybe Beelink X2, because support for it is included in mainline Linux.


    FEATURES:

    - mainline kernel & U-Boot

    - completely open source except GPU (Mali) driver (until Lima project is good enough for Kodi)

    - latest Kodi

    - zero copy decoding & rendering

    - shared decoding & rendering code with other SoCs (with small adjustement for now)

    - compared to OpenELEC images with BSP kernel, HDMI should work with any monitor automatically

    - HDMI CEC (it works on my LG TV, but some users reports it doesn't work on their TVs)


    LIMITATIONS:

    - only H3 SoC is supported for now

    - only MPEG2, H264 and H265 (HEVC) codecs are supported in hardware, for now. Others are software decoded.

    • MPEG2 should work well
    • H265 Main profile works for videos with width less than 2048
    • H264 works for non-interlaced (progressive) videos with width less than 2048 (jumping forward/backward doesn't work yet)

    - deinterlacing is not yet implemented (combing is visible)

    - HDMI stereo audio only (support for analog output is almost finished and HDMI audio multi-channel support is WIP)

    - OrangePi onboard wifi chips are not supported (RTL8189ETV and RTL8189FTV)

    - 4K support is WIP

    - probably a lot of drivers need to be enabled in kernel config (mostly wifi and dvb dongles)

    - sleep is not implemented

    - no eMMC install script, but it should be easily to port it from old OpenELEC images

    - no support for TV out

    - no temperature sensor for SoC, so it may get a bit hot (driver is WIP)


    UNTESTED:

    - IR receiver (should work)

    - HDMI audio passthrough (definitely not fully implemented)


    Plan for the future:

    As you can see, most limitations are kernel related. Some of those limitations are already worked upon and I will probably add patches soon after they are posted and work well enough. Others limitations, like drivers for RTL8189ETV and RTL8189FTV are unlikely to being resolved anytime soon, if ever. They are pain to maintain and are not compatible with iwd.


    Code repositories:

    allwinner branch on LE github: GitHub - LibreELEC/LibreELEC.tv at allwinner (official branch for AW SoCs without hardware codecs)

    aw_hw_dec branch on my github: GitHub - jernejsk/LibreELEC.tv: Just enough OS for KODI (same as above with hardware codecs support, source for images linked here)


    I would be glad if someone can test things mentioned in untested section. I also accept suggestion which drivers should be enabled in kernel config and which H3 boards should be added. Support for other SoCs is planned to be added later, when kernel support is good enough and appropriate GPU driver is available.


    Thanks to all who helped with this in any way.


    BTW, eventually, all code should land in LE github repository. Support for HW codecs is not yet merged because I don't feel it's ready yet (a bit hackish).

    Edited 4 times, last by jernej ().

  • Check release notes provided by jernej in OP. Everything is there :



    Currently, only H3 SoC is supported

    And

    only MPEG2, H264 and H265 (HEVC) codecs are supported in hardware, for now. Others are software decoded

    Libreelec : Odroid C1+ ; Odroid C2 ; Raspberry Pi 1, 2, 3 ; M8S-S812 ; A95X-S905X ; GT1-S912

    Divers : Xiaomi mi box ; Rock 64 ; RockPro64 ; Minix U9-H (x2); Orange pi pc ; Orange pi pc+ ; Orange pi one

  • I have the Banana Pi M1 and interested to try.

    As said in OP, only H3 is supported. Actually, A20 should be easy to add, but I don't have any such board, so somebody else should add needed bits.

  • OrangePi One has only 256 MB of RAM, which is a bit low. I'll test it anyway over the weekend.

    No, it's 512 MB (2 modules of 256 MB)

    orange pi one - Orangepi

    Libreelec : Odroid C1+ ; Odroid C2 ; Raspberry Pi 1, 2, 3 ; M8S-S812 ; A95X-S905X ; GT1-S912

    Divers : Xiaomi mi box ; Rock 64 ; RockPro64 ; Minix U9-H (x2); Orange pi pc ; Orange pi pc+ ; Orange pi one

  • I agree with you two, 512 MB it's really not much !!

    But somtime you need a device to only do streaming from a NAS with a very light skin...

    I'm the devil's advocate ...

    Libreelec : Odroid C1+ ; Odroid C2 ; Raspberry Pi 1, 2, 3 ; M8S-S812 ; A95X-S905X ; GT1-S912

    Divers : Xiaomi mi box ; Rock 64 ; RockPro64 ; Minix U9-H (x2); Orange pi pc ; Orange pi pc+ ; Orange pi one

  • As said in OP, only H3 is supported. Actually, A20 should be easy to add, but I don't have any such board, so somebody else should add needed bits.

    Yes, the main difference is only 4 items to consider.


    H3 Quad-core Cortex-A7 1.6GHz vs. A20 Dual-Core Cortex-A7 1GHz

    H3 TF card (Max. 32GB) / MMC card slot, No Sata vs. A20 SD (Max. 64GB) / MMC card slot ; SATA upto 2TB on 2.5" disk

    H3 10/100M Ethernet RJ45 vs. A20 10/100/1000M Ethernet

    H3 Realtek RTL8189ETV, IEEE 802.11 b/g/n vs. A20 No WiFi


    I think Sata and Ethernet is the major ones.

  • So, i tried it yesterday on Orange Pi PC. It do works, but... Add-ons practicaly unusabe - some of them do not even want to install. I was able to install Elementum only. Tried to play video,it plays, have a lot of artefacts. But, any way its great, will work for further images. Its support 1360*768, and heats CPU much lower comparing to KODI+MPV from Retroorangepi.

  • Please OrangePi One

    Added.

    I have a beelink x2 (http://linux-sunxi.org/beelink_x2), would it be possible to make an image for this?

    I'll prepare image for that, but TV boxes are usually unsupported category here. Beelink X2 may be an exception, because it is supported by mainline kernel.

    Orange Pi Plus2 pls?

    If I remember correctly, the only difference between Plus and Plus 2 is the amount of RAM. That means you can easily use image for Plus. However, please note that there might be (bigger than already) issues due to extra RAM (some calculations). Nothing that can't be easily fixed, but I have to test that first.