1.问题说明
由于一段cma reserved memory大小设置的不正确,导致地址没有对齐,由此导致的后面启动黑屏问题。
报错如下:
[ 0.000000] -(0)[0:swapper]Reserved memory: created CMA memory pool at 0x0000000086800000, size 176 MiB
[ 0.000000] -(0)[0:swapper]OF: reserved mem: initialized node memory@86800000, compatible id shared-dma-pool
[ 0.000000] -(0)[0:swapper]Reserved memory: incorrect alignment of CMA region
[ 0.000000] -(0)[0:swapper]Removed memory: created DMA memory pool at 0x00000000d0300000, size 200 MiB
[ 0.000000] -(0)[0:swapper]OF: reserved mem: initialized node memory@d0300000, compatible id removed-dma-pool
未对齐的内存:
fb_reserved: memory@c0000000 {
reg = <0 0xc0000000 0 0x5f00000>;
no-map;
};
2. cma memory对齐要求
4M对齐
评论 (0)