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

[OTA] Update the READMEs related to software version and image header #16690

Merged
merged 1 commit into from
Mar 26, 2022

Conversation

carol-apple
Copy link
Contributor

Problem

The READMEs for OTA Requestor and Provider had outdated information on software version related to OTA updates

Change overview

  • Added information about how to generate an OTA Requestor application with newer versions
  • Added information on using the ota_image_tool
  • Added the various validation steps taken regarding software version

Testing

  • No functional change, tree compiles

@github-actions
Copy link

github-actions bot commented Mar 25, 2022

PR #16690: Size comparison from 927e237 to 3be19aa

Increases (2 builds for efr32, nrfconnect)
platform target config section 927e237 3be19aa change % change
efr32 lighting-app BRD4161A (read only) 925552 925560 8 0.0
.text 925544 925552 8 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1140887 1140899 12 0.0
rodata 142016 142028 12 0.0
Full report (18 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 927e237 3be19aa change % change
cyw30739 light cyw930739m2evb_01 (read/write) 604626 604626 0 0.0
.app_xip_area 511796 511796 0 0.0
.bss 75576 75576 0 0.0
.data 604 604 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 562430 562430 0 0.0
.app_xip_area 471128 471128 0 0.0
.bss 74080 74080 0 0.0
.data 568 568 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 574786 574786 0 0.0
.app_xip_area 473836 473836 0 0.0
.bss 83408 83408 0 0.0
.data 508 508 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 925552 925560 8 0.0
(read/write) 128688 128688 0 0.0
.bss 126688 126688 0 0.0
.data 1996 1996 0 0.0
.text 925544 925552 8 0.0
BRD4161A+rpc (read only) 954384 954384 0 0.0
(read/write) 144640 144640 0 0.0
.bss 142464 142464 0 0.0
.data 2176 2176 0 0.0
.text 954376 954376 0 0.0
window-app BRD4161A (read only) 854964 854964 0 0.0
(read/write) 126648 126648 0 0.0
.bss 124776 124776 0 0.0
.data 1872 1872 0 0.0
.text 854956 854956 0 0.0
esp32 all-clusters-app c3devkit (read only) 965586 965586 0 0.0
(read/write) 1394210 1394210 0 0.0
.dram0.bss 61992 61992 0 0.0
.dram0.data 14204 14204 0 0.0
.flash.rodata 199096 199096 0 0.0
.flash.text 965586 965586 0 0.0
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1022059 1022059 0 0.0
(read/write) 461964 461964 0 0.0
.dram0.bss 67520 67520 0 0.0
.dram0.data 34024 34024 0 0.0
.flash.rodata 228584 228584 0 0.0
.flash.text 1016675 1016675 0 0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 703144 703144 0 0.0
.bss 77568 77568 0 0.0
.data 1876 1876 0 0.0
.text 617900 617900 0 0.0
lock k32w061+release (read/write) 702244 702244 0 0.0
.bss 77544 77544 0 0.0
.data 1916 1916 0 0.0
.text 616984 616984 0 0.0
linux chip-tool-ipv6only arm64 (read only) 9809852 9809852 0 0.0
(read/write) 473729 473729 0 0.0
.bss 40769 40769 0 0.0
.data 1144 1144 0 0.0
.data.rel.ro 372656 372656 0 0.0
.dynamic 560 560 0 0.0
.got 55352 55352 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 493908 493908 0 0.0
.text 8262772 8262772 0 0.0
thermostat-no-ble arm64 (read only) 2269092 2269092 0 0.0
(read/write) 148385 148385 0 0.0
.bss 62833 62833 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 77000 77000 0 0.0
.dynamic 560 560 0 0.0
.got 4504 4504 0 0.0
.init 24 24 0 0.0
.init_array 360 360 0 0.0
.rodata 139748 139748 0 0.0
.text 1905984 1905984 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2354708 2354708 0 0.0
.bss 184572 184572 0 0.0
.data 5760 5760 0 0.0
.text 1317308 1317308 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1140887 1140899 12 0.0
bss 142500 142500 0 0.0
rodata 142016 142028 12 0.0
text 781500 781500 0 0.0
p6 all-clusters-app default (read/write) 2496712 2496712 0 0.0
.bss 117992 117992 0 0.0
.data 2640 2640 0 0.0
.text 1454976 1454976 0 0.0
light-app default (read/write) 2399152 2399152 0 0.0
.bss 111464 111464 0 0.0
.data 2496 2496 0 0.0
.text 1357416 1357416 0 0.0
lock-app default (read/write) 2362696 2362696 0 0.0
.bss 111208 111208 0 0.0
.data 2456 2456 0 0.0
.text 1320960 1320960 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 897458 897458 0 0.0
bss 87356 87356 0 0.0
noinit 37160 37160 0 0.0
text 634878 634878 0 0.0

Copy link
Contributor

@woody-apple woody-apple left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fast tracking documentation changes.

@github-actions
Copy link

github-actions bot commented Mar 26, 2022

PR #16690: Size comparison from 680499a to 0f9a589

Increases (2 builds for efr32, nrfconnect)
platform target config section 680499a 0f9a589 change % change
efr32 lighting-app BRD4161A (read only) 925552 925560 8 0.0
.text 925544 925552 8 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1140883 1140895 12 0.0
rodata 142012 142024 12 0.0
Full report (27 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 680499a 0f9a589 change % change
cyw30739 light cyw930739m2evb_01 (read/write) 604618 604618 0 0.0
.app_xip_area 511788 511788 0 0.0
.bss 75576 75576 0 0.0
.data 604 604 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 562430 562430 0 0.0
.app_xip_area 471128 471128 0 0.0
.bss 74080 74080 0 0.0
.data 568 568 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 574778 574778 0 0.0
.app_xip_area 473828 473828 0 0.0
.bss 83408 83408 0 0.0
.data 508 508 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 925552 925560 8 0.0
(read/write) 128688 128688 0 0.0
.bss 126688 126688 0 0.0
.data 1996 1996 0 0.0
.text 925544 925552 8 0.0
BRD4161A+rpc (read only) 954384 954384 0 0.0
(read/write) 144640 144640 0 0.0
.bss 142464 142464 0 0.0
.data 2176 2176 0 0.0
.text 954376 954376 0 0.0
window-app BRD4161A (read only) 854980 854980 0 0.0
(read/write) 126648 126648 0 0.0
.bss 124776 124776 0 0.0
.data 1872 1872 0 0.0
.text 854972 854972 0 0.0
esp32 all-clusters-app c3devkit (read only) 965588 965588 0 0.0
(read/write) 1394210 1394210 0 0.0
.dram0.bss 61992 61992 0 0.0
.dram0.data 14204 14204 0 0.0
.flash.rodata 199096 199096 0 0.0
.flash.text 965588 965588 0 0.0
.iram0.text 62016 62016 0 0.0
m5stack (read only) 1022063 1022063 0 0.0
(read/write) 461964 461964 0 0.0
.dram0.bss 67520 67520 0 0.0
.dram0.data 34024 34024 0 0.0
.flash.rodata 228584 228584 0 0.0
.flash.text 1016679 1016679 0 0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 703144 703144 0 0.0
.bss 77568 77568 0 0.0
.data 1876 1876 0 0.0
.text 617900 617900 0 0.0
lock k32w061+release (read/write) 702228 702228 0 0.0
.bss 77544 77544 0 0.0
.data 1916 1916 0 0.0
.text 616968 616968 0 0.0
linux all-clusters-app debug (read only) 2487361 2487361 0 0.0
(read/write) 143344 143344 0 0.0
.bss 57408 57408 0 0.0
.data 1280 1280 0 0.0
.data.rel.ro 78920 78920 0 0.0
.dynamic 592 592 0 0.0
.got 4176 4176 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 212229 212229 0 0.0
.text 2111458 2111458 0 0.0
bridge-app debug+rpc (read only) 1759893 1759893 0 0.0
(read/write) 89552 89552 0 0.0
.bss 44552 44552 0 0.0
.data 1984 1984 0 0.0
.data.rel.ro 37936 37936 0 0.0
.dynamic 592 592 0 0.0
.got 3920 3920 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 144396 144396 0 0.0
.text 1500261 1500261 0 0.0
chip-tool debug (read only) 10179013 10179013 0 0.0
(read/write) 355688 355688 0 0.0
.bss 22496 22496 0 0.0
.data 1072 1072 0 0.0
.data.rel.ro 326008 326008 0 0.0
.dynamic 608 608 0 0.0
.got 4816 4816 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 518485 518485 0 0.0
.text 8876117 8876117 0 0.0
chip-tool-ipv6only arm64 (read only) 9809948 9809948 0 0.0
(read/write) 473729 473729 0 0.0
.bss 40769 40769 0 0.0
.data 1144 1144 0 0.0
.data.rel.ro 372656 372656 0 0.0
.dynamic 560 560 0 0.0
.got 55352 55352 0 0.0
.init 24 24 0 0.0
.init_array 192 192 0 0.0
.rodata 493972 493972 0 0.0
.text 8262804 8262804 0 0.0
door-lock-app debug (read only) 2011745 2011745 0 0.0
(read/write) 116896 116896 0 0.0
.bss 47680 47680 0 0.0
.data 992 992 0 0.0
.data.rel.ro 62840 62840 0 0.0
.dynamic 592 592 0 0.0
.got 4120 4120 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 181020 181020 0 0.0
.text 1681042 1681042 0 0.0
lighting-app debug+rpc (read only) 2186033 2186033 0 0.0
(read/write) 123888 123888 0 0.0
.bss 48960 48960 0 0.0
.data 1472 1472 0 0.0
.data.rel.ro 67928 67928 0 0.0
.dynamic 608 608 0 0.0
.got 4168 4168 0 0.0
.init 27 27 0 0.0
.init_array 744 744 0 0.0
.rodata 175036 175036 0 0.0
.text 1851954 1851954 0 0.0
ota-provider-app debug (read only) 1953033 1953033 0 0.0
(read/write) 112688 112688 0 0.0
.bss 47616 47616 0 0.0
.data 1256 1256 0 0.0
.data.rel.ro 58184 58184 0 0.0
.dynamic 608 608 0 0.0
.got 4376 4376 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 166763 166763 0 0.0
.text 1634530 1634530 0 0.0
ota-requestor-app debug (read only) 1980657 1980657 0 0.0
(read/write) 115912 115912 0 0.0
.bss 48544 48544 0 0.0
.data 1480 1480 0 0.0
.data.rel.ro 60440 60440 0 0.0
.dynamic 592 592 0 0.0
.got 4184 4184 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 162916 162916 0 0.0
.text 1664994 1664994 0 0.0
shell debug (read only) 2436169 2436169 0 0.0
(read/write) 147400 147400 0 0.0
.bss 67336 67336 0 0.0
.data 800 800 0 0.0
.data.rel.ro 73568 73568 0 0.0
.dynamic 592 592 0 0.0
.got 4152 4152 0 0.0
.init 27 27 0 0.0
.init_array 920 920 0 0.0
.rodata 209714 209714 0 0.0
.text 2069634 2069634 0 0.0
thermostat-no-ble arm64 (read only) 2269092 2269092 0 0.0
(read/write) 148385 148385 0 0.0
.bss 62833 62833 0 0.0
.data 1040 1040 0 0.0
.data.rel.ro 77000 77000 0 0.0
.dynamic 560 560 0 0.0
.got 4504 4504 0 0.0
.init 24 24 0 0.0
.init_array 360 360 0 0.0
.rodata 139748 139748 0 0.0
.text 1905984 1905984 0 0.0
tv-app debug (read only) 2683041 2683041 0 0.0
(read/write) 247552 247552 0 0.0
.bss 164320 164320 0 0.0
.data 3136 3136 0 0.0
.data.rel.ro 74048 74048 0 0.0
.dynamic 592 592 0 0.0
.got 4552 4552 0 0.0
.init 27 27 0 0.0
.init_array 888 888 0 0.0
.rodata 205707 205707 0 0.0
.text 2302706 2302706 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2354708 2354708 0 0.0
.bss 184572 184572 0 0.0
.data 5760 5760 0 0.0
.text 1317308 1317308 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1140883 1140895 12 0.0
bss 142500 142500 0 0.0
rodata 142012 142024 12 0.0
text 781496 781496 0 0.0
p6 all-clusters-app default (read/write) 2496728 2496728 0 0.0
.bss 117992 117992 0 0.0
.data 2640 2640 0 0.0
.text 1454992 1454992 0 0.0
light-app default (read/write) 2399168 2399168 0 0.0
.bss 111464 111464 0 0.0
.data 2496 2496 0 0.0
.text 1357432 1357432 0 0.0
lock-app default (read/write) 2362712 2362712 0 0.0
.bss 111208 111208 0 0.0
.data 2456 2456 0 0.0
.text 1320976 1320976 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 897458 897458 0 0.0
bss 87356 87356 0 0.0
noinit 37160 37160 0 0.0
text 634880 634880 0 0.0

@carol-apple carol-apple merged commit bab351f into project-chip:master Mar 26, 2022
rochaferraz pushed a commit to rochaferraz/connectedhomeip that referenced this pull request Mar 31, 2022
andrei-menzopol pushed a commit to andrei-menzopol/connectedhomeip that referenced this pull request Apr 14, 2022
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