Greetings, When you say MV kernel, are you talking about the kernel shipped with the DVEVM or the supported kernel with the license fee? If the latter, what patch level of the MV kernel are you using?
Our kernel is patch level pro-1550 and we weren't able to cleanly apply the patch in the latest DirectFB git dump. I've made a patch that integrates the missing IOCTLs in the supported kernel as well as the code from the patch located in the directfb source. I'm in the process of testing this patch and can post if anyone needs it. Also, instead of commenting out the MODULE_FIRMWARE line, I added the definition to include/linux/modules.h that I pulled from kernel.org latest image. I then integrated the kernel-module code into the driver tree of the kernel and added the proper Kconfig to choose it in from the kernel configurer. Still after all that I was still running into problems until I discovered that you need to enable firmware hotplugging in the kernel config. I built fine and loaded the new kernel only to find that the module wouldn't load stating there was an unknown symbol referenced in it. Once I figure this problem out (maybe back-port firmware loading from later kernels?), I can make a patch that will integrate the directfb c64x driver into the kernel tree. Also, be aware that if you decided to play with ++DFB or some of the other wrappers for DirectFB, you'll need to patch the latest sources to account for the __uxx to uxx variable renamings in 1.1.x. I've also done this, but I'm unsure if there are any other API changes that are going to creep up on me. So the verdict seems to be that even we manage to get the module compiled, either it won't load or it's missing the firmware file to do so. On other note, how did you set up your cross-compile environment to build DirectFB. I've tried a number of different things and it always seems to pick up the wrong libs and/or features to enable. I end up compiling on the target over NFS which is a very long process. Regards, David DAVID A. KONDRAD Software Design Engineer On-Q/Legrand www.onqlegrand.com _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev