Connection and Setup of Panasonic EDMGRB8KJF LCD
From GumstixDocsWiki
c4toulitatan The electrical Connections.
LCD 5,15,17,19 : GND LCD 10,11,13,18 : 3.3V (from separate regulator) LCD Gumstix ------------ 1,D7 - LDD7 2,D6 - LDD6 3,D5 - LDD5 4,D4 - LDD4 6,D3 - LDD3 7,D2 - LDD2 8,D1 - LDD1 9,D0 - LDD0 12,CP - PCLK 14,LOAD-LCLK 16,DISP-GPIO 16 (PWM0) 20,FRM -FCLK
Here is the bootargs setup i have.
console=tty0 console=ttyS0,115200n8 root=1f01 rootfstype=jffs2 video=pxafb:mode:640x480-16, passive,color,hsynclen:3,right:5,left:10,vsynclen:39,pixclock:100000,hsync:1,vsync:1,pixclockpol:0
After all this just run the lines on Gumstix.
pxaregs GPCR0_16 1 pxaregs GPDR0_16 1 pxaregs GPSR0_16 1
If you don't want to enter any "pxaregs" lines at all in order to enable the LCD follow the procedure below to enable these pins from U-Boot.
First of all turn on Gumstix and as soo as the U-boot count down begins press any key to enter into the command prompt of U-Boot.
Type the following
setenv enable_lcd "mw 40e00024 00010000; mw 40e0000c c183b9f8; mw 40e00018 00010000"
After these lines you will have to envoke the "enable_lcd" from "bootcmd", so type the following
setenv linux "fsload a2000000 boot/uImage;bootm a2000000"
Which will define "linux" as the booting variable.
Then as the final step type
setenv bootcmd "run enable_lcd; run linux"
And save the environment by entering
saveenv
Now you should have the LCD going ON even before Linux starts to Boot.
I hope that this helps someone. (the info was given to me by Jean-Francois Richard

