i.MX8 Build Instruction

From ESS-WIKI
Revision as of 11:21, 8 October 2018 by Winston.huang (talk | contribs)
Jump to: navigation, search


ROM-7720

Build Instructions (based on iMX8QM beta2 BSP)

Please refer to this link to set Git configuration first.


$ repo init -u git://github.com/ADVANTECH-Corp/adv-arm-yocto-bsp.git -b imx-linux-morty -m imx-4.9.51-8qm_beta2.xml
$ repo sync
$ MACHINE=imx8qmrom7720a1 DISTRO=fsl-imx-x11 source ./fsl-setup-release.sh -b build-x11
$ export LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8
$ bitbake fsl-image-qt5-validation-imx
While bitbake is done, the compressed image file, "fsl-image-qt5-validation-imx-imx8qmlpddr4arm2.sdcard.bz2", is located on the "tmp/deploy/images/imx8qmlpddr4arm2/" under the yocto base directory.

To create one bootable SD card

Please use the following command to flash the SD card:

$ bunzip2 -c fsl-image-qt5-validation-imx-imx8qmlpddr4arm2.sdcard.bz2 | sudo dd of={SDCARD_device_name} bs=1M