AnsweredAssumed Answered

directfb examples on bf609-ezkit failured

Question asked by jiangfux on May 1, 2013
Latest reply on Dec 8, 2015 by Aaronwu

Hi, eneryone.

 

I can not run directfb examples on bf609-ezkit.

 

I run df_window like this:

 

root:/> df_window >/tmp/df_window.log 2>&1

Jump to NULL address

Deferred Exception context

CURRENT PROCESS:

COMM=df_window PID=441  CPU=0

TEXT = 0x0636c000-0x0636f98c        DATA = 0x0602198c-0x06021bd0

BSS = 0x06021bd0-0x06420000  USER-STACK = 0x0643fe70

 

return address: [0x  (null)]; contents of:

 

Compiled for cpu family 0x27fe (Rev 0), but running on:0x0000 (Rev 0)

ADSP-BF609-0.0 500(MHz CCLK) 125(MHz SCLK) (mpu off)

Linux version 3.5.7-ADI-2012R2 (root@bogon) (gcc version 4.3.5 (ADI-2012R2-RC2) ) #4 Thu May 2 17:40:12 CST 2013

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 0006002d  IPEND: 0008  IMASK: ffff  SYSCFG: 2806

  EXCAUSE   : 0x2d

  physical IVG3 asserted : <0xffa0081c> { _trap + 0x0 }

RETE: <0x00000000> /* Maybe null pointer? */

RETN: <0x062a4000> /* kernel dynamic memory */

RETX: <0x00000480> /* Maybe fixed code section */

RETS: <0x062549d4> /* kernel dynamic memory */

PC  : <0x00000000> /* Maybe null pointer? */

DCPLB_FAULT_ADDR: <0x0633e464> /* kernel dynamic memory */

ICPLB_FAULT_ADDR: <0x00000000> /* Maybe null pointer? */

PROCESSOR STATE:

R0 : 00000000    R1 : 060e9726    R2 : 05f3df40    R3 : 060e9726

R4 : 05f3c004    R5 : 05f3df3c    R6 : 05f3c004    R7 : 060efde8

P0 : 0640dfdc    P1 : 00000000    P2 : 05f3d8fc    P3 : 00000000

P4 : 05f3de70    P5 : 0633e500    FP : 0643f860    SP : 062a3f24

LB0: 05e25901    LT0: 05e25900    LC0: 00000000

LB1: 05e20933    LT1: 05e20932    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 00000000

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 00000001

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 06404000

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 06404000

A0.w: 000028f5   A0.x: 00000000   A1.w: 000028f5   A1.x: 00000000

USP : 0643f844  ASTAT: 02002040

 

