平台:AM5728
运行big-data-ipc-demo例子时候提示CMEM Error: getPool :Failed to get a pool fitting a size 0x1000000
cat /proc/cmem输出如下:
Block 0: Pool 0: 1 bufs size 0xc000000
Pool 0 busy bufs:
id 0 :phys adr 0xa0000000(cached)
Pool 0 free bufs
am57xx-evm-cmem.dtsi内容如下
/ {
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
cmem_block_mem_0: cmem_block_mem@a0000000 {
reg = <0x0 0xa0000000 0x0 0x0c000000>;
no-map;status = "okay";
};
cmem_block_mem_1_ocmc3: cmem_block_mem@40500000 {
reg = <0x0 0x40500000 0x0 0x100000>;
no-map;
status = "okay";
}; };
cmem {
compatible = "ti,cmem";
#address-cells = <1>;
#size-cells = <0>;
#pool-size-cells = <2>;
status = "okay";
cmem_block_0: cmem_block@0 {
reg = <0>;
memory-region = <&cmem_block_mem_0>;
cmembuf-pools = <1 0x0 0x0c000000>;
};
cmem_block_1: cmem_block@1 {
reg = <1>;
memory-region = <&cmem_block_mem_1_ocmc3>;
};
};
};
:
Shine:
是否有参考过下面帖子里的方法?
e2e.ti.com/…/590859