public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: himba <himba@siol.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] LCD on pxa255
Date: Sun, 13 Jun 2004 23:58:12 +0200	[thread overview]
Message-ID: <40CCCDF4.2090002@siol.net> (raw)

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

             reply	other threads:[~2004-06-13 21:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-13 21:58 himba [this message]
2004-06-13 22:41 ` [U-Boot-Users] LCD on pxa255 Wolfgang Denk
     [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
     [not found] <20040614132058.F3E44C109F@atlas.denx.de>
2004-06-14 14:55 ` himba
     [not found] <20040614194917.D90B4C13D3@atlas.denx.de>
2004-06-15 19:35 ` himba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40CCCDF4.2090002@siol.net \
    --to=himba@siol.net \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox