项目作者: yplam

项目描述 :
Scripts to build OpenThread Border Router for OpenWRT
高级语言: C
项目地址: git://github.com/yplam/ot-br-openwrt.git
创建时间: 2021-04-08T02:34:23Z
项目社区:https://github.com/yplam/ot-br-openwrt

开源协议:Apache License 2.0

下载


ot-br-openwrt

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

Hardware

Software

Initialize development environment

update git submodules:

  1. git submodule update --init
  2. cd /src/ot-br-posix/
  3. 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:

  1. docker-compose up --build

To enter your docker development machine, run:

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

Build OpenWrt firmware

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

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

Configure and make OpenWrt

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