内存高于4GB时摄像头无法正常工作。当内存从4GB升级到8GB后,打开摄像头APP,终端输出如下
[ 100.488782] rga_mm: RGA_MMU unsupported Memory larger than 4G! [ 100.488814] rga_mm: scheduler core[4] unsupported mm_flag[0x0]! [ 100.488821] rga_mm: rga_mm_map_buffer map dma_buf error! [ 100.488826] rga_mm: job buffer map failed! [ 100.488831] rga_mm: dst channel map job buffer failed! [ 100.488834] rga_mm: failed to map buffer [ 100.488842] rga_job: rga_job_commit: failed to map job info [ 100.488896] rga_job: request[1] task[0] job_commit failed. [ 100.488909] rga_job: rga request commit failed! [ 100.488915] rga: request[1] submit failed!
解决方案: 根据文件 ddr_than-4G.patch 修改源码后重新编译。