[U-Boot-Users] LCD on pxa255

himba himba at siol.net
Sun Jun 13 23:58:12 CEST 2004


Hi,

I'm trying to hook up passive LCD to pxa255, so I defined my LCD type 
and CONFIG_LCD in config and created vidinfo_t struct in 
cpu/pxa/pxafb.c. I compiled and burned it to flash. After reboot I get:
U-Boot 1.0.2 (Jun  8 2004 - 23:06:10)

U-Boot code: A3F00000 -> A3F18530  BSS: -> A3F1BFB4
RAM Configuration:
Bank #0: a0000000 64 MB
Bank #1: a4000000  0 kB
Bank #2: a8000000  0 kB
Bank #3: ac000000  0 kB
Flash: 32 MB
[LCD] Initializing LCD frambuffer at 00000000
palette_mem_size = 0x00000200
Configuring PXA LCD
vid: vl_col=320 hslen=3 lm=2 rm=3
vid: vl_row=240 vslen=1 um=0 bm=0
fbi->dmadesc_fblow = 0x149d0
fbi->dmadesc_fbhigh = 0x149e0
fbi->dmadesc_palette = 0x149f0
fbi->dmadesc_fblow->fdadr = 0x6d657263
fbi->dmadesc_fbhigh->fdadr = 0x6d6d
fbi->dmadesc_palette->fdadr = 0x64646120
fbi->dmadesc_fblow->fsadr = 0x69746e65
fbi->dmadesc_fbhigh->fsadr = 0x2c622e5b
fbi->dmadesc_palette->fsadr = 0x73736572
fbi->dmadesc_fblow->ldcmd = 0x0
fbi->dmadesc_fbhigh->ldcmd = 0x5d6c2e20
fbi->dmadesc_palette->ldcmd = 0x6d202d20
Setting GPIO for 8 bit data
Enabling LCD controller
FDADR0 = 0x64646120
FDADR1 = 0x000149d0
LCCR0 = 0x00301078
LCCR1 = 0x0102093f
LCCR2 = 0x000000ef
LCCR3 = 0x0340ff20
setcolreg: reg  0 @ 00014a00: R=00 G=00 B=00 => 6D65
setcolreg: reg  1 @ 00014a02: R=FF G=00 B=00 => 726F
setcolreg: reg  2 @ 00014a04: R=00 G=FF B=00 => 2079
setcolreg: reg  3 @ 00014a06: R=FF G=FF B=00 => 6F6D
setcolreg: reg  4 @ 00014a08: R=00 G=00 B=FF => 6964
setcolreg: reg  5 @ 00014a0a: R=FF G=00 B=FF => 7966
setcolreg: reg  6 @ 00014a0c: R=00 G=FF B=FF => 202C
setcolreg: reg 14 @ 00014a1c: R=AA G=AA B=AA => 6461
setcolreg: reg 15 @ 00014a1e: R=FF G=FF B=FF => 7264
[LCD] Test Pattern: 320 x 240 [107 x 120]
[LCD] Drawing the logo...

-- hang ?! --
No logo appears and no test pattern is visible (LCD is powered on and 
blanked/or with some horizontal lines drawn).

Has anybody successfuly connected passive LCD to  pxa ?

regards ,himba




More information about the U-Boot mailing list