I'm not sure how to config 4G DDR3L(MT41K512M16VRN-107 IT:P) on AM5728, but the result always how 2G.
We are using the micron DDR3L(MT41K512M16VRN-107 IT:P), 1024MB * 4 = 4GB
DDR1(EMIF-1) lines are connected to the two DDR chip of each 1024MB, total-2GB.
DDR2(EMIF-2) lines are connected to other two DDR chip of each 1024MB, total-2GB.
(1)LISA configuration done as given below in board.c file(../board/ti/beagle_x15/board.c):
static const struct dmm_lisa_map_regs beagle_x15_lisa_regs = {
.dmm_lisa_map_0 = 0x0,
.dmm_lisa_map_1 = 0x0,
.dmm_lisa_map_2 = 0x80740300,
.dmm_lisa_map_3 = 0xFF020100,
.is_ma_present = 0x1
};
(2)void dram_init_banksize(void)
{
u64 ram_size;
ram_size = board_ti_get_emif1_size() + board_ti_get_emif2_size();
ram_size = 0x100000000;
gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE;
gd->bd->bi_dram[0].size = get_effective_memsize();
printf("xmtech am gd->bd->bi_dram[0].size:%lld\n",gd->bd->bi_dram[0].size);
if (ram_size > CONFIG_MAX_MEM_MAPPED) {
gd->bd->bi_dram[1].start = 0x200000000;
gd->bd->bi_dram[1].size = 0x100000000 – CONFIG_MAX_MEM_MAPPED;
printf("xmtech am_2\n");
}
}
(3)am57xx_evm_defconfig:
CONFIG_PHYS_64BIT=y
When I done above 3 steps, the boot can't work. But My board can work normally with below lisa map for 2G DDR.
static const struct dmm_lisa_map_regs beagle_x15_lisa_regs = {
.dmm_lisa_map_3 = 0x80740300,
.is_ma_present = 0x1
};
Can you have any suggestions?
Thanks
Ken7875.4g_ddr.rar
Shine:
看到e2e工程师已经回复您了,问题也解决了。请问还有其他问题么? e2e.ti.com/…/963971
,
user5947671:
是的,已解决。谢谢!
,
user6534874:
您好!我想问一下am57xx_evm_defconfig这个文件在哪里可以获取,我拉取的android.googlesource.com/…/omap -b android-beagle-x15-4.19 这份源码里面没有找到这个配置文件。