Martin Nylund wrote:
> 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;
The same for sh7723 here:
case 0x500:
+ case 0x510:
ret = sh7723_init();
-----------
another issue (I already mentioned before) is the cross toolchain/libtool/rpath
one:
The failure while compiling is caused by building *sh7722_jpegtool* binary. This
is not needed for running so I commented it in Makefile.am, regenerate
buildsystem and build it again. This passed but the resulting
*libsh7722_jpeg.so* had unresolved symbols to libjpeg. Since modifying
libtool/automake manually is not so comfortable, I re-linked *libsh7722_jpeg.so*
(and *libdirectfb_sh7722.so* for sure as well) manually, pasing *-ljpeg* to the
linker. with the resulting libraries I managed to get SH7723 driver running.
Can you please handle those issues to get an automatic build?
Regards,
Rene
_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev