Hello gauss chen,
I booted up T2080RDB target board with pre-built images provided in QorIQ-SDK-V1.9-PPC64E6500-IMAGE-20151210-yocto.iso.
I installed SDK 1.9 standalone Toolchain in /opt/fsl-qoriq/1.9/, created a C test program as the following.
$ cat test.c
#include <stdio.h>
void main()
{
printf("Hello,World!\n");
}
Compile the test program with the standalone Toolchain
$ source /opt/fsl-qoriq/1.9/environment-setup-ppc64e6500-fsl-linux
$ ${CC} test.c -o test
Use tftp to copy the generated ELF file to T2080RDB target board and execute it.
root@t2080rdb:~# ./test
Hello,World!
I didn't reproduce your problem on my side. If your problem remains, please describe your procedure in details.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------