This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi, is there any method to have a backup when failed to boot from Boot Partition 1?
Hi,
Thanks for your query, can you please explain your query in a bit more detail. which boot mode are you using , what's your Dev platform, are you using MCU+SDK or Linux
Regards
Anshu
Hi Prashant,
Is TRM means Technical Reference Manual? The figure shows the list of contents, but I didn't find the TRM section 4.4.4, where can I refer to?
By refer to this statement, Im using .ext4 format, do it support in filesystem mode?
Hi Hong,
ROM supports FAT16 and FAT32 filesystem only. Please note that we are discussing the BootRom. More specifically, we are discussing the booting of tiboot3.bin by ROM.
Regards,
Prashant
Hi Prashant Shivhare,
Im now able to boot from boot partition 1 and boot partition 2 by changing the partconf . But in other situation, if boot partition 1 failed to boot, is it possible to make boot partition 2 as backup boot partition? or have another solution?
Hi Hong,
Please refer to the following thread https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1186162/sk-am62-if-emmc-boot0-fails-to-boot-uboot-will-automatically-boot-from-boot1
Regards,
Prashant
Hi Prashant Shivhare,
Thank for the information provided.
by refer to this conversation in (+) SK-AM62: eMMC UDA redundant boot - Processors forum - Processors - TI E2E support forums, Hong Guan64 mention UDA-raw is not suitable for redundancy boot.
Dominic Rath said:
What you could do is partition your eMMC flash to have a "large" general purpose partition and reduce the UDA partition to only 16-32 MB (i.e. just enough to hold primary and backup U-Boot with tiboot3.bin, tispl.bin and u-boot.img each). Within the general purpose partition, you can then have MBR/GPT partition table at offset 0 and your filesystems.
Is there any reference for create or implement general purpose partition?
Hi Hong,
Is there any reference for create or implement general purpose partition?
I don't think we have any reference to support this. However, let me once confirm and get back to you. Though, I would also suggest the same as my colleague Hong suggests that UDA-raw is not a practical option for redundancy boot. I recommend to use the boot partitions for redundancy boot.
Regards,
Prashant
Hi Prashant,
Thanks your suggestion. Is there any reference that I can refer to configure the boot 2 partition as backup partition?
Regards,
Hong
Hi Hong,
This is not possible as suggested in the below response
Please note that we are discussing two different terms here. One is redundancy booting while other one is backup booting. For a boot media if supported, redundancy booting is tried first if normal boot fails. If even redundancy boot fails, then backup booting is tried. While the redundancy boot is tried from the same boot media from a different offset, the backup booting is done from a different boot media based on the bootmode switch settings.
Regards,
Prashant
Creating the general purpose partition can be done from within U-Boot using the 'mmc hwpartition' command BUT you need to be very careful as this is a one-time-only operation. Once partitioned you can't revert or modify these partitions (usually - some eMMC vendors offer vendor-specific commands).
The biggest issue is that U-Boot (neither from git.ti.com nor mainline) is prepared for this scenario, and you need to modify some of the U-Boot source code for this.
It's certainly doable, it just doesn't work out of the box. I believe the need of a "redundant boot offset + backup boot medium" appears to be rather widespread.
Regards,
Dominic
Hi Prashant,
by refer to what Hong Guan64 said, can I have guide to create two copies of R5 BL @0x0 and redundant @0x400000?