Tnx Elvis, for now I just need to see that the LCD works J
After that I will make it pretty.
I’m compiling the linux-omap29 image now, I’ll do the process, and hope that when compiling the Android linux kernel it will go through, I have deleted the tmp folder and ding a clean rebuild now, will see J
From: Elvis Dowson
Sent: Thursday, May 07, 2009 4:05 PM
Subject: Re: [Gumstix-users] Overo & LCD
Sharp LCD Panel Definition
If you go to /tmp/work/overo-angstrom-linux-gnueabi/linux-omap3-2.6.29-r33/git
you will find the main linux kernel files.
Then navigate to
and you will find a file called panel-sharp-ls037v7dw01.c
Line 68 of this file already defines something similar to what you have mentioned below, with the exception of the .pixel_clock value, .hfp, .hbp.
On May 7, 2009, at 4:39 PM, Demetris Zavorotnichenko wrote:
If I would want the lcd to be:
/* 480 x 640 @ 60 Hz Sharp LCD Config */
.x_res = 480,
.y_res = 640,
.hfp = 89,
.hsw = 2,
.hbp = 79,
.vfp = 1,
.vsw = 1,
.vbp = 1,
.pixel_clock = 20000,
After this, you will need to create a new board definition for your device.
Go to arch->arm->mach-omap2
where you will find the various board definition file, e.g board-overo.c
on line 566 of this file you will find a reference to the lcd43. (I forgot where it is defined for the moment.)
Then if you go to arch/plat-omap/include/mach
you will find the board-overo.h file where you can define constants for stuff like GPIO pins etc.
Perhaps for the moment, you can get away with modifying board-overo.c, but you really need to create a new board-gizmo-flow.c and board-gizmo-flow.h file and modify overo-oe to support this target device, later on.