Open vSwitch 2.1.2 (OvS) package for OpenWrt "Barrier Breaker" (trunk, r41432)
-
cd $TOPDIR
-
echo 'src-git openvswitch git://github.com/pichuang/openvwrt.git' >> feeds.conf
-
./scripts/feeds update openvswitch
-
./scripts/feeds install -a -p openvswitch
-
wget https://gist.githubusercontent.com/pichuang/7372af6d5d3bd1db5a88/raw/4e2290e3e184288de7623c02f63fb57c536e035a/openwrt-add-libatomic.patch -q -O - | patch -p1
-
make menuconfig
- select Network -> openvswitch-switch, openvswitch-switch, openvswitch-ipsec (Optional)
- select Advanced configuration options (for developers) -> Toolchain Options -> Binutils Version -> Linaro binutils 2.24
- UNSELECT Advanced configuration options (for developers) -> Target Options -> Build packages with MIPS16 instructions
-
echo '#CONFIG_KERNEL_BRIDGE is not set' >> .config
-
make V=s
!WARNING! You need repeat step 7 and 8 after you enter "make menuconfig".
- Hardware: D-LINK Dir-835
- Build enviroment
- gcc version 4.9.0 20140604 (prerelease) (GCC)
- ArchLinux x86_64
- How to build OpenWrt?
- Please read Roan's blog Compiled OpenWrt
- How to set OpenvSwitch configuration?
- Please read Roan's blog Set OpenvSwitch
- No works?
- Try reboot and
telnet 192.168.1.1
- or,
make clean
rebuild it.
Please fork on github and send pull requests.