Hi,
We implement dual images on LX2160ARDB, now we can switch to boot from A/B partition, so we image partitions layout as below:
firmware
kernel A
Kernel B
Rootfs A
Rootfs B
Now we want to add dual firmware, and partition layout as below, if firmware boot failed, it can boot from firmware_backup, is it possible to do that on LX2160ARDB?
firmware
firmware_backup
kernel A
Kernel B
Roots A
Rootfs B
Thank you.
Best Regards,
Jack Ho
Hi,
Thank you for the reply, as I know emmc also has boot area partition besides the user data area, like mmcblk1boot0 and mmcblk1boot1
Is that possible to put the bootloader into mmcblk1booo0 or mmcblk1boot1 and setting emmc reg EXT_CSD[179] (PARTITION_CONFIG) to select bootloader boot partition?
Thank you.
Jack
LX2160A BootROM doesn't look at EMMC EXT CSD[179] to validate the boot code location.
RCW (as initial stage of booting) is always loaded from the eMMC physical address 0x1000 (8th 512-byte block).
RCW Loading - from Serial Flash (SD/MMC at offset 0x1000, QSPI at offset 0x0, Serial NOR at offset 0x0)
It is impossible to implement dual firmware on the same boot partition. Because firmware images should be programmed at the specific locations on the boot media, please refer to firmware memory layout as the following.