AnsweredAssumed Answered

Yocto project build failed -Please confirm the installation procedure

Question asked by BHANURAJESH BHADRY on Jul 26, 2019
Latest reply on Jul 31, 2019 by BHANURAJESH BHADRY

Dear Experts,

 

I am new to Yocto and Linux environment.

Almost spent a month of time but failed to build 

Could you please confirm the following installation procedure which i performed 

Kindly do correct me.

 

Thank You!

 

  • Step 1 : Installed Ubuntu 16.4 LTS
  • Step 2: Build Host Packages

Essentials:

$ 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 python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
xterm
$ sudo zypper install dblatex xmlto

  • Step 3: Installed following packages

Git 1.8.3.1 or greater
tar 1.27 or greater
Python 3.4.0 or greater

  • Step 4

1.3.1. Downloading a Pre-Built buildtools Tarball
Locate and download the *.sh at http://downloads.yoctoproject.org/releases/yocto/yocto-2.7.1/buildtools/.

Execute the installation script. Here is an example:
$ sh ~/Downloads/x86_64-buildtools-nativesdk-standalone-2.7.1.sh
Execute the installation script. Here is an example:

$ sh ~/Downloads/x86_64-buildtools-nativesdk-standalone-2.7.1.sh

During execution, a prompt appears that allows you to choose the installation directory. For example, you could choose the following:

/home/your-username/buildtools

source /home/your_username/buildtools/environment-setup-x86-64-poky-linux

  • Step 5
    Host Packages :

Essential Yocto Project host packages are:
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib \
build-essential chrpath socat libsdl1.2-dev

  • Step 6

$ mkdir ~/bin
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repov
$ chmod a+x ~/bin/repo
$ PATH-${PATH}:~/bin

 

  • Step 7

Yocto Project Setup
$ git config --global user.name "Your Name"
$ git config --global user.email "Your Email"
$ git config --list8

 

  • Step 7

$ mkdir imx-yocto-bsp
$ cd imx-yocto-bsp
$ repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-sumo -m
imx-4.14.98-2.0.0_ga.xml
$ repo sync

 

  • Step 8

$ DISTRO=fsl-imx-xwayland MACHINE=imx8qxpmek source fsl-setup-release.sh -b build-xwayland
$ bitbake fsl-image-qt5-validation-imx

Outcomes