Hi,
After burning the image on 64GB module and booting(32GB module can boot normally), the size of the CMA is too small, causing abnormalities.
Reserved memory: created CMA memory pool at 0x0000001019000000, size 256 MiB
[ 19.543115] cma: cma_alloc: alloc failed, req-size: 62832 pages, ret: -12
[ 19.550688] WARNING: CPU: 7 PID: 882 at mm/page_alloc.c:4937 __alloc_pages_nodemask+0x2c8/0x320
[ 19.560927] ---[ end trace 9296b14f6a23f441 ]---
[ 19.566372] nvgpu: 17000000.ga10b nvgpu_cbc_init_support:91 [ERR] Failed to allocate comptags
[ 19.577046] nvgpu: 17000000.ga10b nvgpu_finalize_poweron:1010 [ERR] Failed initialization for: g->ops.cbc.cbc_init_support
[ 27.308541] nvgpu: 17000000.ga10b gk20a_power_write:127 [ERR] power_node_write failed at busy
[ 30.394308] nvgpu: 17000000.ga10b nvgpu_timeout_expired_msg_cpu:94 [ERR] Timeout detected @ nvgpu_pmu_wait_fw_ack_status+0xbc/0x130 [nvgpu]
[ 30.408007] nvgpu: 17000000.ga10b pmu_wait_message_cond:649 [ERR] PMU wait timeout expired.
[ 30.417896] nvgpu: 17000000.ga10b nvgpu_pmu_lsfm_bootstrap_ls_falcon:128 [ERR] LSF Load failed
[ 30.426966] nvgpu: 17000000.ga10b nvgpu_gr_falcon_load_secure_ctxsw_ucode:714 [ERR] Unable to recover GR falcon
Our HW design has a eeprom on i2c-0 0x51 address , we found that if we remove eeprom config on dts and re-flash image , the cma size is different and the system can boot normal
i2c@3160000 {
eeprom: eeprom@51 {
compatible = "atmel,24c02";
status = "okay";
reg = <0x51>;
pagesize = <16>;
};
};
Reserved memory: created CMA memory pool at 0x0000001009000000, size 512 MiB
The attached is our device boot log
cma_issue.zip (26.4 KB)
Can you tell me why there is such a difference?
When is the size of CMA decided? Is it related to DTS?