>>
>> Hello Uri,
>> I had the same issue, removing __initdata in
>> arch/arm/mach-s3c2440/mach-mini2440.c
>> in mini2440_lcd_cfg array and mini2440_fb_info data structure, solves
>> the issue.
>> But after that, I ran other issues, may be I miscompile directfb, i need
>> to investigate more.
>>
>> Regards,
>> AWG
>>
>
> It works. Thanks !!!
>
> Let me know if you need help with the build process.
>
> Uri
>

Well I also got some problems, althou all dfb* utils works I gtk-demo fails.
It is related to the fact that my system does not include keyboard.

When I patch "gtk+-2.18.6/gdk/directfb/gdkdisplay-directfb.c" as follow:

 if (ret != DFB_OK){
      DirectFBError ("gdk_display_open: GetInputDevice", ret);
-    return NULL;
+    //return NULL;
  }

I get this crash:

~ # gtk-demo
commandline read: gtk-demo

   ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.3 |~~~~~~~~~~~~~~~~~~~~~~~~~~
        (c) 2001-2009  The world wide DirectFB Open Source Community
        (c) 2000-2004  Convergence (integrated media) GmbH
      ----------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2010-01-19 09:36)
(*) Direct/Memcpy: Using libc memcpy()
(*) Direct/Thread: Started 'VT Switcher' (-1) [CRITICAL OTHER/OTHER
0/0] <8388608>...
(*) Direct/Thread: Started 'VT Flusher' (-1) [DEFAULT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/FBDev: Found 's3c2410fb' (ID 0) with frame buffer at
0x33a00000, 750k (MMIO 0x00000000, 0k)
(*) Direct/Thread: Started 'tslib Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: tslib touchscreen 0 0.1 (tslib)
(*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/Input: gpio-keys 0.1 (directfb.org)
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(#) DirectFBError [gdk_display_open: GetInputDevice]: Requested ID not found!
keyboard (nil)
(!) [  735:    0.000] --> Caught signal 11 (at (nil), invalid address) <--
 (!!!)  *** WARNING [still objects in 'Window Pool'] ***
[/home/uri/URIX-SDK/sources/DirectFB-1.4.3/lib/fusion/object.c:241 in
fusio
n_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Layer Region Pool'] ***
[/home/uri/URIX-SDK/sources/DirectFB-1.4.3/lib/fusion/object.c:241 in
 fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Layer Context Pool'] ***
[/home/uri/URIX-SDK/sources/DirectFB-1.4.3/lib/fusion/object.c:241 i
n fusion_object_pool_destroy()]
 (!!!)  *** WARNING [still objects in 'Surface Pool'] ***
[/home/uri/URIX-SDK/sources/DirectFB-1.4.3/lib/fusion/object.c:241 in
fusi
on_object_pool_destroy()]
Aborted

Any idea?
Thanks
Uri
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to