Hi, I've been doing something similar on EPIA M10000 and EPIA LN10000. As far as I could see, the SP uses the same "unichrome" driver from DirectFB and the same kernel framebuffer driver.
Kernel module comes from viaarena, I used the source distribution as that one you can integrate into kernel, current version is 2.6.00.03a. There are pretty detailed instructions how to do it so I won't write it here. The link is (was): http://www.viaarena.com/default.aspx?PageID=420&OSID=25&CatID=2580&SubCatID= 158 I used DirectFB v1.1.1. You need to change a source code of its unichrome driver a little to get DirectFB to recognize viafb v2.6.00.03a and turn on acceleration. In file "uc_probe.h" change FB_ACCEL_VIA_UNICHROME from 77 to 50 Before: #define FB_ACCEL_VIA_UNICHROME 77 After: #define FB_ACCEL_VIA_UNICHROME 50 The next step might not be necessary, but I saw it in viafb driver, so I thought it can't hurt. In file "regs2d.h" change VIA_MMIO_BLTSIZE from 0x10000 to 0x200000 Before: #define VIA_MMIO_BLTSIZE 0x10000 After: #define VIA_MMIO_BLTSIZE 0x200000 Now all you need to do is enable unichrome driver when configuring DirectFB, build the kernel/kernel module and you should have unichrome driver enabled. You can use dfbinfo to check if it's really working. NOTE: To enable acceleration, you must set accel=1 for viafb driver when loading it, otherwise acceleration is off. Nenad -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Kier Sent: Friday, January 04, 2008 10:35 PM To: [email protected] Subject: [directfb-users] What kernel framebuffer module for directfb withVia CN400? Hi all! I'm desperately trying to get my EPIA SP13000 board running with a framebuffer device that I can use for directfb. (I'm up to vdr+softdevice.) Does anyone know what kernel module to use and how to get any further? Thanks in advance! /Christian _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
