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.

AM1808的mDDR设置问题

在UBL中有mDDR的具体设置

而在uboot中的cpu/arm926ejs/davinci的lowlevel_init.S中也有DDR的设置

想请问下在已经有ubl设置过DDR之后,uboot的相关ddr设置不就是重复了吗?而且ubl启动之后将uboot的代码复制到ddr中,如果uboot自身运行代码又重新设置一次ddr,那不会出现错误吗?

谢谢!

 

  • 因为在cpu/arm926ejs/davinci的Makefile中有

    ifndef CONFIG_SKIP_LOWLEVEL_INIT

    SOBJS += lowlevel_init.o

    endif

    而在include/configs/da850evm.h中有定义

    #define CONFIG_SKIP_LOWLEVEL_INIT

    所以cpu/arm926ejs/davinci/lowlevel_init.S就没有编译进去,因而与UBL中的DDR设置不冲突