Part Number: AM62L
Hi,
TRM says in chapter "Two Stage Boot Behaviour" that if tiboot3.bin fails to boot from Main address it will boot from the redundant address. This will apply for Stage 1 and Stage2 images.
Stage2 will use redundant address if Stage1 is also booted from redundant address.
According do DTS in the SDK I setup the NAND partitions with tiboot3.bin and tispl.bin at the main and backup locations in NAND flash:
partition@0 {
label = "NAND.tiboot3";
reg = <0x00000000 0x00080000>; /* 512KB */
};
partition@80000 {
label = "NAND.tispl";
reg = <0x80000 0x180000>; /* 1.5M */
};
partition@200000 {
label = "NAND.u-boot";
reg = <0x00200000 0x00200000>; /* 2M */
};
partition@400000 {
label = "NAND.tiboot3.backup"; /* 512KB */
reg = <0x00400000 0x00080000>; /* BootROM looks at 4M */
};
partition@480000 {
label = "NAND.tispl.bin.backup";
reg = <0x00480000 0x180000>; /* 1.5M */
};
Then I setup boot pins (only reduced mode is available on our board) to use EFUSE1 boot mode, right after fuses where set to use GPMC NAND as primary and UART as secondary bootmode.
This works fine with images located on the main adresses in NAND flash.
Then I deleted the tiboot3.bin and tispl.bin in the main areas on NAND flash.
This fails. The tiboot3.bin from backup area seems to start (bl1 prints some messages) but starting the tispl.bin from backup area seems to fail. AFAICS Errata does not mention there is a problem with this setup.
Erasing tiboot3.bin in main area and tispl.bin in backup ares (so keep tispl.bin in the main area/partition intact) also boots. But this differs from described behaviour in the TRM and a backup of tispl.bin makes no sense here.
Question is: What must be setup to boot both, tiboot3.bin and tispl.bin, from the backup areas?
Thanks in advance!
Fabian