Build GUI Guider projects for iMX93 (GUI GUIDER 1.9.X)

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

Build GUI Guider projects for iMX93 (GUI GUIDER 1.9.X)

Build GUI Guider projects for iMX93 (GUI GUIDER 1.9.X)

GUI Guider version:  1.9.x

LVGL version: v8.x.x , v9.x.x

Host software requirements: Ubuntu 20.04, Ubuntu 22.04 or Debian 12

Hardware requirements:

FRDM i.MX 93 Development Board

i.MX 93 Evaluation Kit

 

Steps:

1. Export your project from the folder GUI-Guider-Projects to your Linux PC. 

 
 
 
 
 
Screenshot 2025-03-25 073449.png

2. Build an image for iMX93 using The Yocto Project. 

 
a. Based on iMX Yocto Porject Users Guide set directories and download the repo

$ mkdir imx-bsp-6.6
$ cd imx-bsp-6.6
$: repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-scarthgap -m imx-6.6.52-2.2.0.xml
$ repo sync
Use distro fsl-imx-xwayland and select machine imx93evk and use this commnad with a build folder name:
$ MACHINE=imx93evk DISTRO=fsl-imx-xwayland source ./imx-setup-release.sh - b bld-imx93evk

b. Use bitbake command to start the build process. Also, add the -c populate_sdk to get the toolchain.

$ bitbake imx-image-full -c populate_sdk

 c. Install the Yocto toolchain located on <build-folder>/tmp/deploy/sdk/. 

$ sudo sh ./fsl-imx-xwayland-glibc-x86_64-imx-image-full-armv8a-imx93evk-toolchain-6.6-scarthgap.sh

d. Install ninja utility on the build host

$ sudo apt update
$ sudo apt upgrade -y
$ sudo apt install ninja-build

e. Unzip the gui guider and lvgl sources

$ cd meta-gui-guider/recipes-graphics/gui-guider/gui-guider/
$ unzip gui-guider.zip
$ cd ../../lvgl/lvgl/
$ unzip lvgl.zip
$ cd ../../gui-guider/gui-guider/
$ mv ../../lvgl/lvgl/ .
$ cd ports/linux/

f. Change the interpreter on build.sh from #!/bin/sh to #!/bin/bash.

$ nano build.sh

-- #!/bin/sh
++ #!/bin/bash

g. use the following commands to make build.sh executable

$ dos2unix build.sh
$ chmod +x build.sh

h. Execute the build.sh

$ ./build.sh

i. Copy the binary to the iMX93 using a USB or SCP. 

 

RESULTS:

 

Chavira_1-1742846257590.jpeg

 

I hope this article will be helpful

评论

Hi @Chavira 

I missed the comment on changing from
/bin/sh

/bin/bash

It worked after making the change


Thanks
Sanjay

