public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
[parent not found: <20040614132058.F3E44C109F@atlas.denx.de>]
[parent not found: <20040613224152.F37E1C109F@atlas.denx.de>]
* [U-Boot-Users] LCD on pxa255
@ 2004-06-13 21:58 himba
  2004-06-13 22:41 ` Wolfgang Denk
  0 siblings, 1 reply; 14+ messages in thread
From: himba @ 2004-06-13 21:58 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2004-06-15 19:35 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20040614194917.D90B4C13D3@atlas.denx.de>
2004-06-15 19:35 ` [U-Boot-Users] LCD on pxa255 himba
     [not found] <20040614132058.F3E44C109F@atlas.denx.de>
2004-06-14 14:55 ` himba
     [not found] <20040613224152.F37E1C109F@atlas.denx.de>
2004-06-14  8:31 ` himba
2004-06-14 12:49   ` Matej Kupljen
2004-06-14 15:37     ` himba
2004-06-14 19:49       ` Wolfgang Denk
2004-06-14 13:20   ` Wolfgang Denk
2004-06-14 13:39   ` himba
2004-06-14 14:48     ` Kyle Harris
2004-06-14 20:17     ` Matej Kupljen
2004-06-14 21:40       ` himba
2004-06-15  6:01         ` Matej Kupljen
2004-06-13 21:58 himba
2004-06-13 22:41 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox