Hi,
iMX8MP has boot and rootfs partitions. Kernel and dtb files are present in both boot partition and rootfs partition (/boot folder)
*boot partition : FAT
<BOOT>--> Image
.dtb
* rootfs partition : EXT4
/boot --> Image
.dtb
By default kernel and dtb files are loaded from boot partition with fatload commands.
1. What is the reason for reading kernel, dtb files from boot partition instead of rootfs partition?
2. I have to implement rootfs upgrade by having A & B partitions as active and inactive partitions. To implement this, can I keep the existing fatload commands as is for kernel, dtb file reading? Or do I need to change the kernel, dtb files reading from rootfs/boot folder with ext4load commands? What is the best way to implement to rootfs upgrade?
Hello,
1.Bootloaders like U-Boot are typically designed to work with simpler file systems like FAT for the boot partition. FAT file systems are widely supported and easier for bootloaders to handle compared to more complex file systems like EXT4.
2.For A/B update, please refer this AN, the porting steps are similar.
https://docs.nxp.com/bundle/AN13872/page/topics/introduction.html
Best Regards,
Zhiming