VoCore
From Bashlinux
How to build the firmware for VoCore Alpha
- Get the source from https://dev.openwrt.org/wiki/GetSource
git clone git://git.openwrt.org/openwrt.git
- Patch the source (2 options)
- OPTION 1 - Vonger's files and patches
# wget http://vonger.cn/upload/VOCORE.dts -O openwrt/target/linux/ramips/dts/VOCORE.dts # wget http://vonger.cn/upload/vocore.mk -O openwrt/target/linux/ramips/rt305x/profiles/vocore.mk # cd openwrt # wget http://vonger.cn/upload/vocore.patch # patch -p1 -i vocore.patch
- OPTION 2 - Patch from Noltari
# wget https://github.com/openwrt-es/openwrt/commit/60eecd8aacc991fbd7c1f52830481310e9380da0.patch # patch -p1 -i 60eecd8aacc991fbd7c1f52830481310e9380da0.patch
- Add GPIO export
# wget http://pastebin.com/raw.php?i=63Jxc3BN -O gpio-VOCORE.dts # sed -i -e '$d' openwrt/target/linux/ramips/dts/VOCORE.dts # echo "" >> openwrt/target/linux/ramips/dts/VOCORE.dts # cat gpio-VOCORE.dts >> openwrt/target/linux/ramips/dts/VOCORE.dts # echo '};' >> openwrt/target/linux/ramips/dts/VOCORE.dts