Difference between revisions of "IoTGateway/BSP/Linux/iMX8/Build Instructions"
From ESS-WIKI
Line 9: | Line 9: | ||
− | :<code>$ repo init -u [git://github.com/ADVANTECH-Corp/adv-arm-yocto-bsp.git git://github.com/ADVANTECH-Corp/adv-arm-yocto-bsp.git] -b imx-linux- | + | :<code>$ repo init -u [git://github.com/ADVANTECH-Corp/adv-arm-yocto-bsp.git git://github.com/ADVANTECH-Corp/adv-arm-yocto-bsp.git] -b imx-linux-sumo -m imx-4.14.78-1.0.0_ga.xml</code> |
:<code>$ repo sync</code> | :<code>$ repo sync</code> | ||
− | :<code>$ MACHINE=imx8qmrom7720a1 DISTRO=fsl-imx- | + | :<code>$ MACHINE=imx8qmrom7720a1 DISTRO=fsl-imx-xwayland source ./fsl-setup-release.sh -b build-xwayland</code> |
:<code>$ export LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8</code> | :<code>$ export LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8</code> | ||
:<code>$ bitbake fsl-image-qt5-validation-imx</code> | :<code>$ bitbake fsl-image-qt5-validation-imx</code> | ||
− | :While bitbake is done, the compressed image file, "fsl-image-qt5-validation-imx- | + | :While bitbake is done, the compressed image file, "fsl-image-qt5-validation-imx-imx8qmrom7720a1.sdcard.bz2", is located on the "tmp/deploy/images/imx8qmrom7720a1/" under the yocto base directory. |
=== <span style="color:#0070c0">To create one bootable SD card</span> === | === <span style="color:#0070c0">To create one bootable SD card</span> === | ||
Line 21: | Line 21: | ||
Please use the following command to flash the SD card: | Please use the following command to flash the SD card: | ||
− | :<code>$ bunzip2 -c fsl-image-qt5-validation-imx- | + | :<code>$ bunzip2 -c fsl-image-qt5-validation-imx-imx8qmrom7720a1.sdcard.bz2 | sudo dd of={SDCARD_DEVICE_NAME} bs=1M</code> |
Revision as of 10:36, 8 April 2019
ROM-7720
Build Instructions (based on Freescale i.MX BSP L4.14.78_1.0.0_GA)
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-sumo -m imx-4.14.78-1.0.0_ga.xml
$ repo sync
$ MACHINE=imx8qmrom7720a1 DISTRO=fsl-imx-xwayland source ./fsl-setup-release.sh -b build-xwayland
$ 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-imx8qmrom7720a1.sdcard.bz2", is located on the "tmp/deploy/images/imx8qmrom7720a1/" 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-imx8qmrom7720a1.sdcard.bz2 | sudo dd of={SDCARD_DEVICE_NAME} bs=1M