View Issue Details

IDProjectCategoryView StatusLast Update
0007264fsimx_KernelKernelpublic2026-06-22 15:03
Reporterdippold Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Platformfsimx6OSLinuxOS Version6.6.129
Product Versionv6.6.129-2.2.2-fus1.3 
Fixed in Versionv6.6.129-2.2.2-fus1.3 
Summary0007264: Fix fsimx6 CMA allocation
DescriptionThe new kernel allocates CMA always at the end of the DRAM. This leads to problems if the CMA is bigger than the higher part of the DRAM and crosses the boarder between normal RAM and high RAM.
For example:
i.MX6 Normal RAM goes from 0x10000000 to 0x7FFFFFFF
i.MX6 High RAM goes from 0x80000000 to 0xFFFFFFFF

If a board has 2GB DRAM and the CMA size is 320MB the CMA will go from 0x7c000000..0x8ffffff. The CMA lies in Normal and High RAM and allocation will fail.
    
To prevent this we set the maximum range of the CMA allocation to 0x6C000000. This has to be adapted if CMA_SIZE > 320MB

Activities

There are no notes attached to this issue.