after installing sdk-2.0 yacto on my ubuntu 14.04 host machine, when i run ./sources/meta-freescale/scripts/host-prepare.sh it says file not found.pls help me

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

after installing sdk-2.0 yacto on my ubuntu 14.04 host machine, when i run ./sources/meta-freescale/scripts/host-prepare.sh it says file not found.pls help me

630 Views
gokulrajpandiya
Contributor I

after SDK installtion,at the installation path,it created the folder QorIQ-SDK-V2.0-20160527-yocto with

sstate-cache subfolder. host-prepare.sh file not found in the installation folder

0 Kudos
2 Replies

408 Views
Pavel
NXP Employee
NXP Employee

Use the following command sequence for SDK installing under Ubuntu 14.04:

  1. 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. 2.  a) command: ls -l /bin/sh

                Message:  /bin/sh -> dash

    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'

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

                Message: /bin/sh -> bash

  1. 3. install SDK for your core
  2. 4. install SDK source
  3. 5. cd <sdk-install-dir>.
  4. 6. ./sources/meta-freescale/scripts/host-prepare.sh

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

408 Views
niranjanbc
Contributor IV

Hi Pavel

can you please tell me "how to install SDK for a core" and and how to install SDK source

thanks

Niranjan

0 Kudos