i.MX8MM GPU crashed on yocto 5.0

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

i.MX8MM GPU crashed on yocto 5.0

329 次查看
adv-johnchang
Contributor I

Hi,

Recently, we upgraded from Yocto 4.2 to Yocto 5.0 on our custom i.MX8MM board. We are now experiencing random GPU crashes during boot-up, which prevents the Weston desktop system from starting. This issue did not occur with Yocto 4.2.

Do you have any suggestions on what might be causing this problem?

Here's the relevant log:

dmesg_gpu_crash.log

0 项奖励
回复
5 回复数

321 次查看
joanxie
NXP TechSupport
NXP TechSupport

could you tell me what operation cause this issue? and what detailed yocto bsp version do you use? nxp yocto bsp?

0 项奖励
回复

307 次查看
adv-johnchang
Contributor I

Hi joanxie,

  • could you tell me what operation cause this issue? 

=> It happens right after boot, without any user interaction.The sequence is:

power on => kernel logo display => psplash logo display => screen stays black =>

we found that Weston failed to start => checking dmesg reveals a GPU crash.

  • what detailed yocto bsp version do you use? nxp yocto bsp?

=> Our yocto 5.0 BSP base on imx-6.6.52-2.2.1.xml.

 

By the way, we also noticed that when the GPU crashes, the dmesg log simultaneously shows 'failed to allocate memory for node 'linux,cma',' but we are unsure if these two issues are related.

0 项奖励
回复

192 次查看
joanxie
NXP TechSupport
NXP TechSupport

did you use your own board with your own customized BSP? I tested on the nxp imx8mm evk board with official bsp without any issue,if you have cma issue, you need check your dts settings for cma is correct or not

[ OK ] Started Configuration for i.MX GPU (Former rc_gpu.S).

[ OK ] Reached target Login Prompts.
Starting Hostname Service...
Starting Weston, a Wayland compositor, as a system service...
Starting WPA supplicant...

0 项奖励
回复

289 次查看
joanxie
NXP TechSupport
NXP TechSupport

did you use nxp offical default image and bsp or do you use your customized image?I couldn't reproduce this issue on my imx8mm evk board, did you test nxp official demo image with nxp imx8mlm evk board? or your own customized bsp with your own board?

0 项奖励
回复

234 次查看
adv-johnchang
Contributor I

Hi joanxie,

We are using our customized board and BSP.

Since Yocto 4.2 works and the problem appears only after upgrading to Yocto 5.0. 

So, what could be the possible causes?

0 项奖励
回复