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

[Ameba] Implement Matter OTA header processing #15257

Merged
merged 5 commits into from
Mar 1, 2022

Conversation

pankore
Copy link
Contributor

@pankore pankore commented Feb 16, 2022

Problem

  • Implement Matter OTA header processing

Change overview

  • Add ProcessHeader in AmebaOTAImageProcessor.cpp

Testing

Tested ota-requestor-app

@github-actions
Copy link

github-actions bot commented Feb 17, 2022

PR #15257: Size comparison from a314baa to bce2ac9

Full report (34 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section a314baa bce2ac9 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 597578 597578 0 0.0
.app_xip_area 501496 501496 0 0.0
.bss 78780 78780 0 0.0
.data 644 644 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 555526 555526 0 0.0
.app_xip_area 461012 461012 0 0.0
.bss 77252 77252 0 0.0
.data 608 608 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 576630 576630 0 0.0
.app_xip_area 472684 472684 0 0.0
.bss 86356 86356 0 0.0
.data 552 552 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 914580 914580 0 0.0
(read/write) 129524 129524 0 0.0
.bss 127488 127488 0 0.0
.data 2036 2036 0 0.0
.text 914572 914572 0 0.0
BRD4161A+rpc (read only) 943272 943272 0 0.0
(read/write) 146440 146440 0 0.0
.bss 144264 144264 0 0.0
.data 2176 2176 0 0.0
.text 943264 943264 0 0.0
window-app BRD4161A (read only) 848440 848440 0 0.0
(read/write) 127416 127416 0 0.0
.bss 125512 125512 0 0.0
.data 1904 1904 0 0.0
.text 848432 848432 0 0.0
esp32 all-clusters-app c3devkit (read only) 947906 947906 0 0.0
(read/write) 1401178 1401178 0 0.0
.dram0.bss 68296 68296 0 0.0
.dram0.data 14268 14268 0 0.0
.flash.rodata 199712 199712 0 0.0
.flash.text 947906 947906 0 0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 997671 997671 0 0.0
(read/write) 466420 466420 0 0.0
.dram0.bss 73432 73432 0 0.0
.dram0.data 34064 34064 0 0.0
.flash.rodata 226796 226796 0 0.0
.flash.text 992287 992287 0 0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 691596 691596 0 0.0
.bss 78384 78384 0 0.0
.data 1912 1912 0 0.0
.text 605500 605500 0 0.0
lock k32w061+release (read/write) 694228 694228 0 0.0
.bss 78600 78600 0 0.0
.data 1952 1952 0 0.0
.text 607876 607876 0 0.0
linux chip-tool-ipv6only arm64 (read only) 8333284 8333284 0 0.0
(read/write) 362609 362609 0 0.0
.bss 58961 58961 0 0.0
.data 1216 1216 0 0.0
.data.rel.ro 249368 249368 0 0.0
.dynamic 560 560 0 0.0
.got 49272 49272 0 0.0
.init 24 24 0 0.0
.init_array 200 200 0 0.0
.rodata 435820 435820 0 0.0
.text 7134772 7134772 0 0.0
thermostat-no-ble arm64 (read only) 2163132 2163132 0 0.0
(read/write) 150737 150737 0 0.0
.bss 67489 67489 0 0.0
.data 1032 1032 0 0.0
.data.rel.ro 75024 75024 0 0.0
.dynamic 560 560 0 0.0
.got 4208 4208 0 0.0
.init 24 24 0 0.0
.init_array 336 336 0 0.0
.rodata 133596 133596 0 0.0
.text 1810912 1810912 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2428700 2428700 0 0.0
.bss 195916 195916 0 0.0
.data 5328 5328 0 0.0
.text 1391272 1391272 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2391900 2391900 0 0.0
.bss 188448 188448 0 0.0
.data 5632 5632 0 0.0
.text 1354472 1354472 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2327344 2327344 0 0.0
.bss 187424 187424 0 0.0
.data 5608 5608 0 0.0
.text 1289944 1289944 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139840 1139840 0 0.0
.bss 11796 11796 0 0.0
.data 4368 4368 0 0.0
.text 103224 103224 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2318108 2318108 0 0.0
.bss 185972 185972 0 0.0
.data 5440 5440 0 0.0
.text 1280680 1280680 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 1022539 1022539 0 0.0
bss 123548 123548 0 0.0
rodata 120664 120664 0 0.0
text 699328 699328 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 991835 991835 0 0.0
bss 120736 120736 0 0.0
rodata 112192 112192 0 0.0
text 679228 679228 0 0.0
nrf52840dongle_nrf52840 (read/write) 1037359 1037359 0 0.0
bss 124768 124768 0 0.0
rodata 119480 119480 0 0.0
text 703216 703216 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 929154 929154 0 0.0
bss 120112 120112 0 0.0
rodata 113908 113908 0 0.0
text 614340 614340 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 951243 951243 0 0.0
bss 121752 121752 0 0.0
rodata 109360 109360 0 0.0
text 641516 641516 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 858706 858706 0 0.0
bss 118344 118344 0 0.0
rodata 102532 102532 0 0.0
text 557308 557308 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 527595 527595 0 0.0
bss 53632 53632 0 0.0
rodata 49976 49976 0 0.0
text 361016 361016 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 949695 949695 0 0.0
bss 121472 121472 0 0.0
rodata 108316 108316 0 0.0
text 641336 641336 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 945767 945767 0 0.0
bss 121476 121476 0 0.0
rodata 108012 108012 0 0.0
text 637576 637576 0 0.0
shell nrf52840dk_nrf52840 (read/write) 810767 810767 0 0.0
bss 113324 113324 0 0.0
rodata 79348 79348 0 0.0
text 540444 540444 0 0.0
p6 all-clusters-app default (read/write) 2486304 2486304 0 0.0
.bss 124232 124232 0 0.0
.data 2672 2672 0 0.0
.text 1444568 1444568 0 0.0
light-app default (read/write) 2393192 2393192 0 0.0
.bss 113912 113912 0 0.0
.data 2528 2528 0 0.0
.text 1351456 1351456 0 0.0
lock-app default (read/write) 2356656 2356656 0 0.0
.bss 113640 113640 0 0.0
.data 2488 2488 0 0.0
.text 1314920 1314920 0 0.0
qpg lighting-app qpg6105+debug (read only) 599068 599068 0 0.0
(read/write) 146940 146940 0 0.0
.bss 90744 90744 0 0.0
.data 1112 1112 0 0.0
.text 593748 593748 0 0.0
lock-app qpg6105+debug (read only) 564700 564700 0 0.0
(read/write) 146940 146940 0 0.0
.bss 90728 90728 0 0.0
.data 1064 1064 0 0.0
.text 559380 559380 0 0.0
persistent-storage-app qpg6105+debug (read only) 99520 99520 0 0.0
(read/write) 146940 146940 0 0.0
.bss 24004 24004 0 0.0
.data 176 176 0 0.0
.text 94200 94200 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 877890 877890 0 0.0
bss 87520 87520 0 0.0
noinit 37160 37160 0 0.0
text 618302 618302 0 0.0

@pankore
Copy link
Contributor Author

pankore commented Feb 18, 2022

The prerequisite for this PR is #15253.

@pankore
Copy link
Contributor Author

pankore commented Feb 23, 2022

/rebase

@github-actions
Copy link

github-actions bot commented Feb 23, 2022

PR #15257: Size comparison from 9f09e52 to 15a61ee

Full report (43 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 9f09e52 15a61ee change % change
cyw30739 light cyw930739m2evb_01 (read/write) 598714 598714 0 0.0
.app_xip_area 503520 503520 0 0.0
.bss 77884 77884 0 0.0
.data 652 652 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 556750 556750 0 0.0
.app_xip_area 463100 463100 0 0.0
.bss 76380 76380 0 0.0
.data 616 616 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 577754 577754 0 0.0
.app_xip_area 474672 474672 0 0.0
.bss 85484 85484 0 0.0
.data 560 560 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 915708 915708 0 0.0
(read/write) 128648 128648 0 0.0
.bss 126600 126600 0 0.0
.data 2048 2048 0 0.0
.text 915700 915700 0 0.0
BRD4161A+rpc (read only) 944432 944432 0 0.0
(read/write) 145568 145568 0 0.0
.bss 143376 143376 0 0.0
.data 2188 2188 0 0.0
.text 944424 944424 0 0.0
window-app BRD4161A (read only) 850088 850088 0 0.0
(read/write) 126552 126552 0 0.0
.bss 124632 124632 0 0.0
.data 1916 1916 0 0.0
.text 850080 850080 0 0.0
esp32 all-clusters-app c3devkit (read only) 951282 951282 0 0.0
(read/write) 1399522 1399522 0 0.0
.dram0.bss 66672 66672 0 0.0
.dram0.data 14172 14172 0 0.0
.flash.rodata 199784 199784 0 0.0
.flash.text 951282 951282 0 0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 1001243 1001243 0 0.0
(read/write) 464920 464920 0 0.0
.dram0.bss 71824 71824 0 0.0
.dram0.data 34072 34072 0 0.0
.flash.rodata 226896 226896 0 0.0
.flash.text 995859 995859 0 0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 691396 691396 0 0.0
.bss 77520 77520 0 0.0
.data 1924 1924 0 0.0
.text 606152 606152 0 0.0
lock k32w061+release (read/write) 694204 694204 0 0.0
.bss 77720 77720 0 0.0
.data 1964 1964 0 0.0
.text 608720 608720 0 0.0
linux all-clusters-app debug (read only) 2393169 2393169 0 0.0
(read/write) 148560 148560 0 0.0
.bss 62944 62944 0 0.0
.data 1360 1360 0 0.0
.data.rel.ro 78552 78552 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 206501 206501 0 0.0
.text 2023346 2023346 0 0.0
bridge-app debug+rpc (read only) 1716325 1716325 0 0.0
(read/write) 93824 93824 0 0.0
.bss 48480 48480 0 0.0
.data 2042 2042 0 0.0
.data.rel.ro 38232 38232 0 0.0
.dynamic 592 592 0 0.0
.got 3912 3912 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 140596 140596 0 0.0
.text 1459685 1459685 0 0.0
chip-tool debug (read only) 9068637 9068637 0 0.0
(read/write) 321592 321592 0 0.0
.bss 41024 41024 0 0.0
.data 1164 1164 0 0.0
.data.rel.ro 273352 273352 0 0.0
.dynamic 608 608 0 0.0
.got 4784 4784 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 479829 479829 0 0.0
.text 7926645 7926645 0 0.0
chip-tool-ipv6only arm64 (read only) 8821412 8821412 0 0.0
(read/write) 434705 434705 0 0.0
.bss 59265 59265 0 0.0
.data 1216 1216 0 0.0
.data.rel.ro 319024 319024 0 0.0
.dynamic 560 560 0 0.0
.got 51392 51392 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 456540 456540 0 0.0
.text 7446548 7446548 0 0.0
door-lock-app debug (read only) 1931697 1931697 0 0.0
(read/write) 119928 119928 0 0.0
.bss 51168 51168 0 0.0
.data 1050 1050 0 0.0
.data.rel.ro 62352 62352 0 0.0
.dynamic 592 592 0 0.0
.got 4096 4096 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 172284 172284 0 0.0
.text 1610642 1610642 0 0.0
lighting-app debug+rpc (read only) 2061049 2061049 0 0.0
(read/write) 124840 124840 0 0.0
.bss 52128 52128 0 0.0
.data 1408 1408 0 0.0
.data.rel.ro 65856 65856 0 0.0
.dynamic 608 608 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 704 704 0 0.0
.rodata 164721 164721 0 0.0
.text 1741426 1741426 0 0.0
ota-provider-app debug (read only) 1865025 1865025 0 0.0
(read/write) 115592 115592 0 0.0
.bss 51008 51008 0 0.0
.data 1288 1288 0 0.0
.data.rel.ro 57672 57672 0 0.0
.dynamic 608 608 0 0.0
.got 4352 4352 0 0.0
.init 27 27 0 0.0
.init_array 608 608 0 0.0
.rodata 157075 157075 0 0.0
.text 1557074 1557074 0 0.0
ota-requestor-app debug (read only) 1876497 1876497 0 0.0
(read/write) 117392 117392 0 0.0
.bss 51872 51872 0 0.0
.data 1192 1192 0 0.0
.data.rel.ro 58936 58936 0 0.0
.dynamic 592 592 0 0.0
.got 4152 4152 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 151268 151268 0 0.0
.text 1576034 1576034 0 0.0
shell debug (read only) 2361625 2361625 0 0.0
(read/write) 151072 151072 0 0.0
.bss 71296 71296 0 0.0
.data 864 864 0 0.0
.data.rel.ro 73280 73280 0 0.0
.dynamic 592 592 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 888 888 0 0.0
.rodata 206770 206770 0 0.0
.text 1997746 1997746 0 0.0
thermostat-no-ble arm64 (read only) 2160220 2160220 0 0.0
(read/write) 149873 149873 0 0.0
.bss 66433 66433 0 0.0
.data 1056 1056 0 0.0
.data.rel.ro 75216 75216 0 0.0
.dynamic 560 560 0 0.0
.got 4208 4208 0 0.0
.init 24 24 0 0.0
.init_array 352 352 0 0.0
.rodata 132700 132700 0 0.0
.text 1808816 1808816 0 0.0
tv-app debug (read only) 2586729 2586729 0 0.0
(read/write) 152176 152176 0 0.0
.bss 69120 69120 0 0.0
.data 3168 3168 0 0.0
.data.rel.ro 73864 73864 0 0.0
.dynamic 592 592 0 0.0
.got 4528 4528 0 0.0
.init 27 27 0 0.0
.init_array 872 872 0 0.0
.rodata 199741 199741 0 0.0
.text 2212530 2212530 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2439820 2439820 0 0.0
.bss 194612 194612 0 0.0
.data 5360 5360 0 0.0
.text 1402392 1402392 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2400940 2400940 0 0.0
.bss 188712 188712 0 0.0
.data 5656 5656 0 0.0
.text 1363512 1363512 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2336696 2336696 0 0.0
.bss 187608 187608 0 0.0
.data 5632 5632 0 0.0
.text 1299296 1299296 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1139840 1139840 0 0.0
.bss 11796 11796 0 0.0
.data 4368 4368 0 0.0
.text 103224 103224 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2327348 2327348 0 0.0
.bss 186244 186244 0 0.0
.data 5464 5464 0 0.0
.text 1289920 1289920 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 1022187 1022187 0 0.0
bss 122664 122664 0 0.0
rodata 120768 120768 0 0.0
text 699748 699748 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 991447 991447 0 0.0
bss 119852 119852 0 0.0
rodata 112292 112292 0 0.0
text 679628 679628 0 0.0
nrf52840dongle_nrf52840 (read/write) 1037183 1037183 0 0.0
bss 123868 123868 0 0.0
rodata 119616 119616 0 0.0
text 703796 703796 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 928830 928830 0 0.0
bss 119224 119224 0 0.0
rodata 114024 114024 0 0.0
text 614780 614780 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 951227 951227 0 0.0
bss 120876 120876 0 0.0
rodata 109608 109608 0 0.0
text 642144 642144 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 858702 858702 0 0.0
bss 117468 117468 0 0.0
rodata 102776 102776 0 0.0
text 557952 557952 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 527567 527567 0 0.0
bss 53632 53632 0 0.0
rodata 49948 49948 0 0.0
text 361016 361016 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 949371 949371 0 0.0
bss 120596 120596 0 0.0
rodata 108560 108560 0 0.0
text 641532 641532 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 945331 945331 0 0.0
bss 120600 120600 0 0.0
rodata 108256 108256 0 0.0
text 637772 637772 0 0.0
shell nrf52840dk_nrf52840 (read/write) 811667 811667 0 0.0
bss 113348 113348 0 0.0
rodata 79752 79752 0 0.0
text 540932 540932 0 0.0
p6 all-clusters-app default (read/write) 2490400 2490400 0 0.0
.bss 122400 122400 0 0.0
.data 2688 2688 0 0.0
.text 1448664 1448664 0 0.0
light-app default (read/write) 2394376 2394376 0 0.0
.bss 113648 113648 0 0.0
.data 2536 2536 0 0.0
.text 1352640 1352640 0 0.0
lock-app default (read/write) 2357952 2357952 0 0.0
.bss 113400 113400 0 0.0
.data 2496 2496 0 0.0
.text 1316216 1316216 0 0.0
qpg lighting-app qpg6105+debug (read only) 600268 600268 0 0.0
(read/write) 146936 146936 0 0.0
.bss 90936 90936 0 0.0
.data 1124 1124 0 0.0
.text 594948 594948 0 0.0
lock-app qpg6105+debug (read only) 566036 566036 0 0.0
(read/write) 146936 146936 0 0.0
.bss 90944 90944 0 0.0
.data 1076 1076 0 0.0
.text 560716 560716 0 0.0
persistent-storage-app qpg6105+debug (read only) 99536 99536 0 0.0
(read/write) 146941 146941 0 0.0
.bss 24001 24001 0 0.0
.data 180 180 0 0.0
.text 94216 94216 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 881402 881402 0 0.0
bss 86372 86372 0 0.0
noinit 37160 37160 0 0.0
text 622708 622708 0 0.0

@pankore
Copy link
Contributor Author

pankore commented Feb 25, 2022

/rebase

@github-actions
Copy link

github-actions bot commented Feb 25, 2022

PR #15257: Size comparison from 980e177 to 1063495

Full report (45 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 980e177 1063495 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 599010 599010 0 0.0
.app_xip_area 503856 503856 0 0.0
.bss 77844 77844 0 0.0
.data 652 652 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 557094 557094 0 0.0
.app_xip_area 463476 463476 0 0.0
.bss 76348 76348 0 0.0
.data 616 616 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 577598 577598 0 0.0
.app_xip_area 474556 474556 0 0.0
.bss 85444 85444 0 0.0
.data 560 560 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 915892 915892 0 0.0
(read/write) 128608 128608 0 0.0
.bss 126560 126560 0 0.0
.data 2048 2048 0 0.0
.text 915884 915884 0 0.0
BRD4161A+rpc (read only) 945988 945988 0 0.0
(read/write) 145548 145548 0 0.0
.bss 143336 143336 0 0.0
.data 2212 2212 0 0.0
.text 945980 945980 0 0.0
lock-app BRD4161A+wf200 (read only) 985812 985812 0 0.0
(read/write) 120360 120360 0 0.0
.bss 118436 118436 0 0.0
.data 1924 1924 0 0.0
.text 985804 985804 0 0.0
window-app BRD4161A (read only) 849984 849984 0 0.0
(read/write) 126840 126840 0 0.0
.bss 124920 124920 0 0.0
.data 1916 1916 0 0.0
.text 849976 849976 0 0.0
esp32 all-clusters-app c3devkit (read only) 952386 952386 0 0.0
(read/write) 1392858 1392858 0 0.0
.dram0.bss 62936 62936 0 0.0
.dram0.data 14172 14172 0 0.0
.flash.rodata 196848 196848 0 0.0
.flash.text 952386 952386 0 0.0
.iram0.text 62056 62056 0 0.0
m5stack (read only) 1002411 1002411 0 0.0
(read/write) 458336 458336 0 0.0
.dram0.bss 68080 68080 0 0.0
.dram0.data 34072 34072 0 0.0
.flash.rodata 224056 224056 0 0.0
.flash.text 997027 997027 0 0.0
.iram0.text 123399 123399 0 0.0
k32w light k32w061+release (read/write) 691360 691360 0 0.0
.bss 77472 77472 0 0.0
.data 1924 1924 0 0.0
.text 606164 606164 0 0.0
lock k32w061+release (read/write) 694648 694648 0 0.0
.bss 77688 77688 0 0.0
.data 1964 1964 0 0.0
.text 609196 609196 0 0.0
linux all-clusters-app debug (read only) 2392145 2392145 0 0.0
(read/write) 144688 144688 0 0.0
.bss 59232 59232 0 0.0
.data 1360 1360 0 0.0
.data.rel.ro 78392 78392 0 0.0
.dynamic 592 592 0 0.0
.got 4160 4160 0 0.0
.init 27 27 0 0.0
.init_array 904 904 0 0.0
.rodata 204197 204197 0 0.0
.text 2025202 2025202 0 0.0
bridge-app debug+rpc (read only) 1718253 1718253 0 0.0
(read/write) 92736 92736 0 0.0
.bss 47552 47552 0 0.0
.data 2042 2042 0 0.0
.data.rel.ro 38088 38088 0 0.0
.dynamic 592 592 0 0.0
.got 3912 3912 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 141012 141012 0 0.0
.text 1461461 1461461 0 0.0
chip-tool debug (read only) 8994413 8994413 0 0.0
(read/write) 298488 298488 0 0.0
.bss 40384 40384 0 0.0
.data 1164 1164 0 0.0
.data.rel.ro 250872 250872 0 0.0
.dynamic 608 608 0 0.0
.got 4784 4784 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 480533 480533 0 0.0
.text 7905429 7905429 0 0.0
chip-tool-ipv6only arm64 (read only) 8748748 8748748 0 0.0
(read/write) 411601 411601 0 0.0
.bss 58609 58609 0 0.0
.data 1216 1216 0 0.0
.data.rel.ro 296568 296568 0 0.0
.dynamic 560 560 0 0.0
.got 51408 51408 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 456676 456676 0 0.0
.text 7427620 7427620 0 0.0
door-lock-app debug (read only) 1933881 1933881 0 0.0
(read/write) 119128 119128 0 0.0
.bss 50496 50496 0 0.0
.data 1050 1050 0 0.0
.data.rel.ro 62200 62200 0 0.0
.dynamic 592 592 0 0.0
.got 4096 4096 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 173052 173052 0 0.0
.text 1612370 1612370 0 0.0
lighting-app debug+rpc (read only) 2068713 2068713 0 0.0
(read/write) 124488 124488 0 0.0
.bss 51424 51424 0 0.0
.data 1472 1472 0 0.0
.data.rel.ro 66144 66144 0 0.0
.dynamic 608 608 0 0.0
.got 4128 4128 0 0.0
.init 27 27 0 0.0
.init_array 704 704 0 0.0
.rodata 165617 165617 0 0.0
.text 1747666 1747666 0 0.0
ota-provider-app debug (read only) 1866449 1866449 0 0.0
(read/write) 114792 114792 0 0.0
.bss 50368 50368 0 0.0
.data 1320 1320 0 0.0
.data.rel.ro 57480 57480 0 0.0
.dynamic 608 608 0 0.0
.got 4352 4352 0 0.0
.init 27 27 0 0.0
.init_array 608 608 0 0.0
.rodata 158195 158195 0 0.0
.text 1557714 1557714 0 0.0
ota-requestor-app debug (read only) 1876945 1876945 0 0.0
(read/write) 116560 116560 0 0.0
.bss 51232 51232 0 0.0
.data 1192 1192 0 0.0
.data.rel.ro 58744 58744 0 0.0
.dynamic 592 592 0 0.0
.got 4152 4152 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 151940 151940 0 0.0
.text 1576194 1576194 0 0.0
shell debug (read only) 2360553 2360553 0 0.0
(read/write) 147168 147168 0 0.0
.bss 67552 67552 0 0.0
.data 864 864 0 0.0
.data.rel.ro 73096 73096 0 0.0
.dynamic 592 592 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 888 888 0 0.0
.rodata 204178 204178 0 0.0
.text 1999842 1999842 0 0.0
thermostat-no-ble arm64 (read only) 2161012 2161012 0 0.0
(read/write) 148577 148577 0 0.0
.bss 65265 65265 0 0.0
.data 1056 1056 0 0.0
.data.rel.ro 75080 75080 0 0.0
.dynamic 560 560 0 0.0
.got 4216 4216 0 0.0
.init 24 24 0 0.0
.init_array 352 352 0 0.0
.rodata 132756 132756 0 0.0
.text 1809952 1809952 0 0.0
tv-app debug (read only) 2586937 2586937 0 0.0
(read/write) 148624 148624 0 0.0
.bss 65824 65824 0 0.0
.data 3168 3168 0 0.0
.data.rel.ro 73624 73624 0 0.0
.dynamic 592 592 0 0.0
.got 4528 4528 0 0.0
.init 27 27 0 0.0
.init_array 872 872 0 0.0
.rodata 198173 198173 0 0.0
.text 2215026 2215026 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2449520 2449520 0 0.0
.bss 191016 191016 0 0.0
.data 5512 5512 0 0.0
.text 1412092 1412092 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2414280 2414280 0 0.0
.bss 188188 188188 0 0.0
.data 5800 5800 0 0.0
.text 1376852 1376852 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2350036 2350036 0 0.0
.bss 187092 187092 0 0.0
.data 5776 5776 0 0.0
.text 1312636 1312636 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1155428 1155428 0 0.0
.bss 11952 11952 0 0.0
.data 4512 4512 0 0.0
.text 118812 118812 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2340032 2340032 0 0.0
.bss 185728 185728 0 0.0
.data 5608 5608 0 0.0
.text 1302604 1302604 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1038379 1038379 0 0.0
bss 125752 125752 0 0.0
rodata 135772 135772 0 0.0
text 699640 699640 0 0.0
lighting-app nrf52840dk_nrf52840 (read/write) 1001607 1001607 0 0.0
bss 122060 122060 0 0.0
rodata 116016 116016 0 0.0
text 686020 686020 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 967919 967919 0 0.0
bss 119144 119144 0 0.0
rodata 107392 107392 0 0.0
text 663244 663244 0 0.0
nrf52840dongle_nrf52840 (read/write) 1017679 1017679 0 0.0
bss 123108 123108 0 0.0
rodata 115700 115700 0 0.0
text 690724 690724 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 904418 904418 0 0.0
bss 119348 119348 0 0.0
rodata 108128 108128 0 0.0
text 595732 595732 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 930695 930695 0 0.0
bss 120276 120276 0 0.0
rodata 104848 104848 0 0.0
text 628504 628504 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 834318 834318 0 0.0
bss 117596 117596 0 0.0
rodata 96876 96876 0 0.0
text 538980 538980 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 501603 501603 0 0.0
bss 52584 52584 0 0.0
rodata 44500 44500 0 0.0
text 342712 342712 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 928939 928939 0 0.0
bss 120008 120008 0 0.0
rodata 103828 103828 0 0.0
text 627932 627932 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 924915 924915 0 0.0
bss 120012 120012 0 0.0
rodata 103524 103524 0 0.0
text 624188 624188 0 0.0
shell nrf52840dk_nrf52840 (read/write) 788795 788795 0 0.0
bss 112360 112360 0 0.0
rodata 74836 74836 0 0.0
text 525496 525496 0 0.0
p6 all-clusters-app default (read/write) 2487472 2487472 0 0.0
.bss 118656 118656 0 0.0
.data 2688 2688 0 0.0
.text 1445736 1445736 0 0.0
light-app default (read/write) 2394696 2394696 0 0.0
.bss 112976 112976 0 0.0
.data 2536 2536 0 0.0
.text 1352960 1352960 0 0.0
lock-app default (read/write) 2358256 2358256 0 0.0
.bss 112720 112720 0 0.0
.data 2496 2496 0 0.0
.text 1316520 1316520 0 0.0
qpg lighting-app qpg6105+debug (read only) 600648 600648 0 0.0
(read/write) 146936 146936 0 0.0
.bss 90904 90904 0 0.0
.data 1124 1124 0 0.0
.text 595328 595328 0 0.0
lock-app qpg6105+debug (read only) 566452 566452 0 0.0
(read/write) 146936 146936 0 0.0
.bss 90912 90912 0 0.0
.data 1076 1076 0 0.0
.text 561132 561132 0 0.0
persistent-storage-app qpg6105+debug (read only) 99536 99536 0 0.0
(read/write) 146941 146941 0 0.0
.bss 24001 24001 0 0.0
.data 180 180 0 0.0
.text 94216 94216 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 882546 882546 0 0.0
bss 86336 86336 0 0.0
noinit 37160 37160 0 0.0
text 623544 623544 0 0.0

@pankore
Copy link
Contributor Author

pankore commented Feb 27, 2022

/rebase

@github-actions
Copy link

github-actions bot commented Feb 27, 2022

PR #15257: Size comparison from 4668421 to 1fed277

Full report (32 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 4668421 1fed277 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 599542 599542 0 0.0
.app_xip_area 504388 504388 0 0.0
.bss 77844 77844 0 0.0
.data 652 652 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 557614 557614 0 0.0
.app_xip_area 463996 463996 0 0.0
.bss 76348 76348 0 0.0
.data 616 616 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 578138 578138 0 0.0
.app_xip_area 475088 475088 0 0.0
.bss 85452 85452 0 0.0
.data 560 560 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 916516 916516 0 0.0
(read/write) 128608 128608 0 0.0
.bss 126560 126560 0 0.0
.data 2048 2048 0 0.0
.text 916508 916508 0 0.0
BRD4161A+rpc (read only) 946604 946604 0 0.0
(read/write) 145548 145548 0 0.0
.bss 143336 143336 0 0.0
.data 2212 2212 0 0.0
.text 946596 946596 0 0.0
lock-app BRD4161A+wf200 (read only) 986436 986436 0 0.0
(read/write) 120360 120360 0 0.0
.bss 118436 118436 0 0.0
.data 1924 1924 0 0.0
.text 986428 986428 0 0.0
window-app BRD4161A (read only) 850596 850596 0 0.0
(read/write) 126844 126844 0 0.0
.bss 124928 124928 0 0.0
.data 1916 1916 0 0.0
.text 850588 850588 0 0.0
esp32 all-clusters-app c3devkit (read only) 956534 956534 0 0.0
(read/write) 1392986 1392986 0 0.0
.dram0.bss 62592 62592 0 0.0
.dram0.data 14228 14228 0 0.0
.flash.rodata 197248 197248 0 0.0
.flash.text 956534 956534 0 0.0
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1004671 1004671 0 0.0
(read/write) 458264 458264 0 0.0
.dram0.bss 68096 68096 0 0.0
.dram0.data 34072 34072 0 0.0
.flash.rodata 224600 224600 0 0.0
.flash.text 999287 999287 0 0.0
.iram0.text 122767 122767 0 0.0
k32w light k32w061+release (read/write) 691904 691904 0 0.0
.bss 77480 77480 0 0.0
.data 1924 1924 0 0.0
.text 606700 606700 0 0.0
lock k32w061+release (read/write) 695176 695176 0 0.0
.bss 77688 77688 0 0.0
.data 1964 1964 0 0.0
.text 609724 609724 0 0.0
linux chip-tool-ipv6only arm64 (read only) 8757372 8757372 0 0.0
(read/write) 412049 412049 0 0.0
.bss 58673 58673 0 0.0
.data 1216 1216 0 0.0
.data.rel.ro 296840 296840 0 0.0
.dynamic 560 560 0 0.0
.got 51512 51512 0 0.0
.init 24 24 0 0.0
.init_array 208 208 0 0.0
.rodata 456996 456996 0 0.0
.text 7435092 7435092 0 0.0
thermostat-no-ble arm64 (read only) 2162916 2162916 0 0.0
(read/write) 148577 148577 0 0.0
.bss 65265 65265 0 0.0
.data 1056 1056 0 0.0
.data.rel.ro 75080 75080 0 0.0
.dynamic 560 560 0 0.0
.got 4216 4216 0 0.0
.init 24 24 0 0.0
.init_array 352 352 0 0.0
.rodata 132964 132964 0 0.0
.text 1811648 1811648 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2350140 2350140 0 0.0
.bss 187092 187092 0 0.0
.data 5776 5776 0 0.0
.text 1312740 1312740 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1038907 1038907 0 0.0
bss 125756 125756 0 0.0
rodata 135900 135900 0 0.0
text 700036 700036 0 0.0
lighting-app nrf52840dk_nrf52840 (read/write) 1002695 1002695 0 0.0
bss 122080 122080 0 0.0
rodata 116144 116144 0 0.0
text 686984 686984 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 969007 969007 0 0.0
bss 119164 119164 0 0.0
rodata 107520 107520 0 0.0
text 664208 664208 0 0.0
nrf52840dongle_nrf52840 (read/write) 1018207 1018207 0 0.0
bss 123112 123112 0 0.0
rodata 115828 115828 0 0.0
text 691124 691124 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 905538 905538 0 0.0
bss 119368 119368 0 0.0
rodata 108256 108256 0 0.0
text 596696 596696 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 931223 931223 0 0.0
bss 120280 120280 0 0.0
rodata 104976 104976 0 0.0
text 628904 628904 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 834846 834846 0 0.0
bss 117600 117600 0 0.0
rodata 97004 97004 0 0.0
text 539380 539380 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 501603 501603 0 0.0
bss 52584 52584 0 0.0
rodata 44500 44500 0 0.0
text 342712 342712 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 929467 929467 0 0.0
bss 120012 120012 0 0.0
rodata 103956 103956 0 0.0
text 628332 628332 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 925443 925443 0 0.0
bss 120016 120016 0 0.0
rodata 103652 103652 0 0.0
text 624588 624588 0 0.0
shell nrf52840dk_nrf52840 (read/write) 788811 788811 0 0.0
bss 112360 112360 0 0.0
rodata 74836 74836 0 0.0
text 525504 525504 0 0.0
p6 all-clusters-app default (read/write) 2488104 2488104 0 0.0
.bss 118664 118664 0 0.0
.data 2688 2688 0 0.0
.text 1446368 1446368 0 0.0
light-app default (read/write) 2395304 2395304 0 0.0
.bss 112984 112984 0 0.0
.data 2536 2536 0 0.0
.text 1353568 1353568 0 0.0
lock-app default (read/write) 2358880 2358880 0 0.0
.bss 112728 112728 0 0.0
.data 2496 2496 0 0.0
.text 1317144 1317144 0 0.0
qpg lighting-app qpg6105+debug (read only) 601168 601168 0 0.0
(read/write) 146936 146936 0 0.0
.bss 90904 90904 0 0.0
.data 1124 1124 0 0.0
.text 595848 595848 0 0.0
lock-app qpg6105+debug (read only) 566964 566964 0 0.0
(read/write) 146936 146936 0 0.0
.bss 90912 90912 0 0.0
.data 1076 1076 0 0.0
.text 561644 561644 0 0.0
persistent-storage-app qpg6105+debug (read only) 99536 99536 0 0.0
(read/write) 146941 146941 0 0.0
.bss 24001 24001 0 0.0
.data 180 180 0 0.0
.text 94216 94216 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 883086 883086 0 0.0
bss 86336 86336 0 0.0
noinit 37160 37160 0 0.0
text 623942 623942 0 0.0

@pankore
Copy link
Contributor Author

pankore commented Feb 28, 2022

Hi @andy31415 @woody-apple ,
Please kindly help to review this PR, all checks have passed. Thanks!

@pankore
Copy link
Contributor Author

pankore commented Mar 1, 2022

/rebase

@andy31415 andy31415 merged commit 32f41f1 into project-chip:master Mar 1, 2022
pankore added a commit to pankore/connectedhomeip that referenced this pull request Mar 3, 2022
* Process Matter OTA header

* Add log into ProcessHeader in AmebaOTAImageProcessor.cpp

* Fix restyled errors

* Add checking of block.size() after reading Matter header

* Fix restyle
step0035 pushed a commit to hank820/connectedhomeip that referenced this pull request Mar 3, 2022
* Process Matter OTA header

* Add log into ProcessHeader in AmebaOTAImageProcessor.cpp

* Fix restyled errors

* Add checking of block.size() after reading Matter header

* Fix restyle
@pankore pankore deleted the matter-ota-header branch April 11, 2022 03:19
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