Tool/software: Linux
i port uboot on am43xx_evm to my board,and i can get the serial output,but stopped in the sdram_init() function,
i only get
what's the problem maybe?is the sram_init function is error and nor portable to my board??
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
i port uboot on am43xx_evm to my board,and i can get the serial output,but stopped in the sdram_init() function,
i only get
what's the problem maybe?is the sram_init function is error and nor portable to my board??
i solved this question,the reason is that i forget a modify to board/ti/am34xx/board.c which is below:
void emif_get_ext_phy_ctrl_const_regs(const u32 **regs, u32 *size)
{
//if (board_is_eposevm()) {
// *regs = ext_phy_ctrl_const_base_lpddr2;
// *size = ARRAY_SIZE(ext_phy_ctrl_const_base_lpddr2);
//} else if (board_is_gpevm()) {
*regs = ext_phy_ctrl_const_base_ddr3;
*size = ARRAY_SIZE(ext_phy_ctrl_const_base_ddr3);
//}
return;
}
after comment these then i can get in boot command.