How to get which partition need update when update rootfs by swupdate

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

How to get which partition need update when update rootfs by swupdate

跳至解决方案
1,112 次查看
wang12zhe
Contributor III

HW:IMX8QXP EVK

I want to update IMX8QXP rootfs by swupdate software.
There are 4 partitions:
brw-rw---- 1 root disk 179, 97 Mar 24 10:25 /dev/mmcblk1p1 //Image and dtb is here
brw-rw---- 1 root disk 179, 98 Mar 24 10:25 /dev/mmcblk1p2 //rootfs A is here
brw-rw---- 1 root disk 179, 99 Mar 24 10:25 /dev/mmcblk1p3 //Image and dtb is here
brw-rw---- 1 root disk 179, 100 Mar 24 10:53 /dev/mmcblk1p4 // rootfs B is here

1. After system start swupdate how to konw which rootfs is used now(rootfs A? rootfs B ?)
2. How to let swupdate know update the rootfs to which partition /dev/mmcblk1p2? /dev/mmcblk1p4?
3. How to update the bootargs to match the updated partition

 

0 项奖励
回复
1 解答
1,086 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport
0 项奖励
回复
1 回复
1,087 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport
0 项奖励
回复