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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
550 Views
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 Kudos
Reply
1 Solution
1 Reply
525 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport
0 Kudos
Reply