Support for A10/A20

  • With latest kernel and ffmpeg patches, it's possible to make images for A10 and A20 boards. However, I don't have any such board nor experience with those SoCs.


    Is there any owner of A10 or A20 board who is willing to help with developing and testing?

  • I have a cubieboard A10 and a mele A1000 (and somewhere a MK808 A20), although I don't know anymore about how much ram they have. I can test and maybe help with development, but I don't know if I will be much of a help...

  • As long as boards are supported by kernel and U-Boot not much work should be needed, hopefully. Just some kernel configuration and adjusting ALSA configuration for analog audio (HDMI audio is not supported AFAIK).


    So, if you don't mind figuring where your MK808 board is, I would go with it. Just to be sure, that's MK808C, right? A20 should have slightly faster display engine afaik.


    P.S.: I just noticed that required kernel patches are in 5.1. Oh well, picking few patches shouldn't be too hard.

  • Hi there - I'm a LibreELEC newbie (registered on this forum just now, actually), and was specifically searching to see how far along Allwinner support has come. I have an Olimex A20-OLinuXino-LIME and A20-OLinuXino-LIME2 and don't mind spending some spare time to try getting LibreELEC to run on them.

  • jcstaudt I'll wait for kernel 5.1 to be released before trying to make A20 image. Unless you want to take initiative and prepare images by yourself?


    It would be nice if someone step up as (co)developer for A20 and similar SoCs, because I don't have any and I don't have detailed knowledge of them, albeit with 5.1 it should work well already, just no HDMI audio.

  • Jernej,


    MK808c: it boots, it expands, it reboots I see the kodi screen and the initialisation screens but then my TV switches off and I can't switch it on again. I have to pull the plug and reboot and then my TV starts to work again. Probably something with CEC, because on my pc screen it works OK.

    Sounds does not work through HDMI, didn't try the 3.5mm jack yet. I will do that together with the testing of video.

  • roel there is no HDMI audio support for A20, mainline or out-of-tree, but analog audio should work.


    Yes, CEC works, but it should be other way around, when Kodi starts, it should turn TV on, not off :) You can test by turning TV off and reboot MK808c. TV should turn on automatically.


    Can you please test video decoding? only MPEG2 and H264 are supported in HW.

  • roel there is no HDMI audio support for A20, mainline or out-of-tree, but analog audio should work.


    Yes, CEC works, but it should be other way around, when Kodi starts, it should turn TV on, not off :) You can test by turning TV off and reboot MK808c. TV should turn on automatically.


    Can you please test video decoding? only MPEG2 and H264 are supported in HW.

    Hello, I compiled LE from repo (kernel 5.1) for my Lemaker Bananapi (A20);

    ir remote works, analog audio works, PC monitor hdmi works.

    But HW mpeg2 video decoding not (TV recording). Probably is needed some customization of kernel/ffmpeg

  • So I had some time to test more on the MK808C


    - I did switchoff CEC option to turn of the TV, now OK, TV doesn't switch off anymore.

    - Analog out doesn't work, I have no sound.

    - Wifi chip seems not to be recognised. I should ad a usb network hub to login through ssh and check dmesg and lsmod-> Didn't do it yet!

    - Mpeg2 starts to play but suddenly the picture is paused although the time goes on, probably the audio keeps on goiing also.

    - H264 doesn't play at all, I keep having the spinning wheel.

    Edited once, last by roel ().

  • roel   majorkalina please enable debug logging in settings and specifically enable ffmpeg logging in submenu. Then open MPEG2 aor H264 video and after that upload kodi log somewhere. This should provide clues why it doesn't work.


    It's hard to do development without hardware. Hopefully I can fix video playback and other features can be fixed by someone else who actually has A20 board(s).

  • roel   majorkalina please enable debug logging in settings and specifically enable ffmpeg logging in submenu. Then open MPEG2 aor H264 video and after that upload kodi log somewhere. This should provide clues why it doesn't work.


    It's hard to do development without hardware. Hopefully I can fix video playback and other features can be fixed by someone else who actually has A20 board(s).

    Thanks for reply, my logs: https://drive.google.com/open?id=1no4lkjfu9c_qw272cmnaohqmxta5fhus

  • majorkalina since you build image yourself, it will be quicker if you just change this line: ffmpeg-95.0002-add-common-v4l2-request-api-code.patch#l126 to +#include <drm/drm_fourcc.h>

    According to your advice:


    some h264 plays O.K. (SD), some empties the bottom quarter of the GUI (HD)


    mpeg2: downloaded file from net produces error (image and log attached), my own DVB-T channels and recordings only occasionally.


    cannot play .avi container: https://drive.google.com/file/d/1o5kcyrqvsabmxofaxksfz-xj_ntnplpj/view?usp=sharing


    Images: https://ibb.co/album/nlipbf


    Kodi logs: https://drive.google.com/file/d/1ajpfxzyall7gsraagqylwbms54vbkczv/view?usp=sharing

  • I have somewhere an inet97f2 tablet based on A10 with some old fedora on it, should i have a look for it?


    I know it's pretty OT but such tablets would also be a target for a completely free mainlined android, ok i admit probably rather the A33 variantss than mine (now even more OT ;-) )