Usually we use Ubuntu 14 64bit for SDK using.
Use the following command sequence for SDK installing:
- 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
if it is 64-bit operating system, run the following command also:
sudo apt-get install ia32-libs lib32ncurses5
- 2. a) command: ls -l /bin/sh
Message from ubuntu: /bin/sh -> dash
b) command: sudo dpkg-reconfigure dash
Answer after password – No
Message from ubuntu:
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 from ubuntu: /bin/sh -> bash
- 3. mount the Freescale-Linux-SDK-for-LS1021A-IOT-Rev2-v0.4-SOURCE-20150907-yocto.iso
- 4. install SDK source
- 5. change directory to /Freescale-Linux-SDK-for-LS1021A-IOT-Rev2-v0.4-20150907-yocto.iso
Issue the following command:
$ ./poky/scripts/host-prepare.sh./scripts/host-prepare.sh
- 6. Usually Linux recommends also run the following command: sudo usr/sbin/visudo
- 7. bitbake fsl-image-minimal
Have a great day,
Pavel
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------