%3CLINGO-SUB%20id%3D%22lingo-sub-2067517%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E4%B8%BA%20iMX93%20(GUI%20GUIDER%201.9.X)%20%E6%9E%84%E5%BB%BA%20GUI%20Guider%20%E9%A1%B9%E7%9B%AE%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2067517%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%0A%3CDIV%20class%3D%22lia-message-template-content-zone%22%3E%0A%3CP%3E%3CSTRONG%3EGUI%20Guider%20%E7%89%88%E6%9C%AC%EF%BC%9A%3C%2FSTRONG%3E%201.9.x%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ELVGL%20%E7%89%88%E6%9C%AC%EF%BC%9A%3C%2FSTRONG%3E%20v8.x.x%E3%80%81v9.x.x%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%E4%B8%BB%E6%9C%BA%E8%BD%AF%E4%BB%B6%E8%A6%81%E6%B1%82%EF%BC%9A%3C%2FSTRONG%3E%20Ubuntu%2020.04%E3%80%81Ubuntu%2022.04%20%E6%88%96%20Debian%2012%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%E7%A1%AC%E4%BB%B6%E8%A6%81%E6%B1%82%EF%BC%9A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fdevelopment-boards-and-designs%2FFRDM-IMX93%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EFRDM%20i.MX%2093%E5%BC%80%E5%8F%91%E6%9D%BF%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdesign%2Fdesign-center%2Fdevelopment-boards-and-designs%2Fi.MX93EVK%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ei.MX%2093%E8%AF%84%E4%BC%B0%E5%A5%97%E4%BB%B6%3C%2FA%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSTRONG%3E%E6%AD%A5%E9%AA%A4%EF%BC%9A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E1.%20%E5%B0%86%20GUI-Guider-Projects%20%E6%96%87%E4%BB%B6%E5%A4%B9%E4%B8%AD%E7%9A%84%E9%A1%B9%E7%9B%AE%E5%AF%BC%E5%87%BA%E5%88%B0%20Linux%20%E7%94%B5%E8%84%91%E3%80%82%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorChavira_1%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20id%3D%22tinyMceEditorChavira_2%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20id%3D%22tinyMceEditorChavira_3%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20id%3D%22tinyMceEditorChavira_4%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%20id%3D%22tinyMceEditorChavira_5%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202025-03-25%20073449.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Screenshot%202025-03-25%20073449.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F329627i3060D99418AC2C79%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Screenshot%202025-03-25%20073449.png%22%20alt%3D%22Screenshot%202025-03-25%20073449.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FDIV%3E%0A%3CDIV%20class%3D%22lia-message-template-content-zone%22%3E%3CBR%20%2F%3E%0A%3CP%3E2.%20%E4%BD%BF%E7%94%A8%20Yocto%20Project%20%E4%B8%BA%20iMX93%20%E6%9E%84%E5%BB%BA%E9%95%9C%E5%83%8F%E3%80%82%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3CBR%20%2F%3Ea.%20%E6%A0%B9%E6%8D%AE%E3%80%8AiMX%20Yocto%20%E9%A1%B9%E7%9B%AE%E7%94%A8%E6%88%B7%E6%8C%87%E5%8D%97%E3%80%8B%E8%AE%BE%E7%BD%AE%E7%9B%AE%E5%BD%95%E5%B9%B6%E4%B8%8B%E8%BD%BD%E4%BB%93%E5%BA%93%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%20translate%3D%22no%22%3E%24%20mkdir%20imx-bsp-6.6%0A%24%20cd%20imx-bsp-6.6%0A%24%3A%20repo%20init%20-u%20https%3A%2F%2Fgithub.com%2Fnxp-imx%2Fimx-manifest%20-b%20imx-linux-scarthgap%20-m%20imx-6.6.52-2.2.0.xml%0A%24%20repo%20sync%0AUse%20distro%20fsl-imx-xwayland%20and%20select%20machine%20imx93evk%20and%20use%20this%20commnad%20with%20a%20build%20folder%20name%3A%0A%24%20MACHINE%3Dimx93evk%20DISTRO%3Dfsl-imx-xwayland%20source%20.%2Fimx-setup-release.sh%20-%20b%20bld-imx93evk%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3Eb.%20%E4%BD%BF%E7%94%A8%20bitbake%20%E5%91%BD%E4%BB%A4%E5%90%AF%E5%8A%A8%E6%9E%84%E5%BB%BA%E8%BF%87%E7%A8%8B%E3%80%82%E6%AD%A4%E5%A4%96%EF%BC%8C%E6%B7%BB%E5%8A%A0%20-c%20populate_sdk%20%E4%BB%A5%E8%8E%B7%E5%8F%96%E5%B7%A5%E5%85%B7%E9%93%BE%E3%80%82%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%20translate%3D%22no%22%3E%24%20bitbake%20imx-image-full%20-c%20populate_sdk%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3Ec.%20%E5%AE%89%E8%A3%85%E4%BD%8D%E4%BA%8E%20%3CBUILD-FOLDER%3E%2Ftmp%2Fdeploy%2Fsdk%2F%20%E7%9A%84%20Yocto%20%E5%B7%A5%E5%85%B7%E9%93%BE%E3%80%82%3C%2FBUILD-FOLDER%3E%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%20translate%3D%22no%22%3E%24%20sudo%20sh%20.%2Ffsl-imx-xwayland-glibc-x86_64-imx-image-full-armv8a-imx93evk-toolchain-6.6-scarthgap.sh%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3Ed.%20%E5%9C%A8%E5%BC%80%E5%8F%91%E4%B8%BB%E6%9C%BA%E4%B8%8A%E5%AE%89%E8%A3%85%20ninja%20%E5%AE%9E%E7%94%A8%E7%A8%8B%E5%BA%8F%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%20translate%3D%22no%22%3E%24%20sudo%20apt%20update%0A%24%20sudo%20apt%20upgrade%20-y%0A%24%20sudo%20apt%20install%20ninja-build%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3Ee.%20%E8%A7%A3%E5%8E%8B%20GUI%20Guider%20%E5%92%8C%20LVGL%20%E6%BA%90%E3%80%82%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%20translate%3D%22no%22%3E%24%20cd%20meta-gui-guider%2Frecipes-graphics%2Fgui-guider%2Fgui-guider%2F%0A%24%20unzip%20gui-guider.zip%0A%24%20cd%20..%2F..%2Flvgl%2Flvgl%2F%0A%24%20unzip%20lvgl.zip%0A%24%20cd%20..%2F..%2Fgui-guider%2Fgui-guider%2F%0A%24%20mv%20..%2F..%2Flvgl%2Flvgl%2F%20.%0A%24%20cd%20ports%2Flinux%2F%0A%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3Ef.%20%E5%B0%86%20build.sh%20%E4%B8%AD%E7%9A%84%E8%A7%A3%E9%87%8A%E5%99%A8%E4%BB%8E%20%3CSTRONG%3E%23!%2Fbin%2Fsh%3C%2FSTRONG%3E%20%E6%9B%B4%E6%94%B9%E4%B8%BA%20%3CSTRONG%3E%23!%2Fbin%2Fbash%3C%2FSTRONG%3E%E3%80%82%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%20translate%3D%22no%22%3E%24%20nano%20build.sh%0A%0A--%20%23!%2Fbin%2Fsh%0A%2B%2B%20%23!%2Fbin%2Fbash%3C%2FCODE%3E%3C%2FPRE%3E%3CBR%20%2F%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3Eg.%20%E4%BD%BF%E7%94%A8%E4%BB%A5%E4%B8%8B%E5%91%BD%E4%BB%A4%E4%BD%BF%20build.sh%20%E5%8F%AF%E6%89%A7%E8%A1%8C%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%20translate%3D%22no%22%3E%24%20dos2unix%20build.sh%0A%24%20chmod%20%2Bx%20build.sh%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3Eh.%20%E6%89%A7%E8%A1%8C%20build.sh%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%20translate%3D%22no%22%3E%24%20.%2Fbuild.sh%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3Ei.%20%E4%BD%BF%E7%94%A8%20USB%20%E6%88%96%20SCP%20%E5%B0%86%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E5%A4%8D%E5%88%B6%E5%88%B0%20iMX93%E3%80%82%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%22%20style%3D%22padding-left%20%3A%2030px%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%20lia-align-left%22%20style%3D%22padding-left%20%3A%2030px%3B%20text-align%20%3A%20left%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%20text-align%20%3A%20left%3B%22%3E%3CSTRONG%3E%E7%BB%93%E6%9E%9C%EF%BC%9A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-indent-padding-left-30px%20lia-align-left%22%20style%3D%22padding-left%20%3A%2030px%3B%20text-align%20%3A%20left%3B%22%20style%3D%22padding-left%20%3A%2030px%3B%20text-align%20%3A%20left%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Chavira_1-1742846257590.jpeg%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Chavira_1-1742846257590.jpeg%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F329571i0E27898A8D45C28C%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Chavira_1-1742846257590.jpeg%22%20alt%3D%22Chavira_1-1742846257590.jpeg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%E5%B8%8C%E6%9C%9B%E8%BF%99%E7%AF%87%E6%96%87%E7%AB%A0%E5%AF%B9%E6%82%A8%E6%9C%89%E6%89%80%E5%B8%AE%E5%8A%A9%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2092520%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Build%20GUI%20Guider%20projects%20for%20iMX93%20(GUI%20GUIDER%201.9.X)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2092520%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E5%97%A8%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%20%3CBR%20%2F%3E%3CBR%20%2F%3E%E6%88%91%E9%94%99%E8%BF%87%E4%BA%86%E5%85%B3%E4%BA%8E%E4%BB%8E%3CBR%20%2F%3E%2Fbin%2Fsh%20%E6%9B%B4%E6%94%B9%E7%9A%84%E8%AF%84%E8%AE%BA%3C%2FP%3E%0A%3CP%3E%2Fbin%2Fbash%3C%2FP%3E%0A%3CP%3E%E6%9B%B4%E6%94%B9%E5%90%8E%E5%B0%B1%E8%83%BD%E6%AD%A3%E5%B8%B8%E5%B7%A5%E4%BD%9C%E4%BA%86%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3E%E6%84%9F%E8%B0%A2%3CBR%20%2F%3ESanjay%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
无评分
版本历史
最后更新:
‎03-25-2025 07:08 AM
更新人: