[U-Boot] [PATCH 10/10][v2] board/t104xrdb: Add support of NAND, SD, SPI boot for T104xRDB
Rommel G Custodio
sessyargc+u-boot at gmail.com
Fri Apr 11 06:03:24 CEST 2014
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
More information about the U-Boot
mailing list