Replies: 1 comment
-
See that @tube0013 forked silabs-firmware-builder and patched it for his products -> https://github.com/tube0013/silabs-firmware-builder FYI, ksjh has a fork with patches for automated firmware building for different adapters using Github Actions and has a a discussion about it: https://github.com/ksjh/silabs-firmware-builder ksjh/silabs-firmware-builder#2 Note that most of the automation magic with silabs-firmware-builder looks to happen in Github Actions workflows: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Suggest you consider making use of the "Silicon Labs firmware builder" which is a new open-source firmware build system that Home Assistant founders have now among other things announced as a common script toolset for building firmware images for Silabs based hardware (such as TubesZB's EFR32 MGM21 Coordinator adapters).
https://www.home-assistant.io/blog/2023/02/08/state-of-matter-and-thread/#building-firmware-for-silicon-labs-chips
(Note that this is only just one section from https://www.home-assistant.io/blog/2023/02/08/state-of-matter-and-thread/ )
In summary, they have open-sourced and released the ""Silicon Labs firmware builder" project which is a collection of automated build scripts to help make it easier to create reproducible firmware builds for Zigbee and Thread based SoCs from Silicon Labs.
Suggest consider making use of this firmware build system and if possible also contribute any improvements to the upstream project:
https://github.com/NabuCasa/silabs-firmware-builder
https://github.com/NabuCasa/silabs-firmware-builder/blob/main/README.md
As I understand it, right now it allows you to build either Zigbee EmberZNet NCP (Zigbee Coordinator on Silicon Labs Network Co-Processor) firmware images, OpenThread RCP (Radio Co-Processor), or RCP Multi-PAN firmware images for OTBR (multi-protocol Zigbee EmberZNet and OpenThead Border Router using Radio Co-Processor) profiled for their own Home Assistant SkyConnect USB stick/dongle and their EFR32MG21-based radio module integrated into the Home Assistant Yellow appliance, however, the idea is that you can build profiles for other Silicon Labs hardware adapters/dongles/sticks/modules as well. It could of course also be extended to not only support different Silicon Labs based hardware adapters/dongles/sticks/modules (such as TubesZB's EFR32 MGM21 Coordinator adapters) but also different type of firmware images, (like maybe OpenThead Border Router on NCP).
(Examples of firmware image builds that it can produce can be found here -> https://github.com/NabuCasa/silabs-firmware ).
Note that was just one of their announcements in that blog post; in related news, they also released "SL Web Tools" which enable flashing firmware to Silabs-based adapters directly from a web page as well as a "SiLabs multi-flasher" as a Python script flashing tool:
https://www.home-assistant.io/blog/2023/02/08/state-of-matter-and-thread/#silabs-multi-flasher--sl-web-tools
(Again note that this is only just one section from https://www.home-assistant.io/blog/2023/02/08/state-of-matter-and-thread/ )
https://github.com/NabuCasa/universal-silabs-flasher
https://github.com/NabuCasa/sl-web-tools
https://www.youtube.com/watch?v=-88K23e8XYw&t=2s&ab_channel=HomeAssistant
The "SL Web Tools" project is available as open source. It allows users to manage the firmware on Zigbee/Thread sticks using SiLabs chips directly from their browser, with no terminals or compilation necessary. This allows any creator to offer easy firmware updates to their users and make experimental updates available to test bug fixes quickly."
To see it in action, SL Web Tools for flashing firmware has been added to the Home Assistant SkyConnect documentation.
https://skyconnect.home-assistant.io
SL Web Tools is powered by another new open-source Python package “silabs-universal-flasher” → GitHub - NabuCasa/universal-silabs-flasher: Flashes Silicon Labs radios running EmberZNet or CPC multi-pan firmware
For reference; the firmware build system for Silicon Labs was made by Home Assistant developer/engineer and Nabu Casa employee Stefan Agner (a.k.a. agners, who also developed the EFR32MG21-based Home Assistant SkyConnect USB stick/dongle as well as the EFR32MG21-based radio module integrated into the Home Assistant Yellow appliance for Rasberry Pi 4 Compute Module). And the "universal-silabs-flasher" firmware tool was made by puddly who is also one of the lead developers of zigpy and the radio libraries for zigpy that is used in Home Assistant's ZHA integration (among other projects).
PS: btw, they made updates to their relevant documentation:
Beta Was this translation helpful? Give feedback.
All reactions