prplos/profiles/thread.yml
Petr Štetiar a937a7f8ae
profiles: thread: add lrzsz for EFR32MG firmware updates
EFR32MG bootloader supports firmware updates via X-MODEM protocol. So
until a special firmware update tool is available, we can use picocom
with lrzsz to perform firmware updates.

Example flashing session on Freedom board:

  $ picocom --baud 115200 /dev/ttyMSM1 --send-cmd "sz --verbose --verbose --xmodem"
   ...snip...

  Gecko Bootloader v2.05.02
  1. upload gbl
  2. run
  3. ebl info
  BL >
  begin upload
  CCC

   ---> [CTRL+a] [CTRL+s] key combination starts sending the file to the bootloader

  *** file: /tmp/wnc_freedom_openthread_rcp_2.5.2.0_GitHub-1fceb225b_gsdk_2024.6.2.gbl
  $ sz --verbose --verbose --xmodem /tmp/wnc_freedom_openthread_rcp_2.5.2.0_GitHub-1fceb225b_gsdk_2024.6.2.gbl
  Sending /tmp/wnc_freedom_openthread_rcp_2.5.2.0_GitHub-1fceb225b_gsdk_2024.6.2.gbl, 860 blocks: Give your local XMODEM receive command now.
  ...snip...
  Bytes Sent: 110208   BPS:11013

References: PCF-1296, PCF-1535
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
2025-07-31 15:24:56 +00:00

10 lines
133 B
YAML

---
description: Add thread dependencies
packages:
- kmod-tun
additional_packages:
- feed: packages
packages:
- lrzsz