2009-04-13 10:26:53     QT and 2009 dist

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2009-04-13 10:26:53     QT and 2009 dist

damien OLLIVE (UNITED STATES)

Message: 72593   

 

hi,

 

i am on a 2008 r1.5 dist with a QT4.4.3 add by myself.

 

i want to know where can i download the 2009 dist with a qt in the distibution. uclinux-dist-trunk-svn.src.tar.bz2 should be a 2009 but in the SVN/trunk directory the release note file tell me 2008R1.

 

i will try it. But do you have an mature distribution of a distribution with an embedded QT on it.

 

what is the version of QT in it? your link in the doc are for 4.5, and there is this line : "rewrite docs to reflect qt-4.4.3 merged into dist" ?

 

Do you know the size that qt add to your kernel image?

 

thanks

QuoteReplyEditDelete

 

 

2009-04-13 10:33:19     Re: QT and 2009 dist

Mike Frysinger (UNITED STATES)

Message: 72594   

 

so use live svn like every one else

 

there is no such thing as "mature".  either it's released or it's trunk.

QuoteReplyEditDelete

 

 

2009-04-16 16:22:02     Re: QT and 2009 dist

damien OLLIVE (UNITED STATES)

Message: 72766   

 

hi,

 

the QT is 4.5 and the basic kernel with qt lib without modification is 10.5Mb

 

 

 

i want to use a toushscreen in my aplication.

 

do you have replace the tsdev interface by something else in the 2009 distribution?

 

(my TS driver is base on the ads7846 driver)

 

 

 

thanks

QuoteReplyEditDelete

 

 

2009-04-16 18:07:17     Re: QT and 2009 dist

damien OLLIVE (UNITED STATES)

Message: 72767   

 

i ask it because of there isn't the option

 

device/input/Touchscreen interface in the menuconfig in my SVN 2009 kernel

 

So my driver don't create the dev/input/event directory.

 

 

 

do you have replace the tsdev interface by something else in the 2009 distribution?

QuoteReplyEditDelete

 

 

2009-04-17 03:05:49     Re: QT and 2009 dist

Michael Hennerich (GERMANY)

Message: 72768    >So my driver don't create the dev/input/event directory.

 

Did you enable the Event Interface, CONFIG_INPUT_EVDEV?

 

-Michael

 

QuoteReplyEditDelete

 

 

2009-04-17 15:00:51     Re: QT and 2009 dist

damien OLLIVE (UNITED STATES)

Message: 72799   

 

hi michael,

 

yes sorry, the event device is created by INPUT_EVDEV, it was activated. My problem was on the SPI of my driver.

 

i was worried to not have a tsdev interface like in the 2008 kernel.

 

 

 

So my LCD driver and touchscreen driver work, QT lib build but i can't run any Qt application on my device.

 

root:/> ./gradients -qws

syslogd invoked oom-killer: gfp_mask=0x200d2, order=0, oomkilladj=0

Hardware Trace:

   0 Target : <0x00004994> { _dump_stack + 0x0 }

     Source : <0x0003147c> { _oom_kill_process + 0xd8 } CALL pcrel

   1 Target : <0x0003147c> { _oom_kill_process + 0xd8 }

     Source : <0x0001042a> { _printk + 0x16 } RTS

   2 Target : <0x00010426> { _printk + 0x12 }

     Source : <0x00010c54> { _vprintk + 0x12c } RTS

   3 Target : <0x00010c48> { _vprintk + 0x120 }

     Source : <0xffa00b32> { __common_int_entry + 0xca } RTI

   4 Target : <0xffa00ad0> { __common_int_entry + 0x68 }

     Source : <0xffa00936> { _return_from_int + 0x4e } RTS

   5 Target : <0xffa00936> { _return_from_int + 0x4e }

     Source : <0xffa00916> { _return_from_int + 0x2e } IF !CC JUMP

   6 Target : <0xffa008e8> { _return_from_int + 0x0 }

     Source : <0xffa00acc> { __common_int_entry + 0x64 } CALL pcrel

   7 Target : <0xffa00aca> { __common_int_entry + 0x62 }

     Source : <0xffa0032e> { _asm_do_IRQ + 0x6a } RTS

   8 Target : <0xffa00326> { _asm_do_IRQ + 0x62 }

     Source : <0x000141ea> { __local_bh_enable + 0x3e } RTS

   9 Target : <0x000141ac> { __local_bh_enable + 0x0 }

     Source : <0x000142d6> { ___do_softirq + 0xa2 } JUMP.L

  10 Target : <0x000142ce> { ___do_softirq + 0x9a }

     Source : <0x000142ac> { ___do_softirq + 0x78 } IF !CC JUMP

  11 Target : <0x0001428e> { ___do_softirq + 0x5a }

     Source : <0x0002e448> { _rcu_process_callbacks + 0x30 } RTS

  12 Target : <0x0002e444> { _rcu_process_callbacks + 0x2c }

     Source : <0x0002e37a> { ___rcu_process_callbacks + 0x132 } RTS

  13 Target : <0x0002e374> { ___rcu_process_callbacks + 0x12c }

     Source : <0x0002e2fe> { ___rcu_process_callbacks + 0xb6 } IF !CC JUMP

  14 Target : <0x0002e2f8> { ___rcu_process_callbacks + 0xb0 }

     Source : <0x0002e380> { ___rcu_process_callbacks + 0x138 } IF CC JUMP

  15 Target : <0x0002e37c> { ___rcu_process_callbacks + 0x134 }

     Source : <0x0002e2ea> { ___rcu_process_callbacks + 0xa2 } IF !CC JUMP

