Support for A10/A20

  • I uploaded new test images for A10:

    LibreELEC-A10.arm-9.80-devel-20200216105054-0b8cbed-mele.img.gz

    LibreELEC-A10.arm-9.80-devel-20200216111916-0b8cbed-inet97fv2.img.gz

    It turns out that A10 has Cortex A8 with vfpv3 for floating point coprocessor as opposed to Cortex A7 and vfpv4 on A20. This means optimizations were set wrong for A10 and of course init script crashed.

    Hi jernej

    I finally found and charged my inet97 tablet and tried the image.

    Unfortunately the boot up stopped with the statement regarding USB. See attachment.

    Once boot stops there the screen gradually turn more and more into extremely bright and uneven white.

    Not sure what it could be

  • such issues are usually caused by wrongly set clocks. I wrongly assumed that this is tv box and enabled hdmi. Maybe hdmi driver messed clocks...

    Well actually it has a mini hdmi output.

    I'm having a kind of working quite dated version of linux working on it. Should i extract the dtb (if the kernel already is using dtb) for reference?Edit: found and uploaded DTB just in case :) sun4i-a10-inet97fv2.dtb.zip

    Edited once, last by lumpi (March 29, 2020 at 10:48 PM).

  • Well, it can have hdmi output, but currently clock driver is not smart enough to properly set clocks for two display outputs.

    Oh ok so it's a sw issue, that doesn't allow two displays at once?

    Is this a general thing with all allwinners or a10 specific?

  • Yes, it's mostly clock driver issue, with all Allwinner SoCs. Depending on the setup, it might work for you. But most of the time it won't.

    Oh ok, so not really an issue for tv boxes but for tablets and the likes of pine books and teres

  • No, I don't have any A10 board. However, your statements are contradictory. Link name mentions broken H264 decode but you linked to error message which clearly come from GPU. GPU and VPU have nothing in common. Full HD screen only needs about 8 MiB of memory for GUI (used by GPU). Hard to say anything...

  • Hi!

    I have CubieBoard2 DualCard. I use firmware LibreELEC-A20.arm-9.80-nightly-20200630-d442dfb-cubieboard2.img and have trouble:

    1. No HDMI Audio(Analog Jack work). No HDMI in Audio Page. Work on another tv with resolution 1920x1200. But sun4i-hdmi, sun4i-hdmi pcm 1c16000.hdmi-0 have low quality of sound. sun4i-hdmi, hdmi have good quality of sound.

    2. If i connect board to 4k TV, then i can't change resolution to 16:9 (Only 4:3 - 800x600 and 1024x768) Perhaps because of this, the sound does not work

    3. MicroSD in slot Boot card to work This i fix.

    4. Screen freezes video in m2ts files. ts and mkv play normaly.

    How can this be fixed?

    Edited once, last by alzinzav: Add information about HDMI Audio (August 5, 2020 at 7:46 AM).

  • Hello all!

    I have cubieboard2, with compiled master branch of Libreeelec.

    When I start cubieboard I see Libreelec logo, then Kodi logo, but after that nothing happen with black screen. I try to ping cubieboard by IP,but no luck.

    1. Can anyone provide link to working image for cubieboar2?

    2. What can be wrong with my setup?

  • Hello all!

    I have cubieboard2, with compiled master branch of Libreeelec.

    When I start cubieboard I see Libreelec logo, then Kodi logo, but after that nothing happen with black screen. I try to ping cubieboard by IP,but no luck.

    1. Can anyone provide link to working image for cubieboar2?

    2. What can be wrong with my setup?

    Without knowing too much I'd suggest to add an usb TTL serial cable to the console port to see what happens.

  • alzinzav  alucard666 Can you test this image? LibreELEC-A20.arm-9.80-devel-20200805221456-bd5130b-cubieboard2.img.gz

    I don't have CB2, but image for OLinuXino-micro works fine. Note that major change in comparison to LE master branch is that it has Linux 5.8.

    Nothing changed. I can see kodi matrix logo, then kodi main screen on half second, then black screen. No ping to cubieboard.

    Add:

    I think hdmi out problem or clock problem. On other TV with 720p resolution, I can see kodi home screen and first startup wizard. But If I click on next button, black screen again.

    Log from serial port:

    Display Spoiler

    Starting kernel ...

    U-Boot SPL 2020.04 (Aug 06 2020 - 01:27:34 -0400)

    DRAM: 1024 MiB

    CPU: 912000000Hz, AXI/AHB/APB: 3/2/2

    Trying to boot from MMC1


    U-Boot 2020.04 (Aug 06 2020 - 01:27:34 -0400) Allwinner Technology, Build: jenkins-A20-211

    CPU: Allwinner A20 (SUN7I)

    Model: Cubietech Cubieboard2

    I2C: ready

    DRAM: 1 GiB

    MMC: mmc@1c0f000: 0

    Loading Environment from FAT... *** Warning - bad CRC, using default environment

    HDMI connected: Setting up a 1920x1200 dvi console (overscan 0x0)

    In: serial

    Out: vga

    Err: vga

    Net: eth0: ethernet@1c50000

    starting USB...

    No working controllers found

    Hit any key to stop autoboot: 0

    switch to partitions #0, OK

    mmc0 is current device

    Scanning mmc 0:1...

    Found /extlinux/extlinux.conf

    Retrieving file: /extlinux/extlinux.conf

    181 bytes read in 5 ms (35.2 KiB/s)

    1: LibreELEC

    Retrieving file: /KERNEL

    9142160 bytes read in 499 ms (17.5 MiB/s)

    append: boot=UUID=0608-2453 disk=UUID=7ac622e1-014b-42e3-8d36-eba1fc275061 quiet console=ttyS0,115200 console=tty1

    Retrieving file: /sun7i-a20-cubieboard2.dtb

    25661 bytes read in 4 ms (6.1 MiB/s)

    ## Flattened Device Tree blob at 43000000

    Booting using the fdt blob at 0x43000000

    Loading Device Tree to 49ff6000, end 49fff43c ... OK

    Starting kernel ...

    [ 0.002631] /cpus/cpu@0 missing clock-frequency property

    [ 0.002678] /cpus/cpu@1 missing clock-frequency property

    [ 0.137889] sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO

    [ 1.253454] debugfs: Directory '1c22c00.codec' with parent 'sun4i-codec' already present!


    Edited 2 times, last by alucard666 (August 6, 2020 at 5:46 PM).

  • alzinzav  alucard666 Can you test this image? LibreELEC-A20.arm-9.80-devel-20200805221456-bd5130b-cubieboard2.img.gz

    I don't have CB2, but image for OLinuXino-micro works fine. Note that major change in comparison to LE master branch is that it has Linux 5.8.

    I tried a new release, and this is what happens. For my problems:

    2. TV Sony 4k KD-55XG8096BR. If I turn on the board first, and then the TV, then 2 resolution are available to me: 800x600 and 1024x768. If I turn on the TV first, and then the board, then i show 1920x1080, but then switch to 800x600, and this resolution only. There is no problem on Samsung FullHD TV, the board turns on normally anyway, with normal resolution, sound trough HDMI work correctly.

    4. m2ts now freeze on 40-45 second from beginning.

  • Hello Everyone.

    I just joined the forum, since i found an old Rikomagic MK802II android stick, and i wanted to help testing with it.

    This Android stick, is Allwinner A10 Based.

    It does have 1GB of Ram

    i don't recall if it has 2 or 4GB of onboard Flash.

    i tried the image LibreELEC-A10.arm-9.80-devel-20200216105054-0b8cbed-mele.img.gz from Index of /test/

    (tried this one first, since in the past i remember i have used mele branded android images with success on this device)

    It does boot form sd card; resizes the partitions; and boots back into Kodi.

    Integrated Wifi seems to work fine, it was able to connect to my network. and also see the UPNP server.


    However i wasn't able to play any kind of video, not matter the codec.

    Is there any logs i can see (or share) for debug purposes?

    i will then test the image for inet97, on the same /test repository from above. (since it also mentions A10)

    Been looking for modern projects to use this old device, so far i'm happy to see some movement around it.