Hi:
I am using the t2080rdb board to do some test. I have used SDK 1.9 to generate the linux kernel and rootfs .A simple hello-world application is used to test the linux environment.but the console prints :
hello[2009]: unhandled signal 11 at 0000000000000008 nip 00003fffa8a04540 lr 00003fffa89f8058 code 30001
Segmentation fault
Also ,the SDK2.0 gets the similar log. But the SDK1.8 's linux edition can print "Hello,World!".
Of course,I have used the corresponding toolchain to compile the hello-world app.
Please suggest the appropriate solution to overcome this problem.Thanks!
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!
-----------------------------------------------------------------------------------------------------------------------