OpenThread Border Router on OpenWrt

Any chance this could be built in the OpenWRT repo : https://github.com/openthread/ot-br-posix/tree/main/etc/openwrt/openthread-br

FYI, the OpenThread radio can be an $10 Nordic USB dongle : https://www.nordicsemi.com/Software-and-tools/Development-Kits/nRF52840-Dongle ... flashed with the "rcp" firmware.

FYI, I just ordered this $20 light bulb that uses Thread : https://nanoleaf.me/en-US/products/nanoleaf-essentials

1 Like

Disclaimer: Without looking at it in any sort of detail (licensing, dependencies, code quality, …).

Someone -if in doubt, this someone might have to be you- will have to step up maintaining it, and submitting it to OpenWrt's package feed (the additional 3rd party feed as such won't be accepted) with an intention to keep maintaining it. This usually won't happen by itself, whoever is interested in those features will have to invest the time to take care of it within OpenWrt (indepent or in addition to the upstream maintenance).

1 Like

Awesome ! Thanks !

1 Like

What firmware did you flash onto the "nRF52840 Dongles" ...?

1 Like

Here's my YAML for my Woodpecker CI pipeline. Should be easy to translate to manually doing it in Podman or Docker.

pipeline:
  build_firmware_nrf52480:
    image: openthread/environment:latest
    commands:
      - mkdir firmware
      - git clone --depth 1 --shallow-submodules https://github.com/openthread/ot-nrf528xx.git --recursive
      - cd ot-nrf528xx
      - ./script/build nrf52840 USB_trans -DOT_BOOTLOADER=USB
      - arm-none-eabi-objcopy -O ihex build/bin/ot-cli-ftd
      - arm-none-eabi-objcopy -O ihex build/bin/ot-cli-mtd
      - arm-none-eabi-objcopy -O ihex build/bin/ot-cli-radio
      - arm-none-eabi-objcopy -O ihex build/bin/ot-ncp-ftd
      - arm-none-eabi-objcopy -O ihex build/bin/ot-ncp-mtd
      - arm-none-eabi-objcopy -O ihex build/bin/ot-rcp

I am using the ot-rcp firmware.