boards/nucleo-h743zi: Add nxboot bootloader support#18509
boards/nucleo-h743zi: Add nxboot bootloader support#18509neilberkman wants to merge 1 commit intoapache:masterfrom
Conversation
1ac04fc to
1ff00ac
Compare
|
Hi @neilberkman , thanks for the patch! Please take a look at the contributing guide :) Your PR description is a good summary, but still needs the impact & testing sections from the template. |
7578f46 to
adfb88d
Compare
|
Force-pushed an update to add the missing Signed-off-by on the top commit and fix the cmake-format issue in boards/arm/stm32h7/nucleo-h743zi/src/CMakeLists.txt. The PR description still includes the detailed Impact and Testing sections. |
|
CI failure in |
|
@neilberkman nice work, please fix this issue: @neilberkman do you have plans to participate of the GSoC and contribute the two partitions support to NXBoot? https://cwiki.apache.org/confluence/display/COMDEV/GSoC+2026+Ideas+list |
|
Thanks @acassis! These are pre-existing Clang warnings in the nxboot app code. This PR is the first defconfig that builds nxboot with Clang, so they hadn't been caught before. Fix submitted: apache/nuttx-apps#3419. CI on that PR has one failed job ( Re two-partition support for nxboot, would be great to see that happen. I won't be able to take it on myself though. |
linguini1
left a comment
There was a problem hiding this comment.
not yet tested on target hardware
Does this mean the patch hasn't been tested on the nucleo yet? If so, I think we should hold off on merge until it can be tested.
When the nxboot board support PR (apache/nuttx#18509) is already merged, the Kconfig text won't match the old patterns. Treat missing old text as already-patched instead of raising. Signed-off-by: Neil Berkman <neil@xuku.com>
adfb88d to
b422c10
Compare
Add nxboot bootloader board integration for nucleo-h743zi. nxboot uses a three-slot layout (primary, secondary, tertiary) with no scratch partition. - add STM32_APP_FORMAT_NXBOOT board support and nxboot-specific OTA slot defaults - gate scratch partition configuration on MCUboot, where it applies - select nxboot linker scripts in the board build logic - add tertiary OTA partition support in stm32_progmem.c - add nxboot-loader and nxboot-app defconfigs and linker scripts - validate the fixed nxboot flash layout used by this board so mismatched config values fail at build time instead of producing a silently broken image Signed-off-by: Neil Berkman <neil@xuku.com>
b422c10 to
a029bac
Compare
Summary
Add nxboot bootloader board integration for
nucleo-h743zi.nxboot uses a three-slot layout (primary, secondary, tertiary) with no scratch partition.
STM32_APP_FORMAT_NXBOOTboard support and nxboot-specific OTA slot defaultsstm32_progmem.cnxboot-loaderandnxboot-appdefconfigs and linker scriptsImpact
boards/arm/stm32h7/nucleo-h743ziTesting
Host machine:
macOS 26.3.1(arm64)../nuttx-apps-wtBoard/builds tested:
nucleo-h743zi:nxboot-loadermake distclean./tools/configure.sh -a ../nuttx-apps-wt nucleo-h743zi:nxboot-loadermake -j8CPP: .../flash-nxboot-loader.ld -> .../flash-nxboot-loader.ld.tmpLD: nuttxnucleo-h743zi:nxboot-appmake distclean./tools/configure.sh -a ../nuttx-apps-wt nucleo-h743zi:nxboot-appmake -j8CPP: .../flash-nxboot-app.ld -> .../flash-nxboot-app.ld.tmpLD: nuttxNegative validation:
3. changed
CONFIG_NXBOOT_HEADER_SIZEfrom0x400to0x200make olddefconfigmake -j8flash-nxboot-app.ld:117:4: error: #error "CONFIG_NXBOOT_HEADER_SIZE must be 0x400 for flash-nxboot-app.ld"CONFIG_NXBOOT_HEADER_SIZE=0x400and rebuiltnucleo-h743zi:nxboot-appHardware testing: