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

[BL602] Enable command line to flash chip #20094

Merged

Conversation

jczhang777
Copy link
Contributor

@jczhang777 jczhang777 commented Jun 29, 2022

Problem

What is being fixed? Examples:

  • Enable command line to flash chip

Change overview

Enable command line to flash chip, and update README.md.

Testing

How was this tested? (at least one bullet point required)

  • command line:
    cd third_party/bouffalolab/bl602_sdk/repo/tools/flash_tool

ubuntu:
./bflb_iot_tool-ubuntu18 --chipname=BL602 --baudrate=115200 --port=/dev/ttyACM0 --pt=chips/bl602/partition/partition_cfg_4M.toml --dts=chips/bl602/device_tree/bl_factory_params_IoTKitA_40M.dts --firmware=../../../../../../out/bl602-light/chip-bl602-lighting-example.bin

macos:
./bflb_iot_tool-macos --chipname=BL602 --baudrate=115200 --port=/dev/ttyACM0 --pt=chips/bl602/partition/partition_cfg_4M.toml --dts=chips/bl602/device_tree/bl_factory_params_IoTKitA_40M.dts --firmware=../../../../../../out/bl602-light/chip-bl602-lighting-example.bin

@woody-apple
Copy link
Contributor

Fast tracking platform changes.

@github-actions
Copy link

github-actions bot commented Jun 29, 2022

PR #20094: Size comparison from 8f70c5e to 1486d3b

