SDK 2.8.0 missing Linux Host in Getting Started

cancel
Showing results for 
Search instead for 
Did you mean: 

SDK 2.8.0 missing Linux Host in Getting Started

334 Views
NXP Employee
NXP Employee

SDK 2.8.0

SoC: i.MX 7ULP

Host: Linux

Tools: ARM GCC

Customer: Rockwell 

Defect: Documentation missing Arm Tool chain and running on Linux host.

Step 1: SDK Builder, selected GCC ARM Toolchain and Host OS: Linux

pastedImage_2.png

Step 2: Downloaded: SDK_2.8.0_EVK-MCIMX7ULP.tar.gz and extracted archive.

The docs directory contains these files:
├── Getting Started with MCUXpresso SDK for EVK-MCIMX7ULP.pdf
└── MCUXpresso SDK Release Notes for EVK-MCIMX7ULP.pdf

Opening 'Getting Started with MCUXpresso SDK for EVK-MCIMX7ULP.pdf'

pastedImage_1.png

Previous SDK releases provided chapter for using ARM GCC on Linux OS Host, where are the instructions for SDK 2.8.0?

SDK 2.7.0 does have missing sections.

pastedImage_9.png

SDK 2.6.0 Getting Started outline showing Arm GCC and Linux host are shown:

pastedImage_8.png

Labels (1)
0 Kudos
4 Replies

224 Views
Contributor II

Hi,

I installed the recent ARM GCC toolchain in a linux machine (x86_64) in the following way.

1. downloaded the ARM GCC toolchain from here. (gcc-arm-none-eabi-9-2020-q2-update-x86_64-linux.tar.bz2)

2. created a folder /toolchain in the home folder and extracted it in there.

3. created symlinks from the important programs in the toolchain to the /usr/local/bin directory (ln -s ~/toolchain/gcc-arm-none-eabi-9-2020-q2-update/bin/arm-none-eabi-gcc /usr/local/bin/arm-none-eabi-gcc). This ensures that when make or other commands try to run they will find the programs (/usr/local/bin is in the search path of most distributions). Did this for arm-none-eabi-g++, ar, gcc, gdb, ld, nm, objcopy, objdump, size.

After that if you type anywere arm-none-eabi-gcc -v you should get at the end of the screen

gcc version 9.3.1 20200408 (release) (GNU Arm Embedded Toolchain 9-2020-q2-update) (...or something like that)...

That's it, you've set up the toolchain!

4. If you have a demo board, download the SDK for the board, selecting operating system linux and toolchain arm-gcc

5. extract that, to run the demos you need to go into the armgcc directory inside the demo you want to run and type ./build_all.sh.

It uses CMAKE (which should be installed in you system, this is probably the only requirement, maybe gdb also needs an old ncurses library, can't remember). You will need to set the export path to the location of the toolchain, but the script will complain about it (build_all.sh)

Good luck, hope it helps (I am also new to this, but I can compile the demos and run them... just without semihosting)...

JCS

224 Views
NXP TechSupport
NXP TechSupport

Hi Curtis:

You can download latest SDK documentation from here, Welcome | MCUXpresso SDK Builder , as below picture shows.

pastedImage_1.png

Regards

Daniel

0 Kudos

224 Views
NXP Employee
NXP Employee

Hi Daniel,

Followed your instruction to download SDK Documentation and this also has the defect of no instructions for running on Linux host and setting up the Arm tool chain.

Both the "Download SDK Archive" and "Download SDK Documentation" fail to provide the Linux steps.

Attached is the "Getting Started with MCUXpresso SDK for EVK-MCIMX7ULP.pdf", that only has section "Run a demo application using IAR", which is Windows host only.

Where are the Linux host and tool chain getting started steps?

0 Kudos

224 Views
NXP TechSupport
NXP TechSupport

Thank you Curtis.   I reported this to doc team.

Regards

Daniel

0 Kudos