Hi,
I have added swupdate recipe in yocto (kirkstone) and modified the wks file to create the partitions for the dual copy scheme.
Then I manually boot the fitImage that yocto generates and do a swupdate. After the update, fitImage_A, fitImage_B and sys_active files are copied to the boot partition (mmcblk0p1) and everything works fine after that.
Now I would like to modify yocto to generate the wic file with those files (fitImage_A, fitImage_B and sys_active) in the boot partition (instead of the default fitImage) so I don't have to do an update after the wic image is flashed.
I see that fitImage_A, fitImage_B and sys_active files are being generated in bootfs directory in tmp/work/kontron_mx8mm-ked-linux/image-ked-qt/1.0-r0/bootfs/
I have tried to add the files to the IMAGE_BOOT_FILES variable (with absolute paths since yocto looks for the files listed in that variable from the image deploy directory) but it didn't work.
How can I add those files to the boot partition?
Thanks