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

評価なし
バージョン履歴
最終更新日:
‎03-25-2025 07:08 AM
更新者: