rk3588 用dma方式使用librga库出现内存不足问题:RK_DMA_HEAP_ALLOC_BUFFER failed cma_heap_fd:4 width:640 height:640 format:512 error:12 errorMsg:Cannot allocate memory复制代码使用dmesg -T查看具体原因:cma: cma_alloc: cma: alloc failed, req-size: 2700 pages, ret: -12复制代码大概知道就是预留...
# rk dma_buf heaps/dev/dma_heap/cma u:object_r:dmabuf_system_heap_device:s0/dev/dma_heap/system-dma32 u:object_r:dmabuf_system_heap_device:s0 Index: device/rockchip/common/sepolicy/vendor/fsck.te=== --- device/rockchip/common/sepolicy/vendor/fsck.te (revision2461)+++ device/rockc...
第二步观察自己的log信息 可以尝试一下更低的频率,比如1560MHz,这个和自己选择的DDR以及走线都有关系,可能本身就不能跑这么高 lubancat@lubancat-vm:~/LubanCat_SDK$ ls -la output/firmware/ 总用量 8 drwxrwxr-x 2 lubancat lubancat 4096 3月 11 23:31 . drwxrwxr-x 7 lubancat lubancat 4096 3月...
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] software IO TLB: mapped [mem 0xe9f00000-0xedf00000] (64MB) [ 0.000000] Memory: 3971388K/4175872K available (14718K kernel code, 1986K rwdata, 5220K rodata, 1600K init, 586K bss, 188100K reserved, ...
[ 2.646449] Reserved memory: created CMA memory pool at 0x0000000010000000, size 128 MiB [ 2.647192] OF: reserved mem: initialized node cma, compatible id shared-dma-pool [ 2.879667] Zone ranges: [ 2.879910] DMA [mem 0x0000000000200000-0x00000000ffffffff] [ 2.880484] DMA32 empty [ 2.880751]...
[ 4.941851] Reserved memory: created CMA memory pool at 0x0000000010000000, size 256 MiB [ 4.950159] OF: reserved mem: initialized node cma, compatible id shared-dma-pool [ 5.025532] Zone ranges: [ 5.028198] DMA [mem 0x0000000000200000-0x00000000ffffffff] [ 5.034484] DMA32 empty [ 5.037447]...
按照SDK编译出来的IMAGE,在开发板上能够正常执行,但是开发板无法完成KERNEL初始化,始终会卡住,仔细跟踪后,LOG信息如下,想请教下:具体的原因是什么?或者有什么解决方法? U-Boot 2017.09-g912f242c30 #huangjf (Sep 13 2021 - 18:08:18 +0800) Model: Firefly RK3568 Board ...
[OHOS ERROR] patching file drivers/dma-buf/heaps/Kconfig [OHOS ERROR] patching file drivers/dma-buf/heaps/Makefile [OHOS ERROR] patching file drivers/dma-buf/heaps/cma_heap.c [OHOS ERROR] patching file drivers/dma-buf/heaps/system_heap.c [OHOS ERROR] patching file drivers/dma-buf/sw...
DMA_HEAP_DMA32_PATCH,/* 3 -*/ CMA_HEAP_UNCACHE_PATH,/* 4 -*/ CMA_HEAP_PATH,/* 5 -*/ }; boolGstApp::convertColor(conststd::vector<uint8_t>&in,constRgaSURF_FORMATin_format, std::vector<uint8_t>&out,constRgaSURF_FORMATout_format, ...
I enabledCONFIG_DMABUF_HEAPS_SYSTEM=yandCONFIG_DMABUF_HEAPS_CMA=y, still only kernel cmdlinecma=256Mworks with rkvdec2. Setting cma 256M in dts won't work. Sorry, something went wrong. amazingfateforce-pushedtherkvdec2-rk356xbranch 3 times, most recently fromff15ff6tob072b85CompareJuly ...