Dear Prabhakar Kushwaha, Prabhakar Kushwaha <prabhakar <at> freescale.com> writes:
> > Add support of 2 stage NAND, SD, SPI boot loader using SPL framework. > here, PBL initialise the internal SRAM and copy SPL(160KB). This further > initialise DDR using SPD and environment and copy u-boot(768 KB) from NAND to DDR. > Finally SPL transer control to u-boot. > > Initialise/create followings required for SPL framework > - Add spl.c which defines board_init_f, board_init_r > - update tlb and ddr accordingly > > Signed-off-by: Prabhakar Kushwaha <prabhakar <at> freescale.com> I've copied these modifications and changed them for T1040QDS (it's the only board I have). SPL boot does not proceed. SPL stops in spi_xfer() during spi_spl_load_image(). The Data TLB error seems to be caused by an stbx but the register operands contain zeroes. SPL hangs with a Data TLB error at this time CPC-SRAM is also corrupted. There are 4-bytes mangled in the [U-boot SPL] area. Original: 0000000: 27051956 552d426f 6f742032 3031332e '..VU-Boot 2013. After: 0000000: 27051956 fffd9584 6f742032 3031332e '..V....ot 2013. fffd9584 is the address of trap_init(). These errors also occurs in u-boot-fsl-qoriq tree (2014.04). Tried different compilers from ELDK 5.3, ELDK 5.4 to FSL 1.2. Any ideas on the cause of these errors? All the best, Rommel _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

