This package is a OTA upgrade implementation for smartlocker in i.MX7ULP kernel.
The bootaux command for i.MX7ULP can also be applied to other projects.
File description:
- smartlocker OTA upgrade user manual.
- Modified u-boot. Modification involves:
- Add bootaux command. To use this command, the M4 image will be read out from boot partition to TCM_L. (Or DDR and then it will be copied to TCM_L in the command)
It took 19ms to read M4 image. - Change u-boot default env. If M4 image and zImage read failed, recovery M4 image and zImage will be loaded.
- patch of u-boot changes.
- u-boot defconfig for bootaux change.
- sh script, updater.sh.
- Example for upgrade package.
Power shutdown in copying upgrade files may cause file broken. So currently, we use below copy strategy:
Copy upgrade file to target directory as tmp file.
Delete target file.
Rename tmp file to target file.