Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Questions regarding u-boot memory mapping

$
0
0

Hi,

Looking at include\configs\ti8168_evm.h, the memory mapping for the DDR3 is as follows:

#define CONFIG_NR_DRAM_BANKS        2        /* we have 2 banks of DRAM */
#define PHYS_DRAM_1            0x80000000    /* DRAM Bank #1 */
#define PHYS_DRAM_1_SIZE        0x40000000    /* 1 GB */
#define PHYS_DRAM_2            0xC0000000    /* DRAM Bank #2 */
#define PHYS_DRAM_2_SIZE        0x40000000    /* 1 GB */

But in reality, memory for DDR0 bank goes from 0x80000000 to 0x9FFFFFFF, and DDR1 bank goes from 0xA0000000-0xBFFFFFFF.

The EVM has only 1Gbytes of DDR3.

Is it a mistake in the u-boot, or just a definition of the theoretical DDR3 memory mapping?

Does anyone know why the u-boot is defining the memory map that way?

Thank you for your help.

KB


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>