-
Notifications
You must be signed in to change notification settings - Fork 7.6k
west.yml: MCUboot synchronization from v3.7-branch #80425
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
west.yml: MCUboot synchronization from v3.7-branch #80425
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. |
@sylvioalves can you check failing CI here and let me know if there is a commit in MCUboot needed for this to build properly that has been misses? |
@nordicjm checking.. btw, there are multiple errors, not only with esp32c3. |
Ah indeed, seems some commits will need to be removed.... |
Edit: The error is the same for all targets as in below. /__w/zephyr/bootloader/mcuboot/boot/bootutil/src/bootutil_priv.h:68:2: error: #error "MCUBOOT_DIRECT_XIP_REVERT cannot be enabled unless MCUBOOT_DIRECT_XIP is used"
68 | #error "MCUBOOT_DIRECT_XIP_REVERT cannot be enabled unless MCUBOOT_DIRECT_XIP is used" Is that something you can work out or it is esp32 (and other socs) that require fixing? |
I'll fix that, the esp one is this:
https://github.com/zephyrproject-rtos/zephyr/actions/runs/11515362961/job/32059151909?pr=80425 |
I've updated mcuboot with this locally. I can build without any issues. Still checking. @nordicjm I did test with build and twister locally. Not a single issue. The only difference is that CI is using sdk 0.16.8 and I am on 0.17.0. Any hints? |
0babe0f
to
557cb3d
Compare
Have found the offending commit and removed it |
@nashif can we get this merged for 3.7.1? |
need an entry in the releases notes similar to https://github.com/zephyrproject-rtos/zephyr/blob/v3.7-branch/doc/releases/release-notes-3.7.rst#mbed-tls |
495a5b4
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.
TF-M side looks good, MCUboot release notes are quite verbose, you could possibly just state something generic and e.g. point to this PR, but I'll let the others decide.
Update Zephyr fork of MCUboot to revision: ea2410697dd0262edec041a0ccb07fdbde7c1aff Brings following Zephyr relevant fixes: - ea241069 boot: bootutil: boot_record: Fix issue with saving image data - 03b64828 boards: mcxn947_qspi: fix mcuboot partition allocation - 4a0f42c0 doc: remove repetition - 1c47465c boot: zephyr: use EXTRA_CONF_FILE instead of deprecated OVERLAY_CONFIG - 8e8ecd91 boot: zephyr: Fix serial recovery for NXP IMX.RT platforms - 52c7231a boot: zephyr: Fix Warning 'boot_serial_enter defined but not used' - a58d9026 zephyr: hello_world: Fix the main() return type warning - 50b7b9ee bootutil: Fix AES and SHA-256 contexts not zeroized with mbedTLS - 9b1b95c1 ci: Fix zephyr workflow - 809b0e42 bootutil: Add better mode selection checks - 0fe7ffd8 ci: Fix FIH Docker image release usage - a990c6b6 ci: Update FIH docker to Ubuntu Jammy (22.04) - 03d1a443 boot: zephyr: board: Fix nrf54l15pdk Kconfig fragment - 323eb8d1 boot: zephyr: MCXN947 currently only does not support swap mode - 0a88733d boot_serial: Fix `format` warning - 157547c8 boot_serial: Fix `incompatible-pointer-types` warning - 60ac682a bootutil: loader: Verify image header before checking image - 1cd53982 boot: main: avoid unused build warning - 587289d6 bootutil: Fix missing include - 610b8e2b bootutil: Fix swap move max app size calculation - a4800ce0 imgtool: Add missing encodings to emitter tests - 80397e0f imgtool: Fix getpub fails for ed25519 key - e29a123d docs: release-notes: Add note on name clash fix - a375a14d zephyr: Fix issue with sysbuild if something else is named mcuboot - 77b03c7f Fix style issues - 35bf48c5 boot: Change boot_enc_load to take slot number instead of image - 90836499 docs: release-notes: Add note on fixed zephyr RAM load address - 24de0fbc boot: zephyr: Fix RAM load chain load address - 197287ce imgtool: Bump cryptography library version - 7566edaf boot: Move encryption context invalidation to boot_enc_drop. - 86b1ef19 boot: Rename boot_enc_decrypt to boot_decrypt_key - 597a1996 boot: boot_serial: change logging to debug level - 2fa42bfa doc: readme-zephyr: fix the scratch partition example - f2971d20 boot: Add missing boot_enc_init - 071b3b8e boot: Remove pointless slot identification - 2cd6ce9f sim: Fix MCUBOOT_SWAP_USING_SCRATCH defined in direct-xip and ram-load - 3c2f8375 bootutil: Properly retrieve image headers after interrupted swap-scratch - fb2cf0ec docs: release-notes: Add note on fixed nordic boards - 89807992 boot: zephyr: Fix build for nrf9160dk - 2f5a7f47 boot: zephyr: Fix build for thingy53 - c9e4ab8b boot: zephyr: Fix build for thingy52 - c06f7bb3 Revert "boot: Add MCUBOOT_HW_KEY support for image encryption" - 1d79ef35 boot: Fix ASN.1 for mbedtls >= 3.1 - 86acda9e ext: fiat: Use user-defined assert macro Signed-off-by: Jamie McCrae <[email protected]>
495a5b4
to
6b98b0e
Compare
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.
approving TF-M
@@ -26,6 +26,68 @@ Mbed TLS was updated to version 3.6.2 (from 3.6.0). The release notes can be fou | |||
Mbed TLS 3.6 is an LTS release that will be supported | |||
with security and bug fixes until at least March 2027. | |||
|
|||
MCUboot |
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.
this is too verbose of a release note in a module to be included in the zephyr release notes, dont you have something to link to similar to what we do tfm and mbedtls?
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.
the issue i see here is that all of those changes might be seen as changes to zephyr and not mcuboot itself, which might be confusing.
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.
MCUboot has release notes but they're only generated when a release is made, and these are cherry-picked commits so if a release was made, it wouldn't be correct as it's be for mcuboot's main
not the zephyr-only branch with cherry picked commits
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.
Can just change to link to this PR instead?
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.
MCUboot has release notes but they're only generated when a release is made, and these are cherry-picked commits so if a release was made, it wouldn't be correct as it's be for mcuboot's
main
not the zephyr-only branch with cherry picked commits
You can still make bug fix releases on the branch, no?
Anyways, I'd rathe remove all of this and just leave a general note. Mcuboot release notes do not belong in the Zephyr release notes. Either remove them from this PR or I will drop them when I update the 3.7 notes later for the final 3.7.1 release.
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.
You can still make bug fix releases on the branch, no?
It's a zephyr branch of MCUboot, it does not exist upstream. https://github.com/zephyrproject-rtos/mcuboot/tree/v3.7-branch is where it gets cherry picked to
Either remove them from this PR
Will do
Adds update notes for what has been fixed in 3.7.1 Signed-off-by: Jamie McCrae <[email protected]>
6b98b0e
to
32bd23a
Compare
west.yml: MCUboot synchronization from v3.7-branch
Update Zephyr fork of MCUboot to revision:
ea2410697dd0262edec041a0ccb07fdbde7c1aff
Brings following Zephyr relevant fixes:
format
warningincompatible-pointer-types
warningFixes #80439