I'm following the instructions here:
The following errors occur in Stop Mode Debug Launching: Load Program Error. File:/root/targetfs/boot/vmlinux-126.96.36.199-davinchi1 Does not match the target endianness, not loaded. Check builld options and target configurations file(ccxml).
Execution of Builld Configurations-->Builld All will generate the following errors: make all CHK include/linux/version.h make: `include/asm-arm/mach-types.h'is ending with updating. CHK include/linux/utsrelease.h SYMLINK include/asm -> include/asm-arm CC kernel/bounds.s cc1: error: unrecognized command line option "-mlittle-endian" cc1: error: unrecognized command line option "-mapcs" cc1: error: unrecognized command line option "-mno-sched-prolog" cc1: error: unrecognized command line option "-mabi=aapcs-linux" cc1: error: unrecognized command line option "-mno-thumb-interwork" kernel/bounds.c:1: error: bad value (armv4t) for -march= switch kernel/bounds.c:1: error: bad value (arm9tdmi) for -mtune= switch make: *** [kernel/bounds.s] error 1 make: *** [prepare0] error 2
**** Build Finished ****
Development environment is the following: 1.CCSv5 2.XDS510 USB PLUS 3.DM365
I want to know how to avoid the error.
Looking at these message:
norioThe following errors occur in Stop Mode Debug Launching: Load Program Error. File:/root/targetfs/boot/vmlinux-188.8.131.52-davinchi1 Does not match the target endianness, not loaded.
norio cc1: error: unrecognized command line option "-mlittle-endian"
For whatever reason, the option to build for little endianness was not recognized. Hence it probably built for big endian and hence your first message about "does not match target endianness" (since I assume the target is little endian)
You will need to resolve your build issue with the unrecognized command line options (sorry I can't help with that)
Don't forget to verify answers to your forum questions by using the green "Verify Answer" button.
Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.
Having CCSv5 problems? Check out the CCSv5 Troubleshooting Guide
Click here to track an issue. Enter your bug id in the "Find Record ID" box
Just adding to Ki's response, neither the u-boot nor the Linux kernel should be built from within CCS, as they have their own makefiles that contain too many intrinsic build options, defines, etc.
Hi Rafael and Ki,
Thanks for your cooperation.I reconstructed Vmlinux. However, an error comes out. error: load program error. File:/usr/local/dvsdk/psp/linux-184.108.40.206-psp03.01.39/vmlinux: a data verification error occurred, file load failed.
I am also completely stuck with this and seeing the same error:
IcePick_C_0: GEL: File: C:\tftp\linux-davinci-lcvr\vmlinux Does not match the target endianness, not loaded. Check build options and target configuration file (ccxml).
Here is my setup:
CCS Version: 5.2.1.00018
Linux Kernel: 220.127.116.11-davinci
Emulator: XDS560v2 STM ethernet
I tried both stock EVMDM6467.ccxml and TMS320DM6467.ccxml configurations, with removed GEL file initialization scripts.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.