AnsweredAssumed Answered

T1024 RCW when booting from SPI

Question asked by Thomas Schäfer on Jun 14, 2016
Latest reply on Jul 29, 2016 by ufedor

Hi all,


we are facing issues when trying to bring up our T1024 based custom board. T1024 CPU shall boot from SPI NOR flash, our bootloader is based on Denx U-Boot 2016.05


The problem is that we are not able to boot when setting the Boot Configuration bits (192-223) of the RCW as described in the HRM. We configured strapping cfg_rcw_src[0:8] to boot from SPI: 0b0_0100_0101 (SPI 24bit adressing).


We then setup the RCW in the bootloader as follows:


0810000c 00000000 00000000 00000000

23000003 0000011a 58045000 21002000

00000000 00000000 00000000 00020000

00000014 84265a00 00000000 0000000


The Boot Configuration Bits here are 0x58045000 which means that PBI_SRC is set to SPI 24bit and BOOT_LOC is set to Memory Complex1 as bootloader will start from SRAM when PBI have been finished.

However, this configuration does not boot on our system. But when setting Boot Configuration Bits to 0xec027000, our board starts booting. According to the manual, this configuration is invalid, as PBI_SRC is now set to IFC which is different to external strappings. BOOT_LOC bits are also set to IFC, but the board definitely boots from the SPI flash (we don't have any memory device connected to IFC)


I also have a T1024RDB eval system here in our lab. When setting DIP switches to SPI boot, there is the same issue as the Boot Configuration Bits in the RCW of the u-boot port are also set to 0xec027000.


Can anybody explain what happens here?


Best regards,