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.

AM62A7-Q1: eMMC Bootmode, how to do "redundant" image booting (between mmcblk0boot0 and mmcblk0boot1)?

Part Number: AM62A7-Q1


With AM62A, when using eMMC Bootmode (alternate) booting, user can choose between bootpartition0 (mmcblk0boot0) and bootpartition1 (mmcblk0boot1).

For switching from partition0 to partition1, he needs to change config from u-boot as below.

- bootpartition0 : => mmc partconf 0 1 1 1
- bootpartition1 : => mmc partconf 0 1 2 1

[Q] Is it possible to use the partition1 as redundant image, back-up booting, in case the image in partition0 be corrupted?

From TRM, eMMC UDA Raw mode booting supports redundant image (at offset 0x400000) booting.

Similarly, he wants to check if it is possible to boot with (redundant) image at partition1 "automatically" when image at partition0 is bad.

Regards,

Hayden

  • Hello Hayden,
    BOOTMODE[6:3]=1001 => alternate eMMC boot from boot partition(raw), where ROM loading r5-sbl/spl from either boot0 or boot1 of eMMC boot partition depends on eMMC EXTCSD[179] setting. Due to dependency on external eMMC EXTCSD[179], ROM does not support auto-switch between boot0 and boot1 when one of them fails to boot.
    In case of boot failure from eMMC, ROM switches to booting from the secondary boot mode as specified by the BOOTMODE pins.
    Best,
    -Hong