|
|
Line 129: |
Line 129: |
|
| |
|
| The images will be stored under the directory: '''<BUILD_DIR>/tmp/deploy/images/imx8mevk''' | | The images will be stored under the directory: '''<BUILD_DIR>/tmp/deploy/images/imx8mevk''' |
|
| |
| ------------------------------------------------------------------------------------------------------------
| |
| =Other Information=
| |
| ==Rocko==
| |
|
| |
| ===Yocto project setup and build===
| |
|
| |
| ====Download and sync repos====
| |
|
| |
| <pre style="white-space: pre-wrap;">
| |
| #Installed the essential required packages in the host machine
| |
| #See the link for more info: https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#ref-manual-system-requirements
| |
|
| |
| sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping
| |
|
| |
| #Set up repo tool
| |
|
| |
| mkdir /home/jafet/work/devdirs/yocto/bin (this step may not be needed if the bin folder already exists)
| |
| curl https://storage.googleapis.com/git-repo-downloads/repo > /home/jafet/work/devdirs/yocto/bin/repo
| |
| chmod a+x /home/jafet/work/devdirs/yocto/bin/repo
| |
| export PATH=/home/jafet/work/devdirs/yocto/bin:$PATH
| |
|
| |
| #Set up i.MX Yocto Project BSP release
| |
|
| |
| mkdir imx-yocto-bsp
| |
| cd imx-yocto-bsp
| |
| repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-rocko -m imx-4.9.88-2.1.0-8mm_alpha.xml
| |
| repo sync
| |
|
| |
| </pre>
| |
|
| |
| ====Configure and build ====
| |
|
| |
| <pre style="white-space: pre-wrap;">
| |
| #Set up build directory (Only Wayland distros are supported for i.MX 8 or i.MX 8M for now)
| |
|
| |
|
| |
| #Option 1
| |
| #Build Wayland image on i.MX8 MQuad EVK
| |
|
| |
| DISTRO=fsl-imx-wayland MACHINE=imx8mqevk source fsl-setup-release.sh -b build-wayland
| |
| bitbake fsl-image-qt5-validation-imx
| |
| #To build without Qt 5, use bitbake fsl-image-validation-imx
| |
|
| |
| #Option2
| |
|
| |
| DISTRO=fsl-imx-wayland MACHINE=imx8mqevk source fsl-setup-release.sh -b build-wayland
| |
| bitbake fsl-image-multimedia-full
| |
| </pre>
| |
|
| |
|
| <noinclude>{{IMX8/Foot|<Replace with "previous" page>|<Replace with "next" page>}}</noinclude> | | <noinclude>{{IMX8/Foot|<Replace with "previous" page>|<Replace with "next" page>}}</noinclude> |