why only this address in pci

View: New views
2 Messages — Rating Filter:   Alert me  

why only this address in pci

by sumanth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

             We are porting ecos for ixp425 evalution board, we are using the grg
             for the purpose ,
              now we are able to go up to plf_hardware_init

              we are strucking up at cyg_hal_plf_pci_init
 
in pci  it is using this address  are there any specific reasons

*IXP425_PCI_PCIMEMBASE = 0x48494A4B
*IXP425_PCI_AHBMEMBASE = 0x00010203

i am strucking at

HAL_PCI_CFG_WRITE_UINT32(0, 0, CYG_PCI_CFG_BAR_1, 0x01000000);

can help me what is the reason or any pointers at this stage of porting



thanks & regards,
Sumanth


Re: why only this address in pci

by David Vrabel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

sumanth wrote:

> Hi all,
>
>              We are porting ecos for ixp425 evalution board, we are using
> the grg
>              for the purpose ,
>               now we are able to go up to plf_hardware_init
>
>               we are strucking up at cyg_hal_plf_pci_init
>  
> in pci  it is using this address  are there any specific reasons
>
> *IXP425_PCI_PCIMEMBASE = 0x48494A4B
> *IXP425_PCI_AHBMEMBASE = 0x00010203

This values ensure that the AHB addresses are the same as the PCI bus
addresses.  You don't want to change them.

David Vrabel
--
David Vrabel, Design Engineer

Arcom, Clifton Road           Tel: +44 (0)1223 411200 ext. 3233
Cambridge CB1 7EA, UK         Web: http://www.arcom.com/
LightInTheBox - Buy quality products at wholesale price!