AnsweredAssumed Answered

PCI controller configuration in mpc8309

Question asked by Muazzam Husain on Apr 5, 2017
Latest reply on May 17, 2017 by alexander.yakovlev

Hi,

     I am trying to access PCI controller in mpc8309 twr board. So According to docs given by freescale i have enabled the kernel configuration for PCI controller.After that if i check status of PCI through lspci command,then

root@mpc8309twr root]# lspci -vv
00:00.0 Class 0b20: 1957:c011 (rev 11)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 128, cache line size 08
Interrupt: pin A routed to IRQ 0
Region 2: Memory at <unassigned> (64-bit, prefetchable)
Region 4: Memory at <unassigned> (64-bit, non-prefetchable)
Capabilities: [48] #06 [0000]

I dont understand why Memory at < unassigned > shows.

do we have to give address of PCI in 8309_init.cfg file .

it contains.

# PCI Local Access Windows
#################################
# WINDOW 0
#writemem.l 0xe0000060 0x80000000 # PCILAWBAR0 - begining at 0x80000000
#writemem.l 0xe0000064 0x8000001c # PCILAWAR0 - enable, size = 512MB

this is not enabled .... so do we have to enable it.

 

thanks.

Outcomes