Denis Oliver Kropp wrote:
> Martin Nylund wrote:
>> ../../config.h:70:1: warning: this is the location of the previous
>> definition
>> /home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git/gfxdrivers/sh7722/sh7722_jpegtool.c:
>>
>> In function 'main':
>> /home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git/gfxdrivers/sh7722/sh7722_jpegtool.c:131:
>>
>> error: incompatible type for argument 3 of 'SH7722_JPEG_Encode'
>> /home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git/gfxdrivers/sh7722/sh7722_jpegtool.c:131:
>>
>> error: too many arguments to function 'SH7722_JPEG_Encode'
>> make[3]: *** [sh7722_jpegtool.o] Error 1
>> make[3]: Leaving directory
>> `/home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git-build/gfxdrivers/sh7722'
>>
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory
>> `/home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git-build/gfxdrivers'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory
>> `/home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git-build'
>> make: *** [all] Error 2
>
> Just fixed that:
>
> http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=3fc2cda70ab14e3d79891996bac590d905ce1286
>
>
>
great, Now I got it built. The kernel module needed following hack to
install on my target. I'm not sure what it means though:
--- a/gfxdrivers/sh7722/kernel-module/sh772x_driver.c
+++ b/gfxdrivers/sh7722/kernel-module/sh772x_driver.c
@@ -35,6 +35,7 @@ sh772x_driver_init( void )
if ((ctrl_inl(CCN_PVR) & 0xffff00) == 0x300800) {
switch (ctrl_inl(CCN_PRR) & 0xff0) {
case 0xa00:
+ case 0xa10:
ret = sh7722_init();
if (ret)
return ret;
I have a VGA panel and I'm using it with a framebuffer device. I already
have Qt running on fbdev. Looking at the gfxdrivers/sh7722 sources, it
seems that the driver wants to configure the graphics HW itself. Does
the sh7722 driver also support fbdev?
I'm a total newbie to DirectFB and I'm not sure how to interpret the
results I get when I try to run some test programs. Maybe you could
point me to the right direction? Here's the output of a test session:
~ # insmod /lib/modules/2.6.27-rc7-00122-g87daf20/renesas/sh772x_gfx.ko
sh7722gfx: shared area (order 7) at af300000 [2f300000] using 507972 bytes
sh7722gfx: jpeg area (order 7) at af380000 [2f380000] using 294912 bytes
~ # ./dfbtest_window
[[ main ]] Starting up...
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.3.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2008 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2008-09-29 17:04)
Couldnt load module pthres
(!!!) *** WARNING [no alignment specified yet?] ***
[/home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git/src/core/gfxcard.c:2692
in dfb_gfxcard_reserve_memory()]
(*) SH7722/LCD: Allocated 640x480 RGB16 Buffer (737280 bytes) at
0x0ff4c000 (0x29f5c000)
(*) DirectFB/Graphics: Renesas SH7722 0.9 (Denis & Janine Kropp)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(!!!) *** WARNING [workaround] ***
[/home/hico/emtrix-2.2/hico7722/pkgs/DirectFB-git/systems/devmem/surfacemanager.c:194
in dfb_surfacemanager_allocate()]
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev