Hello,
When running the single camera demo (vx_app_single_cam.out ) on the J721e EVM board, the following error occurs after mmap:
Operation not permitted: Operation not permitted
After reading about the issue, I found out there is a Linux kernel flag called strict-devmem, which prevents the user from reading /dev/mem.
I am using the kernel, provided from the tisdk-rootfs-image-j7-evm tar from the release.
Is there a possibility that the provided kernel has been compiled with that flag set to true?
This is the log of the single cam demo application (with more verbose prints added for debug purposes).
APP: Init ... !!!
APP_LOG: Mapping 0xb8000000 ...
INITIAL: 3087007744
INITIAL SIZE: 262144
AFTER: 3087007744
AFTER SIZE: 262144
Operation not permitted: Operation not permitted
0xffffffffffffffff
(nil)APP_LOG: Mapped 0xb8000000 -> (nil) of size 262144 bytes
APP_LOG: ERROR: Unable to map memory @ 0xb8000000 of size 262144 bytes !!!
APP: ERROR: Log writer init failed !!!
Best Regards,
Todor