We successfully compiled uBoot after adding the SPL related functions to our custom board file, which is copied from the sabresd. Using the mfg_tool everything is written to NAND, but when booting, there is no console. Same UART iomux settings work if the board boots directly to uboot.imx, but no console output when booting to SPL.
Below is the init for SPL. How do we debug this? Is there a tutorial to follow to add SPL properly for i.MX6SX and write all to NAND? Does uBoot from git.freescale.com support SPL building for NAND?
void board_init_f(ulong dummy)
{
arch_cpu_init();
board_early_init_f();
timer_init();
preloader_console_init();
puts("SPL\n");
memset(__bss_start, 0, __bss_end - __bss_start);
board_init_r(NULL, 0);
}