Hi, I have sucessfully build directFB1.1.1 for blackfin with the uclinux2008 distribution for Blackfin but i'm crashing when lauching any DirectFB application. "Undefined instruction - May be used to emulate instructions that are not defined for a particular processor implementation." My Framebuffer and TFT screen driver are working (I can print jpeg picture with jpegview). I added the complete log of the error at the end of this mail. If anyone could help me. Thanks!
=======================| DirectFB 1.1.1 |======================= (c) 2001-2007 The DirectFB Organization (directfb.org) (c) 2000-2004 Convergence (integrated media) GmbH ------------------------------------------------------------ (*) DirectFB/Core: Single Application Core. (2008-08-08 10:22) (*) Direct/Thread: Running &apsPS/2 Input&aps (INPUT, 217)... (*) DirectFB/Input: IMPS/2 Mouse 1.0 (directfb.org) (!) Direct/Modules: Could not open module directory `/usr/lib/directfb-1.1-0/gf! --> No such file or directory (*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org) (*) DirectFB/Core/WM: Default 0.3 (directfb.org) (*) FBDev/Mode: Testing 320x240 (!) DirectFB/DirectFBCreate: Setting desktop resolution to 320x240 failed! -> Using default resolution. (!) DirectFB/DirectFBCreate: Setting desktop format faUled! -> Using default format. (!) DirectFB/DirectFBCreate: Setting desktop buffer mode failed! -> No virtual resolution support or not enough memory? Falling back to system back buffer. (*) FBDev/Mode: Testing 480x272 RGB16 (*) FBDev/Mode: Preparing switch to 480x272 RGB16 (*) FBDev/Mode: Testing 480x272 RGB16 (*) FBDev/Mode: Preparing switch to 480x272 RGB16 Undefined instruction - May be used to emulate instructions that are not defined for a particular processor implementation. Defered Exception context CURRENT PROCESS: COMM=df_texture PID=215 TEXT = 0x00260000-0x00265b00 DATA = 0x033a0b00-0x033a0f8c BSS = 0x033a0f8c-0x002c0000 USER-STACK = 0x002dfea0 return address: [0x003b5d58]; contents of: 0x003b5d30: 0000 0000 002c 0000 5830 003b c158 0026 0x003b5d40: c298 0026 c3d4 0026 c9dc 0026 cb0c 0026 0x003b5d50: c510 0026 c778 0026 [c8ac] 0026 cc44 0026 0x003b5d60: 0010 0000 5d74 003b 0003 0000 0001 0000 SEQUENCER STATUS: Not tainted SEQSTAT: 00000021 IPEND: 0030 SYSCFG: 0006 HWERRCAUSE: 0x0 EXCAUSE : 0x21 RETE: <0x00000000> /* Maybe null pointer? */ RETN: <0x00270000> [ /bin/busybox + 0x56000 ] RETX: <0x003b5d58> [ df_texture + 0x1d58 ] RETS: <0x003c4444> [ /usr/lib/directfb-1.1-0/systems/libdirectfb_fbdev.so + 0x] PC : <0x003b5d58> [ df_texture + 0x1d58 ] DCPLB_FAULT_ADDR: <0x00a35c44> [ df_texture + 0xc44 ] ICPLB_FAULT_ADDR: <0x003b5d58> [ df_texture + 0x1d58 ] PROCESSOR STATE: R0 : 002aef0c R1 : 0003fc00 R2 : 000003c0 R3 : 00000001 R4 : 002afba8 R5 : 00000110 R6 : 000001e0 R7 : 00352500 P0 : 00a35f78 P1 : 003b5d58 P2 : 002afba8 P3 : 033c1790 P4 : 00a35c48 P5 : 00000110 FP : 002df804 SP : 0026ff24 LB0: 0091ef29 LT0: 0091ef26 LC0: 00000000 LB1: 003c4423 LT1: 003c4422 LC1: 00000000 B0 : 00000448 L0 : 00000000 M0 : 00000000 I0 : 002df7ec B1 : 000000e0 L1 : 00000000 M1 : 00000000 I1 : 00000000 B2 : 00000000 L2 : 00000000 M2 : 00000000 I2 : 00000000 B3 : 00000000 L3 : 00000000 M3 : 00000000 I3 : 0034ec20 A0.w: 00072c00 A0.x: 00000000 A1.w: 00005f3a A1.x: 00000000 USP : 002df678 ASTAT: 02003025 Stack from 0026ff08: ffc00014 ffa00660 001b856c 001b856c 00000003 0000004e 00007848 003b5d58 00000030 00000021 00000000 00270000 003b5d58 003b5d58 003c4444 002aef0c 02003025 003c4423 0091ef29 003c4422 0091ef26 00000000 00000000 00005f3a 00000000 00072c00 00000000 00000000 00000000 000000e0 00000448 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0034ec20 00000000 00000000 002df7ec 002df678 002df804 00000110 00a35c48 033c1790 Call Trace: [<0003fc00>] _locks_mandatory_locked+0xc/0x3c (*) FBDev/Mode: Testing 480x272 RGB16 (*) FBDev/Mode: PrepUring switch to 480x272 RGB16 (*) FBDev/Mode: Testing 480x272 RGB16 (*) FBDev/Mode: Preparing switch to 480x272 RGB16 (*) FBDev/Mode: Testing 480x272 RGB16 (*) FBDev/Mode: Preparing switch to 480x272 RGB16 (*) FBDev/Surface: Allocated 480x272 16bit RGB16 buffer at offset 0 and pitch 9. (*) FBDev/Mode: (Post)Setting 480x272 RGB16 (*) FBDev/Mode: Switched to 480x272 (480x272) at 16 bit RGB16 (wanted RGB16). ndefined instruction - May be used to emulate instructions that are not defined for a particular processor implementation. Defered Exception context CURRENT PROCESS: COMM=df_texture PID=215 TEXT = 0x00260000-0x00265b00 DATA = 0x033a0b00-0x033a0f8c BSS = 0x033a0f8c-0x002c0000 USER-STACK = 0x002dfea0 return address: [0x003b5cf6]; contents of: 0x003b5cd0: 0000 0000 0000 0000 5ce4 003b 0000 0000 0x003b5ce0: 001c 0000 c510 0026 0000 0000 0000 0000 0x003b5cf0: 0000 0000 5d00 [003b] 0000 0000 001c 0000 0x003b5d00: c778 0026 0000 0000 0000 0000 0000 0000 SEQUENCER STATUS: Not tainted SEQSTAT: 00060021 IPEND: 0030 SYSCFG: 0006 HWERRCAUSE: 0x18 EXCAUSE : 0x21 RETE: <0x00000000> /* Maybe null pointer? */ RETN: <0x00270000> [ /bin/busybox + 0x56000 ] RETX: <0x003b5cf6> [ df_texture + 0x1cf6 ] RETS: <0x003c6ab8> [ /usr/lib/directfb-1.1-0/systems/libdirectfb_fbdev.so + 0x] PC : <0x003b5cf6> [ df_texture + 0x1cf6 ] DCPLB_FAULT_ADDR: <0x00a35a0c> [ df_texture + 0xa0c ] ICPLB_FAULT_ADDR: <0x003b5cf6> [ df_texture + 0x1cf6 ] PROCESSOR STATE: R0 : 002aef0c R1 : 002aeef4 R2 : 002aef00 R3 : 00000001 R4 : 003c9dcc R5 : 003c98c8 R6 : 002aee64 R7 : 002b4260 P0 : 00a357b8 P1 : 003b5ce8 P2 : 002b5890 P3 : 033c1790 P4 : 01ea0728 P5 : 002aeef4 FP : 002df2e0 SP : 0026ff24 LB0: 0091ef29 LT0: 0091ef26 LC0: 00000000 LB1: 0091cf7b LT1: 0091cf7a LC1: 00000000 B0 : 00000448 L0 : 00000000 M0 : 00000000 I0 : 002bde94 B1 : 000000e0 L1 : 00000000 M1 : 00000000 I1 : 00000000 B2 : 00000000 L2 : 00000000 M2 : 00000000 I2 : 00000000 B3 : 00000000 L3 : 00000000 M3 : 00000000 I3 : 0034ec20 A0.w: 00072c00 A0.x: 00000000 A1.w: 00005f3a A1.x: 00000000 USP : 002df2d4 ASTAT: 02003005 Stack from 0026ff08: ffc00014 ffa00660 001b8570 001b8570 00000001 003c9dcc 00007848 003b5cf6 00000030 00060021 00000000 00270000 003b5cf6 003b5cf6 003c6ab8 002aef0c 02003005 0091cf7b 0091ef29 0091cf7a 0091ef26 00000000 00000000 00005f3a 00000000 00072c00 00000000 00000000 00000000 000000e0 00000448 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0034ec20 00000000 00000000 002bde94 002df2d4 002df2e0 002aeef4 01ea0728 033c1790 Call Trace: (!) [ 215: 0.000] --> Caught signal 4 (at 0x3b5d58, illegal opcode) <-- (!!!) *** WARNING [still objects in &apsLayer Region Pool&aps] *** [../../../Direct] (!!!) *** WARNING [still objects in &apsLayer Context Pool&aps] *** [../../../Direc] (!) [ 215: 0.010] --> Caught signal 4 (at 0x3b5cf6, illegal opcode) <-- Illegal instruction -- View this message in context: http://www.nabble.com/FBDev-Mode-crash-%3A-Undefined-instruction-tp18942769p18942769.html Sent from the DirectFB Users mailing list archive at Nabble.com. _______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users