Stack info:

SP: [0x015a3b84] <0x015a3b84> /* kernel dynamic memory */

FP: (0x015a3c9c)

Memory from 0x015a3b80 to 015a4000

015a3b80: 0000001f [00001140]<00031480> 03ea7400  00000000  00000000  03ea52e8  000200d2

015a3ba0: 00000000  00000000  0016f3f0  0000ef82  000000e4 <0003160e> 0014779c  015a2000

015a3bc0:<000317aa> 03ea7400  00174b3c  00000124  0000007b  03ea7400  000000a0  00174b3c

015a3be0: 00000001  015a3c04  00000048  000000e5  00000000  0014779c  015a3be0  0000007a

015a3c00: 24f47302  00000000  00000001 <0003379a> 03ea5100  00182b94  00000000  00000000

015a3c20: 000200d2  00000000  00000042  000200d2  000200d2  00000000  00182b94  00000001

015a3c40: 00000048  015a2000  015a2000  00000000  000200d2  015a2000  00000010  00000000

015a3c60: 00000000  00000000  00000000  01aabd40 <0002f362> ffffffff  01aabd40  015b0e08

015a3c80: 00000000  015b0e08  00000000  00000cda  00000000  015a9318  00000011 (00000000)

015a3ca0:<000530f0> 015a3d34  00000000  00cda000  00000042  00000042  00000000  01aabd40

015a3cc0:<0002f85c><0002f7cc> 015a2000  00001000  00000000  00000000  00cda000  00000042

015a3ce0: 000000ff  015a3cf4  00cda000  00000000  00000042  00000000  015a3d34  015a3d30

015a3d00: 00000000  015b0e08  00118578  015b0d70  00000000  00000000  00118578  00000011

015a3d20: 015a3e9c  00000001  00000011  00000042  015a3dac  0160afa0  015b0e08 <0002fd30>

015a3d40: 015b0d70  00000053  01aabd40  00000000  015a3e9c  00000000  00cd9fef  015a3e18

015a3d60: 00000000  00000000  00cd9fef  00000000  015a3e60  00000053  00000000  015a3e18

015a3d80: 015aae40  01c0b960  00000001  015a3e9c  000000ff  00000003  015a2000  0016ded0

015a3da0: 00000053  015b0e08 <0003070e> 015a3e18  015b0d70  01aabd40  015b0ddc  015a3e9c

015a3dc0: 00000000  00cd9fef  015a3e18  015a3e9c  00000001  015a3e60  00000001  00000000

015a3de0: 01f5fcb4 <0003eed8> 01aabd40  015a3ef0  015ad1d8  015a3e18  015a3e9c  00000053

015a3e00: 00000004 <00062240> 015575bc  00000001  00cd9fef  00000000  00000000  00000000

015a3e20: 00000000  00000001  ffffffff  01aabd40  00000000  00000000  00000000  00000000

015a3e40: 03ea5100  00000000  00000000  015a3e7c  03ea5100  0001fd30  015a3e58  015a3e58

015a3e60: 00cd9fef  00000000  015a3dac  00000000  01f1d93b  01f1fae9  00000053  01f1fae6

015a3e80: 01f5fcfc  01f5fcfc <00062240> 0155761c  00000010  015a3eb4 <000638bc> 015a9318

