This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

cmemk.ko,参数要怎么设置?



设备树里这样配置的,这个设置就是给cmem使用的吧?

我insmod 使用phys_start=0xc4100000 phys_end=0xc4400000,这个空间按说没问题啊,为什么总是会出现如下错误:

root@omapl138-lcdk:~# insmod cmemk.ko pools=2x30000 phys_start=0xc4100000 phys_end=0xc4400000

[ 807.428287] CMEMK module: reference Linux version 4.19.59
[ 807.452661] CMEMK Error: Failed to request_mem_region(0xc4100000, 0x300000)
insmod: ERROR: could not insert module cmemk.ko: Bad address
root@omapl138-lcdk:~#