Hello Team,
I am currently working on the firmware upgrade procedure and would like to include a provision for updating U-Boot as well.
As per NXP’s documentation:
The NXP BootROM always boots from a fixed offset (imx-boot).
Therefore, BootROM cannot switch between multiple imx-boot images (e.g., imx-boot_a and imx-boot_b) based on a flag.
To address this limitation, I am planning to move the U-Boot image to the boot partition, leaving only the minimal SPL code inside imx-boot. The SPL would then load the appropriate U-Boot image from the selected partition.
I am currently reviewing the mkimage code to understand how U-Boot is packaged into imx-boot, but I haven’t found a clear explanation so far.
Could you please confirm if this approach is feasible with the current architecture?
Alternatively, is there any other recommended way to update U-Boot as part of a firmware upgrade (e.g., OTA)?
Thanks
Jyo