In the latest images of ubuntu focal or debian with kernel 5.10.105 they have support that is very good, but I have observed that the distribution does not have opengles acceleration, it comes with lima drivers and you cannot use opengles acceleration in sdl or various programs.
On selfbg's github, it says that you can build mali modules and integrate them into the kernel, but of course, in the last image I've seen that after doing a modprobe and listing the modules with lsmod, they aren't included.
In the github is the r9p0, which is the most recent, and the device trees of the latest kernel are available here:
https://github.com/selfbg/sunxi-mali (https://github.com/selfbg/sunxi-mali)
https://linux-sunxi.org/Mali_binary_driver (https://linux-sunxi.org/Mali_binary_driver)
https://elixir.bootlin.com/linux/v5.10.105/source/arch/arm/boot/dts/sun4i-a10.dtsi (https://elixir.bootlin.com/linux/v5.10.105/source/arch/arm/boot/dts/sun4i-a10.dtsi)
I have tried to compile the modules, but it has been impossible for me, something was missing to configure.
Would it be possible to include the mali blob and have a distribution that works correctly in opengles?
Thanks.
QuoteWould it be possible to include the mali blob and have a distribution that works correctly in opengles?
As far as I know from the Linux developers - no. Hence, why I've written on a lot of places in the Olimage guide that Olimage images come without hardware video acceleration:
https://github.com/OLIMEX/OLINUXINO/blob/master/DOCUMENTS/OLIMAGE/Olimage-guide.pdf
But if you manage to do it I will make sure they look at your work.
I'm going to work on it, it has to work, yes or yes.
If I succeed, I'll post it on the forum.
This would be really great if you can manage to pull it off. Looking forward! Still if you wonder how we build the images look at the end of the Olimage user guide document, and check our GitHub!