We have a working U-Boot and Linuxsystem based on X-Loader, U-Boot 2011 and Linux 2.6. I'm trying to get the u-boot 2014.01 with spl running (using the current TI SDK).
The U-Boot SPL stucks after printing the version strings (U-Boot SPL 2014.01-00002-ge7b3284-dirty (Jan 24 2014 - 10:05:27) ). I tracked it down to a point in crt0.S -> board_init_f
ENTRY(_main) /* * Set up initial C runtime environment and call board_init_f(0). */ #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_STACK) ldr sp, =(CONFIG_SPL_STACK) #else ldr sp, =(CONFIG_SYS_INIT_SP_ADDR) #endif bic sp, sp, #7 /* 8-byte alignment for ABI compliance */ sub sp, sp, #GD_SIZE /* allocate one GD above SP */ bic sp, sp, #7 /* 8-byte alignment for ABI compliance */ mov r9, sp /* GD is above SP */ mov r0, #0 bl cairo_output bl board_init_f bl cairo_output #if ! defined(CONFIG_SPL_BUILD)
'Caus of a missing debuger, i had to add a few debug lines (only "puts("--");) for debugging with the serial port The first line in "board_init_f is: puts("\n>>entering board-init_f");
The core never jumps into board_init_f and I have no idea why. Any hints?
Regards,
Michael