SPL Load Over JTAG DDR Initialization Failing

charles charles.davies at whitetree.xyz
Mon Oct 5 01:55:50 CEST 2020


Hi,

I have a Variscite iMX8MQ NXP based board which I am trying to load 
u-boot into RAM and then run it via JTAG.

I start by loading the DDR training binaries into SRAM along with SPL. I 
then execute SPL which runs without issue until the spl_dram_init 
function. During this function I can see that the DDR training is 
successful however the last part of this function tries to save the dram 
timing configuration to what should be initialized memory. However, the 
memory is not initialized and this causes the processor to error out and 
reset.

Is the goal of loading u-boot into RAM feasible via this method and am I 
going about this process correctly?

I am hoping that I have missed something obvious but dont have too much 
experience with u-boot so would appreciate any pointers that could be given.

Many Thanks,

Charlie



More information about the U-Boot mailing list