PDA

View Full Version : QT4.4.3 embedded qvfb



damien
14th November 2008, 17:00
Hy,

I have a problem to embedded QT4.4.3 on blackfin with uClinux.
my configuration of QT is

./configure -shared -depths 4,16,24,32 -no-cups -no-webkit -embedded bfin -little-endian -qvfb

I have build successfully and load the library and font in my kernel.
the problem is my frambuffer. the application that i have developed on QT3.3.5 running well but when i try to execute an example of QT4 ./sliders -qws
my kernel panic , i have this error :

QLinuxFbScreen::connect: No such device
Error: failed to map framebuffer device to memory.
QLinuxFbScreen::copnectenfb
: fo infhctevocep
iled Eenfr:bf
to map framebuffer deopce nf be
ry.f
infctopenfb
vicnuxFbScreen::conneotpenofsuchbd
f
fra inrfc:toaipee tn fbp
ebuffer device to momoryp
enfb

...



viinRxEbNcrTen: cPRnOCtESNoSsu:h d
ry.MoM= fbaseictdrmapwfiamnbufge PdIDi=1 t7 m9m
x00r9r:ffaaledftfcm am bu rDAevTceAto me=ory.
Q0ixux0bS0redn::fo2fefc:-0oxs00hdfe3i8e
E6ro0:
iled BoSSap fr=me uff0rx0e0dcf3to m8mo6y0-
Q0ixux0b0erean:000n0 ct NU sScE dRvi-eS
memAroC: Kai ed =o 0ax f0a0ebufeerbdevfce7t0
ry.
return address: [0x00a883aa]; contents of:
0x00a88380: 2fe1 0000 05e4 3228 e800 0007 3063 bbe8
0x00a88390: 9169 accc 0c44 194c 0000 0000 0000 ac8a
0x00a883a0: 0c42 1d38 5c94 306a 3254 [9410] e181 fc00
0x00a883b0: 5408 e182 dc00 0810 07e2 305c 081d 1937

SEQUENCER STATUS: Not tainted
SEQSTAT: 00060027 IPEND: 0030 SYSCFG: 0006
HWERRCAUSE: 0x18
EXCAUSE : 0x27
RETE: <0x00000000> /* Maybe null pointer? */
RETN: <0x00dfe000> [ basicdrawing + 0x0 ]
RETX: <0x00a883aa> [ /lib/libQtCore.so.4.4.3 + 0x883aa ]
RETS: <0x0196ee12> [ /lib/libQtGui.so.4.4.3 + 0x16ee12 ]
PC : <0x00a883aa> [ /lib/libQtCore.so.4.4.3 + 0x883aa ]
DCPLB_FAULT_ADDR: <0x00000012> /* Maybe null pointer? */
ICPLB_FAULT_ADDR: <0x00a883aa> [ /lib/libQtCore.so.4.4.3 + 0x883aa ]

PROCESSOR STATE:
R0 : 00e7526c R1 : 00000000 R2 : 00000000 R3 : 00000001
R4 : 00deaab0 R5 : 014ab363 R6 : 00475330 R7 : 00e75220
P0 : 00e75220 P1 : 00e70d58 P2 : 00000013 P3 : 00deaab0
P4 : 00000013 P5 : 00e7526c FP : 00e751f4 SP : 00dfdf24
LB0: 00fe6431 LT0: 00fe6424 LC0: 00000000
LB1: 00a56be1 LT1: 00a56bd0 LC1: 00000000
B0 : 00000006 L0 : 00000000 M0 : 00000000 I0 : 01dee4f0
B1 : 00000000 L1 : 00000000 M1 : 00000000 I1 : 00000000
B2 : 00000000 L2 : 00000000 M2 : 00000000 I2 : 00000000
B3 : 00000000 L3 : 00000000 M3 : 00000000 I3 : 00e75104
A0.w: 00000000 A0.x: 00000000 A1.w: 00000000 A1.x: 00000000
USP : 00e751d8 ASTAT: 02003004

