Yocto Build Failure

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Yocto Build Failure

1,375 Views
pushpamanjunath
Contributor I

Hi ,

I am building Yocto QorIQSDK_v1.8 for T2080RDB config on ubuntu 14.04 For the host setup and build steps I am  following the QorIQ-SDK-1.8-IC-RevA.pdf document. 

Ensured that following steps are executed

Prepare the Host Environment

 $ cd <yocto_install_path>

 $ ./poky/scripts/host-prepare.sh 

Installed the follwowing packages

$ sudo dpkg-reconfigure --terse -f readline dash

$ sudo apt-get install sed wget subversion git-core coreutils unzip

texi2html texinfo libsdl1.2-dev docbook-utils fop gawk python-pysqlite2

diffstat make gcc build-essential xsltproc g++ desktop-file-utils

chrpath libgl1-mesa-dev libglu1-mesa-dev autoconf automake groff libtool

xterm libxml-parser-perl vim-common xz-utils cvs tofrodos

libstring-crc32-perl ubuntu-minimal ubuntu-standard patch

libbonobo2-common libncurses5-dev

Extra packages are needed for Ubuntu-64b:

$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 ia32-libs lib32ncurses5-dev

Set Up Poky

$ source ./poky/fsl-setup-poky -m <machine>

U-Boot Build

$ bitbake -c compile -f u-boot

But when I compile the u-boot, I am getting the errors for gcc-cross-initial_4.9.bb and ncurses_5.9.bb. Let me know if any libraries need to be installed

Build failure logs attached.

Labels (1)
0 Kudos
Reply
2 Replies

944 Views
pushpamanjunath
Contributor I

Thank you.

It solved the problem. I am able to build successfully.

0 Kudos
Reply

944 Views
Pavel
NXP Employee
NXP Employee

Usually the following command sequence is used for SDK installing under Ubuntu 14:

  1. sudo apt-get install ubuntu-minimal ubuntu-standard patch vim-common sed wget subversion git-core coreutils libbonobo2-common unzip texi2html texinfo libsdl1.2-dev docbook-utils gawk python-pysqlite2 diffstat make gcc build-essential xz-utils g++ desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev autoconf automake groff libtool xterm libncurses5-dev cvs tofrodos

 

  1. a) command: ls -l /bin/sh

                Message:  /bin/sh -> dash

  1. b) command: sudo dpkg-reconfigure dash

                Answer after password – No

                Message:

                Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'

                Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'

                Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'

                Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'

  1. c) command for checking: ls -l /bin/sh

                Message: /bin/sh -> bash

 

  1. mount SDK 1.9 .iso file
  2. cd <sdk-install-dir>.
  3. ./sources/meta-freescale/scripts/host-prepare.sh

Usually Linux recommends also run the following command: sudo usr/sbin/visudo

  1. bitbake fsl-image-minimal


Have a great day,
Pavel Chubakov

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------