This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Linux
Hello,
We are ready to support 1G DDR on our board. It need to config emif. Which file we need to change in uboot or kernel? Is there any patch for this issue?
Thanks a lot
Terence
Hi Terence,
do you use VisionSDK Linux? It is configured by default for 1GB.
Also you can look at this application note:
Regards,
Yordan
Hi Yordan,
Yes, we use the visionSDK 03 05. According to your application note, also we know that it should modify the board/ti/dra7xx/evm.c file, but we don't find the configuration of dmm_lisa_map_regs about 1G ddr. We need to use emif0 and emif1, each one map 512M DDR. So we try to add below code in evm.c, is it right?
On the other hand, I don't understand what does the .is_ma_present = 0x1 mean?
Thanks
Terence
===============================================================
static const struct dmm_lisa_map_regs lisa_map_dra7_1024MB = {
.dmm_lisa_map_0 = 0x80500100,
.dmm_lisa_map_1 = 0xC0500200,
.dmm_lisa_map_2 = 0x0,
.dmm_lisa_map_3 = 0x0,
.is_ma_present = 0x1
};
===========================================================
Hi Terence,
Please modify the macro board_ti_get_emif_size defined in board/ti/dra7xx/evm.c in u-boot to return the DDR available on your setup. This will automatically configure the lisa map registers correctly and provide the correct EMIF settings.
Regards
Shravan