Skip to content

Scripts to build OpenThread Border Router for OpenWRT

License

Notifications You must be signed in to change notification settings

yplam/ot-br-openwrt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ot-br-openwrt

This project provide scripts to build a Thread border router on openwrt.

Hardware

Software

  • Docker development environment
  • OpenWrt v22.03.5
  • ot-br-posix @c0897a70b907410d9be87eab16c41910bb14a000
  • openthread @1203ea6426a906d62a3921b6d4c6a4a6c8e0abde
  • ot-nrf528xx @7dc1f1406f437807cdafd6c53a974d76439b6a2b
  • totd DNS64

Initialize development environment

update git submodules:

git submodule update --init
cd /src/ot-br-posix/
git submodule update --init

Note: If you need to use a proxy, uncomment and change the environment configs in docker-compose.yml file .

Install docker and docker-compose, and run:

docker-compose up --build

To enter your docker development machine, run:

docker-compose exec -u docker compiler /bin/bash

Build OpenWrt firmware

Edit /src/openwrt/feeds.conf, using feeds.conf.default as template:

src-git-full packages https://git.openwrt.org/feed/packages.git;openwrt-22.03
src-git-full luci https://git.openwrt.org/project/luci.git;openwrt-22.03
src-git-full routing https://git.openwrt.org/feed/routing.git;openwrt-22.03
src-git-full telephony https://git.openwrt.org/feed/telephony.git;openwrt-22.03
src-link openthread /src/ot-br-posix/etc/openwrt
src-link otbr /src/ot-br

Configure and make OpenWrt

./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig
# select MediaTek Ralink MIPS -> MT76*8 based boards -> Hi-Link HLK-7688A
# select Network -> ot-br -> ot-br
# select Network -> openthread-br
# select tcpdump if you want to capture and analyze network traffic
make V=99

About

Scripts to build OpenThread Border Router for OpenWRT

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published