How about the weston crash on Yocto4.0_5.15.52 (IMX8MM)?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How about the weston crash on Yocto4.0_5.15.52 (IMX8MM)?

176 Views
charleshuang
Senior Contributor II

Hi NXP 

Our platform is IMX8MM-1G version. OS is Yocto4.0-5.15.52.

Our customer run the customer app, the system will be show "failed to allocate memory for node 'linux.cma".  Then weston will be crash.

The Yocto 3.0 version weston is not crash.  

charleshuang_0-1716886725622.png

We checked the kernel config.

The CONFIG_CMA_SIZE_MBYTES=320 on Yocto 3.0.

The CONFIG_CMA_SIZE_MBYTES=32 on Yocto 4.0.

We tried to modify CONFIG_CMA_SIZE_MBYTES=320, and then tested it again. Weston did not crash.

Do you have any advice?

  1. How can we fix the Weston crash on the imx8mm-1G?

  2. When I modify CONFIG_CMA_SIZE_MBYTES to 320, could it cause any other follow-up issues

 

0 Kudos
Reply
1 Reply

148 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

You have to modified the CMA and the bootloader, but you are playing with non-supported kernel, maybe this is the issue, you have to go with the 4.1.15 or the newest kernel supported is 6.6.3>

https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for...

Regards

0 Kudos
Reply