Skip to content
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

[nrfconnect] [OTA] Confirm the new image in the app init. #28924

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

ArekBalysNordic
Copy link
Contributor

The nRF5340 target requires 4kB of FPROTECT block size (SPU limitation) and after making a restriction for the factory data partition the new image cannot be confirmed after the OTA update finishes. Due to that, we need to confirm the current OTA image before factory data initialization.

To do it we should allow confirming the image in the other place rather than during posting the OTAStateChange event and then we should inform the image processor of the confirmation status.

@github-actions
Copy link

github-actions bot commented Aug 28, 2023

PR #28924: Size comparison from 1084dd5 to 7778d3f

Full report (4 builds for cc32xx, mbed, qpg)
platform target config section 1084dd5 7778d3f change % change
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 617146 617146 0 0.0
(read/write) 207256 207256 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 200696 200696 0 0.0
.comment 206 206 0 0.0
.data 1440 1440 0 0.0
.debug_abbrev 966796 966796 0 0.0
.debug_aranges 106736 106736 0 0.0
.debug_frame 360944 360944 0 0.0
.debug_info 21239538 21239538 0 0.0
.debug_line 2795148 2795148 0 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1566738 1566738 0 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 98910 98910 0 0.0
.debug_str 3367685 3367685 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106506 106506 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 499896 499896 0 0.0
.symtab 294208 294208 0 0.0
.text 508520 508520 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2523272 2523272 0 0.0
.bss 219424 219424 0 0.0
.data 5128 5128 0 0.0
.text 1485956 1485956 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1178036 1178036 0 0.0
.bss 101024 101024 0 0.0
.data 744 744 0 0.0
.text 624880 624880 0 0.0
lock-app qpg6105+debug (read/write) 1135524 1135524 0 0.0
.bss 95744 95744 0 0.0
.data 748 748 0 0.0
.text 582364 582364 0 0.0

The nRF5340 target requires 4kB of FPROTECT block size (SPU limitation)
and after making a restriction for the factory data partition the new
image cannot be confirmed after the OTA update finishes.
Due to that, we need to confirm the current OTA image before factory
data initialization.
To do it we should allow confirming the image in the other place
rather than during posting the OTAStateChange event and then we should
inform the image processor of the confirmation status.
@github-actions
Copy link

github-actions bot commented Aug 28, 2023

PR #28924: Size comparison from 1084dd5 to c23665d

