Get a yocto image up and running on Ubuntu (VMware) to use T2080RDB Dev.B.

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

Get a yocto image up and running on Ubuntu (VMware) to use T2080RDB Dev.B.

Jump to solution
2,936 Views
francescocaiazz
Contributor II

Hello,

sorry for this (probably stupid) question, but I'm really new to yocto project world.

Soon I'll receive the T2080RDB development kit and I need to install the Linux SDK on Ubuntu on a VMware virtual machine.

I downloaded the image file QorIQ_Linux_SDK_v2.0_SOURCE.iso and tried to follow the steps described in the pdf file QorIQ SDK v2.0-1703 Documentation, but I have some problems with Essential Build Instructions.

On training section of NXP site I found the Yocto Trainining document (https://community.nxp.com/docs/DOC-94849 ), which doesn't use the SDK iso file, but downloads sources from yocto repositories.

Which guide should I use for T2080RDB board?

thanks.

Labels (1)
0 Kudos
1 Solution
1,827 Views
Pavel
NXP Employee
NXP Employee

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

  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 .iso file
  2. install SDK
  3. cd <sdk-install-dir>.
  4. ./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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

6 Replies
1,828 Views
Pavel
NXP Employee
NXP Employee

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

  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 .iso file
  2. install SDK
  3. cd <sdk-install-dir>.
  4. ./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!
-----------------------------------------------------------------------------------------------------------------------

1,827 Views
Pavel
NXP Employee
NXP Employee

Ubuntu 14 32-bit also is possible,

CodeWarrior TAP can be used under CodeWarrior only. Evaluation version of CodeWarrior provides full functionality during 30-days.

Customers also often use SD for u-boot start and QSPI Flash burning.


Have a great day,
Pavel Chubakov

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

1,827 Views
francescocaiazz
Contributor II

Hi,

when I try to accomplish host target configuration (Ubuntu 64 bit on Vm) by installing ia32-libs, I have the following error:

$sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 ia32-libs lib32ncurses5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
lib32z1 lib32ncurses5 lib32bz2-1.0

E: Package 'ia32-libs' has no installation candidate

How can I overcome this issue? is this package really necessary?

It seems that this package is replaced by lib32z1 lib32ncurses5 lib32bz2-1.0

0 Kudos
1,827 Views
Pavel
NXP Employee
NXP Employee

Use command sequence for image building under VMware from the QorIQ SDK v2.0-1703 Documentation. Do not use Ubuntu 16.04, use Ubuntu 14.04 64-bit..


Have a great day,
Pavel Chubakov

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

1,827 Views
francescocaiazz
Contributor II

Furthermore, without CodeWarrior Development Studio how can I use CW TAP in order to flash U-boot on SPI (in a second step I will use a custom board and I need to flash U-Boot into an empty SPI flash)? I saw on many discussions that CW Flash Programmer is a tool internal to Development Studio, which is a licensed SW.

0 Kudos
1,827 Views
francescocaiazz
Contributor II

Only 64bit? is it possible to use 32bit version?

0 Kudos