Hi,
I am using Linux on logicPd 5475 eval board. In linux BSP,
the PCI window
register is set to 0xd0000000 with size 0x8000000; which is
about 128meg. I
wanted to open up the PCI window to 256M+ . How do I know
all the memory map
of all devices? I dont want to overlap with other devices.
I have tried two things.
1. Move the PCI windows base to 0xc0000000. (My kernel
crashes during PCI
initialization .
2. I changed the window size ..
Why would the kernel crash when I move the PCI window base.
Even if I choose
0xb0000000 it crashes. This is as if the system would not
work if I have PCI
windows at 0xd0000000 .
My new code ./arch/m68k/coldfire/pci.c . This doesnt seem to
work either.
#define HOST_MEM_BASE 0xD0000000 /* ColdFire Memory
window base */
#define PCI_MEM_BASE 0xD0000000 /* PCI Memory window
base */
#define PCI_MEM_SIZE 0x0f000000 /* Memory window size
(128M) */
#define HOST_IO_BASE 0xDf000000 /* ColdFire I/O window
base */
#define PCI_IO_BASE_ADDR 0x00000000 /* PCI I/O window
base */
#define PCI_IO_SIZE 0x00010000 /* I/O window size (64K)
*/
#define HOST_CFG_BASE 0xDf000000 /* ColdFire config
window base */
#define PCI_DMA_BASE 0xC0000000 /* PCI-DMA window base
*/
I really need help. What I am doing wrong. This should be
very simple.
Thanks
Cold_newbie
--
View this message in context: http://www.nabble.com/PCI-memory-map-for-547
5-t1378414.html#a3701205
Sent from the Coldfire forum at Nabble.com.
------------------------------------------------------------
--------
To Subscribe send a message to: ColdFire-On Lists.Wildrice.com
To Unsubscribe send a message to: ColdFire-Off Lists.Wildrice.com
For further information, visit: <http://www.Wild
Rice.com/ColdFire/>
|