資料介紹
軟件簡(jiǎn)介
OpenWrt Node.js Packages (nodejs)
Description
OpenWrt/LEDE Node.js Packages : for Head (Development branch)
Note: support arches are aarch64, arm, x86_64
MIPS without hardware FPU no longer be supported
License
See LICENSE file.
Usage
Add the following line to feeds.conf or feeds.conf.default.
src-git node https://github.com/nxhack/openwrt-node-packages.git
Run
./scripts/feeds update node
rm ./package/feeds/packages/node
rm ./package/feeds/packages/node-*
./scripts/feeds install -a -p node
make defconfig
Request to add a package is welcome
If you want a new module (native module) that requires a precompiled binary, please open the issue.
Note
If you want to use with Chaos Calmer(15.05), see for-15.05 branch (End of life)
If you want to use with LEDE (17.01), see lede-17.01 branch (End of life)
If you want to use with 18.06, see openwrt-18.06 branch (End of life)
If you want to use with 19.07, see openwrt-19.07 branch (MIPS FPU EMULATOR support)
If you want to use with 21.02, see openwrt-21.02 branch (MIPS is no longer supported)
OpenSSL 1.0.x becomes EoL, OpenWrt-18.06 will not be supported. Python2 becomes EoL, node v8.x will not be supported.
On the host side, the following preparations are required.
- Unix prerequisites
- To build a 32-bit target, gcc-multilib, g++-multilib are required.
- The libatomic package is required. (Install the 32-bit library at the same time, if necessary).
Illegal instruction issue
V8 JIT code generates FP instruction. Node.js does not work without hardware FPU.
If you are running nodejs on the Atheros AR71xx/AR933x, MediaTek MT76x8, it will not work because there is no hardware FPU. ARM cores without vfp or neon (such as bcm53xx) will not work either.
Enable Inspector
Processor | ICU | Inspector |
---|---|---|
32bit | Disable | NO |
32bit | small-icu | YES |
64bit | Disable | NO |
64bit | small-icu | YES |
64bit | system-icu | YES |
Debugging Guide Nice to use Chrome DevTools.
Note: ICU currently supports only LITTLE ENDIAN.
Note about mDNS and homebridge
If you use node-homebridge(node-hap-nodejs), please install mDNS package (umdns / avahi-dbus-daemon / mdnsresponder).
(1) Some OpenWrt / Lede images have built in dnscrypt-proxy package, which by default listening on 5353 port.
In that case, installed avahi-daemon will not start on ipv4 interface, only on ipv6 because ipv4 port is taken.
This will lead to strange issue: your homebrdge accessory will be visible in 'Home' app, but can't finish pairing.
To fix this, you have to stop and disable dnscrypt-proxy
Also, you have to enable: dbus and avahi-daemon services to start automatically, i.e for Lede:
/etc/init.d/dbus enable
/etc/init.d/avahi-daemon enable
(2) avahi on home network
Please read this document. 'Why avahi and bonjour don't work on your home network'
IGMP-querier will solve your problem.
OpenWrt custom packages available: https://github.com/nxhack/openwrt-custom-packages
Low memory
Specify v8-options.
--max_old_space_size=80
Or use swap.
Modules that use pre-compiled binary (native module)
node-authenticate-pam
node-aws-crt
node-bcryp
node-bignum
node-bluetooth-hci-socket
node-bufferutil
node-deasync
node-ejdb2_node
node-epoll
node-expat
node-ffi-napi (ffi-napi, ref-napi)
node-fuse-bindings
node-hid
node-pty-prebuilt-multiarch
node-i2c-bus
node-leveldown
node-megahash
node-mdns
node-net-ping (raw-socket)
node-openzwave-shared
node-pi-spi
node-pty
node-rpio
node-serialport-bindings
node-sleep
node-spi-device
node-sqlite3
node-statvfs
node-ubus
node-usb
node-utf-8-validate
node-zigbee2mqtt (@serialport/bindings,unix-dgram)
Other modules can be installed by 'npm install'.
Package Guidelines
See CONTRIBUTING.md file.
- 迅為i.MX6Q開發(fā)板Openwrt 文件系統(tǒng)構(gòu)建
- KICAD插件使用說明書 8次下載
- TYPE C24PIN雙排插件原理圖 28次下載
- 12*12插件觸控開關(guān)原理圖 4次下載
- 4.5*4.5插件觸控開關(guān)原理圖 9次下載
- openwrt下面創(chuàng)建package之Makefile模版 0次下載
- USB數(shù)據(jù)抓包軟件程序下載 7次下載
- Openwrt通用固件 make menuconfig配置教程 4次下載
- OpenWrt路由器的使用教程資料說明 58次下載
- openwrt如何更換原有的Linux內(nèi)核版本 0次下載
- Unity3D插件——LitJson下載 0次下載
- openwrt_wr703nv1固件和升級(jí)包 25次下載
- openwrt頁(yè)面升級(jí)整理 25次下載
- openwrt系統(tǒng)的使用技巧 30次下載
- OBS邊緣節(jié)點(diǎn)中變長(zhǎng)數(shù)據(jù)包突發(fā)匯聚實(shí)現(xiàn)
- dfrobot面包板實(shí)驗(yàn)插件——電阻包簡(jiǎn)介 2007次閱讀
- dfrobot面包板實(shí)驗(yàn)插件LED插件包簡(jiǎn)介 1174次閱讀
- dfrobot面包板實(shí)驗(yàn)插件電容包簡(jiǎn)介 1440次閱讀
- 一文詳解OpenWrt系統(tǒng)架構(gòu)和其他系統(tǒng)架構(gòu)的對(duì)比 2.2w次閱讀
- 細(xì)數(shù)工具包Kanzi? UI及Kanzi Connect?其中每個(gè)插件實(shí)現(xiàn)的功能 1w次閱讀
- 基于OpenWrt的6LoWPAN邊界路由器的實(shí)現(xiàn) 3748次閱讀
- 基于OpenWRT智能家庭安防系統(tǒng)的研究與實(shí)現(xiàn) 3132次閱讀
- openwrt都有什么功能_openwrt詳細(xì)功能介紹_openwrt刷機(jī)教程 16.5w次閱讀
- 路由器刷openwrt好處_路由器怎么刷openwrt 17.1w次閱讀
- openwrt支持usb自動(dòng)mount的功能 1.5w次閱讀
- openwrt是什么_openwrt有什么用 5.7w次閱讀
- openwrt啟動(dòng)過程詳細(xì)分析 1.2w次閱讀
- openwrt如何修改為國(guó)內(nèi)軟件源 2.8w次閱讀
- openwrt無(wú)線中繼設(shè)置步驟 7.9w次閱讀
- openwrt路由器配置方法技巧分享 9.9w次閱讀
下載排行
本周
- 1基于Xilinx ZYNQ7000 FPGA嵌入式開發(fā)實(shí)戰(zhàn)指南
- 20.20 MB | 2次下載 | 免費(fèi)
- 2ADC模數(shù)轉(zhuǎn)換實(shí)驗(yàn)
- 0.09 MB | 1次下載 | 5 積分
- 3MSP430FR4133 LaunchPad開發(fā)套件(MSP-EXP430FR4133)用戶指南
- 2.21MB | 1次下載 | 免費(fèi)
- 4MSP-EXP430FR5969快速入門指南
- 2.18MB | 1次下載 | 免費(fèi)
- 5MSP430FR5969 LaunchPad開發(fā)套件(MSP-EXP430FR5969)用戶指南
- 3.13MB | 1次下載 | 免費(fèi)
- 6使用TL431設(shè)計(jì)電源
- 0.67 MB | 1次下載 | 免費(fèi)
- 704-01-02-CBM317線性穩(wěn)壓器(LDO)
- 2.01 MB | 1次下載 | 免費(fèi)
- 8TLV320AIC3263應(yīng)用程序參考指南
- 2.44MB | 次下載 | 免費(fèi)
本月
- 12024PMIC市場(chǎng)洞察
- 2.23 MB | 159次下載 | 免費(fèi)
- 2開關(guān)電源設(shè)計(jì)原理手冊(cè)
- 1.83 MB | 42次下載 | 免費(fèi)
- 3FS5080E 5V升壓充電兩串鋰電池充電管理IC中文手冊(cè)
- 8.45 MB | 21次下載 | 免費(fèi)
- 4OAH0428最新規(guī)格書(中文)
- 2.52 MB | 15次下載 | 7 積分
- 5DMT0660數(shù)字萬(wàn)用表產(chǎn)品說明書
- 0.70 MB | 13次下載 | 免費(fèi)
- 6UC3842/3/4/5電源管理芯片中文手冊(cè)
- 1.75 MB | 12次下載 | 免費(fèi)
- 7ST7789V2單芯片控制器/驅(qū)動(dòng)器英文手冊(cè)
- 3.07 MB | 11次下載 | 1 積分
- 8慧榮SM2263XT開卡軟件-B16_B17_FW_S0614B0_RDT_S0617A
- 3.03 MB | 10次下載 | 5 積分
總榜
- 1matlab軟件下載入口
- 未知 | 935119次下載 | 10 積分
- 2開源硬件-PMP21529.1-4 開關(guān)降壓/升壓雙向直流/直流轉(zhuǎn)換器 PCB layout 設(shè)計(jì)
- 1.48MB | 420061次下載 | 10 積分
- 3Altium DXP2002下載入口
- 未知 | 233084次下載 | 10 積分
- 4電路仿真軟件multisim 10.0免費(fèi)下載
- 340992 | 191367次下載 | 10 積分
- 5十天學(xué)會(huì)AVR單片機(jī)與C語(yǔ)言視頻教程 下載
- 158M | 183335次下載 | 10 積分
- 6labview8.5下載
- 未知 | 81581次下載 | 10 積分
- 7Keil工具M(jìn)DK-Arm免費(fèi)下載
- 0.02 MB | 73807次下載 | 10 積分
- 8LabVIEW 8.6下載
- 未知 | 65987次下載 | 10 積分
評(píng)論
查看更多