Hi folks!
I have an Atmel AVR32 µC with a 256x64 monochrome display wired to the
GPIO pins. Since I want to display text and simple custom graphics
(menu) I wrote my own framebuffer driver. It simply uses system memory
and the system fb_ops.
When I try to run simple.c from the tutorials I get the following error:
---------------------- DirectFB v0.9.25 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2004 convergence GmbH
-----------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2007-10-04 06:51)
(*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 686)...
(!) DirectFB/FBDev: Could not retrieve palette for backup!
--> Invalid argument
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 687)...
(!!!) *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:853]
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(!) Direct/Modules: Could not open module directory
`/lib/directfb-0.9.25/gfxdrivers'!
--> No such file or directory
(*) DirectFB/Graphics: Generic Software Rasterizer 0.6 (convergence
integrated media GmbH)
(*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)
(!) DirectFB/FBDev: Unsupported pixelformat: rgba 1/0, 1/0, 1/0, 0/0
(1bit)
(!!!) *** WARNING [unknown format] *** [fbdev.c:1766 in
dfb_fbdev_set_mode()]
(!!!) *** ONCE [unsupported destination format] *** [generic.c:6971 in
gAcquire()]
Some code from my fb driver:
static struct fb_var_screeninfo lm6800fb_var __initdata = {
.xres = 256,
.yres = 64,
.xres_virtual = 256,
.yres_virtual = 64,
.bits_per_pixel = 1,
.red = { 0, 1, 0 },
.green = { 0, 1, 0 },
.blue = { 0, 1, 0 },
.left_margin = 0,
.right_margin = 0,
.upper_margin = 0,
.lower_margin = 0,
.vmode = FB_VMODE_NONINTERLACED,
};
static struct fb_fix_screeninfo lm6800fb_fix __initdata = {
.id = "LM6800 FB",
.smem_len = 2048,
.type = FB_TYPE_PACKED_PIXELS,
.visual = FB_VISUAL_MONO10,
.xpanstep = 0,
.ypanstep = 0,
.ywrapstep = 0,
.line_length = 32,
.accel = FB_ACCEL_NONE,
};
static struct fb_ops lm6800fb_ops = {
.fb_read = fb_sys_read,
.fb_write = fb_sys_write,
.fb_fillrect = sys_fillrect,
.fb_copyarea = sys_copyarea,
.fb_imageblit = sys_imageblit,
.fb_mmap = lm6800fb_mmap,
};
Hope, someone can help me.
TIA
O.Zander
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users