GUI Guider version: 1.9.x, 1.10.x
LVGL version: v8.x.x , v9.x.x
Host software requirements: Ubuntu 20.04, Ubuntu 22.04 or Debian 12
Target software requirements: BSP 6.6 or higher
Hardware requirements:
FRDM i.MX 93 Development Board
FRDM i.MX 91 Development Board
Steps:
1. Export your project from the folder GUI-Guider-Projects to your Linux PC.
2. Build an image for iMX9 using The Yocto Project.
Based on iMX Yocto Porject Users Guide set directories and download the repo
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
3. Once your Yocto SDK has been generated and installed, you can build the required binaries using the script attached to this post.
a) Place the script
Copy the script into the same directory where your meta-gui-guider folder is located.
b) Run the script to build the Gui Guider binary
The script includes several options to rebuild, clean, or use a different toolchain in case you are working with a Yocto SDK version other than the default one (6.6-scarthgap).
Build Options
Build the Gui Guider binary using the default Yocto SDK
./guider_1.9_project_builder.sh
Build the Gui Guider binary using another Yocto SDK version
./guider_1.9_project_builder.sh -t <yocto_sdk_path>/sysroots/x86_64-pokysdk-linux/usr/share/cmake/armv8a-poky-linux-toolchain.cmake
Prepare the source code before building
./guider_1.9_project_builder.sh -p
Clean the previous build and recompile
(Use -t if needed to specify a different toolchain)
./guider_1.9_project_builder.sh -c
4. The generated Gui Guider binary can be found at the following path:
/meta-gui-guider/recipes-graphics/gui-guider/gui-guider/build/gui_guider
Copy this binary to your board using either USB or SCP, and then execute it directly on the target device.
Using this method provides the flexibility to modify the source code before compilation. This is important because, by default, some configuration options are not available when using Gui Guider directly or when compiling inside Yocto.
If you encounter any issues during this process, please open a new thread so we can assist you.
Best regards,
Chavira