Letux Kernel

Issue 907: PVR/SGX for OMAP3 is not completely working for a while

Reported by Nikolaus Schaller, Feb 16, 2019

The kernel driver module is loaded fine but it turns out that the 
microkernel/firmware download fails with 5.0-rc6. This did work a 
while ago.

Comment 1 by Nikolaus Schaller, Feb 16, 2019

Research with older versions has shown that 4.15 still works fine.

4.16.17 isn't working.

It turns out that the break did happen in 4.16.15 and 4.17-rc5.

The reason is a patch that enforces more strict checks on some 
mmap() argument which leads to an EFAULT.

A different bug was also found, that a macro to detect kernel 
version for an API change did respond to 4.16 instead of 5.0.

Comment 2 by Nikolaus Schaller, Feb 16, 2019

With all these bugs resolved, we can now successfully load the 
microkernel in 4.16.17, 4.19 and 5.0-rc6.

A patch for the hw-test script not only checks for existence of the 
/proc/pvr directory (which indicates that the kernel module did 
launch) but also checks if the microkernel can be downloaded.

Comment 3 by Nikolaus Schaller, Sep 24, 2019

It is now working again with letux-5.3 on the Pyra if the kernel is 
compiled with CONFIG_SGX=m.

OMAP3 and AM335x partially work (kernel module can load but firmware 
download fails). OMAP4 is not yet tested.

A backport is included in letux-4.19

Comment 4 by Nikolaus Schaller, Apr 10, 2020

Has been fixed by DDK 1.17 drivers
Status: Fixed

Created: 5 years 8 months ago by Nikolaus Schaller

Updated: 4 years 6 months ago

Status: Fixed

Labels:
Priority:High
Type:Defect

This issue is related to
449 - PVR/SGX DDK 1.17 issues