Build GUI Guider projects for iMX93 BSP 6.1.1-1.1.0

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

Build GUI Guider projects for iMX93 BSP 6.1.1-1.1.0

100% helpful (1/1)

Build GUI Guider projects for iMX93 BSP 6.1.1-1.1.0

GUI Guider version: 1.6.0

LVGL version: v8.3.5

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

Hardware requirements:

Evaluation Kit for the i.MX 93 Applications Processor. (i.MX 93 Evaluation Kit | NXP Semiconductors)

On this guide we will use the IMX-MIPI-HDMI accessory board to connect the iMX93 with a HDMI Monitor. (IMX-MIPI-HDMI Product Information|NXP)

This board is usually provided with the iMX8M Mini and the iMX8M Nano. 

Steps:

1. Copy 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.1.1-1.0.0 
$ cd imx-bsp-6.1.1-1.0.0
$ repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-langdale -m imx-6.1.1-1.0.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-multimedia -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-multimedia-armv8a-imx93evk-toolchain-6.1-langdale.sh

d. Install ninja utility on the build host

$ sudo apt install ninja-build

e. For Ubuntu 20.04 and Ubuntu 22.04, copy the lv_conf.h file from lvgl-simulator to lvgl

$ cp lvgl-simulator/lv_conf.h lvgl/

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

Spoiler
This is an important step!

g. Then, enter to linux folder and 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. 

2. On the target iMX93 follow these steps.

a. On Uboot, use fatls interface device:partition

fatls mmc 0:1
(Device 0 : Partition 1)

With this command, we will be able to list device tree files.

=> fatls mmc 0:1

b. Select imx93-11x11-evk-rm67199.dtb and use the command editenv fdtfile 

=> editenv fdtfile 
Output example
edit: imx93-11x11-evk-rm67199.dtb

c. In edit command line put the selected device tree .dtb
d. Use saveenv command to save environment and continue with the boot process.
e. Finally, run the GUI Application

$ ./gui_guider&

 

I hope this article will be helpful.

Best regards, Brian.

Comments

Hi,

I am new to LVGL and I would like to know where the lvgl-simulator folder is found, please?

Best Regards,

Khang

Version history
Last update:
‎08-21-2023 11:13 AM
Updated by: