QorIQ Linux SDK and ToolChain for T2080 RDB

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

QorIQ Linux SDK and ToolChain for T2080 RDB

2,498 Views
anshulkhare
Contributor III

Hi All,

I have an T2080-RDB board,
i am a beginner for this board, which linux SDK will supports T2080 RDB,

and which tool chain is the better option for this.

kindly share the Installation procedure for the tool chain.

Thanks in Advance.

Regards,

Anshul

Labels (1)
0 Kudos
4 Replies

1,396 Views
Pavel
NXP Employee
NXP Employee

Use the following link for SDK 2.0 downloading:

https://www.nxp.com/support/developer-resources/run-time-software/linux-software-and-development-too...

 

Press "Download" on this page.

Sign your account.

Load

QorIQ Linux SDK v2.0 SOURCE.iso file

 

Use Ubuntu 14. Do not use Ubuntu 16.

Usually the following command sequence is used for SDK installing under Ubuntu 14.04 64-bit:

  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 source .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

 

See the Section 3.3.7 (Install the Standalone Toolchain) in the SDK 2.0-1703 documentation:

https://www.nxp.com/docs/en/supporting-information/QORIQ-SDK-2.0-IC-REV0.pdf

 

Note:

Each time you wish to use the SDK in a new shell session, you need to source the environment setup script e.g.

 $ . /opt/fsl-qoriq/2.0/environment-setup-aarch64-fsl-linux

 $ . /opt/fsl-qoriq/2.0/environment-setup-cortexa7hf-vfp-neon-fsl-linux-gnueabi

Check result of "source" command. Use "$PATH" command. The "source" command should add path to gcc compiler.

You should see similar message:

echo $PATH

bash: /opt/fsl-qoriq/1.9/sysroots/x86_64-fslsdk-linux/usr/bin:/opt/fsl-qoriq/1.9/sysroots/x86_64-fslsdk-linux/usr/bin/powerpc-fsl-linux-gnuspe:

 

$CC test.c -o test.elf           // dinamic library

$CC test.c --static -o test.elf             // static library


Have a great day,
Pavel Chubakov

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

0 Kudos

1,396 Views
anshulkhare
Contributor III

Hello Pavel Chubakov

Thank you for the support,

i have downloaded following files

QorIQ Linux SDK v2.0 SOURCE.iso

QorIQ Linux SDK v2.0 PPCE6500 Yocto Cache.iso

SDK-V2.0-1701.tar.bz2

and followed all the instructions as you suggested and mentioned in the QorIQ SDK v2.0-1703 Documentation,

it is working fine till step 5, but at step 6 when i am running bitbake command in build directory build_t2080rdb-64b

i am getting error as bitbake command not Found.

Thanks in Advance.

0 Kudos

1,396 Views
liguofa
Contributor III

you just need is to read start here in the https://www.nxp.com/docs/en/supporting-information/QORIQ-SDK-2.0-IC-REV0.pdf file. just step by step.

0 Kudos

1,396 Views
anshulkhare
Contributor III

Hello Li guofa

Thanks for reply,

Now Problem is solved .

0 Kudos