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

Created: 8 months 4 days ago by Nikolaus Schaller

Updated: 26 days 10 hours ago

Status: New

Labels:
Priority:High
Type:Defect

This issue is related to
449 - Upg...s issues in Kernel 3.10+