Discussion:
[directfb-dev] DirectFB on SBC embeddedarm TS7300
Alvaro Aguirre
2006-10-03 18:57:11 UTC
Permalink
Hi:
I made a hack (attached) to DirectFB-1.0.0-rc1/systems/fbdev/fbdev.c to get
TS7300 (http://www.embeddedarm.com/epc/ts7300-spec-h.htm) working with
DirectFB.
This SBC has the following framebuffer info (fbset -i):

mode "640x480-73"
#D: 31.500 MHz, H: 37.861 kHz, V: 72.809 Hz
geometry 640 480 640 480 16
timings 31746 128 24 28 9 40 3
rgba 5/11,6/6,5/0,0/0
endmode

Frame buffer device information:
Name:
Address: 0x72200000
Size: 1048576
Type: PACKED PIXELS
Visual: TRUECOLOR
XPanStep: 0
YPanStep: 0
YWrapStep: 0
LineLenght: 1280
Accelerator: Atari Blitter

The patch is only a hack to make ts7300 working, i don't really know the
implications of the hack... please i need some feedback on this.
I also left the file in http://www.lino.cl/gpl/directfb/

Cheers,
Alvaro
Ville Syrjälä
2006-10-03 19:06:57 UTC
Permalink
Post by Alvaro Aguirre
I made a hack (attached) to DirectFB-1.0.0-rc1/systems/fbdev/fbdev.c to get
TS7300 (http://www.embeddedarm.com/epc/ts7300-spec-h.htm) working with
DirectFB.
mode "640x480-73"
#D: 31.500 MHz, H: 37.861 kHz, V: 72.809 Hz
geometry 640 480 640 480 16
timings 31746 128 24 28 9 40 3
rgba 5/11,6/6,5/0,0/0
endmode
It's a bug in the framebuffer driver. Clearly green can't be 6/6 because
it would overlap with red.
--
Ville Syrjälä
***@sci.fi
http://www.sci.fi/~syrjala/
Alvaro Aguirre
2006-10-03 19:32:47 UTC
Permalink
Ok, now i understand... i'll contact the developers and post further news.
SO THANK YOU!
Post by Ville Syrjälä
Post by Alvaro Aguirre
I made a hack (attached) to DirectFB-1.0.0-rc1/systems/fbdev/fbdev.c to
get
Post by Alvaro Aguirre
TS7300 (http://www.embeddedarm.com/epc/ts7300-spec-h.htm) working with
DirectFB.
mode "640x480-73"
#D: 31.500 MHz, H: 37.861 kHz, V: 72.809 Hz
geometry 640 480 640 480 16
timings 31746 128 24 28 9 40 3
rgba 5/11,6/6,5/0,0/0
endmode
It's a bug in the framebuffer driver. Clearly green can't be 6/6 because
it would overlap with red.
--
Ville Syrjälä
http://www.sci.fi/~syrjala/
Alvaro Aguirre
2006-10-20 23:57:52 UTC
Permalink
The framebuffer module of the TS7300 has a bug which reports a bad value for
the green offset of the FB and the patch I send for the DirectFB only bypass
it. The real problem is the TS7300 framebuffer module on the ts11 kernel
(and above?). Check
http://tech.groups.yahoo.com/group/ts-7000/message/4007at the URL
given there are the procedures to fix the framebuffer driver of
the ts11.

Cheers,
Alvaro
Post by Alvaro Aguirre
Ok, now i understand... i'll contact the developers and post further news.
SO THANK YOU!
Post by Alvaro Aguirre
Post by Alvaro Aguirre
I made a hack (attached) to DirectFB-1.0.0-rc1/systems/fbdev/fbdev.c
to get
Post by Alvaro Aguirre
TS7300 (http://www.embeddedarm.com/epc/ts7300-spec-h.htm ) working
with
Post by Alvaro Aguirre
DirectFB.
mode "640x480-73"
#D: 31.500 MHz, H: 37.861 kHz, V: 72.809 Hz
geometry 640 480 640 480 16
timings 31746 128 24 28 9 40 3
rgba 5/11,6/6,5/0,0/0
endmode
It's a bug in the framebuffer driver. Clearly green can't be 6/6 because
it would overlap with red.
--
Ville Syrjälä
http://www.sci.fi/~syrjala/ <http://www.sci.fi/%7Esyrjala/>
Alvaro Aguirre
2006-10-21 00:20:37 UTC
Permalink
The framebuffer module of the TS7300 has a bug which reports a bad value for
the green offset of the FB and the patch I send for the DirectFB only bypass
it. The real problem is the TS7300 framebuffer module on the ts11 kernel
(and above?). Check
http://tech.groups.yahoo.com/group/ts-7000/message/4007at the URL
given there are the procedures to fix the framebuffer driver of
the ts11.

Cheers,
Alvaro
Post by Alvaro Aguirre
Ok, now i understand... i'll contact the developers and post further news.
SO THANK YOU!
Post by Alvaro Aguirre
Post by Alvaro Aguirre
I made a hack (attached) to DirectFB-1.0.0-rc1/systems/fbdev/fbdev.c
to get
Post by Alvaro Aguirre
TS7300 (http://www.embeddedarm.com/epc/ts7300-spec-h.htm ) working
with
Post by Alvaro Aguirre
DirectFB.
mode "640x480-73"
#D: 31.500 MHz, H: 37.861 kHz, V: 72.809 Hz
geometry 640 480 640 480 16
timings 31746 128 24 28 9 40 3
rgba 5/11,6/6,5/0,0/0
endmode
It's a bug in the framebuffer driver. Clearly green can't be 6/6 because
it would overlap with red.
--
Ville Syrjälä
http://www.sci.fi/~syrjala/ <http://www.sci.fi/%7Esyrjala/>
Alvaro Aguirre
2006-10-03 19:32:51 UTC
Permalink
Ok, now i understand... i'll contact the developers and post further news.
SO THANK YOU!
Post by Ville Syrjälä
Post by Alvaro Aguirre
I made a hack (attached) to DirectFB-1.0.0-rc1/systems/fbdev/fbdev.c to
get
Post by Alvaro Aguirre
TS7300 (http://www.embeddedarm.com/epc/ts7300-spec-h.htm) working with
DirectFB.
mode "640x480-73"
#D: 31.500 MHz, H: 37.861 kHz, V: 72.809 Hz
geometry 640 480 640 480 16
timings 31746 128 24 28 9 40 3
rgba 5/11,6/6,5/0,0/0
endmode
It's a bug in the framebuffer driver. Clearly green can't be 6/6 because
it would overlap with red.
--
Ville Syrjälä
http://www.sci.fi/~syrjala/
Alvaro Aguirre
2006-10-03 18:57:13 UTC
Permalink
Hi:
I made a hack (attached) to DirectFB-1.0.0-rc1/systems/fbdev/fbdev.c to get
TS7300 (http://www.embeddedarm.com/epc/ts7300-spec-h.htm) working with
DirectFB.
This SBC has the following framebuffer info (fbset -i):

mode "640x480-73"
#D: 31.500 MHz, H: 37.861 kHz, V: 72.809 Hz
geometry 640 480 640 480 16
timings 31746 128 24 28 9 40 3
rgba 5/11,6/6,5/0,0/0
endmode

Frame buffer device information:
Name:
Address: 0x72200000
Size: 1048576
Type: PACKED PIXELS
Visual: TRUECOLOR
XPanStep: 0
YPanStep: 0
YWrapStep: 0
LineLenght: 1280
Accelerator: Atari Blitter

The patch is only a hack to make ts7300 working, i don't really know the
implications of the hack... please i need some feedback on this.
I also left the file in http://www.lino.cl/gpl/directfb/

Cheers,
Alvaro
Loading...