重现步骤
I want build a OTA program for K230 SOC
期待结果和实际结果
OTA program for upgrade FW K230 SOC over internet.
软硬件版本信息
K230 SOC
FW: Linux SDK
错误日志
尝试解决过程
How about I write .img file to eMMC (SOC boot from eMMC) over internet ?
补充材料
重现步骤
I want build a OTA program for K230 SOC
期待结果和实际结果
OTA program for upgrade FW K230 SOC over internet.
软硬件版本信息
K230 SOC
FW: Linux SDK
错误日志
尝试解决过程
How about I write .img file to eMMC (SOC boot from eMMC) over internet ?
补充材料
The SDK currently does not support OTA. You can refer to the following solution:
On Linux, write the upgrade file to the MMC card, set an upgrade flag, and reboot the device.
U-Boot will check for the presence of the flag and perform the upgrade if it's found (refer to the commands below
ext4load mmc 0:2 0x1000000 /sysimage-sdcard.img.gz && gzwrite mmc 0 0x${fileaddr} 0x${filesize}
).
After the upgrade is completed, clear the upgrade flag.
On Linux, fw_printenv
and fw_setenv
can be used to read and write U-Boot environment variables.