commit | 0e09c69ad834b52efc2faf4759ba2f3f594187c0 | [log] [tgz] |
---|---|---|
author | huamenggg <52490135+huamenggg@users.noreply.github.com> | Wed Nov 06 08:23:30 2019 |
committer | Jonathan Hui <jonhui@google.com> | Wed Nov 06 08:23:30 2019 |
tree | 01fb7842a6fdc189570c7bbdaa25c32643de1ef9 | |
parent | 94772ec245e05091bf7bfba9b563bfb4e2bb5271 [diff] |
[openwrt] change feeds address to openwrt branch (#336)
The OpenWrt Project is a Linux operating system targeting embedded devices. Instead of trying to create a single, static firmware, OpenWrt provides a fully writable filesystem with package management.
OpenWRT use opkg to manage its packages, and this Makefile is to help package our project into .ipk and then can install on OpenWRT.
git clone https://github.com/openwrt/openwrt.git # enter the OpenWRT directory cd openwrt # update and install feeds ./scripts/feeds update -a ./scripts/feeds install -a # select your preferred configuration for the toolchain, target system & firmware packages. make menuconfig # make the OpenWRT project make
# Download ot-br-posix's feeds curl -s https://raw.githubusercontent.com/openthread/ot-br-posix/openwrt/feeds.conf >> feeds.conf ./scripts/feeds update openthread ./scripts/feeds install -a -p openthread # in "Network" column, select "openthread" option make menuconfig # package the project make package/openthread/compile # the .ipk file will be in ./bin/packages/mips_24kc/otbrpackage/openthread_xxx.ipk # copy the .ipk file into OpenWRT device, and install opkg install openthread_xxx.ipk # then can use openthread on OpenWRT otbr-agent -d7 -v /dev/ttyUSB0 115200