I bought some SOM modules with AM335x on board (PH8700). The SOM is completely blunk (both eMMC and EEPROM). So I have to build u-boot spl first and load it via XMODEM. The problem is that u-boot spl hangs between board_init_f() and board_init_r(), it seems that the bad thing happens while relocating the stack from SRAM to DRAM. Specificaly when I comment the following code in ctr0.S:
# ifdef CONFIG_SPL_BUILD
# /* Use a DRAM stack for the rest of SPL, if requested */
bl spl_relocate_stack_gd
cmp r0, #0
movne sp, r0
movne r9, r0
# endif
u-boot SPL goes further. Does it mean that I have some problems with DDDR3L? Do I have to retune it in u-boot? Why is that? The board doesn't seem to be changed, and the previous versions worked fine... P. S. I've tried different versions of u-boot (mainline, TI, some custom versions for PH8700 module, TI versions, etc.). The result is always the same - SPL freezes between board_init_f() and board_init_r(). How can I resolve that issue?