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:
I have tried to run the command: "export QTWEBENGINE_DISABLE_SANDBOX=1
which changed the error to:
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:
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.
已解决! 转到解答。
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.
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
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
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.
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
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.