[Openpvrsgx-devgroup] DDK 1.17 on S5PV210
H. Nikolaus Schaller
hns at goldelico.com
Sun Mar 29 22:07:49 CEST 2020
Hi Jonathan,
> Am 29.03.2020 um 21:52 schrieb Jonathan Bakker <xc-racer2 at live.ca>:
>
> Hi,
>
> I've managed to get the ti443x DDK 1.17 blobs running kmscube on s5pv210 (with SGX540-120). I did have to make a binary change to them to look for the exynos DRM driver as opposed to the ompadrm driver (I suppose changing the DRM driver name would also work). The command for editing the files are
>
> printf "exynos\x00" > exynos && dd if=exynos of=/lib/libsrv_um.so.1.17.4948957 obs=1 seek=110644 conv=notrunc && dd if=exynos of=/lib/libdbm.so.1.17.4948957 obs=1 seek=5960 conv=notrunc && rm exynos
Yes, that is quite ugly but necessary. Patching for omap5432 was even more difficult because there is no strcmp() in the code but something like *(u32) buffer == 'DRA7'.
>
> I've put the kernel driver part at https://github.com/xc-racer99/linux/tree/v5.5.1-all-devices-openpvr - note that I currently have the clock and power domain always enabled at probe as active power management is disabled for the blobs. I'm not sure how the omap devices deal with this, but my "solution" would cause issues with increased power draw during suspend.
Great! I didn't know yet that there are Samsung SoC with SGX540...
Did you also take the omap pvrsrvkm?
If you have patches ready for integration into the openpvrsgx tree,
please let me know.
And what about device tree? I am again trying to get a set of
DTS patches and bindings upstream:
https://patchwork.kernel.org/patch/11464133/
So maybe we can add the s5pv210 setup there
(https://github.com/xc-racer99/linux/commit/54d5952136c7d1fa6c3fc792a8497ed26bba39dd ?)
BR and thanks,
Nikolaus
More information about the openpvrsgx-devgroup
mailing list