IMX8QXP Linux BSP includes the following major components:
1.Bootloader image : flash.bin is here
2.Boot partition
– FAT32 partition containing the kernel image, dtbs
Rootfs partition
– EXT type partition containing the root filesystem.
Whether can we save the kernel image and dtbs to the first components(Bootloader image area) and we only need two components:
1.Bootloader image :containing the flash.bin,kernel image, dtbs.
2.Rootfs partition
– EXT type partition containing the root filesystem.
Anyone has any ideas about this ? How to do it
You can use two files. one for vfat, one for ext4.
and use loop to mount them. and copy the file to the partition mirror.
after that, you can "cat" them together.
There is very good document, I read and used :
SWUpdate OTA i.MX8MM EVK_rev3.pdf
pg 74 ~ 80
Hi @wang12zhe
You can refer to "4.3 Preparing an SD/MMC card to boot" of i.MX Linux User's Guide (nxp.com)
Best regards
Harvey