Did anybody got node.js running on the vocore?
I am a bit worried about memory consumption. Not sure if it will work. Will also be tight to fit it in the flash.
Will try to crosscompile and update my findings.
node.js on vocore
- Peter
- Posts: 14
- Joined: Sat Dec 06, 2014 6:00 am
Re: node.js on vocore
I just used this script to build a mips version of node.js:
https://github.com/nneves/openwrt_mips_ar9331_nodejs
When I start it on the vocore I get the following error:
root@OpenWrt:/node# ./node
./node: line 1: syntax error: unexpected "("
So I am wondering: is the AR9331 mips cpu not binary compatible to the RT5350?
https://github.com/nneves/openwrt_mips_ar9331_nodejs
When I start it on the vocore I get the following error:
root@OpenWrt:/node# ./node
./node: line 1: syntax error: unexpected "("
So I am wondering: is the AR9331 mips cpu not binary compatible to the RT5350?
- Peter
- Posts: 14
- Joined: Sat Dec 06, 2014 6:00 am
Re: node.js on vocore
Ok, I think I figured it out.
tells me
i.e. it is a MSB/big endian binary. But I need a LSB binary for the RT5350/vocore.
- Code: Select all
file node
tells me
- Code: Select all
node: ELF 32-bit MSB executable, MIPS, MIPS32 rel2 version 1, dynamically linked (uses shared libs), not stripped
i.e. it is a MSB/big endian binary. But I need a LSB binary for the RT5350/vocore.
- noblepepper
- Posts: 240
- Joined: Sat Nov 29, 2014 3:22 pm
Re: node.js on vocore
I imagine you have found this since you got that far but if not; searching that github repository for endian finds this in the .config:
- Code: Select all
CONFIG_BIG_ENDIAN=y
- brad
- Posts: 31
- Joined: Tue Jan 06, 2015 5:19 am
Re: node.js on vocore
Use this one:
https://github.com/majklovec/wrtnode-packages
it works out of the box. I also posted a new thread about some details specific to compiling this in a vocore image. Works on openwrt 14.07 with vocore.
https://github.com/majklovec/wrtnode-packages
it works out of the box. I also posted a new thread about some details specific to compiling this in a vocore image. Works on openwrt 14.07 with vocore.
5 posts
Page 1 of 1
Who is online
Users browsing this forum: No registered users and 36 guests