Hi,NXP
I build toolchain in /QorIQ-SDK-V2.0-20160527 by fellow command:
Then i get toolchain SDK in folder : QorIQ-SDK-V2.0-20160527-yocto/build_ls1043ardb/tmp/deploy/sdk
Then i install toolchain by follow command:
Then i build my test app helloworld by toolchain:
Then i copy hello to NXP's board : LS1043ARDB
./hello but failed,trace as fellow:
Thanks for yout attention!
Perhaps you use tftp for elf file transfers.
The tftp32 software as tftp server under Windows uses binary transfers.
The LS1043ARDB tftp client default mode is "netascii".
Different modes between TFTP server and TFTP client produce incorrect data transfers.
Check MD5 checksum on your board and on your PC.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
thanks a lot , This is exactly the problem!
It looks like that there is a error in your "hello" program.
Check your code. For example see below message if simple "Hello World" program is used:
file test.elf
test.elf: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 3.14.0, BuildID[sha1]=36edfe9836908527be085de3aefafa67dea93c12, not stripped
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
hi Pavel:
I have met the same problem mentioned by zhang. My demo board is also LS1043, all my operations are same as his. I have checked my "helloword" :
#include <stdio.h>
int main()
{
printf("hello world !\n");
return 0;
}
obviously there is no error in my program , I wonder how to solve this problem .
Thanks for yout attention!