openwrt-node-packages icon indicating copy to clipboard operation
openwrt-node-packages copied to clipboard

Linkit smart 7688

Open tcpipchip opened this issue 2 years ago • 8 comments

Hi, Back after 5 years Node still working with linkit smart 7688 ? And with wich openwrt version now ? Thanks!!!

tcpipchip avatar Mar 28 '23 13:03 tcpipchip

The latest node.js does not support big-endian MIPS. node.js v12.22.12 will be the last.

Also, mips_24kc has no hardware FPU and uses a software FPU to run node.js, but it is super slow and useless.

If you want to use node.js on OpenWrt, I recommend you use ARM core with hardware FPU.

nxhack avatar Mar 28 '23 23:03 nxhack

thanks @nxhack Now i am compiling https://github.com/nxhack/openwrt-node-packages/tree/dev_18.06

tcpipchip avatar Mar 29 '23 09:03 tcpipchip

got this error /bin/sh: 1: /home/ubuntu/openwrt-18.06.4/build_dir/target-mipsel_24kc_musl/node-v10.24.1/out/Release/torque: Exec format error

tcpipchip avatar Mar 29 '23 17:03 tcpipchip

openwrt-18.06 is EOL. We do not support it. (But ;) If you build node.js, you need to run 32bit binaries on your host. How to set that up depends on your environment.

nxhack avatar Mar 30 '23 01:03 nxhack

Now I am building the lede now, the node js passed the compile at moment! Reading your doc, looks that lede with node.js works and finally will be possible install the node-red on linkit 7688

tcpipchip avatar Mar 30 '23 02:03 tcpipchip

can you help me about this error ? mkdir -p /home/ubuntu/lede/build_dir/target-mipsel_24kc_musl/default-settings-2/.pkgdir/default-settings install -d -m0755 /home/ubuntu/lede/build_dir/target-mipsel_24kc_musl/default-settings-2/.pkgdir/default-settings/etc/uci-defaults install -m0755 ./files/zzz-default-settings /home/ubuntu/lede/build_dir/target-mipsel_24kc_musl/default-settings-2/.pkgdir/default-settings/etc/uci-defaults/99-default-settings install -d -m0755 /home/ubuntu/lede/build_dir/target-mipsel_24kc_musl/default-settings-2/.pkgdir/default-settings/usr/lib/lua/luci/i18n po2lmo ./po/zh-cn/default.po /home/ubuntu/lede/build_dir/target-mipsel_24kc_musl/default-settings-2/.pkgdir/default-settings/usr/lib/lua/luci/i18n/default.zh-cn.lmo bash: po2lmo: command not found make[3]: *** [Makefile:44: /home/ubuntu/lede/build_dir/target-mipsel_24kc_musl/default-settings-2/.pkgdir/default-settings.installed] Error 127 make[3]: Leaving directory '/home/ubuntu/lede/package/lean/default-settings' time: package/lean/default-settings/compile#0.17#0.64#0.78 ERROR: package/lean/default-settings failed to build. make[2]: *** [package/Makefile:116: package/lean/default-settings/compile] Error 1 make[2]: Leaving directory '/home/ubuntu/lede' make[1]: *** [package/Makefile:110: /home/ubuntu/lede/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/ubuntu/lede' make: *** [/home/ubuntu/lede/include/toplevel.mk:231: world] Error 2

tcpipchip avatar Mar 30 '23 10:03 tcpipchip

Sorry. It is not in my scope.

nxhack avatar Mar 30 '23 13:03 nxhack

no problem! I still tryng to find out the issue!

tcpipchip avatar Mar 30 '23 13:03 tcpipchip