Onion is probably the only company who manages MT7688AN SoC firmware otherwise completely abandoned by MediaTek. Without their effort, either you have to stick with OpenWrt 15.05 or you have to struggle with the issues of porting current version of OpenWrt on this platform.
Among other things, sub-optimal performance and instability of the open source MT76 WiFi driver should be addressed. Onion version of OpenWrt not only solves this issue, it comes with tons of useful additions, not to mention their impressive documentation and online community support. This is my personal exercise to build Omega 2 flavour of OpenWrt 18 using their source.
Clone the source from the Onion’s repository. The github repository has three branches and by default openwrt-18.06 branch will be selected. As of this writing however current official build is still based on lede-17.01 branch. This is not correct. New version are based on openwrt-18.06 and official built images and packages are hosted in a new location.
Thus to work on the OpenWrt 18.06 version:
git clone https://github.com/OnionIoT/source.git
cd source
git log --grep "b218:"
git checkout adfead5c -b build218
sh scripts/onion-feed-setup.sh
git checkout .config
sh scripts/onion-minimal-build.sh
make -j
To work on the most recent official previous build (lede 17 – b202 or older) instead:
git clone https://github.com/OnionIoT/source.git
cd source
git checkout lede-17.01 -b build202
sh scripts/onion-feed-setup.sh
git checkout .config
sh scripts/onion-minimal-build.sh
make -j
This build is based on LEDE 17. Thus if your host system is Ubuntu 18.04 then it is not recommended to recover the .config file, which is likely to introduce compilation errors.
