i.MX8MM GPU crashed on yocto 5.0

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MX8MM GPU crashed on yocto 5.0

333件の閲覧回数
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 返答(返信)

325件の閲覧回数
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 件の賞賛
返信

311件の閲覧回数
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 件の賞賛
返信

196件の閲覧回数
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 件の賞賛
返信

293件の閲覧回数
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 件の賞賛
返信

238件の閲覧回数
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 件の賞賛
返信