I made it easy π Most part are copied from Poray X8. Some uci config are really hard to understand, have to read code.
Patch for VoCore. I am new to make patch, not sure how to add new file to patch…hope this patch is in right format.
http://vonger.cn/upload/vocore.patch
Two new created files:
path: openwrt/target/linux/ramips/dts/
http://vonger.cn/upload/VOCORE.dts
path: openwrt/target/linux/ramips/rt305x/profiles
http://vonger.cn/upload/vocore.mk
Then delete tmp folder under openwrt, then run make menuconfig, VOCORE will be appear there.
And to use it as a module, you’d better change “Image configuration”->”Preinit configration options” -> IP address for preinit network messages(192.168.61.1), and Boardcast address for preinit network messages to (192.168.61.255).
Any idea about this openwrt config is welcome, I am new to that. Please leave a comment. π
PS:
This is better, if my way is not working, please try this. Thank you, Markus Z π
http://vocore.freshdesk.com/support/discussions/topics/1000033335
Will test it later today and let you know. I started building this once I put in for alpha parts. :>
Patch applied fine and the compile happened. Nothing to test it on though. π
I public the alpha version PCB, please check that π
I’m using build scripts and prepared openwrt tree patches to build my router firmware.
You gonna find it useful for your goals.
https://github.com/axet/openwrt-tl-wr842nd-v2
Will try π
Hello,
I’ve made a new patch based on yours:
Patch: https://github.com/openwrt-es/openwrt/commit/f2b5d45f07587df303da361871788b1eb1b2c1ef.patch
Commit: https://github.com/openwrt-es/openwrt/commit/f2b5d45f07587df303da361871788b1eb1b2c1ef
I’ve fixed image generation, fixed flash ID according to one of your old bootlogs (it may have changed, since you are currently using another different model), fixed newtork config (with VLANs), changed uboot partition names, added ethernet portmap and provided all of it on one single patch :D.
Regards,
Γlvaro.
Hi again,
Excuse me but I made mistake with the DTS image generation name.
It’s fixed now:
Patch: https://github.com/openwrt-es/openwrt/commit/60eecd8aacc991fbd7c1f52830481310e9380da0.patch
Commit: https://github.com/openwrt-es/openwrt/commit/60eecd8aacc991fbd7c1f52830481310e9380da0
Regards,
Γlvaro.
Ha π Looks much better than mine. I can hardly understand that in a short time. π
Noltari,
I had to add this patch to get your vocore branch to compile:
https://dev.openwrt.org/browser/trunk/package/network/services/hostapd/patches/130-no_eapol_fix.patch?rev=41023
Yeah, that bug is already been fixed on latest trunk.
BTW, I didn’t post my OpenWrt repo for downloading the repo itself, but to download the patch from the commit diff and manually patch official repo:
git clone git://git.openwrt.org/openwrt.git openwrt-vocore
cd openwrt-vocore
wget https://github.com/openwrt-es/openwrt/commit/60eecd8aacc991fbd7c1f52830481310e9380da0.patch
patch -p1 -i 60eecd8aacc991fbd7c1f52830481310e9380da0.patch
make menuconfig
…
Cheers!
Which GPIO is assigned to the LED on the v1.0 board? Is it GPIO22-LED0?
I can export that LED and make it the status/power LED in order to show boot status.
I can also export GPIO 0 and GPIOS 22-26 from the DTS too.
Regards,
Γlvaro.
The LED is controlled by WLAN_LED, not a real GPIO.
Do you know how to enable two uartlite and keep rest GPIO?
Nope, I’ve never done that :/.
BTW, in order to automatically export GPIOs through DTS, use this code:
http://pastebin.com/63Jxc3BN
@Noltari: Could you please post your complete VOCORE.dts file?
I couldn’t get the gpio-export setting working.
Build error: ‘ERROR (phandle_references): Reference to non-existent node or label “gpio”‘