We are pleased to announce the release of a Boot2Qt embedded qt5 image and toolchain for our Nitrogen8M and Nitrogen8M Mini platforms.
Below you will find the download link for the image as well as detailed instructions for the build.
For the Impatient
You can download the Boot2Qt Yocto image from here:
- 20190906-b2qt-embedded-qt5-image-nitrogen8m.wic for Nitrogen8M platforms
As usual, you’ll need to register on our site and agree to the EULA because it contains NXP content.
The image is a SD card image that can be flashed using dd under Linux.
~$ sudo dd if=*boundary-image*.wic of=/dev/sdX bs=1M && sync
For Windows users, please use Alex Page’s USB Image Tool.
Build procedure
This image uses the thud branch of our boundary-bsp-platform repository.
To build the image, you’ll need these packages installed as well as this repo tool that can be installed like this:
~$ sudo apt-get install repo
Then create your build directory and initialize everything.
~$ mkdir ~/yocto-imx8m && cd yocto-imx8m ~/yocto-imx8m$ repo init -u http://github.com/boundarydevices/boundary-bsp-platform -b thud ~/yocto-imx8m$ repo sync
Setup the environment for building, in this example we will be building the b2qt distro for nitrogen8m.
~/yocto-imx8m$ MACHINE=nitrogen8m DISTRO=b2qt . setup-environment build
To build a toolchain for Windows platforms add the following line to local.conf:
SDKMACHINE = “i686-mingw32”
Now “bitbake meta-b2qt-embedded-qbsp” which will build both the “b2qt-embedded-qt5-image” and “meta-toolchain-b2qt-embedded-qt5-sdk”
~/yocto-imx8m/build$ bitbake meta-b2qt-embedded-qbsp
After some time this should build the same image as above.
The image file will deploy to tmp/deploy/images/{MACHINE}/b2qt-embedded-qt5-image-{MACHINE}.wic
.
The Linux toolchain will deploy to tmp/deploy/qbsp/meta-b2qt-embedded-qbsp-x86_64-{MACHINE}-5.13.0.qbsp
.
The Windows toolchain will deploy to tmp/deploy/sdk/b2qt-i686-mingw32-meta-toolchain-b2qt-embedded-qt5-sdk-{MACHINE}.7z
.
Display support
Please make sure your platform includes the latest U-Boot for i.MX8M:
This version of U-Boot supports the display configuration, allowing to use any of the following displays:
- HDMI display (up to 4k, 1080p recommended)
- 7″ 1280×800 MIPI BD070LIC2_8M
- 8″ 1920×1200 MIPI BD080MCC1
- 10″ 1280×800 MIPI BD101LCC2_8M
Note that we’ve noticed that the NXP HDMI driver is picky when it comes to custom display timings (sometimes refuses to set the clock).
So if you are experiencing any issue with HDMI, please try entering the following commands in U-Boot in order to force the use of standard timings:
=> setenv cmd_custom 'setenv bootargs $bootargs drm_kms_helper.edid_firmware=HDMI-A-1:edid/1280x720.bin' => saveenv
The post Boot2Qt embedded qt5 image and toolchain for Nitrogen8M and 8M Mini appeared first on Boundary Devices.