Difference between revisions of "IoTGateway/BSP/Linux/iMX8/Build Instructions"

From ESS-WIKI
Jump to: navigation, search
(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...")
 
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:i.MX8 Build Instruction}}
+
{{DISPLAYTITLE:i.MX8 Build Instructions}}
  
 
= ROM-7720 =
 
= ROM-7720 =
== Based on iMX8QM beta2 BSP ==
+
 
:<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 Freescale i.MX BSP L4.14.98_2.0.0_GA)</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-sumo -m imx-4.14.98-2.0.0_ga.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>$ DISTRO=fsl-imx-xwayland MACHINE=imx8qmrom7720a1 source fsl-setup-release.sh -b build</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-validation-imx</code>
 +
 
 +
:While bitbake is done, the compressed image file, "fsl-image-validation-imx-imx8qmrom7720a1.sdcard.bz2", is located in the "tmp/deploy/images/imx8qmrom7720a1/" under the yocto base directory.
 +
 
 +
=== <font color="#0070c0">Hardware setting&nbsp;:&nbsp;</font> ===
 +
 
 +
Switch configuration:
 +
 
 +
2-3-4&nbsp;is "ON"&nbsp;for SD
 +
 
 +
4&nbsp;is "ON"&nbsp;for eMMC&nbsp;
 +
 
 +
=== <span style="color:#0070c0">To create one bootable SD card</span> ===
 +
 
 +
Please use the following command to flash the SD card:
  
== Creating bootable SD card ==
+
:<code>$ bzcat fsl-image-validation-imx-imx8qmrom7720a1.sdcard.bz2 | sudo dd of={SDCARD_DEVICE_NAME} bs=1M</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. 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>
 

Latest revision as of 06:52, 12 September 2019


ROM-7720

Build Instructions (based on Freescale i.MX BSP L4.14.98_2.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.98-2.0.0_ga.xml
$ repo sync
$ DISTRO=fsl-imx-xwayland MACHINE=imx8qmrom7720a1 source fsl-setup-release.sh -b build
$ export LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8
$ bitbake fsl-image-validation-imx
While bitbake is done, the compressed image file, "fsl-image-validation-imx-imx8qmrom7720a1.sdcard.bz2", is located in the "tmp/deploy/images/imx8qmrom7720a1/" under the yocto base directory.

Hardware setting : 

Switch configuration:

2-3-4 is "ON" for SD

4 is "ON" for eMMC 

To create one bootable SD card

Please use the following command to flash the SD card:

$ bzcat fsl-image-validation-imx-imx8qmrom7720a1.sdcard.bz2 | sudo dd of={SDCARD_DEVICE_NAME} bs=1M