你好,我的内核以及demon都是在dvsdk4.02.00.06编译的。
内核占用大小为40M:setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=192.168.1.108 root=/dev/nfs nfsroot=192.168.1.243:/home/ly/dm365/dvsdk_dm365_4_02_00_06/filesystem/dm365rootfs,nolock mem=40M video=davincifb dm365_imp.oper_mode=0 davinci_capture.device_type=4
loadmodules.sh为phys_start=0x83000000 phys_end=0x83800000 pools=20×4096,10×131072,2×1048576(默认的参数是:phys_start=0x87800000 phys_end=0x88000000 pools=20×4096,10×131072,2×1048576,sdram为64m)
cat /proc/cmem
Block 0: Pool 0: 20 bufs size 4096 (4096 requested)
Pool 0 busy bufs:
Pool 0 free bufs:
id 0: phys addr 0x837ff000
id 1: phys addr 0x837fe000
id 2: phys addr 0x837fd000
id 3: phys addr 0x837fc000
id 4: phys addr 0x837fb000
id 5: phys addr 0x837fa000
id 6: phys addr 0x837f9000
id 7: phys addr 0x837f8000
id 8: phys addr 0x837f7000
id 9: phys addr 0x837f6000
id 10: phys addr 0x837f5000
id 11: phys addr 0x837f4000
id 12: phys addr 0x837f3000
id 13: phys addr 0x837f2000
id 14: phys addr 0x837f1000
id 15: phys addr 0x837f0000
id 16: phys addr 0x837ef000
id 17: phys addr 0x837ee000
id 18: phys addr 0x837ed000
id 19: phys addr 0x837ec000
Block 0: Pool 1: 10 bufs size 131072 (131072 requested)
Pool 1 busy bufs:
Pool 1 free bufs:
id 0: phys addr 0x837cc000
id 1: phys addr 0x837ac000
id 2: phys addr 0x8378c000
id 3: phys addr 0x8376c000
id 4: phys addr 0x8374c000
id 5: phys addr 0x8372c000
id 6: phys addr 0x8370c000
id 7: phys addr 0x836ec000
id 8: phys addr 0x836cc000
id 9: phys addr 0x836ac000
Block 0: Pool 2: 2 bufs size 1048576 (1048576 requested)
Pool 2 busy bufs:
Pool 2 free bufs:
id 0: phys addr 0x835ac000
id 1: phys addr 0x834ac000
最后运行./encode -v 123.264的时候出现下面的错误
CMEMK Error: Failed to find a pool which fits 28672
CMEM Error: getPCMEMK Error: get_phys: Unable to find phys addr for 0x00000000
ool: Failed to gCMEMK Error: get_phys: get_user_pages() failed: -14
et a pool fitting a size 28672
CMEMK Error: GETPHYS: Failed to convert virtual 0x0 to physical.
CMEM Error: getPCMEMK Error: get_phys: Unable to find phys addr for 0x00000000
hys: Failed to get physical addrCMEMK Error: get_phys: get_user_pages() failed: -14
ess of 0
CMEMK Error: FREE: Failed to convert virtual 0x0 to physical
CMEM Error: free: failed to free 0
Error: Failed to create attribute window device
请问我的问题怎么解决?
Lina Lian:
frank wang1,
此版块是MSP430版块,建议你把你的问题发到“达芬奇(Davinci™)” 版块,那里有对应产品线的专家,可能会得到更快的解答。O(∩_∩)O~