Display MoreI suggest you start from GitHub - jernejsk/LibreELEC.tv: Just enough OS for KODI
1. Add A20 specific subfolder here: https://github.com/jernejsk/libreelec.tv/tree/hw_dec_ffmpeg/projects/allwinner/devices Check H3 subfolder what it has to contain. You can just copy H3 folder as a starting point and check every file what needs to be changed. You have to definitely remove all Linux patches and add A20 specific ones. You have to add patches from Paul Kocialkowski where he added support for YUV (kernel/git/next/linux-next.git - The linux-next integration testing tree - everything from 2018-11-27 and newer) and support for DRM format modifiers (patches are somewhere on some mailing list, probably dri-devel). Remove all U-Boot patches.
2. Enable A20 specific drivers in kernel config: linux.arm.conf
3. Add boards to U-Boot helper script: LibreELEC.tv/uboot_helper at hw_dec_ffmpeg · jernejsk/LibreELEC.tv · GitHub
4. Extend FFmpeg support for using modifiers in V4L2 request codec. But if you come to this point, ping me and me and others could assist you.
After that, there are various small tasks, but most important one - hw video playback, will be already done.
In general, make bootable image first (points 1 - 3). However, to do that, you don't need any Linux patches, so that should be really easy.
Thanks. I try to follow that.