Hardware Trace:

   0 Target : <0x00003e50> { _trap_c + 0x0 }

     Source : <0xffa007b0> { _exception_to_level5 + 0xa0 } CALL pcrel

   1 Target : <0xffa00710> { _exception_to_level5 + 0x0 }

     Source : <0xffa005ca> { _bfin_return_from_exception + 0x6 } RTX

   2 Target : <0xffa005c4> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa00668> { _ex_trap_c + 0x70 } JUMP.S

   3 Target : <0xffa005f8> { _ex_trap_c + 0x0 }

     Source : <0xffa00846> { _trap + 0x2a } JUMP (P4)

   4 Target : <0xffa0081c> { _trap + 0x0 }

      FAULT : <0x00000000> /* Maybe null pointer? */

     Source : <0x06251a6c> /* kernel dynamic memory */ JUMP (P1)

   5 Target : <0x06251a64> /* kernel dynamic memory */

     Source : <0x062549d0> /* kernel dynamic memory */ JUMP.L

   6 Target : <0x062549b8> /* kernel dynamic memory */

     Source : <0x060e3724> [ /usr/lib/directfb-1.4-6/systems/libdirectfb_fbdev.so + 0x3724 ] JUMP (P1)

   7 Target : <0x060e371c> [ /usr/lib/directfb-1.4-6/systems/libdirectfb_fbdev.so + 0x371c ]

     Source : <0x060e9722> [ /usr/lib/directfb-1.4-6/systems/libdirectfb_fbdev.so + 0x9722 ] CALL pcrel

   8 Target : <0x060e9710> [ /usr/lib/directfb-1.4-6/systems/libdirectfb_fbdev.so + 0x9710 ]

     Source : <0x060e96f6> [ /usr/lib/directfb-1.4-6/systems/libdirectfb_fbdev.so + 0x96f6 ] IF !CC JUMP pcrel (BP)

   9 Target : <0x060e96f4> [ /usr/lib/directfb-1.4-6/systems/libdirectfb_fbdev.so + 0x96f4 ]

     Source : <0x060e96da> [ /usr/lib/directfb-1.4-6/systems/libdirectfb_fbdev.so + 0x96da ] IF !CC JUMP pcrel (BP)

  10 Target : <0x060e96d6> [ /usr/lib/directfb-1.4-6/systems/libdirectfb_fbdev.so + 0x96d6 ]

     Source : <0x060e96bc> [ /usr/lib/directfb-1.4-6/systems/libdirectfb_fbdev.so + 0x96bc ] IF !CC JUMP pcrel (BP)

  11 Target : <0x060e96ba> [ /usr/lib/directfb-1.4-6/systems/libdirectfb_fbdev.so + 0x96ba ]

     Source : <0x060e96a0> [ /usr/lib/directfb-1.4-6/systems/libdirectfb_fbdev.so + 0x96a0 ] IF CC JUMP pcrel (BP)

  12 Target : <0x060e9694> [ /usr/lib/directfb-1.4-6/systems/libdirectfb_fbdev.so + 0x9694 ]

     Source : <0x060e967a> [ /usr/lib/directfb-1.4-6/systems/libdirectfb_fbdev.so + 0x967a ] IF !CC JUMP pcrel (BP)

  13 Target : <0x060e9678> [ /usr/lib/directfb-1.4-6/systems/libdirectfb_fbdev.so + 0x9678 ]

     Source : <0x060e9660> [ /usr/lib/directfb-1.4-6/systems/libdirectfb_fbdev.so + 0x9660 ] IF !CC JUMP pcrel (BP)

  14 Target : <0x060e965e> [ /usr/lib/directfb-1.4-6/systems/libdirectfb_fbdev.so + 0x965e ]

     Source : <0x062e7994> [ /usr/lib/libdirect-1.4.so.6.0.10 + 0x7994 ] RTS

  15 Target : <0x062e798e> [ /usr/lib/libdirect-1.4.so.6.0.10 + 0x798e ]

     Source : <0x062e797a> [ /usr/lib/libdirect-1.4.so.6.0.10 + 0x797a ] IF CC JUMP pcrel (BP)

Userspace Stack

Stack info:

SP: [0x0643f844] <0x0643f844> [ df_window + 0x1f844 ]

FP: (0x0643f894)

Memory from 0x0643f840 to 06440000

0643f840: 0643f864 [0643f864] 062e7976  0640cf00  00000000  06405878  05f3de70  060e9726

0643f860: 0643f894  060e9726  06405878  05f3de70  060efde8  05f3de4c  05f3df3c  05f3c004

0643f880: 0643f8a0  000bb800  05f3df40  0643f8a0 <0617940e>(0643f8d8)<0617940e> 05f3de4c

0643f8a0: 06348788  05f3df3c  064052e0  00000002  06404f0c <061e732c> 00000492  0000048b

0643f8c0: 05f3df48  00000000  05f3de70  06348788  060e83f6  0617966a (0643f914) 0617966a

0643f8e0: 06348788  05f3de4c  061e8458 <061e732c> 05f3c874  06404f0c  05f3c004  05f3c0a8

0643f900: 00000099  00000000  00000001  000000ec  06179744 (0643f944) 06179744  06348788

0643f920: 060e83f6  05f3db44  06332070  05f3c004  06404f0c  05f3c004  0614877a  00000000

0643f940: 05f3db44 (0643f98c) 060e83f6  05f3d8fc  06405878  064060cc  060eea30  00000600

