Hi, TI,
We tried to use 4k page size in linux, and found that if 4k page size(CONFIG_ARM64_4K_PAGES) is configed in LINUX, the macro RPMSG_VRING_SIZE must be changed in TI RTOS to run vx_app_arm_ipc.out success.
It is because the offset between rx vring address and tx vring address from linux has changed from 64k to 16k.
As a result, if we change the page size config in linux, we have to modify RTOS SDK, and re-compile the RTOS binary.
RTOS modifed file (version: ti-processor-sdk-rtos-j721e-evm-08_00_00_12):
vision_apps\apps\basic_demos\app_rtos\rtos_linux\app_ipc_rsctable.h
delete: #define RPMSG_VRING_SIZE (0x10000)
add: #define RPMSG_VRING_SIZE (0x4000)
Is the above analysis right? If so, could the RTOS team add this in the RTOS documentation, or implement the code in a more general way, which can be compatible with 4k/64k page size in linux.
Thanks!