Tool/software: Linux
Hi,
I'm trying to build CMEM on TI TDA2x board.
i succeed to boot the board but there are not /proc/cmem. (makeconfig: tda2xx_evm_linux_all)
So, i tried to build CMEM following your OpenCL guide document.
First, i used command line to install cmemk.ko using ./load_ocl_kos.sh file.
However, it returns this error message.
--------------------------------------------------------------------------------------------------------------------------------------------
Opened log file: lad.txt
numProcessors = 5 id = 0 baseId = 0
[ 954.833540] CMEMK module: reference Linux version 4.4.84
Spawned daemon: /usr/bin/lad_dra7xx
[ 954.841886] CMEMK Error: Failed to request_mem_region(0xa9000000, 0x4000000)
insmod: ERROR: could not insert module /opt/vision_sdk/cmemk.ko: Bad address
insmod: ERROR: could not load module /opt/vision_sdk/debugss_kmodule.ko: No such file or directory
insmod: ERROR: could not load module /opt/vision_sdk/gdbserverproxy.ko: No such file or directory
--------------------------------------------------------------------------------------------------------------------------------------------
Second, i typed command maually not using shell script file. The command is below.
$ /sbin/insmod cmemk.ko pools=4x30000,2x500000 phys_start=0x0 phys_end=0x3000000
However, it also returns another error message.
--------------------------------------------------------------------------------------------------------------------------------------------
[ 1122.801825] CMEMK module: reference Linux version 4.4.84
[ 1122.807984] CMEMK Error: pools specified: must specify both phys_start and phys_end, exiting...
insmod: ERROR: could not insert module cmemk.ko: Invalid parameters
--------------------------------------------------------------------------------------------------------------------------------------------
Third, i tried to modify the device tree following guide. However, there isn't am57xx-evm-cmem.dtsi file.
So, i created that file and included into am57xx-evm.dts and build all again.
However, the /proc/cmem was also not shown.
Please let me know if there are any points that i missed.
Thanks in advance.