This knowledge base add imx8ulp swupdate support based on AN13872.
Uboot patch: add_swupdate_support_for_imx8ulp_in_uboot.patch
swupdate-scripts patch: 0001-add-imx8ulp-support-in-swupdate-scripts.patch
Note
You must generate new key referring 5.4.3.3 Generating a key before build.
Commands
1. base image build command
./assemble_base_image.sh -b imx8ulp -e emmc -d doublecopy -m
2. update image build command
./swu_update_image_build.sh -e -s ./priv.pem -b imx8ulp -g
3. flash command:
uuu -b emmc_all .\imx-boot-imx8ulp-lpddr4-evk-sd.bin-flash_singleboot_m33 .\swu_doublecopy_rescue_imx8ulp_emmc_20240914.sdcard
Useful links:
https://sbabic.github.io/swupdate/building-with-yocto.html#automatic-sha256-in-sw-description
https://sbabic.github.io/swupdate/sw-description.html?highlight=hwrevision
View full article