All of lore.kernel.org
 help / color / mirror / Atom feed
From: powerpc440 <powerpc440@googlemail.com>
To: linuxppc-embedded@ozlabs.org
Subject: Memory and register adresses on PCI graphic chip.
Date: Wed, 11 Jan 2006 14:43:51 +0100	[thread overview]
Message-ID: <43C50B97.3060504@googlemail.com> (raw)

Hi,

I have custom board based on Ocotea - PPC440GX with Graphic chip (Radeon 
M6) on it. I need to initialise the registers and the memory of the chip 
upon booting. Now I comunicate with the board thru serial interface, and 
u-boot 1.1.2 + linux 2.6.12 both working wery well up to the video.
The PCI memory is mapped on 0x80000000 in u-boot configuration. How can 
I understand where are the memory and register base adresses of the 
graphic chip?

This is part from u-boot splash screen:

Board: HIMA 440GX Board
        VCO: 1000 MHz
        CPU: 500 MHz
        PLB: 166 MHz
        OPB: 83 MHz
        EPB: 83 MHz
I2C:   ready
DRAM:  512 MB
FLASH: portwidth=4 chipwidth=2
found 1 erase regions
64 MB
*** Warning - bad CRC, using default environment

PCI:   Bus Dev VenId DevId Class Int
        00  01  1131  1561  0c03  00
        00  01  1131  1561  0c03  00
        00  01  1131  1562  0c03  00
        00  02  1002  4c59  0300  ff                   < --------------  
The Radeon M6 chip
        00  03  1013  6005  0401  00
        00  04  1095  3114  0180  00
In:    serial
Out:   serial
Err:   serial
Net:   pfc1: 4
Konfiguration 4
---------------------------------------------
This information i can obtain from the /proc after linux loading: :

#lspci -vv
............................
00:02.0 Class 0300: 1002:4c59
        Subsystem: 1002:4c59
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- 
ParErr- Stepping+ SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 128 (2000ns min), cache line size 08
        Interrupt: pin A routed to IRQ 25
        Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
        Region 1: I/O ports at ff00 [size=256]
        Region 2: Memory at efff0000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at <unassigned> [disabled] [size=128K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-


Thanks a lot!
Zhivko

                 reply	other threads:[~2006-01-11 13:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=43C50B97.3060504@googlemail.com \
    --to=powerpc440@googlemail.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.