Difference between revisions of "IoTGateway/BSP/Linux/iMX8/Build Instructions"
From ESS-WIKI
(Created page with "{{DISPLAYTITLE:i.MX8 Build Instruction}} = ROM-7720 = == Based on iMX8QM beta2 BSP == :<code>$ repo init -u git://github.com/ADVANTECH-Corp/adv-arm-yocto-bsp.git -b imx-linux...") |
|||
Line 2: | Line 2: | ||
= ROM-7720 = | = ROM-7720 = | ||
− | == | + | |
− | :<code>$ 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</code> | + | == <span style="color:#0070c0">Build Instructions (based on iMX8QM beta2 BSP)</span> == |
+ | |||
+ | Please refer to [https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration this link] to set Git configuration first. | ||
+ | |||
+ | |||
+ | :<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-morty -m imx-4.9.51-8qm_beta2.xml</code> | ||
:<code>$ repo sync</code> | :<code>$ repo sync</code> | ||
:<code>$ MACHINE=imx8qmrom7720a1 DISTRO=fsl-imx-x11 source ./fsl-setup-release.sh -b build-x11</code> | :<code>$ MACHINE=imx8qmrom7720a1 DISTRO=fsl-imx-x11 source ./fsl-setup-release.sh -b build-x11</code> | ||
Line 9: | Line 14: | ||
:<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-imx8qmlpddr4arm2.sdcard.bz2", is located on the "tmp/deploy/images/imx8qmlpddr4arm2/" under the yocto base directory. | |
− | 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. Please use the following command to flash the SD card: | + | |
+ | === <span style="color:#0070c0">To create one bootable SD card</span> === | ||
+ | |||
+ | Please use the following command to flash the SD card: | ||
+ | |||
:<code>$ bunzip2 -c fsl-image-qt5-validation-imx-imx8qmlpddr4arm2.sdcard.bz2 | sudo dd of={SDCARD_device_name} bs=1M</code> | :<code>$ bunzip2 -c fsl-image-qt5-validation-imx-imx8qmlpddr4arm2.sdcard.bz2 | sudo dd of={SDCARD_device_name} bs=1M</code> |
Revision as of 10:21, 8 October 2018
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