015a3ea0: 00000053 <0003f5ca> 01aabd40  00000004  015a3ef0  015a9318  00000000  00000001

015a3ec0: 00000000  015a3ef0  01f5fd34 <0003f94e> 01aabd40  015a9318  00000053  015a9318

015a3ee0: 00000007  015a905a  015ad1d8  015a3ef0  00cd9fef  00000000  00000000 <ffa007b4>

015a3f00: 0003f918  00000000  ffffe000  000000ff  015a9018  00000000  00000004  00000004

015a3f20: 015a9318  01f0ec22  00008000  00000000  00000000  015a4000  01f0ec22  01f0ec22

015a3f40:<01e88294><ffa00ce8> 02003004  01f1d93b  01f1fae9  01f1d93a  01f1fae6  00000000

015a3f60: 00000000  00000006  00000000  00000006  00000000  00000000  00000000  00000000

015a3f80: 00000000  00000000  00000000  00000000  00000000  00000000  00000000  00000000

015a3fa0: 00000000  00000000  00000000  01f36f20  015a9154  01f5fca8  01f5fcb4  015adc10

015a3fc0: 015a9318  015ad1d8  015a7bc8  01f0ec18  00000004  015a57e8  00000053  015a9318

015a3fe0: 00000004  00000004  00000053  015a9318  00000004  00000004  00000004  00000006

015a4000: 00000000

Return addresses in stack:

    address : <0x00031480> { _oom_kill_process + 0xdc }

    address : <0x0003160e> { _badness + 0xba }

    address : <0x000317aa> { _out_of_memory + 0x126 }

    address : <0x0003379a> { ___alloc_pages_internal + 0x232 }

    address : <0x0002f362> { _grab_cache_page_write_begin + 0x56 }

   frame  1 : <0x000530f0> { _simple_write_begin + 0x28 }

    address : <0x0002f85c> { _generic_file_buffered_write + 0x16c }

    address : <0x0002f7cc> { _generic_file_buffered_write + 0xdc }

    address : <0x0002fd30> { ___generic_file_aio_write_nolock + 0x1f0 }

    address : <0x0003070e> { _generic_file_aio_write + 0x56 }

    address : <0x0003eed8> { _do_sync_write + 0xac }

    address : <0x00062240> { _locks_free_lock + 0x30 }

    address : <0x00062240> { _locks_free_lock + 0x30 }

    address : <0x000638bc> { _fcntl_setlk + 0x2c }

    address : <0x0003f5ca> { _vfs_write + 0x72 }

    address : <0x0003f94e> { _sys_write + 0x36 }

    address : <0xffa007b4> { _system_call + 0x68 }

    address : <0x01e88294> [ /bin/busybox + 0x8294 ]

    address : <0xffa00ce8> { _evt_system_call + 0x64 }

Mem-Info:

DMA per-cpu:

CPU    0: hi:   18, btch:   3 usd:   3

Active_anon:0 active_file:4361 inactive_anon:0

inactive_file:4338 dirty:0 writeback:0 unstable:0

free:1022 slab:395 mapped:0 pagetables:0 bounce:0

DMA free:4088kB min:4096kB low:5120kB high:6144kB active_anon:0kB inactive_anon:0kB active_file:17444kB inactive_file:17352kB present:64004kB pages_scanned:57352 all_unreclaimable? yes

lowmem_reserve[]: 0 0 0

DMA: 0*4kB 1*8kB 1*16kB 1*32kB 1*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB 0*8192kB 0*16384kB 0*32768kB = 4088kB

8699 total pagecache pages

16127 pages RAM

535 pages reserved

0 pages shared

14548 pages non-shared

Out of memory: kill process 192 (gradients) score 229 or a child

Killed process 192 (gradients)

Killed

 

 

do you know What i have to do to use QT on the svn 2009 kernel?

 

 

 

my configuration :

 

BF537 stamp default config and with

 

FTDPIC

 

QT lib

 

TSlib

 

driver LCD PPI

 

driver touchscreen SPI

QuoteReplyEditDelete

 

 

2009-04-20 05:46:21     Re: QT and 2009 dist

Sonic Zhang (CHINA)

Message: 72856   

 

Out of memory: kill process 192 (gradients) score 229 or a child

Killed process 192 (gradients)

Killed

 

 

You may try to free more memory before run qt, run qt at the very begining of kernel boot  or built qt into static lib.

QuoteReplyEditDelete

Attachments

    Outcomes