Firmware Upgrade Scheme using emmc in imx8mplus

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Firmware Upgrade Scheme using emmc in imx8mplus

2,934 次查看
anjuv
Contributor I

Do you already have A/B partitioning firmware update scheme for emmc implemented for imx8mplus boards?

Requirement

A/B system updates use two sets of partitions referred to as slots (normally slot A and slot B). The system runs from the current slot while the partitions in the unused slot are not accessed by the running system during normal operation.This approach makes updates fault resistant by keeping the unused slot as a fallback: If an error occurs during or immediately after an update, the system can rollback to the old slot and continue to have a working system. To achieve this goal, no partition used by the current slot should be updated as part of the OTA update

0 项奖励
回复
6 回复数

2,905 次查看
AldoG
NXP TechSupport
NXP TechSupport

Hello,

I believe that you are refering to Android BSP, if so then yes we do support this, please do refer to the Android User's Guide chapter 7.2 Implementing OTA update
https://www.nxp.com/docs/en/user-guide/ANDROID_USERS_GUIDE.pdf

Best regards/Saludos,
Aldo.

0 项奖励
回复

2,893 次查看
anjuv
Contributor I

No, its linux OS.

Board - imx8mplus.

SDK -  6.1.36 Mickledore

0 项奖励
回复

2,875 次查看
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Then maybe SWUpdate may be an option, please have a look here:
https://docs.nxp.com/bundle/AN13872/page/topics/double_copy_with_fall-back.html

Best regards/Saludos,
Aldo.

0 项奖励
回复

2,737 次查看
anjuv
Contributor I

Thanks Aldo.

Is there any code reference available?

0 项奖励
回复

2,725 次查看
AldoG
NXP TechSupport
NXP TechSupport

Hello,

Please refer to the Building SWUpdate section of the document I have shared, ther you'll find the repositories.

Best regards/Saludos,
Aldo.

0 项奖励
回复

2,601 次查看
sanum19
Contributor III

Hi Aldo, 

The above documentation gives the setup for imx6ull, imx8mm & imx93.

I manually made some changes to build this for imx8mplus . But I'm facing errors while running it.

So do you have the correct working patch of these repository files especially (meta-swupdate-imx & swupdate-scripts) to enable this feature on imx8mplus-evk.

0 项奖励
回复