Redundant boot for imx8mn

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Redundant boot for imx8mn

890 Views
farislemes
Contributor I

hello,

I was exploring the option for the fallback u-boot option on imx8mn controller. My controller boots from MMC, so my idea was to split u-boot to have one partition spl, and two partitions for the different versions of the u-boot. Final goal for this is to have possibility to update u-boot when actual application is running and to have some safety mechanism. 

I've found some similar idea on some ti forum where someone used NAND for backup bootloader  https://e2e.ti.com/support/processors-group/processors/f/processors-forum/505682/how-to-implement-r...

Is there some already existing mechanism for this scenario?

Here is just some example of the .wks file which I had an idea to use:

part spl-part --source rawcopy --sourceparams="file=u-boot-spl.bin" --ondisk mmcblk --align ${IMX_BOOT_SEEK}
part u-boot-v1 --source rawcopy --sourceparams="file=u-boot.bin" --ondisk mmcblk
part u-boot-v2 --source rawcopy --sourceparams="file=u-boot.bin" --ondisk mmcblk
part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 8192 --size 64
part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 8192

Is there some already existing mechanism for this scenario?
I could not find that much details for this topic inside reference manual of the controller, like it is only briefly described, but I'm missing a lot of details.

 

Thanks, Faris

0 Kudos
Reply
1 Reply

879 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

There is no implementation code from NXP side, but some costumer has be done, and yes it can be possible as you mentioned.

regards

0 Kudos
Reply