Last active
August 7, 2021 06:59
-
-
Save KunYi/44c775d636b9fa405a635e397d5adfd6 to your computer and use it in GitHub Desktop.
sw description of swupdate for srg-im8p board
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"software": { | |
"version": "@@ADU_SOFTWARE_VERSION@@", | |
"@@MODEL_NAME@@": { | |
"hardware-compatibility": [ | |
"1.0" | |
], | |
"stable": { | |
"rootA": { | |
"images": [ | |
{ | |
"filename": "srg-im8p-image-@@MACHINE@@.ext4.zst", | |
"sha256": "@srg-im8p-image-@@MACHINE@@.ext4.zst", | |
"type": "raw", | |
"compressed": "zstd", | |
"device": "/dev/mmcblk2p1", | |
"name": "rootfs", | |
"version": "@@RFS_VERSION@@", | |
"install-if-different": true | |
} | |
], | |
"bootenv": [ | |
{ | |
"name": "bootpart", | |
"value": "1" | |
}, | |
{ | |
"name": "upgrade_available", | |
"value": "1" | |
}, | |
{ | |
"name": "bootcount", | |
"value": "0" | |
} | |
] | |
}, | |
"rootB": { | |
"images": [ | |
{ | |
"filename": "srg-im8p-image-@@MACHINE@@.ext4.zst", | |
"sha256": "@srg-im8p-image-@@MACHINE@@.ext4.zst", | |
"type": "raw", | |
"compressed": "zstd", | |
"device": "/dev/mmcblk2p2", | |
"name": "rootfs", | |
"version": "@@RFS_VERSION@@", | |
"install-if-different": true | |
} | |
], | |
"bootenv": [ | |
{ | |
"name": "bootpart", | |
"value": "2" | |
}, | |
{ | |
"name": "upgrade_available", | |
"value": "1" | |
}, | |
{ | |
"name": "bootcount", | |
"value": "0" | |
} | |
] | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment