emmc field firmware update

问题:

hynix emmc H9TQ17ABJTMCUR固件需要从V3升级到V7,以解决低概死机重启问题


FFU方案思路:

LK阶段EMMC host & card初始化后,进入emmc FFU mode升级V7固件。由于firmware

大小为512KB,而LK pattition只有384KB,所以firmware文件不能直接compile到LK,

而需要将firmware bin打包到logo partition。LK升级前,从logo从解包获取firmware bin。


FFU概念:

Using this mechanism the host downloads a new version of the firmware to the e-MMC device and, following a successful download, instructs the e-MMC device to install the new downloaded firmware into the device.

emmc field firmware update_第1张图片



FFU Flow:

emmc field firmware update_第2张图片


相关代码:






你可能感兴趣的:(emmc)