@@ -114,7 +114,7 @@ and `CONFIG_MCUBOOT_SIGNATURE_KEY_FILE` needs to point to that same key.
114
114
paths starts from the MCUBoot repository root. This option can be changed
115
115
in: ` config/nxp/app/bootloader.conf `
116
116
117
- - ` CONFIG_BOOT_SIGNATURE_KEY_FILE ` : This is used for the application to be
117
+ - ` CONFIG_MCUBOOT_SIGNATURE_KEY_FILE ` : This is used for the application to be
118
118
loaded by the bootloader. The path can be either absolute or relative.
119
119
Relative paths starts from the west workspace location. This option can be
120
120
changed in the application .conf files.
@@ -124,6 +124,22 @@ Refer to those two files for more information:
124
124
- [ MCUBoot Config used for the MCUBoot Image] ( https://github.com/zephyrproject-rtos/mcuboot/blob/main/boot/zephyr/Kconfig )
125
125
- [ MCUBoot Config used for the application] ( https://github.com/zephyrproject-rtos/zephyr/blob/main/modules/Kconfig.mcuboot )
126
126
127
+ When an OTA image is received it can either be marked as permanent or as a test,
128
+ The Kconfig ` CONFIG_CHIP_OTA_REQUEST_UPGRADE_TYPE ` can choose one of those
129
+ configurations (Defined in ` /config/nxp/chip-module/Kconfig ` ):
130
+
131
+ - ` CONFIG_CHIP_OTA_REQUEST_UPGRADE_PERMANENT ` : From the next reboot, this
132
+ image will be run permanently.
133
+ - ` CONFIG_CHIP_OTA_REQUEST_UPGRADE_TEST ` : The image will be run on the next
134
+ reboot, but it will be reverted if it doesn't get confirmed. The image needs
135
+ to confirm itself to become permanent.
136
+
137
+ By default, the upgrade type used is ` CONFIG_CHIP_OTA_REQUEST_UPGRADE_TEST ` , and
138
+ OTA image confirms itself during the initialization stage after the fundamental
139
+ parts of the application are initialized properly to make sure this new image
140
+ boots correctly. This confirmation is done by
141
+ ` chip::NXP::App::OTARequestorInitiator::HandleSelfTest() ` .
142
+
127
143
JLink can be used to flash the mixed binary at the base address 0x8000000, using
128
144
the command :
129
145
0 commit comments