unable to show qt6 content on imx7ulp-evk with screen using yocto

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

unable to show qt6 content on imx7ulp-evk with screen using yocto

跳至解决方案
1,625 次查看
HenrikZ
Contributor III

I'm trying to show content on the small screen (TFT3P5581-T) connected to the evaluation board. However nothing shows up on the screen, when I'm trying to run any of the examples from the "QtWebEngine browsers" - instead i get the following error:

HenrikZ_0-1732546716214.png

I have tried to run the command: "export QTWEBENGINE_DISABLE_SANDBOX=1

which changed the error to:

HenrikZ_1-1732546842142.png

 

The resistors determine whether it should be HDMI or MIPI have been moved, and I have an image, that is showing a simple screen on the display indicating that the connecting the display is working.

Now I want to build a new image with the following settings:

  • DISTRO=fsl-imx-wayland
  • MACHINE=imx7ulpevk
  • bitbake imx-image-full

I have added to local.conf:

IMAGE_INSTALL:append = " packagegroup-qt6-webengine"

Any suggestions how I get the demonstration to run and show on the screen.

标记 (4)
0 项奖励
回复
1 解答
1,541 次查看
Chavira
NXP TechSupport
NXP TechSupport

HI @HenrikZ!

You don´t see nothing in the display when is booting?

 

I notices that the correct variable for iMX7ULP-EVK board is fdt_file.

 

After that you should be able to see the display working.

 

 

在原帖中查看解决方案

0 项奖励
回复
6 回复数
1,603 次查看
Chavira
NXP TechSupport
NXP TechSupport

HI @HenrikZ!
Thank you for contacting NXP Support!

 

Are you using the correct device tree?

The device tree to use that Display should be imx7ulp-evk-mipi.dtb

 

Best Regards!

Chavira

 

0 项奖励
回复
1,577 次查看
HenrikZ
Contributor III

Hi @Chavira 

Thanks for you quick response.

I believe that have included the correct device tree. In the "sources/meta-freescale/conf/machine/imx7ulpevk.conf" I have added:

KERNEL_DEVICETREE = "imx7ulp-evk-mipi.dtb"

I can also see that the file "...tmp/deploy/images/imx7ulpevk/imx7ulp-evk-mipi.dtb" does exist after I have builded/"baked" the image. I think that should indicate, that the Display is included in the device tree?

Best regards

Henrik

 

0 项奖励
回复
1,559 次查看
Chavira
NXP TechSupport
NXP TechSupport

HI @HenrikZ!

 

Yes the device tree is included but is not used by default.

 

You should stop the boot process in u-boot terminal and set up the fdtfile variable with the name of the device tree that you want to use.

 

Best Regards!

Chavira

0 项奖励
回复
1,546 次查看
HenrikZ
Contributor III

Hi @Chavira 

To setup the fdtfile I stopped the uboot process and entered the following at the prompt:

=>  setenv fdtfile imx7ulp-evk-mipi.dtb

To show that it succeeded to set the value i tried:

=>  printenv fdtfile

Which provided the follwing result: "fdtfile=imx7ulp-evk-mipi.dtb

And finally I saved the change:

=>  saveenv

Even though I think I have chosen the device tree, the error still persists as shown in the picture below. You can see in the top of the picture, that I have ran the command: export QTWEBENGINE_DISABLE_SANDBOX=1.

HenrikZ_0-1732633889534.png

The error description in the picture does mention "character encoding" a few times. Could that be the issue since it says "Qt depends on a UTF-8 locale..."?

Best regards

Henrik

 

0 项奖励
回复
1,542 次查看
Chavira
NXP TechSupport
NXP TechSupport

HI @HenrikZ!

You don´t see nothing in the display when is booting?

 

I notices that the correct variable for iMX7ULP-EVK board is fdt_file.

 

After that you should be able to see the display working.

 

 

0 项奖励
回复
1,496 次查看
HenrikZ
Contributor III

Hi @Chavira 

That made a difference, now I see the splash screen when boot and the screen, and I can start the demo examples from NXP.

Thanks for the help.

Best regards

Henrik

0 项奖励
回复