Increases (13 builds for nrfconnect, telink)
platform target config section 1084dd5 c23665d change % change
nrfconnect all-clusters-app nrf7002dk_nrf5340_cpuapp (read/write) 1359528 1359584 56 0.0
bss 140940 140948 8 0.0
text 790792 790844 52 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read/write) 1160980 1161112 132 0.0
bss 154844 154852 8 0.0
rodata 113680 113748 68 0.1
text 813520 813588 68 0.0
light-switch-app nrf52840dk_nrf52840 (read/write) 1118820 1118956 136 0.0
bss 149226 149234 8 0.0
rodata 103568 103640 72 0.1
text 787108 787176 68 0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1376412 1376548 136 0.0
bss 134299 134307 8 0.0
rodata 190476 190548 72 0.0
text 756368 756440 72 0.0
lighting-app nrf52840dk_nrf52840+rpc (read/write) 1158508 1158660 152 0.0
bss 159379 159387 8 0.0
rodata 99048 99120 72 0.1
text 819772 819844 72 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1103812 1103948 136 0.0
bss 156399 156407 8 0.0
rodata 101088 101160 72 0.1
text 762888 762956 68 0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1376412 1376548 136 0.0
bss 134299 134307 8 0.0
rodata 190476 190548 72 0.0
text 756368 756440 72 0.0
lock-app nrf52840dk_nrf52840 (read/write) 1131460 1131592 132 0.0
bss 149663 149671 8 0.0
rodata 124384 124452 68 0.1
text 778424 778496 72 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 1044124 1044276 152 0.0
bss 146895 146903 8 0.0
rodata 118536 118608 72 0.1
text 695200 695272 72 0.0
nrf7002dk_nrf5340_cpuapp (read/write) 1389832 1389984 152 0.0
bss 134736 134744 8 0.0
rodata 211288 211360 72 0.0
text 748536 748608 72 0.0
pump-app nrf52840dk_nrf52840 (read/write) 1080620 1080772 152 0.0
bss 148353 148361 8 0.0
rodata 99232 99304 72 0.1
text 754088 754160 72 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 1068500 1068636 136 0.0
bss 148152 148160 8 0.0
rodata 96152 96224 72 0.1
text 745292 745364 72 0.0
telink light-switch-app tlsr9518adk80d text 632786 632788 2 0.0
Decreases (1 build for efr32)
platform target config section 1084dd5 c23665d change % change
efr32 lighting-app BRD4187C (read/write) 1070648 1070640 -8 -0.0
.text 890560 890552 -8 -0.0
Full report (73 builds for bl602, bl702, bl702l, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
platform target config section 1084dd5 c23665d change % change
bl602 lighting-app bl602 (read/write) 1365550 1365550 0 0.0
.bss 73446 73446 0 0.0
.data 9600 9600 0 0.0
.text 1058510 1058510 0 0.0
bl602+rpc (read/write) 1412698 1412698 0 0.0
.bss 81486 81486 0 0.0
.data 9952 9952 0 0.0
.text 1090188 1090188 0 0.0
bl702 lighting-app bl702 (read only) 3358 3358 0 0.0
(read/write) 1168747 1168747 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 41301 41301 0 0.0
.bss_psram 43248 43248 0 0.0
.comment 48 48 0 0.0
.data 3584 3584 0 0.0
.debug_abbrev 1565739 1565739 0 0.0
.debug_aranges 137912 137912 0 0.0
.debug_frame 507148 507148 0 0.0
.debug_info 41806938 41806938 0 0.0
.debug_line 5447506 5447506 0 0.0
.debug_loc 3516232 3516232 0 0.0
.debug_ranges 380456 380456 0 0.0
.debug_str 3952439 3952439 0 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 144 144 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 107136 107136 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 590568 590568 0 0.0
.symtab 175952 175952 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
955754 955754 0 0.0
bl702+rpc (read only) 3358 3358 0 0.0
(read/write) 1267139 1267139 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 49749 49749 0 0.0
.bss_psram 43248 43248 0 0.0
.comment 48 48 0 0.0
.data 4104 4104 0 0.0
.debug_abbrev 1742469 1742469 0 0.0
.debug_aranges 146456 146456 0 0.0
.debug_frame 536064 536064 0 0.0
.debug_info 46702753 46702753 0 0.0
.debug_line 5859234 5859234 0 0.0
.debug_loc 3721928 3721928 0 0.0
.debug_ranges 406304 406304 0 0.0
.debug_str 4372325 4372325 0 0.0
.hbn 544 544 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 160 160 0 0.0
.psram 0 0 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 121768 121768 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 653638 653638 0 0.0
.symtab 194880 194880 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3358 3358 0 0.0
.text 0 0 0 0.0
1030020 1030020 0 0.0
bl706-eth (read/write) 1014788 1014788 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 25586 25586 0 0.0
.bss_psram 94415 94415 0 0.0
.comment 48 48 0 0.0
.data 3304 3304 0 0.0
.debug_abbrev 1114713 1114713 0 0.0
.debug_aranges 114232 114232 0 0.0
.debug_frame 424080 424080 0 0.0
.debug_info 23269014 23269014 0 0.0
.debug_line 4405729 4405729 0 0.0
.debug_loc 3014642 3014642 0 0.0
.debug_ranges 317280 317280 0 0.0
.debug_str 3524750 3524750 0 0.0
.hbn 184 184 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 152 152 0 0.0
.psram 1 1 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 97332 97332 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 455877 455877 0 0.0
.symtab 138032 138032 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3338 3338 0 0.0
.text 0 0 0 0.0
773744 773744 0 0.0
bl706-wifi (read/write) 1086959 1086959 0 0.0
.bleromro 6342 6342 0 0.0
.bleromrw 124 124 0 0.0
.boot2 328 328 0 0.0
.bss 9981 9981 0 0.0
.bss_psram 95151 95151 0 0.0
.comment 48 48 0 0.0
.data 3624 3624 0 0.0
.debug_abbrev 1207636 1207636 0 0.0
.debug_aranges 118496 118496 0 0.0
.debug_frame 439524 439524 0 0.0
.debug_info 24434194 24434194 0 0.0
.debug_line 4626856 4626856 0 0.0
.debug_loc 3098704 3098704 0 0.0
.debug_ranges 326176 326176 0 0.0
.debug_str 3586135 3586135 0 0.0
.hbn 468 468 0 0.0
.hbn_noinit 260 260 0 0.0
.init 342 342 0 0.0
.init_array 156 156 0 0.0
.psram 1 1 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 109608 109608 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 304 304 0 0.0
.stack 2048 2048 0 0.0
.strtab 492642 492642 0 0.0
.symtab 150544 150544 0 0.0
.tcm_data 28 28 0 0.0
.tcmcode 3402 3402 0 0.0
.text 0 0 0 0.0
847450 847450 0 0.0
bl702l lighting-app bl702l (read only) 278 278 0 0.0
(read/write) 1153980 1153980 0 0.0
.boot2 292 292 0 0.0
.bss 16004 16004 0 0.0
.bss_psram 77648 77648 0 0.0
.comment 48 48 0 0.0
.data 4528 4528 0 0.0
.debug_abbrev 1568107 1568107 0 0.0
.debug_aranges 132432 132432 0 0.0
.debug_frame 486880 486880 0 0.0
.debug_info 41813743 41813743 0 0.0
.debug_line 5363707 5363707 0 0.0
.debug_loc 3451973 3451973 0 0.0
.debug_ranges 385776 385776 0 0.0
.debug_str 3964882 3964882 0 0.0
.hbn 3244 3244 0 0.0
.hbn_noinit 308 308 0 0.0
.init 408 408 0 0.0
.init_array 144 144 0 0.0
.riscv.attributes 47 47 0 0.0
.rodata 101000 101000 0 0.0
.romdata 3224 3224 0 0.0
.rsvd 4 4 0 0.0
.sha_ocram 72 72 0 0.0
.shstrtab 286 286 0 0.0
.stack 2048 2048 0 0.0
.strtab 590762 590762 0 0.0
.symtab 175488 175488 0 0.0
.tcm_data 692 692 0 0.0
.tcmcode 278 278 0 0.0
.text 0 0 0 0.0
944254 944254 0 0.0
cc32xx lock CC3235SF_LAUNCHXL (blank) 0 0 0 0.0
(read only) 617146 617146 0 0.0
(read/write) 207256 207256 0 0.0
.ARM.attributes 44 44 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 200696 200696 0 0.0
.comment 206 206 0 0.0
.data 1440 1440 0 0.0
.debug_abbrev 966796 966796 0 0.0
.debug_aranges 106736 106736 0 0.0
.debug_frame 360944 360944 0 0.0
.debug_info 21239538 21239538 0 0.0
.debug_line 2795148 2795148 0 0.0
.debug_line_str 513 513 0 0.0
.debug_loc 33340 33340 0 0.0
.debug_loclists 1566738 1566738 0 0.0
.debug_ranges 4984 4984 0 0.0
.debug_rnglists 98910 98910 0 0.0
.debug_str 3367685 3367685 0 0.0
.ramVecs 780 780 0 0.0
.resetVecs 64 64 0 0.0
.rodata 106506 106506 0 0.0
.shstrtab 265 265 0 0.0
.stack 2048 2048 0 0.0
.strtab 499896 499896 0 0.0
.symtab 294208 294208 0 0.0
.text 508520 508520 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 552407 552407 0 0.0
.app_xip_area 443673 443673 0 0.0
.bss 63704 63704 0 0.0
.data 664 664 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 538855 538855 0 0.0
.app_xip_area 425193 425193 0 0.0
.bss 68608 68608 0 0.0
.data 692 692 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 574127 574127 0 0.0
.app_xip_area 466593 466593 0 0.0
.bss 62576 62576 0 0.0
.data 592 592 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 558831 558831 0 0.0
.app_xip_area 448081 448081 0 0.0
.bss 65696 65696 0 0.0
.data 688 688 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 1026968 1026968 0 0.0
.bss 193040 193040 0 0.0
.data 2668 2668 0 0.0
.text 831240 831240 0 0.0
BRD4187C (read/write) 1070648 1070640 -8 -0.0
.bss 176812 176812 0 0.0
.data 3256 3256 0 0.0
.text 890560 890552 -8 -0.0
lock-app BRD4161A+wf200 (read/write) 1103744 1103744 0 0.0
.bss 186976 186976 0 0.0
.data 2684 2684 0 0.0
.text 914064 914064 0 0.0
window-app BRD4187C (read/write) 1119500 1119500 0 0.0
.bss 159564 159564 0 0.0
.data 3132 3132 0 0.0
.text 956784 956784 0 0.0
esp32 all-clusters-app c3devkit (read only) 1172942 1172942 0 0.0
(read/write) 1703892 1703892 0 0.0
.dram0.bss 79056 79056 0 0.0
.dram0.data 13084 13084 0 0.0
.flash.rodata 268840 268840 0 0.0
.flash.text 1172942 1172942 0 0.0
.iram0.text 75244 75244 0 0.0
m5stack (read only) 1213723 1213723 0 0.0
(read/write) 552802 552802 0 0.0
.dram0.bss 85424 85424 0 0.0
.dram0.data 34036 34036 0 0.0
.flash.rodata 299724 299724 0 0.0
.flash.text 1208339 1208339 0 0.0
.iram0.text 123287 123287 0 0.0
k32w contact k32w0+release (read only) 591196 591196 0 0.0
(read/write) 87944 87944 0 0.0
.bss 71192 71192 0 0.0
.data 2128 2128 0 0.0
.text 590660 590660 0 0.0
light k32w0+release (read only) 589980 589980 0 0.0
(read/write) 87596 87596 0 0.0
.bss 70856 70856 0 0.0
.data 2116 2116 0 0.0
.text 589444 589444 0 0.0
lock k32w0+release (read only) 562340 562340 0 0.0
(read/write) 85396 85396 0 0.0
.bss 68712 68712 0 0.0
.data 2060 2060 0 0.0
.text 561804 561804 0 0.0
linux all-clusters-app debug (read only) 5648665 5648665 0 0.0
(read/write) 420456 420456 0 0.0
.bss 130688 130688 0 0.0
.data 4016 4016 0 0.0
.data.rel.ro 278376 278376 0 0.0
.dynamic 624 624 0 0.0
.got 5384 5384 0 0.0
.init 27 27 0 0.0
.init_array 1344 1344 0 0.0
.rodata 339188 339188 0 0.0
.text 4927987 4927987 0 0.0
all-clusters-minimal-app debug (read only) 4915233 4915233 0 0.0
(read/write) 232392 232392 0 0.0
.bss 126368 126368 0 0.0
.data 3856 3856 0 0.0
.data.rel.ro 95024 95024 0 0.0
.dynamic 624 624 0 0.0
.got 5344 5344 0 0.0
.init 27 27 0 0.0
.init_array 1152 1152 0 0.0
.rodata 272584 272584 0 0.0
.text 4411875 4411875 0 0.0
bridge-app debug (read only) 2772305 2772305 0 0.0
(read/write) 133176 133176 0 0.0
.bss 51800 51800 0 0.0
.data 3824 3824 0 0.0
.data.rel.ro 71440 71440 0 0.0
.dynamic 624 624 0 0.0
.got 4640 4640 0 0.0
.init 27 27 0 0.0
.init_array 824 824 0 0.0
.rodata 214568 214568 0 0.0
.text 2380067 2380067 0 0.0
chip-tool debug (read only) 10331593 10331593 0 0.0
(read/write) 441688 441688 0 0.0
.bss 93688 93688 0 0.0
.data 5090 5090 0 0.0
.data.rel.ro 335664 335664 0 0.0
.dynamic 624 624 0 0.0
.got 5816 5816 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 388785 388785 0 0.0
.text 9347331 9347331 0 0.0
chip-tool-ipv6only arm64 (read only) 10172860 10172860 0 0.0
(read/write) 504136 504136 0 0.0
.bss 103080 103080 0 0.0
.data 4392 4392 0 0.0
.data.rel.ro 373008 373008 0 0.0
.dynamic 512 512 0 0.0
.got 18192 18192 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 316168 316168 0 0.0
.text 9092760 9092760 0 0.0
lighting-app debug+rpc+ui (read only) 5245049 5245049 0 0.0
(read/write) 222536 222536 0 0.0
.bss 118064 118064 0 0.0
.data 4528 4528 0 0.0
.data.rel.ro 92376 92376 0 0.0
.dynamic 672 672 0 0.0
.got 5928 5928 0 0.0
.init 27 27 0 0.0
.init_array 944 944 0 0.0
.rodata 337108 337108 0 0.0
.text 4665507 4665507 0 0.0
lock-app debug (read only) 4478673 4478673 0 0.0
(read/write) 203128 203128 0 0.0
.bss 113488 113488 0 0.0
.data 3760 3760 0 0.0
.data.rel.ro 79080 79080 0 0.0
.dynamic 624 624 0 0.0
.got 5264 5264 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 248552 248552 0 0.0
.text 4020627 4020627 0 0.0
ota-provider-app debug (read only) 4129985 4129985 0 0.0
(read/write) 192064 192064 0 0.0
.bss 113632 113632 0 0.0
.data 4032 4032 0 0.0
.data.rel.ro 68480 68480 0 0.0
.dynamic 624 624 0 0.0
.got 4544 4544 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 201160 201160 0 0.0
.text 3738387 3738387 0 0.0
ota-requestor-app debug (read only) 4223449 4223449 0 0.0
(read/write) 196376 196376 0 0.0
.bss 114688 114688 0 0.0
.data 4272 4272 0 0.0
.data.rel.ro 71480 71480 0 0.0
.dynamic 624 624 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 204488 204488 0 0.0
.text 3824195 3824195 0 0.0
shell debug (read only) 3049233 3049233 0 0.0
(read/write) 152936 152936 0 0.0
.bss 60392 60392 0 0.0
.data 784 784 0 0.0
.data.rel.ro 85832 85832 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 1176 1176 0 0.0
.rodata 214162 214162 0 0.0
.text 2660962 2660962 0 0.0
thermostat-no-ble arm64 (read only) 4357500 4357500 0 0.0
(read/write) 241880 241880 0 0.0
.bss 122216 122216 0 0.0
.data 2896 2896 0 0.0
.data.rel.ro 100488 100488 0 0.0
.dynamic 512 512 0 0.0
.got 11824 11824 0 0.0
.init 24 24 0 0.0
.init_array 424 424 0 0.0
.rodata 161268 161268 0 0.0
.text 3862184 3862184 0 0.0
tv-app debug (read only) 5318489 5318489 0 0.0
(read/write) 350272 350272 0 0.0
.bss 241632 241632 0 0.0
.data 5136 5136 0 0.0
.data.rel.ro 96096 96096 0 0.0
.dynamic 624 624 0 0.0
.got 5616 5616 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 272504 272504 0 0.0
.text 4802227 4802227 0 0.0
tv-casting-app debug (read only) 8277209 8277209 0 0.0
(read/write) 210768 210768 0 0.0
.bss 54336 54336 0 0.0
.data 2544 2544 0 0.0
.data.rel.ro 147064 147064 0 0.0
.dynamic 624 624 0 0.0
.got 5088 5088 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 337980 337980 0 0.0
.text 7539011 7539011 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2523272 2523272 0 0.0
.bss 219424 219424 0 0.0
.data 5128 5128 0 0.0
.text 1485956 1485956 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1241172 1241172 0 0.0
bss 155482 155482 0 0.0
rodata 143176 143176 0 0.0
text 863520 863520 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1359528 1359584 56 0.0
bss 140940 140948 8 0.0
rodata 137080 137080 0 0.0
text 790792 790844 52 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1160980 1161112 132 0.0
bss 154844 154852 8 0.0
rodata 113680 113748 68 0.1
text 813520 813588 68 0.0
light-switch-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1118820 1118956 136 0.0
bss 149226 149234 8 0.0
rodata 103568 103640 72 0.1
text 787108 787176 68 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1376412 1376548 136 0.0
bss 134299 134307 8 0.0
rodata 190476 190548 72 0.0
text 756368 756440 72 0.0
lighting-app nrf52840dk_nrf52840+rpc (read only) 4 4 0 0.0
(read/write) 1158508 1158660 152 0.0
bss 159379 159387 8 0.0
rodata 99048 99120 72 0.1
text 819772 819844 72 0.0
nrf52840dongle_nrf52840 (read only) 4 4 0 0.0
(read/write) 1123496 1123496 0 0.0
bss 167527 167527 0 0.0
rodata 88820 88820 0 0.0
text 782204 782204 0 0.0
nrf5340dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1103812 1103948 136 0.0
bss 156399 156407 8 0.0
rodata 101088 101160 72 0.1
text 762888 762956 68 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1376412 1376548 136 0.0
bss 134299 134307 8 0.0
rodata 190476 190548 72 0.0
text 756368 756440 72 0.0
lock-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1131460 1131592 132 0.0
bss 149663 149671 8 0.0
rodata 124384 124452 68 0.1
text 778424 778496 72 0.0
nrf5340dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1044124 1044276 152 0.0
bss 146895 146903 8 0.0
rodata 118536 118608 72 0.1
text 695200 695272 72 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1389832 1389984 152 0.0
bss 134736 134744 8 0.0
rodata 211288 211360 72 0.0
text 748536 748608 72 0.0
pump-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1080620 1080772 152 0.0
bss 148353 148361 8 0.0
rodata 99232 99304 72 0.1
text 754088 754160 72 0.0
pump-controller-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1068500 1068636 136 0.0
bss 148152 148160 8 0.0
rodata 96152 96224 72 0.1
text 745292 745364 72 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 837160 837160 0 0.0
(read/write) 1793916 1793916 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 193628 193628 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2552 2552 0 0.0
.debug_abbrev 1418412 1418412 0 0.0
.debug_aranges 145152 145152 0 0.0
.debug_frame 482872 482872 0 0.0
.debug_info 33504866 33504866 0 0.0
.debug_line 4233186 4233186 0 0.0
.debug_line_str 957 957 0 0.0
.debug_loclists 2304219 2304219 0 0.0
.debug_rnglists 144584 144584 0 0.0
.debug_str 4529352 4529352 0 0.0
.heap 837160 837160 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 850416 850416 0 0.0
.symtab 515376 515376 0 0.0
.text 0 0 0 0.0
1589348 1589348 0 0.0
.zero.table 8 8 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 839944 839944 0 0.0
(read/write) 1678740 1678740 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 190932 190932 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2464 2464 0 0.0
.debug_abbrev 1290819 1290819 0 0.0
.debug_aranges 135016 135016 0 0.0
.debug_frame 454348 454348 0 0.0
.debug_info 29285325 29285325 0 0.0
.debug_line 3946256 3946256 0 0.0
.debug_line_str 981 981 0 0.0
.debug_loclists 2119888 2119888 0 0.0
.debug_rnglists 133976 133976 0 0.0
.debug_str 3921930 3921930 0 0.0
.heap 839944 839944 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 719951 719951 0 0.0
.symtab 467712 467712 0 0.0
.text 1476956 1476956 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
light cy8ckit_062s2_43012 (read only) 846280 846280 0 0.0
(read/write) 1607052 1607052 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 184708 184708 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2352 2352 0 0.0
.debug_abbrev 1130644 1130644 0 0.0
.debug_aranges 125112 125112 0 0.0
.debug_frame 417392 417392 0 0.0
.debug_info 24339982 24339982 0 0.0
.debug_line 3510772 3510772 0 0.0
.debug_line_str 942 942 0 0.0
.debug_loclists 1956673 1956673 0 0.0
.debug_rnglists 123660 123660 0 0.0
.debug_str 3729162 3729162 0 0.0
.heap 846280 846280 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 637516 637516 0 0.0
.symtab 431248 431248 0 0.0
.text 1411604 1411604 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
lock cy8ckit_062s2_43012 (read only) 818880 818880 0 0.0
(read/write) 1640324 1640324 0 0.0
.ARM.attributes 46 46 0 0.0
.ARM.exidx 8 8 0 0.0
.bss 212092 212092 0 0.0
.comment 212 212 0 0.0
.copy.table 24 24 0 0.0
.cy_m0p_image 6216 6216 0 0.0
.cy_sharedmem 8 8 0 0.0
.data 2368 2368 0 0.0
.debug_abbrev 1121608 1121608 0 0.0
.debug_aranges 123920 123920 0 0.0
.debug_frame 413044 413044 0 0.0
.debug_info 24151704 24151704 0 0.0
.debug_line 3463851 3463851 0 0.0
.debug_line_str 933 933 0 0.0
.debug_loclists 1935192 1935192 0 0.0
.debug_rnglists 121756 121756 0 0.0
.debug_str 3692551 3692551 0 0.0
.heap 818880 818880 0 0.0
.noinit 148 148 0 0.0
.ramVectors 736 736 0 0.0
.shstrtab 296 296 0 0.0
.stack_dummy 4096 4096 0 0.0
.strtab 611591 611591 0 0.0
.symtab 423296 423296 0 0.0
.text 1417476 1417476 0 0.0
.zero.table 0 0 0 0.0
8 8 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1178036 1178036 0 0.0
.bss 101024 101024 0 0.0
.data 744 744 0 0.0
.text 624880 624880 0 0.0
lock-app qpg6105+debug (read/write) 1135524 1135524 0 0.0
.bss 95744 95744 0 0.0
.data 748 748 0 0.0
.text 582364 582364 0 0.0
telink all-clusters-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1096056 1096056 0 0.0
bss 108180 108180 0 0.0
text 752060 752060 0 0.0
all-clusters-minimal-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 981688 981688 0 0.0
bss 105332 105332 0 0.0
text 673674 673674 0 0.0
bridge-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 944936 944936 0 0.0
bss 109652 109652 0 0.0
text 647580 647580 0 0.0
contact-sensor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 876892 876892 0 0.0
bss 98696 98696 0 0.0
text 591102 591102 0 0.0
light-switch-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 923228 923228 0 0.0
bss 99536 99536 0 0.0
text 632786 632788 2 0.0
lighting-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 984156 984156 0 0.0
bss 107504 107504 0 0.0
text 687250 687250 0 0.0
lighting-app-factory-data tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 995520 995520 0 0.0
bss 111752 111752 0 0.0
text 694766 694766 0 0.0
lighting-app-rpc tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1053744 1053744 0 0.0
bss 109076 109076 0 0.0
text 732246 732246 0 0.0
lighting-app-shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 1085232 1085232 0 0.0
bss 120152 120152 0 0.0
text 752462 752462 0 0.0
lock-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 934956 934956 0 0.0
bss 99424 99424 0 0.0
text 622230 622230 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 899488 899488 0 0.0
bss 100012 100012 0 0.0
text 612956 612956 0 0.0
pump-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 882308 882308 0 0.0
bss 98828 98828 0 0.0
text 596728 596728 0 0.0
pump-controller-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 869448 869448 0 0.0
bss 98628 98628 0 0.0
text 587150 587150 0 0.0
shell tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 744116 744116 0 0.0
bss 97208 97208 0 0.0
text 478532 478532 0 0.0
smoke_co_alarm-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 880384 880384 0 0.0
bss 98816 98816 0 0.0
text 595460 595460 0 0.0
temperature-measurement-app tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 865628 865628 0 0.0
bss 98536 98536 0 0.0
text 582796 582796 0 0.0
thermostat tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 890904 890904 0 0.0
bss 98928 98928 0 0.0
text 602878 602878 0 0.0
window-covering tlsr9518adk80d (read only) 4 4 0 0.0
(read/write) 886528 886528 0 0.0
bss 99252 99252 0 0.0
text 598202 598202 0 0.0

@mergify mergify bot merged commit 96c6c7a into project-chip:master Aug 29, 2023
HunsupJung pushed a commit to HunsupJung/connectedhomeip that referenced this pull request Oct 23, 2023
…ip#28924)

The nRF5340 target requires 4kB of FPROTECT block size (SPU limitation)
and after making a restriction for the factory data partition the new
image cannot be confirmed after the OTA update finishes.
Due to that, we need to confirm the current OTA image before factory
data initialization.
To do it we should allow confirming the image in the other place
rather than during posting the OTAStateChange event and then we should
inform the image processor of the confirmation status.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants