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

[docker] Enable all docker images in build CI #12367

Merged
merged 4 commits into from
Dec 8, 2021

Conversation

electrocucaracha
Copy link
Collaborator

@electrocucaracha electrocucaracha commented Nov 30, 2021

Problem

Change overview

This change includes all the existing Dockerfiles into the Docker build CI workflow as well as the right Docker tag in the Vulnerability Scanner.

It also reduces the size of the crosscompile docker image from 5.22GB to 1.79GB (given that now it uses the alpine as base image instead of chip-base image) as well as includes the instructions to generate Sysroot tarball file.

Testing

This was tested locally

@electrocucaracha
Copy link
Collaborator Author

The build docker task is failing given the ubuntu sysroot file is not present.

@github-actions
Copy link

github-actions bot commented Dec 1, 2021

PR #12367: Size comparison from 7b7374a to 3b253ed

Full report (39 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 7b7374a 3b253ed change % change
efr32 lighting-app BRD4161A (read only) 727448 727448 0 0.0
(read/write) 119420 119420 0 0.0
.bss 117604 117604 0 0.0
.data 1812 1812 0 0.0
.text 727440 727440 0 0.0
BRD4161A+rpc (read only) 756088 756088 0 0.0
(read/write) 137724 137724 0 0.0
.bss 135804 135804 0 0.0
.data 1920 1920 0 0.0
.text 756080 756080 0 0.0
lock-app BRD4161A (read only) 701308 701308 0 0.0
(read/write) 117124 117124 0 0.0
.bss 115356 115356 0 0.0
.data 1768 1768 0 0.0
.text 701300 701300 0 0.0
window-app BRD4161A (read only) 704420 704420 0 0.0
(read/write) 117548 117548 0 0.0
.bss 115772 115772 0 0.0
.data 1776 1776 0 0.0
.text 704412 704412 0 0.0
esp32 all-clusters-app c3devkit (read only) 837840 837840 0 0.0
(read/write) 1224178 1224178 0 0.0
.dram0.bss 58560 58560 0 0.0
.dram0.data 14028 14028 0 0.0
.flash.rodata 166344 166344 0 0.0
.flash.text 837840 837840 0 0.0
.iram0.text 61394 61394 0 0.0
m5stack (read only) 909347 909347 0 0.0
(read/write) 423440 423440 0 0.0
.dram0.bss 63960 63960 0 0.0
.dram0.data 34000 34000 0 0.0
.flash.rodata 194200 194200 0 0.0
.flash.text 903963 903963 0 0.0
.iram0.text 122943 122943 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 725032 725032 0 0.0
.bss 78796 78796 0 0.0
.data 1844 1844 0 0.0
.text 638592 638592 0 0.0
lock-app k32w061+debug (read/write) 614032 614032 0 0.0
.bss 69236 69236 0 0.0
.data 1808 1808 0 0.0
.text 537188 537188 0 0.0
shell k32w061+debug (read/write) 679828 679828 0 0.0
.bss 80836 80836 0 0.0
.data 1780 1780 0 0.0
.text 591412 591412 0 0.0
linux all-clusters-app debug (read only) 1788777 1788777 0 0.0
(read/write) 125480 125480 0 0.0
.bss 53104 53104 0 0.0
.data 1104 1104 0 0.0
.data.rel.ro 65968 65968 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 560 560 0 0.0
.rodata 144597 144597 0 0.0
.text 1504082 1504082 0 0.0
bridge-app debug+rpc (read only) 1358845 1358845 0 0.0
(read/write) 71568 71568 0 0.0
.bss 35152 35152 0 0.0
.data 1680 1680 0 0.0
.data.rel.ro 29728 29728 0 0.0
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 408 408 0 0.0
.rodata 117636 117636 0 0.0
.text 1140517 1140517 0 0.0
chip-tool debug (read only) 6428085 6428085 0 0.0
(read/write) 198192 198192 0 0.0
.bss 33448 33448 0 0.0
.data 1008 1008 0 0.0
.data.rel.ro 158152 158152 0 0.0
.dynamic 592 592 0 0.0
.got 4472 4472 0 0.0
.init 27 27 0 0.0
.init_array 480 480 0 0.0
.rodata 300152 300152 0 0.0
.text 5724245 5724245 0 0.0
lighting-app debug+rpc (read only) 1642649 1642649 0 0.0
(read/write) 104624 104624 0 0.0
.bss 40816 40816 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 57232 57232 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 137297 137297 0 0.0
.text 1366914 1366914 0 0.0
ota-provider-app debug (read only) 1319433 1319433 0 0.0
(read/write) 70024 70024 0 0.0
.bss 37728 37728 0 0.0
.data 912 912 0 0.0
.data.rel.ro 26264 26264 0 0.0
.dynamic 592 592 0 0.0
.got 4048 4048 0 0.0
.init 27 27 0 0.0
.init_array 448 448 0 0.0
.rodata 118984 118984 0 0.0
.text 1099522 1099522 0 0.0
ota-requestor-app debug (read only) 1419537 1419537 0 0.0
(read/write) 73920 73920 0 0.0
.bss 39840 39840 0 0.0
.data 976 976 0 0.0
.data.rel.ro 27976 27976 0 0.0
.dynamic 592 592 0 0.0
.got 4032 4032 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 130928 130928 0 0.0
.text 1184242 1184242 0 0.0
shell debug (read only) 814233 814233 0 0.0
(read/write) 60232 60232 0 0.0
.bss 16872 16872 0 0.0
.data 240 240 0 0.0
.data.rel.ro 38656 38656 0 0.0
.dynamic 592 592 0 0.0
.got 3504 3504 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 83506 83506 0 0.0
.text 624642 624642 0 0.0
tv-app debug (read only) 1935153 1935153 0 0.0
(read/write) 314288 314288 0 0.0
.bss 245208 245208 0 0.0
.data 1504 1504 0 0.0
.data.rel.ro 61920 61920 0 0.0
.dynamic 592 592 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 166856 166856 0 0.0
.text 1619282 1619282 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2296920 2296920 0 0.0
.bss 181628 181628 0 0.0
.data 5168 5168 0 0.0
.heap 849648 849648 0 0.0
.text 1259520 1259520 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2281672 2281672 0 0.0
.bss 172656 172656 0 0.0
.data 5480 5480 0 0.0
.heap 858312 858312 0 0.0
.text 1244272 1244272 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2254704 2254704 0 0.0
.bss 171472 171472 0 0.0
.data 5480 5480 0 0.0
.heap 859496 859496 0 0.0
.text 1217304 1217304 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1140008 1140008 0 0.0
.bss 11756 11756 0 0.0
.data 4376 4376 0 0.0
.heap 1020312 1020312 0 0.0
.text 103392 103392 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2045944 2045944 0 0.0
.bss 156624 156624 0 0.0
.data 4864 4864 0 0.0
.heap 874960 874960 0 0.0
.text 1008544 1008544 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 877159 877159 0 0.0
bss 113156 113156 0 0.0
rodata 97464 97464 0 0.0
text 590976 590976 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 839591 839591 0 0.0
bss 109504 109504 0 0.0
rodata 88824 88824 0 0.0
text 565076 565076 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 802146 802146 0 0.0
bss 114528 114528 0 0.0
rodata 92724 92724 0 0.0
text 520432 520432 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 847971 847971 0 0.0
bss 110192 110192 0 0.0
rodata 93204 93204 0 0.0
text 569224 569224 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 773242 773242 0 0.0
bss 111604 111604 0 0.0
rodata 88492 88492 0 0.0
text 498772 498772 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497463 497463 0 0.0
bss 51820 51820 0 0.0
rodata 45852 45852 0 0.0
text 339492 339492 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 853983 853983 0 0.0
bss 110328 110328 0 0.0
rodata 94936 94936 0 0.0
text 573292 573292 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 847063 847063 0 0.0
bss 110208 110208 0 0.0
rodata 93072 93072 0 0.0
text 568352 568352 0 0.0
shell nrf52840dk_nrf52840 (read/write) 779263 779263 0 0.0
bss 109616 109616 0 0.0
rodata 73236 73236 0 0.0
text 521912 521912 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 694310 694310 0 0.0
bss 110600 110600 0 0.0
rodata 67880 67880 0 0.0
text 442520 442520 0 0.0
p6 all-clusters-app default (read/write) 2318616 2318616 0 0.0
.bss 109712 109712 0 0.0
.data 2464 2464 0 0.0
.heap 921168 921168 0 0.0
.text 1276880 1276880 0 0.0
light-app default (read/write) 2254344 2254344 0 0.0
.bss 97776 97776 0 0.0
.data 2328 2328 0 0.0
.heap 933240 933240 0 0.0
.text 1212608 1212608 0 0.0
lock-app default (read/write) 2229688 2229688 0 0.0
.bss 96432 96432 0 0.0
.data 2288 2288 0 0.0
.heap 934624 934624 0 0.0
.text 1187952 1187952 0 0.0
qpg lighting-app qpg6100+debug (read only) 497372 497372 0 0.0
(read/write) 114144 114144 0 0.0
.bss 79688 79688 0 0.0
.data 944 944 0 0.0
.text 492052 492052 0 0.0
lock-app qpg6100+debug (read only) 469960 469960 0 0.0
(read/write) 114144 114144 0 0.0
.bss 78600 78600 0 0.0
.data 896 896 0 0.0
.text 464640 464640 0 0.0
persistent-storage-app qpg6100+debug (read only) 108208 108208 0 0.0
(read/write) 114140 114140 0 0.0
.bss 36696 36696 0 0.0
.data 292 292 0 0.0
.text 102888 102888 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 779054 779054 0 0.0
bss 79736 79736 0 0.0
noinit 37160 37160 0 0.0
text 541714 541714 0 0.0

@github-actions
Copy link

github-actions bot commented Dec 2, 2021

PR #12367: Size comparison from 6f3b5a0 to 8d02937

Full report (39 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 6f3b5a0 8d02937 change % change
efr32 lighting-app BRD4161A (read only) 729232 729232 0 0.0
(read/write) 119580 119580 0 0.0
.bss 117764 117764 0 0.0
.data 1812 1812 0 0.0
.text 729224 729224 0 0.0
BRD4161A+rpc (read only) 757872 757872 0 0.0
(read/write) 137884 137884 0 0.0
.bss 135964 135964 0 0.0
.data 1920 1920 0 0.0
.text 757864 757864 0 0.0
lock-app BRD4161A (read only) 703076 703076 0 0.0
(read/write) 117284 117284 0 0.0
.bss 115516 115516 0 0.0
.data 1768 1768 0 0.0
.text 703068 703068 0 0.0
window-app BRD4161A (read only) 706204 706204 0 0.0
(read/write) 117708 117708 0 0.0
.bss 115932 115932 0 0.0
.data 1776 1776 0 0.0
.text 706196 706196 0 0.0
esp32 all-clusters-app c3devkit (read only) 839056 839056 0 0.0
(read/write) 1224850 1224850 0 0.0
.dram0.bss 58720 58720 0 0.0
.dram0.data 14028 14028 0 0.0
.flash.rodata 166856 166856 0 0.0
.flash.text 839056 839056 0 0.0
.iram0.text 61394 61394 0 0.0
m5stack (read only) 910499 910499 0 0.0
(read/write) 424096 424096 0 0.0
.dram0.bss 64120 64120 0 0.0
.dram0.data 34000 34000 0 0.0
.flash.rodata 194696 194696 0 0.0
.flash.text 905115 905115 0 0.0
.iram0.text 122943 122943 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 726728 726728 0 0.0
.bss 78956 78956 0 0.0
.data 1844 1844 0 0.0
.text 640128 640128 0 0.0
lock-app k32w061+debug (read/write) 615732 615732 0 0.0
.bss 69396 69396 0 0.0
.data 1808 1808 0 0.0
.text 538728 538728 0 0.0
shell k32w061+debug (read/write) 681536 681536 0 0.0
.bss 80996 80996 0 0.0
.data 1780 1780 0 0.0
.text 592960 592960 0 0.0
linux all-clusters-app debug (read only) 1795353 1795353 0 0.0
(read/write) 125800 125800 0 0.0
.bss 53360 53360 0 0.0
.data 1104 1104 0 0.0
.data.rel.ro 66032 66032 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 560 560 0 0.0
.rodata 145717 145717 0 0.0
.text 1509394 1509394 0 0.0
bridge-app debug+rpc (read only) 1365325 1365325 0 0.0
(read/write) 71888 71888 0 0.0
.bss 35408 35408 0 0.0
.data 1680 1680 0 0.0
.data.rel.ro 29792 29792 0 0.0
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 408 408 0 0.0
.rodata 118756 118756 0 0.0
.text 1145733 1145733 0 0.0
chip-tool debug (read only) 6435173 6435173 0 0.0
(read/write) 198512 198512 0 0.0
.bss 33704 33704 0 0.0
.data 1008 1008 0 0.0
.data.rel.ro 158216 158216 0 0.0
.dynamic 592 592 0 0.0
.got 4472 4472 0 0.0
.init 27 27 0 0.0
.init_array 480 480 0 0.0
.rodata 301208 301208 0 0.0
.text 5730133 5730133 0 0.0
lighting-app debug+rpc (read only) 1649161 1649161 0 0.0
(read/write) 104944 104944 0 0.0
.bss 41072 41072 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 57296 57296 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 138449 138449 0 0.0
.text 1372130 1372130 0 0.0
ota-provider-app debug (read only) 1325977 1325977 0 0.0
(read/write) 70344 70344 0 0.0
.bss 37984 37984 0 0.0
.data 912 912 0 0.0
.data.rel.ro 26328 26328 0 0.0
.dynamic 592 592 0 0.0
.got 4048 4048 0 0.0
.init 27 27 0 0.0
.init_array 448 448 0 0.0
.rodata 120168 120168 0 0.0
.text 1104738 1104738 0 0.0
ota-requestor-app debug (read only) 1426049 1426049 0 0.0
(read/write) 74240 74240 0 0.0
.bss 40096 40096 0 0.0
.data 976 976 0 0.0
.data.rel.ro 28040 28040 0 0.0
.dynamic 592 592 0 0.0
.got 4032 4032 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 132080 132080 0 0.0
.text 1189458 1189458 0 0.0
shell debug (read only) 814361 814361 0 0.0
(read/write) 60232 60232 0 0.0
.bss 16872 16872 0 0.0
.data 240 240 0 0.0
.data.rel.ro 38656 38656 0 0.0
.dynamic 592 592 0 0.0
.got 3504 3504 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 83538 83538 0 0.0
.text 624738 624738 0 0.0
tv-app debug (read only) 1942337 1942337 0 0.0
(read/write) 314608 314608 0 0.0
.bss 245464 245464 0 0.0
.data 1504 1504 0 0.0
.data.rel.ro 61984 61984 0 0.0
.dynamic 592 592 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 167976 167976 0 0.0
.text 1625202 1625202 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2298624 2298624 0 0.0
.bss 181788 181788 0 0.0
.data 5168 5168 0 0.0
.heap 849488 849488 0 0.0
.text 1261224 1261224 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2283376 2283376 0 0.0
.bss 172816 172816 0 0.0
.data 5480 5480 0 0.0
.heap 858152 858152 0 0.0
.text 1245976 1245976 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2256408 2256408 0 0.0
.bss 171632 171632 0 0.0
.data 5480 5480 0 0.0
.heap 859336 859336 0 0.0
.text 1219008 1219008 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1140008 1140008 0 0.0
.bss 11756 11756 0 0.0
.data 4376 4376 0 0.0
.heap 1020312 1020312 0 0.0
.text 103392 103392 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2046056 2046056 0 0.0
.bss 156624 156624 0 0.0
.data 4864 4864 0 0.0
.heap 874960 874960 0 0.0
.text 1008656 1008656 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 878863 878863 0 0.0
bss 113316 113316 0 0.0
rodata 97968 97968 0 0.0
text 592020 592020 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 841311 841311 0 0.0
bss 109664 109664 0 0.0
rodata 89328 89328 0 0.0
text 566120 566120 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 803846 803846 0 0.0
bss 114688 114688 0 0.0
rodata 93224 93224 0 0.0
text 521472 521472 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 849687 849687 0 0.0
bss 110352 110352 0 0.0
rodata 93704 93704 0 0.0
text 570268 570268 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 774942 774942 0 0.0
bss 111764 111764 0 0.0
rodata 88992 88992 0 0.0
text 499812 499812 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497463 497463 0 0.0
bss 51820 51820 0 0.0
rodata 45852 45852 0 0.0
text 339492 339492 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 855683 855683 0 0.0
bss 110488 110488 0 0.0
rodata 95436 95436 0 0.0
text 574332 574332 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 848767 848767 0 0.0
bss 110368 110368 0 0.0
rodata 93576 93576 0 0.0
text 569392 569392 0 0.0
shell nrf52840dk_nrf52840 (read/write) 779359 779359 0 0.0
bss 109616 109616 0 0.0
rodata 73284 73284 0 0.0
text 521952 521952 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 694406 694406 0 0.0
bss 110600 110600 0 0.0
rodata 67928 67928 0 0.0
text 442560 442560 0 0.0
p6 all-clusters-app default (read/write) 2320400 2320400 0 0.0
.bss 109872 109872 0 0.0
.data 2464 2464 0 0.0
.heap 921008 921008 0 0.0
.text 1278664 1278664 0 0.0
light-app default (read/write) 2256112 2256112 0 0.0
.bss 97936 97936 0 0.0
.data 2328 2328 0 0.0
.heap 933080 933080 0 0.0
.text 1214376 1214376 0 0.0
lock-app default (read/write) 2231472 2231472 0 0.0
.bss 96592 96592 0 0.0
.data 2288 2288 0 0.0
.heap 934464 934464 0 0.0
.text 1189736 1189736 0 0.0
qpg lighting-app qpg6100+debug (read only) 498612 498612 0 0.0
(read/write) 114144 114144 0 0.0
.bss 79848 79848 0 0.0
.data 944 944 0 0.0
.text 493292 493292 0 0.0
lock-app qpg6100+debug (read only) 471216 471216 0 0.0
(read/write) 114144 114144 0 0.0
.bss 78760 78760 0 0.0
.data 896 896 0 0.0
.text 465896 465896 0 0.0
persistent-storage-app qpg6100+debug (read only) 108208 108208 0 0.0
(read/write) 114140 114140 0 0.0
.bss 36696 36696 0 0.0
.data 292 292 0 0.0
.text 102888 102888 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 780882 780882 0 0.0
bss 79896 79896 0 0.0
noinit 37160 37160 0 0.0
text 542870 542870 0 0.0

@github-actions
Copy link

github-actions bot commented Dec 2, 2021

PR #12367: Size comparison from a5513c2 to ab35380

Full report (33 builds for efr32, esp32, linux, mbed, nrfconnect, p6, telink)
platform target config section a5513c2 ab35380 change % change
efr32 lighting-app BRD4161A (read only) 750760 750760 0 0.0
(read/write) 119976 119976 0 0.0
.bss 118160 118160 0 0.0
.data 1812 1812 0 0.0
.text 750752 750752 0 0.0
BRD4161A+rpc (read only) 779416 779416 0 0.0
(read/write) 138280 138280 0 0.0
.bss 136360 136360 0 0.0
.data 1920 1920 0 0.0
.text 779408 779408 0 0.0
lock-app BRD4161A (read only) 724616 724616 0 0.0
(read/write) 117680 117680 0 0.0
.bss 115912 115912 0 0.0
.data 1768 1768 0 0.0
.text 724608 724608 0 0.0
window-app BRD4161A (read only) 727928 727928 0 0.0
(read/write) 118104 118104 0 0.0
.bss 116328 116328 0 0.0
.data 1776 1776 0 0.0
.text 727920 727920 0 0.0
esp32 all-clusters-app c3devkit (read only) 846930 846930 0 0.0
(read/write) 1223314 1223314 0 0.0
.dram0.bss 56456 56456 0 0.0
.dram0.data 14036 14036 0 0.0
.flash.rodata 167360 167360 0 0.0
.flash.text 846930 846930 0 0.0
.iram0.text 61394 61394 0 0.0
m5stack (read only) 917483 917483 0 0.0
(read/write) 422308 422308 0 0.0
.dram0.bss 61848 61848 0 0.0
.dram0.data 34000 34000 0 0.0
.flash.rodata 195180 195180 0 0.0
.flash.text 912099 912099 0 0.0
.iram0.text 122943 122943 0 0.0
linux all-clusters-app debug (read only) 1832833 1832833 0 0.0
(read/write) 123648 123648 0 0.0
.bss 50640 50640 0 0.0
.data 1104 1104 0 0.0
.data.rel.ro 66624 66624 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 146261 146261 0 0.0
.text 1545202 1545202 0 0.0
bridge-app debug+rpc (read only) 1416061 1416061 0 0.0
(read/write) 73808 73808 0 0.0
.bss 36048 36048 0 0.0
.data 1680 1680 0 0.0
.data.rel.ro 31056 31056 0 0.0
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 408 408 0 0.0
.rodata 119300 119300 0 0.0
.text 1193189 1193189 0 0.0
chip-tool debug (read only) 6589629 6589629 0 0.0
(read/write) 201616 201616 0 0.0
.bss 34344 34344 0 0.0
.data 1008 1008 0 0.0
.data.rel.ro 160696 160696 0 0.0
.dynamic 592 592 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 480 480 0 0.0
.rodata 306104 306104 0 0.0
.text 5874181 5874181 0 0.0
lighting-app debug+rpc (read only) 1699865 1699865 0 0.0
(read/write) 106896 106896 0 0.0
.bss 41744 41744 0 0.0
.data 1264 1264 0 0.0
.data.rel.ro 58560 58560 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 139089 139089 0 0.0
.text 1419458 1419458 0 0.0
ota-provider-app debug (read only) 1377977 1377977 0 0.0
(read/write) 72264 72264 0 0.0
.bss 38624 38624 0 0.0
.data 912 912 0 0.0
.data.rel.ro 27592 27592 0 0.0
.dynamic 592 592 0 0.0
.got 4048 4048 0 0.0
.init 27 27 0 0.0
.init_array 448 448 0 0.0
.rodata 120776 120776 0 0.0
.text 1153394 1153394 0 0.0
ota-requestor-app debug (read only) 1478033 1478033 0 0.0
(read/write) 76160 76160 0 0.0
.bss 40736 40736 0 0.0
.data 976 976 0 0.0
.data.rel.ro 29304 29304 0 0.0
.dynamic 592 592 0 0.0
.got 4032 4032 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 132720 132720 0 0.0
.text 1238066 1238066 0 0.0
shell debug (read only) 812841 812841 0 0.0
(read/write) 60264 60264 0 0.0
.bss 16904 16904 0 0.0
.data 240 240 0 0.0
.data.rel.ro 38656 38656 0 0.0
.dynamic 592 592 0 0.0
.got 3504 3504 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 83506 83506 0 0.0
.text 623250 623250 0 0.0
tv-app debug (read only) 1993585 1993585 0 0.0
(read/write) 316536 316536 0 0.0
.bss 246112 246112 0 0.0
.data 1504 1504 0 0.0
.data.rel.ro 63248 63248 0 0.0
.dynamic 592 592 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 169128 169128 0 0.0
.text 1672562 1672562 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2308000 2308000 0 0.0
.bss 179516 179516 0 0.0
.data 5168 5168 0 0.0
.heap 851760 851760 0 0.0
.text 1270576 1270576 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2294648 2294648 0 0.0
.bss 173208 173208 0 0.0
.data 5480 5480 0 0.0
.heap 857760 857760 0 0.0
.text 1257248 1257248 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2267744 2267744 0 0.0
.bss 172024 172024 0 0.0
.data 5480 5480 0 0.0
.heap 858944 858944 0 0.0
.text 1230344 1230344 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1140008 1140008 0 0.0
.bss 11756 11756 0 0.0
.data 4376 4376 0 0.0
.heap 1020312 1020312 0 0.0
.text 103392 103392 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2046576 2046576 0 0.0
.bss 156704 156704 0 0.0
.data 4864 4864 0 0.0
.heap 874880 874880 0 0.0
.text 1009176 1009176 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 890887 890887 0 0.0
bss 113712 113712 0 0.0
rodata 99112 99112 0 0.0
text 602512 602512 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 854247 854247 0 0.0
bss 110060 110060 0 0.0
rodata 90472 90472 0 0.0
text 577508 577508 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 816786 816786 0 0.0
bss 115084 115084 0 0.0
rodata 94372 94372 0 0.0
text 532852 532852 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 861715 861715 0 0.0
bss 110748 110748 0 0.0
rodata 94852 94852 0 0.0
text 580764 580764 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 787866 787866 0 0.0
bss 112160 112160 0 0.0
rodata 90140 90140 0 0.0
text 511196 511196 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497463 497463 0 0.0
bss 51820 51820 0 0.0
rodata 45852 45852 0 0.0
text 339492 339492 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 867759 867759 0 0.0
bss 110884 110884 0 0.0
rodata 96584 96584 0 0.0
text 584832 584832 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 860823 860823 0 0.0
bss 110764 110764 0 0.0
rodata 94720 94720 0 0.0
text 579892 579892 0 0.0
shell nrf52840dk_nrf52840 (read/write) 779903 779903 0 0.0
bss 109696 109696 0 0.0
rodata 73796 73796 0 0.0
text 521924 521924 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 694946 694946 0 0.0
bss 110680 110680 0 0.0
rodata 68436 68436 0 0.0
text 442528 442528 0 0.0
p6 all-clusters-app default (read/write) 2337560 2337560 0 0.0
.bss 107696 107696 0 0.0
.data 2456 2456 0 0.0
.heap 923192 923192 0 0.0
.text 1295824 1295824 0 0.0
light-app default (read/write) 2277344 2277344 0 0.0
.bss 98428 98428 0 0.0
.data 2328 2328 0 0.0
.heap 932584 932584 0 0.0
.text 1235608 1235608 0 0.0
lock-app default (read/write) 2252680 2252680 0 0.0
.bss 97084 97084 0 0.0
.data 2288 2288 0 0.0
.heap 933968 933968 0 0.0
.text 1210944 1210944 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 793890 793890 0 0.0
bss 80288 80288 0 0.0
noinit 37160 37160 0 0.0
text 554246 554246 0 0.0

@electrocucaracha
Copy link
Collaborator Author

/rebase

@github-actions
Copy link

github-actions bot commented Dec 2, 2021

PR #12367: Size comparison from 7cba51d to 25810dc

Full report (39 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 7cba51d 25810dc change % change
efr32 lighting-app BRD4161A (read only) 751552 751552 0 0.0
(read/write) 120032 120032 0 0.0
.bss 118200 118200 0 0.0
.data 1828 1828 0 0.0
.text 751544 751544 0 0.0
BRD4161A+rpc (read only) 780216 780216 0 0.0
(read/write) 138336 138336 0 0.0
.bss 136400 136400 0 0.0
.data 1936 1936 0 0.0
.text 780208 780208 0 0.0
lock-app BRD4161A (read only) 725392 725392 0 0.0
(read/write) 117736 117736 0 0.0
.bss 115952 115952 0 0.0
.data 1784 1784 0 0.0
.text 725384 725384 0 0.0
window-app BRD4161A (read only) 728720 728720 0 0.0
(read/write) 118160 118160 0 0.0
.bss 116368 116368 0 0.0
.data 1792 1792 0 0.0
.text 728712 728712 0 0.0
esp32 all-clusters-app c3devkit (read only) 847808 847808 0 0.0
(read/write) 1223826 1223826 0 0.0
.dram0.bss 56576 56576 0 0.0
.dram0.data 14052 14052 0 0.0
.flash.rodata 167744 167744 0 0.0
.flash.text 847808 847808 0 0.0
.iram0.text 61394 61394 0 0.0
m5stack (read only) 918399 918399 0 0.0
(read/write) 422804 422804 0 0.0
.dram0.bss 61960 61960 0 0.0
.dram0.data 34016 34016 0 0.0
.flash.rodata 195548 195548 0 0.0
.flash.text 913015 913015 0 0.0
.iram0.text 122943 122943 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 728720 728720 0 0.0
.bss 79304 79304 0 0.0
.data 1860 1860 0 0.0
.text 641756 641756 0 0.0
lock-app k32w061+debug (read/write) 617704 617704 0 0.0
.bss 69744 69744 0 0.0
.data 1824 1824 0 0.0
.text 540336 540336 0 0.0
shell k32w061+debug (read/write) 683604 683604 0 0.0
.bss 81400 81400 0 0.0
.data 1796 1796 0 0.0
.text 594608 594608 0 0.0
linux all-clusters-app debug (read only) 1842697 1842697 0 0.0
(read/write) 124256 124256 0 0.0
.bss 50768 50768 0 0.0
.data 1120 1120 0 0.0
.data.rel.ro 67088 67088 0 0.0
.dynamic 592 592 0 0.0
.got 4112 4112 0 0.0
.init 27 27 0 0.0
.init_array 552 552 0 0.0
.rodata 146453 146453 0 0.0
.text 1553890 1553890 0 0.0
bridge-app debug+rpc (read only) 1423037 1423037 0 0.0
(read/write) 74416 74416 0 0.0
.bss 36144 36144 0 0.0
.data 1728 1728 0 0.0
.data.rel.ro 31528 31528 0 0.0
.dynamic 592 592 0 0.0
.got 3984 3984 0 0.0
.init 27 27 0 0.0
.init_array 408 408 0 0.0
.rodata 119500 119500 0 0.0
.text 1198981 1198981 0 0.0
chip-tool debug (read only) 6618837 6618837 0 0.0
(read/write) 202128 202128 0 0.0
.bss 34440 34440 0 0.0
.data 1024 1024 0 0.0
.data.rel.ro 161112 161112 0 0.0
.dynamic 592 592 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 480 480 0 0.0
.rodata 307224 307224 0 0.0
.text 5901429 5901429 0 0.0
lighting-app debug+rpc (read only) 1707121 1707121 0 0.0
(read/write) 107408 107408 0 0.0
.bss 41808 41808 0 0.0
.data 1280 1280 0 0.0
.data.rel.ro 59024 59024 0 0.0
.dynamic 608 608 0 0.0
.got 4136 4136 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 139281 139281 0 0.0
.text 1425538 1425538 0 0.0
ota-provider-app debug (read only) 1383857 1383857 0 0.0
(read/write) 72648 72648 0 0.0
.bss 38720 38720 0 0.0
.data 928 928 0 0.0
.data.rel.ro 27880 27880 0 0.0
.dynamic 592 592 0 0.0
.got 4048 4048 0 0.0
.init 27 27 0 0.0
.init_array 448 448 0 0.0
.rodata 120776 120776 0 0.0
.text 1158722 1158722 0 0.0
ota-requestor-app debug (read only) 1483945 1483945 0 0.0
(read/write) 76512 76512 0 0.0
.bss 40832 40832 0 0.0
.data 992 992 0 0.0
.data.rel.ro 29576 29576 0 0.0
.dynamic 592 592 0 0.0
.got 4032 4032 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 132688 132688 0 0.0
.text 1243458 1243458 0 0.0
shell debug (read only) 818561 818561 0 0.0
(read/write) 60584 60584 0 0.0
.bss 16936 16936 0 0.0
.data 256 256 0 0.0
.data.rel.ro 38936 38936 0 0.0
.dynamic 592 592 0 0.0
.got 3504 3504 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 83506 83506 0 0.0
.text 628418 628418 0 0.0
tv-app debug (read only) 2000921 2000921 0 0.0
(read/write) 317616 317616 0 0.0
.bss 246712 246712 0 0.0
.data 1520 1520 0 0.0
.data.rel.ro 63720 63720 0 0.0
.dynamic 592 592 0 0.0
.got 4424 4424 0 0.0
.init 27 27 0 0.0
.init_array 624 624 0 0.0
.rodata 169320 169320 0 0.0
.text 1678722 1678722 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2309264 2309264 0 0.0
.bss 179628 179628 0 0.0
.data 5184 5184 0 0.0
.heap 851632 851632 0 0.0
.text 1271840 1271840 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2295592 2295592 0 0.0
.bss 173272 173272 0 0.0
.data 5496 5496 0 0.0
.heap 857680 857680 0 0.0
.text 1258192 1258192 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2268688 2268688 0 0.0
.bss 172088 172088 0 0.0
.data 5496 5496 0 0.0
.heap 858864 858864 0 0.0
.text 1231288 1231288 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1140008 1140008 0 0.0
.bss 11756 11756 0 0.0
.data 4376 4376 0 0.0
.heap 1020312 1020312 0 0.0
.text 103392 103392 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2046968 2046968 0 0.0
.bss 156732 156732 0 0.0
.data 4872 4872 0 0.0
.heap 874840 874840 0 0.0
.text 1009568 1009568 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 891475 891475 0 0.0
bss 113752 113752 0 0.0
rodata 99412 99412 0 0.0
text 602752 602752 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 854835 854835 0 0.0
bss 110100 110100 0 0.0
rodata 90772 90772 0 0.0
text 577748 577748 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 817370 817370 0 0.0
bss 115124 115124 0 0.0
rodata 94668 94668 0 0.0
text 533088 533088 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 862331 862331 0 0.0
bss 110788 110788 0 0.0
rodata 95148 95148 0 0.0
text 581004 581004 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 788470 788470 0 0.0
bss 112200 112200 0 0.0
rodata 90440 90440 0 0.0
text 511432 511432 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497463 497463 0 0.0
bss 51820 51820 0 0.0
rodata 45852 45852 0 0.0
text 339492 339492 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 868331 868331 0 0.0
bss 110924 110924 0 0.0
rodata 96884 96884 0 0.0
text 585068 585068 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 861411 861411 0 0.0
bss 110804 110804 0 0.0
rodata 95020 95020 0 0.0
text 580128 580128 0 0.0
shell nrf52840dk_nrf52840 (read/write) 779895 779895 0 0.0
bss 109696 109696 0 0.0
rodata 73796 73796 0 0.0
text 521908 521908 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 694938 694938 0 0.0
bss 110680 110680 0 0.0
rodata 68436 68436 0 0.0
text 442512 442512 0 0.0
p6 all-clusters-app default (read/write) 2339520 2339520 0 0.0
.bss 107820 107820 0 0.0
.data 2456 2456 0 0.0
.heap 923064 923064 0 0.0
.text 1297784 1297784 0 0.0
light-app default (read/write) 2278872 2278872 0 0.0
.bss 98504 98504 0 0.0
.data 2336 2336 0 0.0
.heap 932504 932504 0 0.0
.text 1237136 1237136 0 0.0
lock-app default (read/write) 2254224 2254224 0 0.0
.bss 97160 97160 0 0.0
.data 2296 2296 0 0.0
.heap 933888 933888 0 0.0
.text 1212488 1212488 0 0.0
qpg lighting-app qpg6100+debug (read only) 510496 510496 0 0.0
(read/write) 122332 122332 0 0.0
.bss 80264 80264 0 0.0
.data 964 964 0 0.0
.text 505176 505176 0 0.0
lock-app qpg6100+debug (read only) 483320 483320 0 0.0
(read/write) 122332 122332 0 0.0
.bss 79176 79176 0 0.0
.data 916 916 0 0.0
.text 478000 478000 0 0.0
persistent-storage-app qpg6100+debug (read only) 108208 108208 0 0.0
(read/write) 122332 122332 0 0.0
.bss 36696 36696 0 0.0
.data 292 292 0 0.0
.text 102888 102888 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 794550 794550 0 0.0
bss 80328 80328 0 0.0
noinit 37160 37160 0 0.0
text 554522 554522 0 0.0

@andy31415
Copy link
Contributor

How does this patch decrease the size of the crosscompile image?

@andy31415
Copy link
Contributor

How does this patch decrease the size of the crosscompile image?

I see this updated from chip-build image to base alipine. Could you add this to the description? Was it validated that cross compile can still be performed?

@woody-apple
Copy link
Contributor

/rebase

@electrocucaracha
Copy link
Collaborator Author

How does this patch decrease the size of the crosscompile image?

I see this updated from chip-build image to base alpine. Could you add this to the description? Was it validated that cross compile can still be performed?

@andy31415 just to be sure, do you mean PR description or the description into the version file?

@github-actions
Copy link

github-actions bot commented Dec 7, 2021

PR #12367: Size comparison from 5c70530 to 959009d

Full report (39 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 5c70530 959009d change % change
efr32 lighting-app BRD4161A (read only) 797468 797468 0 0.0
(read/write) 120740 120740 0 0.0
.bss 118912 118912 0 0.0
.data 1828 1828 0 0.0
.text 797460 797460 0 0.0
BRD4161A+rpc (read only) 825436 825436 0 0.0
(read/write) 139048 139048 0 0.0
.bss 137112 137112 0 0.0
.data 1936 1936 0 0.0
.text 825428 825428 0 0.0
lock-app BRD4161A (read only) 772152 772152 0 0.0
(read/write) 118680 118680 0 0.0
.bss 116888 116888 0 0.0
.data 1788 1788 0 0.0
.text 772144 772144 0 0.0
window-app BRD4161A (read only) 774424 774424 0 0.0
(read/write) 118880 118880 0 0.0
.bss 117088 117088 0 0.0
.data 1792 1792 0 0.0
.text 774416 774416 0 0.0
esp32 all-clusters-app c3devkit (read only) 852210 852210 0 0.0
(read/write) 1295154 1295154 0 0.0
.dram0.bss 58232 58232 0 0.0
.dram0.data 14084 14084 0 0.0
.flash.rodata 169792 169792 0 0.0
.flash.text 852210 852210 0 0.0
.iram0.text 62076 62076 0 0.0
m5stack (read only) 956475 956475 0 0.0
(read/write) 439528 439528 0 0.0
.dram0.bss 65592 65592 0 0.0
.dram0.data 34016 34016 0 0.0
.flash.rodata 208132 208132 0 0.0
.flash.text 951091 951091 0 0.0
.iram0.text 123451 123451 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 731512 731512 0 0.0
.bss 79408 79408 0 0.0
.data 1860 1860 0 0.0
.text 644444 644444 0 0.0
lock-app k32w061+debug (read/write) 622212 622212 0 0.0
.bss 70072 70072 0 0.0
.data 1828 1828 0 0.0
.text 544512 544512 0 0.0
shell k32w061+debug (read/write) 688120 688120 0 0.0
.bss 81720 81720 0 0.0
.data 1800 1800 0 0.0
.text 598800 598800 0 0.0
linux all-clusters-app debug (read only) 1871081 1871081 0 0.0
(read/write) 124592 124592 0 0.0
.bss 50832 50832 0 0.0
.data 1120 1120 0 0.0
.data.rel.ro 67216 67216 0 0.0
.dynamic 592 592 0 0.0
.got 4120 4120 0 0.0
.init 27 27 0 0.0
.init_array 696 696 0 0.0
.rodata 153717 153717 0 0.0
.text 1574066 1574066 0 0.0
bridge-app debug+rpc (read only) 1450101 1450101 0 0.0
(read/write) 74904 74904 0 0.0
.bss 36464 36464 0 0.0
.data 1728 1728 0 0.0
.data.rel.ro 31632 31632 0 0.0
.dynamic 592 592 0 0.0
.got 3992 3992 0 0.0
.init 27 27 0 0.0
.init_array 480 480 0 0.0
.rodata 122692 122692 0 0.0
.text 1222341 1222341 0 0.0
chip-tool debug (read only) 6651717 6651717 0 0.0
(read/write) 200040 200040 0 0.0
.bss 34728 34728 0 0.0
.data 1024 1024 0 0.0
.data.rel.ro 158600 158600 0 0.0
.dynamic 592 592 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 568 568 0 0.0
.rodata 313777 313777 0 0.0
.text 5933045 5933045 0 0.0
lighting-app debug+rpc (read only) 1735881 1735881 0 0.0
(read/write) 107968 107968 0 0.0
.bss 42160 42160 0 0.0
.data 1280 1280 0 0.0
.data.rel.ro 59136 59136 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 616 616 0 0.0
.rodata 143281 143281 0 0.0
.text 1449762 1449762 0 0.0
ota-provider-app debug (read only) 1407641 1407641 0 0.0
(read/write) 73104 73104 0 0.0
.bss 39040 39040 0 0.0
.data 928 928 0 0.0
.data.rel.ro 27944 27944 0 0.0
.dynamic 592 592 0 0.0
.got 4056 4056 0 0.0
.init 27 27 0 0.0
.init_array 520 520 0 0.0
.rodata 124078 124078 0 0.0
.text 1178706 1178706 0 0.0
ota-requestor-app debug (read only) 1516993 1516993 0 0.0
(read/write) 78152 78152 0 0.0
.bss 42208 42208 0 0.0
.data 992 992 0 0.0
.data.rel.ro 29720 29720 0 0.0
.dynamic 592 592 0 0.0
.got 4064 4064 0 0.0
.init 27 27 0 0.0
.init_array 544 544 0 0.0
.rodata 136823 136823 0 0.0
.text 1271362 1271362 0 0.0
shell debug (read only) 823577 823577 0 0.0
(read/write) 60616 60616 0 0.0
.bss 16936 16936 0 0.0
.data 256 256 0 0.0
.data.rel.ro 38936 38936 0 0.0
.dynamic 592 592 0 0.0
.got 3520 3520 0 0.0
.init 27 27 0 0.0
.init_array 344 344 0 0.0
.rodata 84754 84754 0 0.0
.text 631986 631986 0 0.0
tv-app debug (read only) 2051945 2051945 0 0.0
(read/write) 320320 320320 0 0.0
.bss 247480 247480 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 64240 64240 0 0.0
.dynamic 592 592 0 0.0
.got 4456 4456 0 0.0
.init 27 27 0 0.0
.init_array 736 736 0 0.0
.rodata 175436 175436 0 0.0
.text 1721602 1721602 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2312128 2312128 0 0.0
.bss 181412 181412 0 0.0
.data 5192 5192 0 0.0
.heap 849840 849840 0 0.0
.text 1274704 1274704 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2300032 2300032 0 0.0
.bss 173400 173400 0 0.0
.data 5496 5496 0 0.0
.heap 857552 857552 0 0.0
.text 1262632 1262632 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2273072 2273072 0 0.0
.bss 172440 172440 0 0.0
.data 5496 5496 0 0.0
.heap 858512 858512 0 0.0
.text 1235672 1235672 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1140008 1140008 0 0.0
.bss 11756 11756 0 0.0
.data 4376 4376 0 0.0
.heap 1020312 1020312 0 0.0
.text 103392 103392 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2047472 2047472 0 0.0
.bss 156732 156732 0 0.0
.data 4872 4872 0 0.0
.heap 874840 874840 0 0.0
.text 1010072 1010072 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 894539 894539 0 0.0
bss 113852 113852 0 0.0
rodata 99676 99676 0 0.0
text 605460 605460 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 857915 857915 0 0.0
bss 110200 110200 0 0.0
rodata 91036 91036 0 0.0
text 580456 580456 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 820438 820438 0 0.0
bss 115224 115224 0 0.0
rodata 94936 94936 0 0.0
text 535784 535784 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 867123 867123 0 0.0
bss 111112 111112 0 0.0
rodata 95796 95796 0 0.0
text 584832 584832 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 793258 793258 0 0.0
bss 112524 112524 0 0.0
rodata 91084 91084 0 0.0
text 515252 515252 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497463 497463 0 0.0
bss 51820 51820 0 0.0
rodata 45852 45852 0 0.0
text 339492 339492 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 871859 871859 0 0.0
bss 111024 111024 0 0.0
rodata 97148 97148 0 0.0
text 588232 588232 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 865083 865083 0 0.0
bss 110904 110904 0 0.0
rodata 95284 95284 0 0.0
text 583440 583440 0 0.0
shell nrf52840dk_nrf52840 (read/write) 779939 779939 0 0.0
bss 109696 109696 0 0.0
rodata 73792 73792 0 0.0
text 521948 521948 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 694966 694966 0 0.0
bss 110680 110680 0 0.0
rodata 68432 68432 0 0.0
text 442548 442548 0 0.0
p6 all-clusters-app default (read/write) 2346536 2346536 0 0.0
.bss 107692 107692 0 0.0
.data 2464 2464 0 0.0
.heap 923184 923184 0 0.0
.text 1304800 1304800 0 0.0
light-app default (read/write) 2283768 2283768 0 0.0
.bss 98632 98632 0 0.0
.data 2336 2336 0 0.0
.heap 932376 932376 0 0.0
.text 1242032 1242032 0 0.0
lock-app default (read/write) 2259920 2259920 0 0.0
.bss 97512 97512 0 0.0
.data 2296 2296 0 0.0
.heap 933536 933536 0 0.0
.text 1218184 1218184 0 0.0
qpg lighting-app qpg6100+debug (read only) 513204 513204 0 0.0
(read/write) 122332 122332 0 0.0
.bss 80360 80360 0 0.0
.data 964 964 0 0.0
.text 507884 507884 0 0.0
lock-app qpg6100+debug (read only) 487508 487508 0 0.0
(read/write) 122336 122336 0 0.0
.bss 79496 79496 0 0.0
.data 920 920 0 0.0
.text 482188 482188 0 0.0
persistent-storage-app qpg6100+debug (read only) 108224 108224 0 0.0
(read/write) 122332 122332 0 0.0
.bss 36696 36696 0 0.0
.data 292 292 0 0.0
.text 102904 102904 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 798310 798310 0 0.0
bss 80428 80428 0 0.0
noinit 37160 37160 0 0.0
text 557916 557916 0 0.0

@andy31415
Copy link
Contributor

How does this patch decrease the size of the crosscompile image?

I see this updated from chip-build image to base alpine. Could you add this to the description? Was it validated that cross compile can still be performed?

@andy31415 just to be sure, do you mean PR description or the description into the version file?

PR description since this seems a significant change. I don't think people actually read version file and we just use it for conflict detection.

@todo
Copy link

todo bot commented Dec 7, 2021

Remove experimental solution to create the sysroot file in cross-compile image

# TODO: Remove experimental solution to create the sysroot file in cross-compile image
&& echo 'experimental/matter/sysroot/ubuntu-21.04-aarch64 latest' > ensure_file.txt \
&& ./depot_tools/cipd ensure -ensure-file ensure_file.txt -root ./ \
&& tar xfvJ ubuntu-21.04-aarch64-sysroot.tar.xz \
&& rm -rf /opt/ubuntu-21.04-aarch64-sysroot/usr/lib/firmware \
&& rm -rf /opt/ubuntu-21.04-aarch64-sysroot/usr/lib/git-core \
&& rm -rf /opt/ubuntu-21.04-aarch64-sysroot/usr/lib/modules \


This comment was generated by todo based on a TODO comment in 1aee8de in #12367. cc @electrocucaracha.

@github-actions
Copy link

github-actions bot commented Dec 7, 2021

PR #12367: Size comparison from 051685b to 1aee8de

Full report (39 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
platform target config section 051685b 1aee8de change % change
efr32 lighting-app BRD4161A (read only) 798156 798156 0 0.0
(read/write) 120548 120548 0 0.0
.bss 118720 118720 0 0.0
.data 1828 1828 0 0.0
.text 798148 798148 0 0.0
BRD4161A+rpc (read only) 826116 826116 0 0.0
(read/write) 138856 138856 0 0.0
.bss 136920 136920 0 0.0
.data 1936 1936 0 0.0
.text 826108 826108 0 0.0
lock-app BRD4161A (read only) 772832 772832 0 0.0
(read/write) 118488 118488 0 0.0
.bss 116696 116696 0 0.0
.data 1788 1788 0 0.0
.text 772824 772824 0 0.0
window-app BRD4161A (read only) 775104 775104 0 0.0
(read/write) 118688 118688 0 0.0
.bss 116896 116896 0 0.0
.data 1792 1792 0 0.0
.text 775096 775096 0 0.0
esp32 all-clusters-app c3devkit (read only) 856796 856796 0 0.0
(read/write) 1298938 1298938 0 0.0
.dram0.bss 61096 61096 0 0.0
.dram0.data 14132 14132 0 0.0
.flash.rodata 170664 170664 0 0.0
.flash.text 856796 856796 0 0.0
.iram0.text 62028 62028 0 0.0
m5stack (read only) 960115 960115 0 0.0
(read/write) 443244 443244 0 0.0
.dram0.bss 68448 68448 0 0.0
.dram0.data 34056 34056 0 0.0
.flash.rodata 208952 208952 0 0.0
.flash.text 954731 954731 0 0.0
.iram0.text 123451 123451 0 0.0
k32w lighting-app k32w061+se05x+release (read/write) 732484 732484 0 0.0
.bss 79296 79296 0 0.0
.data 1860 1860 0 0.0
.text 645528 645528 0 0.0
lock-app k32w061+debug (read/write) 623164 623164 0 0.0
.bss 69960 69960 0 0.0
.data 1828 1828 0 0.0
.text 545576 545576 0 0.0
shell k32w061+debug (read/write) 689084 689084 0 0.0
.bss 81596 81596 0 0.0
.data 1800 1800 0 0.0
.text 599888 599888 0 0.0
linux all-clusters-app debug (read only) 1907689 1907689 0 0.0
(read/write) 128896 128896 0 0.0
.bss 54032 54032 0 0.0
.data 1216 1216 0 0.0
.data.rel.ro 68192 68192 0 0.0
.dynamic 592 592 0 0.0
.got 4120 4120 0 0.0
.init 27 27 0 0.0
.init_array 712 712 0 0.0
.rodata 156277 156277 0 0.0
.text 1605570 1605570 0 0.0
bridge-app debug+rpc (read only) 1456485 1456485 0 0.0
(read/write) 75088 75088 0 0.0
.bss 36464 36464 0 0.0
.data 1728 1728 0 0.0
.data.rel.ro 31824 31824 0 0.0
.dynamic 592 592 0 0.0
.got 3992 3992 0 0.0
.init 27 27 0 0.0
.init_array 472 472 0 0.0
.rodata 123932 123932 0 0.0
.text 1227173 1227173 0 0.0
chip-tool debug (read only) 6687597 6687597 0 0.0
(read/write) 201728 201728 0 0.0
.bss 34664 34664 0 0.0
.data 1024 1024 0 0.0
.data.rel.ro 160376 160376 0 0.0
.dynamic 592 592 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 560 560 0 0.0
.rodata 335721 335721 0 0.0
.text 5942613 5942613 0 0.0
lighting-app debug+rpc (read only) 1742289 1742289 0 0.0
(read/write) 108152 108152 0 0.0
.bss 42160 42160 0 0.0
.data 1280 1280 0 0.0
.data.rel.ro 59344 59344 0 0.0
.dynamic 608 608 0 0.0
.got 4144 4144 0 0.0
.init 27 27 0 0.0
.init_array 608 608 0 0.0
.rodata 144529 144529 0 0.0
.text 1454610 1454610 0 0.0
ota-provider-app debug (read only) 1411953 1411953 0 0.0
(read/write) 73096 73096 0 0.0
.bss 38976 38976 0 0.0
.data 928 928 0 0.0
.data.rel.ro 28024 28024 0 0.0
.dynamic 592 592 0 0.0
.got 4056 4056 0 0.0
.init 27 27 0 0.0
.init_array 512 512 0 0.0
.rodata 125086 125086 0 0.0
.text 1181794 1181794 0 0.0
ota-requestor-app debug (read only) 1516705 1516705 0 0.0
(read/write) 78144 78144 0 0.0
.bss 42144 42144 0 0.0
.data 992 992 0 0.0
.data.rel.ro 29784 29784 0 0.0
.dynamic 592 592 0 0.0
.got 4064 4064 0 0.0
.init 27 27 0 0.0
.init_array 536 536 0 0.0
.rodata 137807 137807 0 0.0
.text 1269922 1269922 0 0.0
shell debug (read only) 827345 827345 0 0.0
(read/write) 60640 60640 0 0.0
.bss 16872 16872 0 0.0
.data 256 256 0 0.0
.data.rel.ro 39032 39032 0 0.0
.dynamic 592 592 0 0.0
.got 3520 3520 0 0.0
.init 27 27 0 0.0
.init_array 336 336 0 0.0
.rodata 85714 85714 0 0.0
.text 634530 634530 0 0.0
tv-app debug (read only) 2056201 2056201 0 0.0
(read/write) 320504 320504 0 0.0
.bss 247480 247480 0 0.0
.data 2768 2768 0 0.0
.data.rel.ro 64432 64432 0 0.0
.dynamic 592 592 0 0.0
.got 4456 4456 0 0.0
.init 27 27 0 0.0
.init_array 728 728 0 0.0
.rodata 176828 176828 0 0.0
.text 1724178 1724178 0 0.0
mbed all-clusters-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2317160 2317160 0 0.0
.bss 184444 184444 0 0.0
.data 5240 5240 0 0.0
.heap 846760 846760 0 0.0
.text 1279736 1279736 0 0.0
lighting-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2300992 2300992 0 0.0
.bss 173248 173248 0 0.0
.data 5496 5496 0 0.0
.heap 857704 857704 0 0.0
.text 1263592 1263592 0 0.0
lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2274032 2274032 0 0.0
.bss 172296 172296 0 0.0
.data 5496 5496 0 0.0
.heap 858656 858656 0 0.0
.text 1236632 1236632 0 0.0
pigweed-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 1140008 1140008 0 0.0
.bss 11756 11756 0 0.0
.data 4376 4376 0 0.0
.heap 1020312 1020312 0 0.0
.text 103392 103392 0 0.0
shell CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2048008 2048008 0 0.0
.bss 156564 156564 0 0.0
.data 4864 4864 0 0.0
.heap 875016 875016 0 0.0
.text 1010608 1010608 0 0.0
nrfconnect lighting-app nrf52840dk_nrf52840 (read/write) 896707 896707 0 0.0
bss 113724 113724 0 0.0
rodata 100308 100308 0 0.0
text 607112 607112 0 0.0
nrf52840dk_nrf52840+rpc (read/write) 859643 859643 0 0.0
bss 110072 110072 0 0.0
rodata 91500 91500 0 0.0
text 581848 581848 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 822638 822638 0 0.0
bss 115100 115100 0 0.0
rodata 95568 95568 0 0.0
text 537480 537480 0 0.0
lock-app nrf52840dk_nrf52840 (read/write) 869275 869275 0 0.0
bss 110988 110988 0 0.0
rodata 96428 96428 0 0.0
text 586468 586468 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 795458 795458 0 0.0
bss 112396 112396 0 0.0
rodata 91716 91716 0 0.0
text 516932 516932 0 0.0
pigweed-app nrf52840dk_nrf52840 (read/write) 497463 497463 0 0.0
bss 51820 51820 0 0.0
rodata 45852 45852 0 0.0
text 339492 339492 0 0.0
pump-app nrf52840dk_nrf52840 (read/write) 874027 874027 0 0.0
bss 110900 110900 0 0.0
rodata 97780 97780 0 0.0
text 589884 589884 0 0.0
pump-controller-app nrf52840dk_nrf52840 (read/write) 867235 867235 0 0.0
bss 110776 110776 0 0.0
rodata 95916 95916 0 0.0
text 585092 585092 0 0.0
shell nrf52840dk_nrf52840 (read/write) 781643 781643 0 0.0
bss 109552 109552 0 0.0
rodata 74296 74296 0 0.0
text 523284 523284 0 0.0
nrf5340dk_nrf5340_cpuapp (read/write) 696718 696718 0 0.0
bss 110532 110532 0 0.0
rodata 68936 68936 0 0.0
text 443924 443924 0 0.0
p6 all-clusters-app default (read/write) 2353392 2353392 0 0.0
.bss 110668 110668 0 0.0
.data 2520 2520 0 0.0
.heap 920152 920152 0 0.0
.text 1311656 1311656 0 0.0
light-app default (read/write) 2284536 2284536 0 0.0
.bss 98440 98440 0 0.0
.data 2336 2336 0 0.0
.heap 932568 932568 0 0.0
.text 1242800 1242800 0 0.0
lock-app default (read/write) 2260688 2260688 0 0.0
.bss 97320 97320 0 0.0
.data 2296 2296 0 0.0
.heap 933728 933728 0 0.0
.text 1218952 1218952 0 0.0
qpg lighting-app qpg6100+debug (read only) 514144 514144 0 0.0
(read/write) 122332 122332 0 0.0
.bss 80168 80168 0 0.0
.data 964 964 0 0.0
.text 508824 508824 0 0.0
lock-app qpg6100+debug (read only) 488448 488448 0 0.0
(read/write) 122336 122336 0 0.0
.bss 79304 79304 0 0.0
.data 920 920 0 0.0
.text 483128 483128 0 0.0
persistent-storage-app qpg6100+debug (read only) 108104 108104 0 0.0
(read/write) 122336 122336 0 0.0
.bss 36152 36152 0 0.0
.data 288 288 0 0.0
.text 102784 102784 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 799870 799870 0 0.0
bss 80304 80304 0 0.0
noinit 37160 37160 0 0.0
text 559130 559130 0 0.0

@andy31415 andy31415 merged commit a5b9cb7 into project-chip:master Dec 8, 2021
@electrocucaracha electrocucaracha deleted the enable_imgs branch December 9, 2021 01:44
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.

Enables "-crosscompile" and "-vscode" images
4 participants