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
Steps:
1. Export your project from the folder GUI-Guider-Projects to your Linux PC.
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:
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