[Skyeye-developer] LCD simulation for device at91rm9200 device.

Anthony Lee don.anthony.lee+program at gmail.com
Fri Apr 13 14:32:38 CST 2007


Hi Arnab,

> As i understood the three files for the lcd functions are
> skyeye_lcd.c
> skyeye_lcd_gtk.c
> dev_lcd_at91rm92.c (i created )

It's recommended to add new LCD controller simulation like below:
(for example, Epson S1D13506)

1. create your implementation:
(lookup-table dependable simulation according to "dev_lcd_s3c44b0x.c",
true-color simulation according to "dev_lcd_s3c2410.c")

device/lcd/dev_lcd_s1d13506.c
device/lcd/dev_lcd_s1d13506.h

2. add "lcd_*_init" function to "lcd_int" in "device/lcd/skyeye_lcd.c" like:
static void
lcd_init (struct device_module_set *mod_set)
{
	...
	...
	lcd_s1d13506_init (mod_set);
}

3. modify "Makefile" like:
SIM_LCD_OBJS =  ... binary/dev_lcd_s1d13506.o

4. modify your skyeye.conf like:
....
lcd: type=s1d13506


BTW, I'd clean-up the lcd device framework,
maybe you should update your source of SkyEye from SVN.


> But i need the changes on the linux kernel device side. may be if u can send
> me the patch for linux kernel for s3c2410 device , i can map it for
> at91rm9200 device.

I don't know how to do that. :)


2007/4/13, Arnab Som <arnabsom at gmail.com>:
> Hi Anthony,
>                     yes i am trying to write a seperate controller for the
> at91rm9200 and the init function can be added in the lcd_init()
> function of skyeye_lcd.c file.
> As i understood the three files for the lcd functions are
> skyeye_lcd.c
> skyeye_lcd_gtk.c
> dev_lcd_at91rm92.c (i created )
>
> The at91rm9200  controller i crreated on the likes of s3c2410 controller.
> But i need the changes on the linux kernel device side. may be if u can send
> me the patch for linux kernel for s3c2410 device , i can map it for
> at91rm9200 device.
> Regards
> Arnab
>
>
> On 4/13/07, Anthony Lee <don.anthony.lee+program at gmail.com>
> wrote:
> > Hi Arnab,
> >
> > AT91RM9200 has no LCD controller.
> >
> > By the way, you can implement it via extended LCD
> > controller (such as S1D13506, etc.) according to existence
> > implemented codes of SkyEye.
> >
> >
> > - Thanks.
> > - Anthony Lee
> >
> > 2007/4/12, Arnab Som <arnabsom at gmail.com >:
> > > Hi,
> > >       I don't who is handling the at91rm9200 device simulation in skyeye
> ,
> > > but i am trying to activate the lcd in the device and have plans to
> write a
> > > small keypad driver as well.
> > > I am new to skyeye so need some help.
> > > Can anybody please send me the necessary pathches for LCD activation and
> > > also the patches put for the at91rm9200 device in testsuite2.
> > > I will try to use the same patch in 2.6.20.4 kernel and do the necessary
> > > changes.
> > > Help is appreciated
> > > Regards
> > > Arnab
> > >
> > >
> > > _______________________________________________
> > > Skyeye-developer mailing list
> > > Skyeye-developer at lists.gro.clinux.org
> > >
> http://lists.gro.clinux.org/cgi-bin/mailman/listinfo/skyeye-developer
> > >
> > >
> >
> > _______________________________________________
> > Skyeye-developer mailing list
> > Skyeye-developer at lists.gro.clinux.org
> >
> http://lists.gro.clinux.org/cgi-bin/mailman/listinfo/skyeye-developer
> >
>
>
> _______________________________________________
> Skyeye-developer mailing list
> Skyeye-developer at lists.gro.clinux.org
> http://lists.gro.clinux.org/cgi-bin/mailman/listinfo/skyeye-developer
>
>



More information about the Skyeye-developer mailing list