I tried to run the SDK and i got this error:
Building power_modes_test [mx6dq smart_device a]
Linking power_modes_test
/home/andersen/Desktop/iMX6_Platform_SDK-master/gcc-arm-none-eabi/bin/arm-none-eabi-ld: cannot find crtbegin.o
/home/andersen/Desktop/iMX6_Platform_SDK-master/gcc-arm-none-eabi/bin/arm-none-eabi-ld: cannot find crti.o
/home/andersen/Desktop/iMX6_Platform_SDK-master/gcc-arm-none-eabi/bin/arm-none-eabi-ld: cannot find crtend.o
/home/andersen/Desktop/iMX6_Platform_SDK-master/gcc-arm-none-eabi/bin/arm-none-eabi-ld: cannot find crtn.o
/home/andersen/Desktop/iMX6_Platform_SDK-master/mk/targets.mk:226: recipe for target '/home/andersen/Desktop/iMX6_Platform_SDK-master/output/mx6dq/power_modes_test/smart_device_rev_a/power_modes_test.elf' failed
make[1]: *** [/home/andersen/Desktop/iMX6_Platform_SDK-master/output/mx6dq/power_modes_test/smart_device_rev_a/power_modes_test.elf] Error 1
Makefile:98: recipe for target 'power_modes_test' failed
make: *** [power_modes_test] Error 2
Build mx6dq smart_device rev_a ALL failed with return code 2!
b45499, Yuri, dhaval, Deactivated userigorpadykovDeactivated user
Can you help me solve it?
Thanks for the previous answer,
Kind Regards
Ailton Lopes
Hello,
please check environment settings of Your toolchain.
The SDK is built using the Mentor Sourcery CodeBench Lite (previously called Sourcery G++ Lite)
version of the arm-‐none-‐eabi GCC toolchain. The full list of CodeBench Lite releases is available
on this page:
http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/
Download Linux installer package. The tarball packages do not include all executables.
Install the package under /opt or any other local folder, and make sure that the PATH environment variable allows accessing these executables used for the build process:
CC = arm-none-eabi-gcc
CXX = arm-none-eabi-g++
AS = arm-none-eabi-as
AR = arm-none-eabi-ar
LN = arm-none-eabi-ld
Example (sh syntax):
$ export PATH=$PATH:<toolchain_install_path>/bin
Source code installation
The SDK source code package can be installed anywhere. It is not recommended to use a Windows unzip program to extract the sources, as this may result in line endings being automatically converted. Instead, the equivalent command of Linux should be used.
Example:
$ tar zxvf imx6_platform_sdk_v1.1.0.tgz
Build command
To build the SDK, use the ./tools/build_sdk command.
Note: It is important to run build_sdk from the SDK root directory, not from within the
tools directory.
Running make directly
If you want more control, you can run make directly:
$ make target=mx6dq board=smart_device boardrev=a test=caam
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------