0643f960: 00000000  060eea30  05f3d8fc  05f3dae0  05f3c0a8  00000800  00000000  00000000

0643f980:<0617bfd4> 05f3c874  05f3ca00 (0643f9c0)<0617bfd4> 06348788  05f3d79c  05f3d78c

0643f9a0: 05f3c004 <0614c52c> 05f3d78c  05f3c004  06350c5c  05f3c004  05f3d78c  05f3d79c

0643f9c0:(0643f9fc)<0614c52c> 06348788  06343118  05f3c004  05f3d79c  0614c0cc  061dbdc0

0643f9e0: 00000044  00000047  061dbf9c  00000001  00000140  0614bea2  05f3c874 (0643fa38)

0643fa00: 0614bea2  06348788  0634162c  00000000  05f3c004  0614c0cc  05ff2d14  064196f4

0643fa20: 05f3c038  00000036  00000000  05f3c90c  00000048  0643fa74 (0643fa74) 0614c0cc

0643fa40: 06348788  05f3c8c0  061dbd0c  061e6fc8  05f3c004  0614b9e0  0643fa80  000005fb

0643fa60: 061dbd0c  00000001  00000068 <064140e8> 05f3c874 (0643faa4)<064140e8> 05ff3020

0643fa80: 06345e60  061d39c0  0614ba02  0643fae0  0643fb1c  00000000  0000001c  0614b9c6

0643faa0: 0643fae4 (0643fae4) 0614ba02  06348788  05f3c014  06350dc0  061e6fc8  00000001

0643fac0: 061e6fc8  0000011b  05f3c004  06345988  05f3c004  05f3c014  0643fae0  0613241c

0643fae0: 00000000 (0643fb20) 0613241c  06348788  06350adc  06350dc0  00000001  0643fd8c

0643fb00: 0636c9da  0643fd90  045f51dc  00000000  06021ae0  00000000  00000001  0643fe74

0643fb20:(0643fd90) 0636c9da  0643ff18  06021ae0  00000000  00000001  0643fe74  062abf88

0643fb40: 0643fdd0  0643fde0  0643fbbc  045f0000  00000000  00000000  05fa6000  00000000

0643fb60: 05fa6048  05fa6e10  0000000b  05fa6e0f  0643ff40  00000000  00000000  00000000

0643fb80: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

0643fba0: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

0643fbc0: 0000017a  00000048  06021ae0  0636c108  0636c35c  0636c1bc  00000000  00000000

0643fbe0: 00000000  000001af  00000010  000005e0  0000349c  00000000  00000000  00000000

0643fc00: 0636c560  00000080  00000008  00000011  00000000  00000000  0636c598  00000000

0643fc20: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

0643fc40: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

0643fc60: 00000000  00000000  06129770  06348788  05fa6c80  0643fe30  045f50ae  0643ff20

0643fc80: 000002a8  00000002  00000512  062a0850  045f0c20  0643fcc0  00000000  00000000

0643fca0: 0643fdb8  0643fe7c  0643fe74  0643ff40  062a0850  062a0850  0643fe74  0643fe7c

0643fcc0: 0643ff20  062a0850  0636c0f4  062a0784  00000000  00000000  00000000  00000000

0643fce0: 00000000  00000000  00000000  00000000  00000000  00000025  0643fd38  045f1f7a

0643fd00: 00000000  00000000  00000000  00000000  00000000  01000000  062a0850  045f00b4

0643fd20: 062a0850  045f0234  00000000  00000000  00000000  0000034d  0643fd74  045f3a7c

0643fd40: 062a96e8  062a0850  0643fd6c  00000000 <05e0ad2e> 062abf88 <05e0ad2e> 06021ae0

0643fd60: 00000000  00000000  0643fd6c  045f03c4  05fa6c98  0643fe34  045f51dc  0643fda8

0643fd80: 045f0ff4  0643ff18  062a9800  0643ff64 (0643fe34)<05e3c0e8> 0643ff18  062a9800