Full report (29 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 8f70c5e 1486d3b change % change
cyw30739 light cyw930739m2evb_01 (read/write) 626646 626646 0 0.0
.app_xip_area 529220 529220 0 0.0
.bss 80116 80116 0 0.0
.data 656 656 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 621494 621494 0 0.0
.app_xip_area 525508 525508 0 0.0
.bss 78676 78676 0 0.0
.data 656 656 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 574626 574626 0 0.0
.app_xip_area 468996 468996 0 0.0
.bss 88024 88024 0 0.0
.data 568 568 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 907456 907456 0 0.0
(read/write) 135072 135072 0 0.0
.bss 133064 133064 0 0.0
.data 2008 2008 0 0.0
.text 907448 907448 0 0.0
BRD4161A+rpc (read only) 941824 941824 0 0.0
(read/write) 151760 151760 0 0.0
.bss 149544 149544 0 0.0
.data 2212 2212 0 0.0
.text 941816 941816 0 0.0
BRD4161A+rs911x (read only) 745804 745804 0 0.0
(read/write) 129308 129308 0 0.0
.bss 127372 127372 0 0.0
.data 1936 1936 0 0.0
.text 745796 745796 0 0.0
lock-app BRD4161A+wf200 (read only) 908748 908748 0 0.0
(read/write) 126300 126300 0 0.0
.bss 124380 124380 0 0.0
.data 1920 1920 0 0.0
.text 908740 908740 0 0.0
window-app BRD4161A (read only) 844888 844888 0 0.0
(read/write) 133200 133200 0 0.0
.bss 131240 131240 0 0.0
.data 1956 1956 0 0.0
.text 844880 844880 0 0.0
esp32 all-clusters-app c3devkit (read only) 999142 999142 0 0.0
(read/write) 1474442 1474442 0 0.0
.dram0.bss 69128 69128 0 0.0
.dram0.data 14356 14356 0 0.0
.flash.rodata 206496 206496 0 0.0
.flash.text 999142 999142 0 0.0
.iram0.text 62020 62020 0 0.0
m5stack (read only) 1054531 1054531 0 0.0
(read/write) 476856 476856 0 0.0
.dram0.bss 74648 74648 0 0.0
.dram0.data 34096 34096 0 0.0
.flash.rodata 236276 236276 0 0.0
.flash.text 1049147 1049147 0 0.0
.iram0.text 123107 123107 0 0.0
k32w light k32w061+release (read/write) 656064 656064 0 0.0
.bss 71076 71076 0 0.0
.data 1964 1964 0 0.0
.text 577224 577224 0 0.0
lock k32w061+release (read/write) 702916 702916 0 0.0
.bss 71500 71500 0 0.0
.data 1960 1960 0 0.0
.text 623656 623656 0 0.0
linux all-clusters-app debug (read only) 2732593 2732593 0 0.0
(read/write) 173592 173592 0 0.0
.bss 84064 84064 0 0.0
.data 1856 1856 0 0.0
.data.rel.ro 81560 81560 0 0.0
.dynamic 608 608 0 0.0
.got 4464 4464 0 0.0
.init 27 27 0 0.0
.init_array 1008 1008 0 0.0
.rodata 234661 234661 0 0.0
.text 2323522 2323522 0 0.0
bridge-app debug+rpc (read only) 1889369 1889369 0 0.0
(read/write) 120280 120280 0 0.0
.bss 71328 71328 0 0.0
.data 3360 3360 0 0.0
.data.rel.ro 40248 40248 0 0.0
.dynamic 592 592 0 0.0
.got 4032 4032 0 0.0
.init 27 27 0 0.0
.init_array 688 688 0 0.0
.rodata 160161 160161 0 0.0
.text 1606882 1606882 0 0.0
chip-tool debug (read only) 8421981 8421981 0 0.0
(read/write) 474448 474448 0 0.0
.bss 22592 22592 0 0.0
.data 1136 1136 0 0.0
.data.rel.ro 444456 444456 0 0.0
.dynamic 624 624 0 0.0
.got 4952 4952 0 0.0
.init 27 27 0 0.0
.init_array 648 648 0 0.0
.rodata 457301 457301 0 0.0
.text 6878965 6878965 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 8276308 8276308 0 0.0
(read/write) 539601 539601 0 0.0
.bss 40897 40897 0 0.0
.data 1192 1192 0 0.0
.data.rel.ro 479608 479608 0 0.0
.dynamic 560 560 0 0.0
.got 14088 14088 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 423604 423604 0 0.0
.text 6634356 6634356 0 0.0
lighting-app debug+rpc (read only) 2325345 2325345 0 0.0
(read/write) 151264 151264 0 0.0
.bss 73408 73408 0 0.0
.data 1920 1920 0 0.0
.data.rel.ro 70184 70184 0 0.0
.dynamic 608 608 0 0.0
.got 4320 4320 0 0.0
.init 27 27 0 0.0
.init_array 792 792 0 0.0
.rodata 184649 184649 0 0.0
.text 1974514 1974514 0 0.0
lock-app debug (read only) 2205161 2205161 0 0.0
(read/write) 145640 145640 0 0.0
.bss 71968 71968 0 0.0
.data 1504 1504 0 0.0
.data.rel.ro 66520 66520 0 0.0
.dynamic 592 592 0 0.0
.got 4312 4312 0 0.0
.init 27 27 0 0.0
.init_array 736 736 0 0.0
.rodata 192593 192593 0 0.0
.text 1852978 1852978 0 0.0
ota-provider-app debug (read only) 2058649 2058649 0 0.0
(read/write) 138920 138920 0 0.0
.bss 71392 71392 0 0.0
.data 1672 1672 0 0.0
.data.rel.ro 60072 60072 0 0.0
.dynamic 608 608 0 0.0
.got 4480 4480 0 0.0
.init 27 27 0 0.0
.init_array 640 640 0 0.0
.rodata 174651 174651 0 0.0
.text 1726898 1726898 0 0.0
ota-requestor-app debug (read only) 2089769 2089769 0 0.0
(read/write) 141728 141728 0 0.0
.bss 72032 72032 0 0.0
.data 1928 1928 0 0.0
.data.rel.ro 62136 62136 0 0.0
.dynamic 592 592 0 0.0
.got 4320 4320 0 0.0
.init 27 27 0 0.0
.init_array 664 664 0 0.0
.rodata 170924 170924 0 0.0
.text 1760258 1760258 0 0.0
shell debug (read only) 2557737 2557737 0 0.0
(read/write) 197616 197616 0 0.0
.bss 114792 114792 0 0.0
.data 1232 1232 0 0.0
.data.rel.ro 75856 75856 0 0.0
.dynamic 592 592 0 0.0
.got 4184 4184 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 216434 216434 0 0.0
.text 2179970 2179970 0 0.0
thermostat-no-ble arm64 (read only) 2366700 2366700 0 0.0
(read/write) 174753 174753 0 0.0
.bss 86497 86497 0 0.0
.data 1488 1488 0 0.0
.data.rel.ro 79000 79000 0 0.0
.dynamic 560 560 0 0.0
.got 4736 4736 0 0.0
.init 24 24 0 0.0
.init_array 368 368 0 0.0
.rodata 145980 145980 0 0.0
.text 1991664 1991664 0 0.0
tv-app debug (read only) 2842217 2842217 0 0.0
(read/write) 276384 276384 0 0.0
.bss 189240 189240 0 0.0
.data 4480 4480 0 0.0
.data.rel.ro 76432 76432 0 0.0
.dynamic 592 592 0 0.0
.got 4696 4696 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 216811 216811 0 0.0
.text 2443474 2443474 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2411164 2411164 0 0.0
.bss 205860 205860 0 0.0
.data 5848 5848 0 0.0
.text 1373764 1373764 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1179959 1179959 0 0.0
bss 142760 142760 0 0.0
rodata 150064 150064 0 0.0
text 808500 808500 0 0.0
p6 all-clusters-app default (read/write) 2526600 2526600 0 0.0
.bss 140024 140024 0 0.0
.data 2728 2728 0 0.0
.text 1484864 1484864 0 0.0
light-app default (read/write) 2418496 2418496 0 0.0
.bss 132720 132720 0 0.0
.data 2552 2552 0 0.0
.text 1376760 1376760 0 0.0
lock-app default (read/write) 2422816 2422816 0 0.0
.bss 132520 132520 0 0.0
.data 2544 2544 0 0.0
.text 1381080 1381080 0 0.0
telink lighting-app tlsr9518adk80d (read/write) 807320 807320 0 0.0
bss 75420 75420 0 0.0
noinit 40416 40416 0 0.0
text 571094 571094 0 0.0

@andy31415 andy31415 merged commit 297c756 into project-chip:interop_testing_te9 Jun 29, 2022
@jczhang777 jczhang777 deleted the bl602_te9_flash_chip branch July 1, 2022 07:10
rerasool pushed a commit to SiliconLabs/matter that referenced this pull request Sep 9, 2022
* [BL602] Enable command line to flash chip

* [BL602] Update README.md, support command line flash chip

* Restyled by prettier-markdown

* [BL602] change README.md format

Co-authored-by: Restyled.io <commits@restyled.io>
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.

4 participants