> I am using U-boot to configure up the SDRAM and SRAM in our > system before we launch Linux. We have 32 Mb of SDRAM and 2 > MB of SRAM in the system. >
When I was working on an 8260 a while back I had to map PSDRAM at address 0x00000000 and LSDRAM starting at the PSDRAM's end. I found that when I made the PSDRAM smaller than the LSDRAM then the LSDRAM was not mapped properly. This was due to the fact that the start address for the memory bank needed to be a multiple of the bank size. If the LSDRAM was 32Meg then the start address of the bank needed to be on a 32Meg boundary. I am not sure but if you are mapping a 2Meg SRAM at 0x00000000 followed by a 32Meg SDRAM then the SDRAM is not on a 32Meg boundary. This may not be your issue but it may be worth looking in to.