How to debug weston fail on QXP B0 device

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

How to debug weston fail on QXP B0 device

4,582 次查看
nxf45220
NXP Employee
NXP Employee

Hi Community team,

 

BACKGROUND: customer(HYUNDAI MOBIS) reported display issue on their module.

I found there is issue on weston service init during bootup, and this issue is Linux OS version dependency. When failure occurred, there is no display, but when log into system and use command 'systemctl restart weston' to reset weston service, the display is ok then.

Please check below table for more details.

Linux OS version

Failed log during boot

Failure rate

Linux version 4.14.78-imx_4.14.78_1.0.0_ga+g66620c3

Stopped User Manager for UID 0

7/10

Linux version 4.14.98-imx_4.14.98_2.0.0_ga+g5d6cbea

Good

0

Linux version 4.19.35-1.1.0+g0f9917c56d59

Good

0

Linux version 5.4.3-2.0.0+gfd263a3edd95

Good

0

Linux version 5.10.35-lts-5.10.y+gef3f2cfc6010

Failed to start Weston, a …mpositor, as a system service.

8/10

     

I am wondering if there is any timing issue for different drivers versions which can lead this problem, please kindly suggest.

If we can confirm there is a kind of workaround in SW to fix this issue(rather than a silicon defect), then we can give customer some advise to optimize their SW accordingly.

Contact me freely if any details needed, thanks in advance!

 

Daniel

0 项奖励
回复
3 回复数

4,570 次查看
joanxie
NXP TechSupport
NXP TechSupport

how to reproduce this issue? pls send the test steps to me, for 5.10.35 with weston issue, pls send the log file to me too

 

0 项奖励
回复

4,561 次查看
nxf45220
NXP Employee
NXP Employee

Hi Joan,

No more tests is needed to reproduce the failure. After system bootup, dumped weston service log(see attached), please kindly comment on that.

Based on our debug history, many issue customer reported can be fixed by higher OS version since we upgrade or optimize lots of settings in latest OS version. This is what I am trying to do to handle this case with your help, and I don't think you can reproduce this issue at your end. 

Feel free to share your comments.

Daniel

 

0 项奖励
回复

4,477 次查看
joanxie
NXP TechSupport
NXP TechSupport

I tested 4.14.78 with QXP B0 board, I couldn't reproduce your issue, see my logfile:

[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttyLP0.
Starting Weston Wayland Compositor (on tty7)...
[ OK ] Started Save/Restore Sound Card State.
[ OK ] Started Load/Save Screen Backlight …ess of backlight:lvds_backlight@1.
[ OK ] Started Load/Save Screen Backlight …ess of backlight:lvds_backlight@0.
[ OK ] Started Weston Wayland Compositor (on tty7).
[ OK ] Started WPA supplicant.
[ OK ] Started Hostname Service.
[ OK ] Started Kernel Logging Service.
[ OK ] Created slice User Slice of root.
Starting User Manager for UID 0...
[ 7.972899] audit: type=1006 audit(1543187062.176:2): pid=3781 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
[ OK ] Reached target Sound Card.
[ OK ] Started Session c1 of user root.
[ OK ] Started User Manager for UID 0.

NXP i.MX Release Distro 4.14-sumo imx8qxpmek ttyLP0

0 项奖励
回复