Hardware Trace:
0 Target : <0x00004934> { _trap_c + 0x0 }
Source : <0xffa00734> { _exception_to_level5 + 0xb4 }
1 Target : <0xffa00680> { _exception_to_level5 + 0x0 }
Source : <0xffa005d8> { _ex_trap_c + 0x5c }
2 Target : <0xffa0057c> { _ex_trap_c + 0x0 }
Source : <0xffa007d4> { _trap + 0x28 }
3 Target : <0xffa007ac> { _trap + 0x0 }
Source : <0x00a883a8> [ /lib/libQtCore.so.4.4.3 + 0x883a8 ]
4 Target : <0x00a88384> [ /lib/libQtCore.so.4.4.3 + 0x88384 ]
Source : <0x01941314> [ /lib/libQtGui.so.4.4.3 + 0x141314 ]
5 Target : <0x0194130c> [ /lib/libQtGui.so.4.4.3 + 0x14130c ]
Source : <0x0196ee0e> [ /lib/libQtGui.so.4.4.3 + 0x16ee0e ]
6 Target : <0x0196edfc> [ /lib/libQtGui.so.4.4.3 + 0x16edfc ]
Source : <0x0193d264> [ /lib/libQtGui.so.4.4.3 + 0x13d264 ]
7 Target : <0x0193d25c> [ /lib/libQtGui.so.4.4.3 + 0x13d25c ]
Source : <0x01950f36> [ /lib/libQtGui.so.4.4.3 + 0x150f36 ]
8 Target : <0x01950f2e> [ /lib/libQtGui.so.4.4.3 + 0x150f2e ]
Source : <0x00000436> /* Maybe fixed code section */
9 Target : <0x00000430> /* Maybe fixed code section */
Source : <0x01950f2c> [ /lib/libQtGui.so.4.4.3 + 0x150f2c ]
10 Target : <0x01950f0a> [ /lib/libQtGui.so.4.4.3 + 0x150f0a ]
Source : <0x01950f7e> [ /lib/libQtGui.so.4.4.3 + 0x150f7e ]
11 Target : <0x01950f7a> [ /lib/libQtGui.so.4.4.3 + 0x150f7a ]
Source : <0x00000446> /* Maybe fixed code section */
12 Target : <0x00000440> /* Maybe fixed code section */
Source : <0x01950f78> [ /lib/libQtGui.so.4.4.3 + 0x150f78 ]
13 Target : <0x01950f72> [ /lib/libQtGui.so.4.4.3 + 0x150f72 ]
Source : <0x01950f3e> [ /lib/libQtGui.so.4.4.3 + 0x150f3e ]
14 Target : <0x01950f3a> [ /lib/libQtGui.so.4.4.3 + 0x150f3a ]
Source : <0x0196ee6e> [ /lib/libQtGui.so.4.4.3 + 0x16ee6e ]
15 Target : <0x0196ee66> [ /lib/libQtGui.so.4.4.3 + 0x16ee66 ]
Source : <0x00a83b12> [ /lib/libQtCore.so.4.4.3 + 0x83b12 ]
Stack from 00dfdf04:
0003b764 ffa00738 0015a570 0015a570 0015a564 00000001 00475330 00f0e5de
00a883aa 00000030 00060027 00000000 00dfe000 00a883aa 00a883aa 0196ee12
00e7526c 02003004 00a56be1 00fe6431 00a56bd0 00fe6424 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000006
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00e75104 00000000 00000000 01dee4f0 00e751d8 00e751f4 00e7526c 00000013

Call Trace:

QLinuxFbScreen::connect: No such device
Error: failed to map framebuffer device to memory.
QLinuxFbScreen::connect: No such device
Error: failed to map framebuffer device to memory.
QLinuxFbScreen::connect: No such device
Error: failed to map framebuffer device to memory.
QLinuxFbScreen::connect: No such device
Error: failed to map framebuffer device to memory.
QLinuxFbScreen::connect: No such device
Error: failed to map framebuffer device to memory.
QLinuxFbScreen::connect: No such device
Error: failed to map framebuffer device to memory.
SIGSEGV
root:/media>



I think i have to specify or configure the frambuffer for QT4 embedded.but how do that?

thanks in advance

damien
14th November 2008, 18:50
problem solved
that was a problem in my configuration