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.
Thank you.
It solved the problem. I am able to build successfully.
Usually the following command sequence is used for SDK installing under Ubuntu 14:
Message: /bin/sh -> 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'
Message: /bin/sh -> bash
Usually Linux recommends also run the following command: sudo usr/sbin/visudo
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------