[Letux-kernel] OMAP3 SGX on latest kernels

H. Nikolaus Schaller hns at goldelico.com
Mon Oct 31 22:52:36 CET 2016


Hi Adam,
I just found your attempt to get SGX working on OMAP3.

[RFC] ARM: OMAP3: Add device tree and pdata hooks to enable SGX on OMAP3

https://patchwork.kernel.org/patch/9311537/

I am trying for a while to achieve the same.

But Graphics_SDK_5_01_01_02 (AFAIK the latest for OMAP3/DM3730) seems to
call functions that require some reset-controller to be enabled in most
modern kernels or in other words they don't work without. Because they
directly check for "resets" and "reset-names" properties.

Therefore I started to work on the reset-controller which Tero Kristo
has proposed a while ago (Sept 2015). Officially, it is on hold because
they want to fix clock hwmods first. But it does not boot on v4.9-rc2
(it boots on v4.3).

So what is your status of getting SGX running?

My latest DT patch looks like this (funnily I had the same typo of a missing
0 of 50000000):

http://git.goldelico.com/?p=gta04-kernel.git;a=blobdiff;f=arch/arm/boot/dts/omap3.dtsi;h=9c32224f887cadce6470ffb91d600a452ea677e7;hp=353d818ce5a6dc059488db7a842bd217b4836ff6;hb=5887fe785f3f13b4f6e816c6dd0a14a9d8d1e227;hpb=27756e0e87533f1be5e2d83cd53de73c1cc8af66

What I wonder is why you have a different interrupt. Unfortunately I don't
remember where I got the <37> from. But there is some table to cross-check
with the TRM.

The full patches I work on are here:
http://git.goldelico.com/?p=gta04-kernel.git;a=shortlog;h=refs/heads/work/hns/gpu/pvr-v4
http://git.goldelico.com/?p=gta04-kernel.git;a=shortlog;h=refs/heads/work/test/omap/reset-cont-v4.9

BR,
Nikolaus



More information about the Letux-kernel mailing list