Segmentation Fault Unhandled Signal 11 at - Error (T2080RDB Board)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Segmentation Fault Unhandled Signal 11 at - Error (T2080RDB Board)

2,948件の閲覧回数
gausschen
Contributor I

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!

ラベル(2)
タグ(1)
0 件の賞賛
返信
1 返信

2,329件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信