-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for three pairs of image slots #59724
Conversation
The following west manifest projects have been modified in this Pull Request:
Note: This message is automatically posted and updated by the Manifest GitHub Action. |
dd74649
to
830d934
Compare
#elif (CONFIG_MCUMGR_GRP_IMG_UPDATABLE_IMAGE_NUMBER > 1) | ||
/* For more than one application image slot2 and slot3 are required. */ | ||
#define ADD_SLOT_2_CONDITION 1 | ||
#define ADD_SLOT_3_CONDITION 1 | ||
#if CONFIG_MCUMGR_GRP_IMG_UPDATABLE_IMAGE_NUMBER == 3 | ||
#define ADD_SLOT_4_CONDITION 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A long term future goal should be to remove all of this and have "metadata" specified somehow, a main application might have 2 slots in the primary image, or actually might only have 1 slot, but might then have mismatched slots in other images, maybe 1 slot for an image for another device or core, maybe 2 slots for something else, but we need some way to have the freedom and flexibility to have odd or equal number of slots per image.
And to have it generated so we don't need to update this file each time a new slot/image is added
830d934
to
a8bd7bb
Compare
6c75302
to
a3c5ad3
Compare
ae601bd
to
e79c817
Compare
e79c817
to
94f391b
Compare
94f391b
to
4989dc7
Compare
9750e6f
to
7680cce
Compare
7680cce
to
56911ed
Compare
The commit adds support for uploading images to secondary slots of three images. Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
56911ed
to
a717dd2
Compare
…guration The commit adds support for uploading images to secondary slots of three images. Upstream PR: zephyrproject-rtos/zephyr#59724 Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
…guration The commit adds support for uploading images to secondary slots of three images. Upstream PR: zephyrproject-rtos/zephyr#59724 Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
…guration The commit adds support for uploading images to secondary slots of three images. Upstream PR: zephyrproject-rtos/zephyr#59724 (cherry picked from commit a717dd20f3f54bf59d806974714e079f7fdb80bc) Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
…guration The commit adds support for uploading images to secondary slots of three images. Upstream PR: zephyrproject-rtos/zephyr#59724 (cherry picked from commit a717dd20f3f54bf59d806974714e079f7fdb80bc) Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
[DNM] [DNM] Currently the mcu-tools/mcuboot and Zephyr fork are out of sync because there is something circularly
broken... the west manifest here brings the mcu-tools/mcuboot commit with changes taken from Zephyr fork, for this thing to just compile and work, but until both things are fixed merging of this PR will not be possible.
Support for three pairs of image slots.
This PR mainly contains configuration of slots as the main job, that did the change possible, is done via PR #61342.
Set to DNM due to dependency on other PR in review.
Update 2023-08-17 16:01 UTC
Fixed compliance issues
Update 2023-08-18 17:55 UTC
Update of base PR.
Update 2023-08-24 10:30 UTC
Update from base and main.
Update 2023-09-08 16:05 UTC
Rebase from main.