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
Sign in to reply to this comment.
Reported by Nikolaus Schaller, Feb 16, 2019