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.

dm365 cmemk.ko问题



加载cmemk.ko时,串口打印

"mknod: /dev/deCMEM Range Overlaps Kernel Physical - allowing overlap

v_dma: File exisCMEM phys_start (0x83a00000) overlaps kernel (0x80000000 -> 0x84c00000)
ts
CMEMK Error: Failed to request_mem_region(0x83a00000, 73400320)
insmod: can't insert 'cmemk.ko': Bad address"

在bootargs中设置

"mem=70M"

insmod cmemk.ko phys_start=0x83A00000 phys_end=0x88000000 allowOverlap=1 phys_start_1=0x00001000 phys_end_1=0x00008000 pools_1=1x28672

filename: cmemk.ko
license: GPL
depends:
vermagic: 2.6.18_pro500-davinci preempt mod_unload ARMv5 gcc-4.2
parm: phys_start:
Start Address for CMEM Pool Memory (charp)
parm: phys_end:
End Address for CMEM Pool Memory (charp)
parm: pools:
List of Pool Sizes and Number of Entries, comma separated,
decimal sizes (array of charp)
parm: phys_start_1:
Start Address for Extended CMEM Pool Memory (charp)
parm: phys_end_1:
End Address for Extended CMEM Pool Memory (charp)
parm: pools_1:
List of Pool Sizes and Number of Entries, comma separated,
decimal sizes, for Extended CMEM Pool (array of charp)
parm: allowOverlap:
Set to 1 if cmem range is allowed to overlap memory range
allocated to kernel physical mem (via mem=xxx) (int)

请问这个是什么原因啊