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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,948 Views
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.

0 Kudos
Reply
1 Solution
1,864 Views
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.

 

 

View solution in original post

0 Kudos
Reply
6 Replies
1,926 Views
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 Kudos
Reply
1,900 Views
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 Kudos
Reply
1,882 Views
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 Kudos
Reply
1,869 Views
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 Kudos
Reply
1,865 Views
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 Kudos
Reply
1,819 Views
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 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2001218%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Eunable%20to%20show%20qt6%20content%20on%20imx7ulp-evk%20with%20screen%20using%20yocto%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2001218%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI'm%20trying%20to%20show%20content%20on%20the%20small%20screen%20(TFT3P5581-T)%20connected%20to%20the%20evaluation%20board.%20However%20nothing%20shows%20up%20on%20the%20screen%2C%20when%20I'm%20trying%20to%20run%20any%20of%20the%20examples%20from%20the%20%22QtWebEngine%20browsers%22%20-%20instead%20i%20get%20the%20following%20error%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22HenrikZ_0-1732546716214.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22HenrikZ_0-1732546716214.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F312388iC24F77AA71912EFD%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22HenrikZ_0-1732546716214.png%22%20alt%3D%22HenrikZ_0-1732546716214.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20have%20tried%20to%20run%20the%20command%3A%20%22export%20QTWEBENGINE_DISABLE_SANDBOX%3D1%3C%2FP%3E%3CP%3Ewhich%20changed%20the%20error%20to%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22HenrikZ_1-1732546842142.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22HenrikZ_1-1732546842142.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F312389i9B24B6029619CC1B%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22HenrikZ_1-1732546842142.png%22%20alt%3D%22HenrikZ_1-1732546842142.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EThe%20resistors%20determine%20whether%20it%20should%20be%20HDMI%20or%20MIPI%20have%20been%20moved%2C%20and%20I%20have%20an%20image%2C%20that%20is%20showing%20a%20simple%20screen%20on%20the%20display%20indicating%20that%20the%20connecting%20the%20display%20is%20working.%3C%2FP%3E%3CP%3ENow%20I%20want%20to%20build%20a%20new%20image%20with%20the%20following%20settings%3A%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3EDISTRO%3Dfsl-imx-wayland%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EMACHINE%3Dimx7ulpevk%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3Ebitbake%20imx-image-full%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3CSPAN%3EI%20have%20added%20to%20local.conf%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CEM%3EIMAGE_INSTALL%3Aappend%20%3D%20%22%20packagegroup-qt6-webengine%22%20%3C%2FEM%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EAny%20suggestions%20how%20I%20get%20the%20demonstration%20to%20run%20and%20show%20on%20the%20screen.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2002709%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20unable%20to%20show%20qt6%20content%20on%20imx7ulp-evk%20with%20screen%20using%20yocto%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2002709%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F206761%22%20target%3D%22_blank%22%3E%40Chavira%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat%20made%20a%20difference%2C%20now%20I%20see%20the%20splash%20screen%20when%20boot%20and%20the%20screen%2C%20and%20I%20can%20start%20the%20demo%20examples%20from%20NXP.%3C%2FP%3E%3CP%3EThanks%20for%20the%20help.%3C%2FP%3E%3CP%3EBest%20regards%3C%2FP%3E%3CP%3EHenrik%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2002103%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20unable%20to%20show%20qt6%20content%20on%20imx7ulp-evk%20with%20screen%20using%20yocto%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2002103%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHI%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F242607%22%20target%3D%22_blank%22%3E%40HenrikZ%3C%2FA%3E!%3C%2FP%3E%0A%3CP%3EYou%20don%C2%B4t%20see%20nothing%20in%20the%20display%20when%20is%20booting%3F%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EI%20notices%20that%20the%20correct%20variable%20for%20iMX7ULP-EVK%20board%20is%20%3CSTRONG%3Efdt_file.%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EAfter%20that%20you%20should%20be%20able%20to%20see%20the%20display%20working.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2002076%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20unable%20to%20show%20qt6%20content%20on%20imx7ulp-evk%20with%20screen%20using%20yocto%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2002076%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F206761%22%20target%3D%22_blank%22%3E%40Chavira%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20setup%20the%20fdtfile%20I%20stopped%20the%20uboot%20process%20and%20entered%20the%20following%20at%20the%20prompt%3A%3C%2FP%3E%3CP%3E%3CEM%3E%3D%26gt%3B%26nbsp%3B%20setenv%20fdtfile%20imx7ulp-evk-mipi.dtb%3C%2FEM%3E%3C%2FP%3E%3CP%3ETo%20show%20that%20it%20succeeded%20to%20set%20the%20value%20i%20tried%3A%3C%2FP%3E%3CP%3E%3CEM%3E%3D%26gt%3B%26nbsp%3B%20printenv%20fdtfile%3C%2FEM%3E%3C%2FP%3E%3CP%3EWhich%20provided%20the%20follwing%20result%3A%20%22fdtfile%3Dimx7ulp-evk-mipi.dtb%3C%2FP%3E%3CP%3EAnd%20finally%20I%20saved%20the%20change%3A%3C%2FP%3E%3CP%3E%3CEM%3E%3D%26gt%3B%26nbsp%3B%20saveenv%3C%2FEM%3E%3C%2FP%3E%3CP%3EEven%20though%20I%20think%20I%20have%20chosen%20the%20device%20tree%2C%20the%20error%20still%20persists%20as%20shown%20in%20the%20picture%20below.%20You%20can%20see%20in%20the%20top%20of%20the%20picture%2C%20that%20I%20have%20ran%20the%20command%3A%26nbsp%3B%3CSPAN%3Eexport%20QTWEBENGINE_DISABLE_SANDBOX%3D1.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22HenrikZ_0-1732633889534.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22HenrikZ_0-1732633889534.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F312620i24472DD55C4CD2E5%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22HenrikZ_0-1732633889534.png%22%20alt%3D%22HenrikZ_0-1732633889534.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThe%20error%20description%20in%20the%20picture%20does%20mention%20%22character%20encoding%22%20a%20few%20times.%20Could%20that%20be%20the%20issue%20since%20it%20says%20%22Qt%20depends%20on%20a%20UTF-8%20locale...%22%3F%3C%2FP%3E%3CP%3EBest%20regards%3C%2FP%3E%3CP%3EHenrik%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2002058%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20unable%20to%20show%20qt6%20content%20on%20imx7ulp-evk%20with%20screen%20using%20yocto%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2002058%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHI%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F242607%22%20target%3D%22_blank%22%3E%40HenrikZ%3C%2FA%3E!%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EYes%20the%20device%20tree%20is%20included%20but%20is%20not%20used%20by%20default.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EYou%20should%20stop%20the%20boot%20process%20in%20u-boot%20terminal%20and%20set%20up%20the%20%3CSTRONG%3Efdtfile%20%3C%2FSTRONG%3Evariable%20with%20the%20name%20of%20the%20device%20tree%20that%20you%20want%20to%20use.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20Regards!%3C%2FP%3E%0A%3CP%3EChavira%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2001917%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20unable%20to%20show%20qt6%20content%20on%20imx7ulp-evk%20with%20screen%20using%20yocto%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2001917%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F206761%22%20target%3D%22_blank%22%3E%40Chavira%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20you%20quick%20response.%3C%2FP%3E%3CP%3EI%20believe%20that%20have%20included%20the%20correct%20device%20tree.%20In%20the%20%22sources%2Fmeta-freescale%2Fconf%2Fmachine%2Fimx7ulpevk.conf%22%20I%20have%20added%3A%3C%2FP%3E%3CP%3EKERNEL_DEVICETREE%20%3D%20%3CSPAN%20class%3D%22%22%3E%22imx7ulp-evk-mipi.dtb%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%22%3EI%20can%20also%20see%20that%20the%20file%20%22...tmp%2Fdeploy%2Fimages%2Fimx7ulpevk%2Fimx7ulp-evk-mipi.dtb%22%20does%20exist%20after%20I%20have%20builded%2F%22baked%22%20the%20image.%20I%20think%20that%20should%20indicate%2C%20that%20the%20Display%20is%20included%20in%20the%20device%20tree%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%22%3EBest%20regards%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22%22%3EHenrik%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2001326%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20unable%20to%20show%20qt6%20content%20on%20imx7ulp-evk%20with%20screen%20using%20yocto%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2001326%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHI%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F242607%22%20target%3D%22_blank%22%3E%40HenrikZ%3C%2FA%3E!%3CBR%20%2F%3EThank%20you%20for%20contacting%20NXP%20Support!%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EAre%20you%20using%20the%20correct%20device%20tree%3F%3C%2FP%3E%0A%3CP%3EThe%20device%20tree%20to%20use%20that%20Display%20should%20be%20%3CSTRONG%3Eimx7ulp-evk-mipi.dtb%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20Regards!%3C%2FP%3E%0A%3CP%3EChavira%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E