<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=361081715-29032006>
<DIV><FONT face=Arial size=2><SPAN
class=361081715-29032006>Hello,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=361081715-29032006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=361081715-29032006>I am working on
getting my target LCD up with U-Boot. My board is OMAP2430 and the display
controller is that </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=361081715-29032006>of OMAP2430.
</SPAN></FONT><FONT face=Arial size=2><SPAN class=361081715-29032006>The LCD is
an 18 bit QVGA TFT. Here is what is changed in U-Boot:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=361081715-29032006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=361081715-29032006>1) I added a new
file called omap2430fb.c, which is my Display Driver, and put with my board
specific files.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=361081715-29032006> I took pxafb.c
as reference.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=361081715-29032006>2) I declared my
panel structure in lcd.h file</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=361081715-29032006>2) I defined
CONFIG_LCD in my board config file.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=361081715-29032006>3) I wanted to use
the cmd_bmp command so I added <FONT size=2>CFG_CMD_BMP to my board config file
as well.</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=361081715-29032006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=361081715-29032006>After I built my
changes with U-Boot and flashed the image, I turn on the board and get the
following message:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=361081715-29032006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><SPAN class=361081715-29032006>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><FONT size=2><FONT
face="Courier New"><SPAN lang=NL style="mso-ansi-language: NL">U-Boot 1.1.3 (Mar
28 2006 - 17:48:08)<BR><SPAN
style="mso-spacerun: yes">
</SPAN><SPAN
style="mso-spacerun: yes"> </SPAN><BR>U-Boot
code: 80E80000 -> 80EA1450<SPAN style="mso-spacerun: yes"> </SPAN>BSS:
-> 80ECC518<BR></SPAN>OMAP2430C-GP revision 0, PRCM #5A<BR>TI 2430SDP Base
Board + 0.1 Version + mDDR<BR>RAM Configuration:<BR>Bank #0: 80000000 128
MB<BR>Bank #1: 88000000<SPAN style="mso-spacerun: yes"> </SPAN>0
kB<BR>Flash: 64 MB<BR>NAND:64 MB<BR>*** Warning - bad CRC, using default
environment</FONT><BR></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN
class=361081715-29032006><FONT size=2>This message is coming from
common/env_common.c file. Can anyone help me identify the mistake?
</FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN
class=361081715-29032006><FONT size=2>Is that all I have to do to enable my
target LCD within U-Boot? My goal </FONT></SPAN><SPAN
class=361081715-29032006><FONT size=2>is to be able to write images on the
</FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN
class=361081715-29032006><FONT size=2>LCD verify if it is OK.</FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN
class=361081715-29032006><FONT size=2></FONT></SPAN> </P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN
class=361081715-29032006><FONT size=2>Thanks,</FONT></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt"><SPAN
class=361081715-29032006><FONT
size=2>Jigisha</FONT></SPAN></P></SPAN></FONT></DIV></SPAN></DIV></BODY></HTML>