0643fda0: 0643ff64  00000001  0643fe74  062abf88  00000001  0643fe74  01000000  00000000

0643fdc0: 00000000  00000000  00000000  00000000  00000000  00000003  0636c034  00000004

0643fde0: 00000020  00000005  00000006  00000006  00001000  00000007  045f0000  00000008

0643fe00: 00000000  00000009  0636c698  00000000  00000000  0000000b  00000000  0000000c

0643fe20: 00000000  0000000d  00000000  0000000e  00000000 (00000000) 0636c6c6  062a0850

0643fe40: 0636c698  062a0840  0643ff20  0643ff40  0636c69c  063328a0  0643ff20  0643ff40

0643fe60: 06332898  06332890  062a0840  0643ff4c  00000001  0643ff64  00000000 <0643ff6e>

0643fe80: 0643ff75  0643ff80  0643ff94  0643ff9a  0643ffbd  0643ffcb  0643ffd5  00000000

0643fea0: 00000010  00000000  00000006  00001000  00000011  00000064  00000003  0636c034

0643fec0: 00000004  00000020  00000005  00000006  00000007  045f0000  00000008  00000000

0643fee0: 00000009  0636c698  0000000b  00000000  0000000c  00000000  0000000d  00000000

0643ff00: 0000000e  00000000  00000017  00000000  0000001f  0001ffe9  00000000  00000000

0643ff20: 00020000  045f0000  00000000  00005780  062a0780  00006780  00000270  00000000

0643ff40: 00020000  0636c000  00000000  0000398c  0602198c  0000498c  00000244  00000000

0643ff60: 00000000  775f6664  6f646e69  4f480077  2f3d454d  52455400  74763d4d  00323031

0643ff80: 696b6c63  7a685f6e  3532283d  30303030  00293030  3d445750  4150002f  2f3d4854

0643ffa0: 6e696273  73752f3a  62732f72  2f3a6e69  3a6e6962  7273752f  6e69622f  45485300

0643ffc0: 2f3d4c4c  2f6e6962  55006873  3d524553  746f6f72  53554800  45565f48  4f495352

0643ffe0: 2e313d4e  322e3032  73752f00  69622f72  66642f6e  6e69775f  00776f64  00000000

Return addresses in stack:

    address : <0x0617940e> [ /usr/lib/libdirectfb-1.4.so.6.0.10 + 0x7940e ]

   frame  1 : <0x0617940e> [ /usr/lib/libdirectfb-1.4.so.6.0.10 + 0x7940e ]

    address : <0x061e732c> [ /usr/lib/libdirectfb-1.4.so.6.0.10 + 0xe732c ]

    address : <0x061e732c> [ /usr/lib/libdirectfb-1.4.so.6.0.10 + 0xe732c ]

    address : <0x0617bfd4> [ /usr/lib/libdirectfb-1.4.so.6.0.10 + 0x7bfd4 ]

   frame  5 : <0x0617bfd4> [ /usr/lib/libdirectfb-1.4.so.6.0.10 + 0x7bfd4 ]

    address : <0x0614c52c> [ /usr/lib/libdirectfb-1.4.so.6.0.10 + 0x4c52c ]

   frame  6 : <0x0614c52c> [ /usr/lib/libdirectfb-1.4.so.6.0.10 + 0x4c52c ]

    address : <0x064140e8> [ /usr/lib/libfusion-1.4.so.6.0.10 + 0x40e8 ]

   frame  9 : <0x064140e8> [ /usr/lib/libfusion-1.4.so.6.0.10 + 0x40e8 ]

    address : <0x05e0ad2e> [ /lib/libuClibc-0.9.33.2.so + 0xad2e ]

    address : <0x05e0ad2e> [ /lib/libuClibc-0.9.33.2.so + 0xad2e ]

   frame 13 : <0x05e3c0e8> [ /lib/libuClibc-0.9.33.2.so + 0x3c0e8 ]

    address : <0x0643ff6e> [ df_window + 0x1ff6e ]

TRAP

Attachments

Outcomes