Tool/software: Linux
Hello:
I made my board DRA756 with 2GB sdram.
emif1: 2 x 41K256M16TW = 1GB
emif2: 2 x 41K256M16TW = 1GB
test 1: ERROR for ./memsize 2048
const struct dmm_lisa_map_regs lisa_map_2G_x_2_x_2_2G_x_2_x_2 = {
.dmm_lisa_map_0 = 0x00000000,
.dmm_lisa_map_1 = 0xC0600220,
.dmm_lisa_map_2 = 0x80640300,
.dmm_lisa_map_3 = 0xFF020100,
.is_ma_present = 0x1
};
test 2: ERROR for ./memsize 2048
const struct dmm_lisa_map_regs lisa_map_2G_x_2_x_2_2G_x_2_x_2 = {
.dmm_lisa_map_0 = 0x00000000,
.dmm_lisa_map_1 = 0,
.dmm_lisa_map_2 = 0,
.dmm_lisa_map_3 = 0x80740300,
.is_ma_present = 0x1
};
test 3: OK[ERROR] for ./memsize 2048 [A few times OK, not All times ok]
const struct dmm_lisa_map_regs lisa_map_2G_x_2_x_2_2G_x_2_x_2 = {
.dmm_lisa_map_0 = 0x00000000,
.dmm_lisa_map_1 = 0xC0600200,
.dmm_lisa_map_2 = 0x80600100,
.dmm_lisa_map_3 = 0xFF020100,
.is_ma_present = 0x1
};
But I need emif1 emif2 interleaved, how can I config this.
thanks.