我运行demo encode 一直出现如下错误:
Encode demo started.<CR><LF>
CMEMK Error: Failed to find a pool which fits 28672<CR><LF>
CMEM Error: getPCMEMK Error: get_phys: Unable to find phys addr for 0x00000000<CR><LF>
ool: Failed to gCMEMK Error: get_phys: get_user_pages() failed: -14<CR><LF>
et a pool fittinCMEMK Error: GETPHYS: Failed to convert virtual 0x0 to physical.<CR><LF>
g a size 28672<CR><LF>
CMEM Error: getPCMEMK Error: get_phys: Unable to find phys addr for 0x00000000<CR><LF>
hys: Failed to gCMEMK Error: get_phys: get_user_pages() failed: -14<CR><LF>
et physical addrCMEMK Error: FREE: Failed to convert virtual 0x0 to physical<CR><LF>
ess of 0<CR><LF>
CMEM Error: free: failed to free 0<CR><LF>
CMEMK Error: Failed to find a pool which fits 635904<CR><LF>
CMEM Error: getPool: Failed to get a pool fitting a size 635904<CR><LF>
Failed to allocCMEMK Error: Failed to find a pool which fits 1677312<CR><LF>
ate memory.<CR><LF>
Error: Failed to create buftab<CR><LF>
CMEM Error: getPool: Failed to get a pool fitting a size 1677312<CR><LF>
Error: Failed to create video encoder: h264enc<CR>
我修改 loadmodules.sh中得pools的大小,./loadmodules 后 好像也没有什么作用,请问是什么原因啊?这是我在loadmodules.sh的设置:
phys_start=0x87800000 phys_end=0x88000000 pools=20×4096,10×131072,2×1048576"
启动参数为:setenv bootargs mem=116M console=ttyS0,115200n8 root=/dev/nfs rw nfsroot=192.168.0.240:/home/qxd/dm365/dvsdk_dm365_4_02_00_06/filesystem/dm365rootfs ip=dhcp
请问是什么原因啊?谢谢了。。。。
Feng Dong:
pool配置的问题,什么pool小了就加上,改pool的配置.