RM新时代网站-首页

電子發(fā)燒友App

硬聲App

0
  • 聊天消息
  • 系統(tǒng)消息
  • 評(píng)論與回復(fù)
登錄后你可以
  • 下載海量資料
  • 學(xué)習(xí)在線課程
  • 觀看技術(shù)視頻
  • 寫文章/發(fā)帖/加入社區(qū)
會(huì)員中心
創(chuàng)作中心

完善資料讓更多小伙伴認(rèn)識(shí)你,還能領(lǐng)取20積分哦,立即完善>

3天內(nèi)不再提示
創(chuàng)作
電子發(fā)燒友網(wǎng)>電子資料下載>電子資料>openwrt節(jié)點(diǎn)包插件

openwrt節(jié)點(diǎn)包插件

2022-04-20 | zip | 0.31 MB | 次下載 | 2積分

資料介紹

授權(quán)協(xié)議 GPL-2.0 License
開發(fā)語(yǔ)言 JavaScript
操作系統(tǒng) 跨平臺(tái)
軟件類型 開源軟件
所屬分類 其他開源、 物聯(lián)網(wǎng)

軟件簡(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.

?

下載該資料的人也在下載 下載該資料的人還在閱讀
更多 >

評(píng)論

查看更多

下載排行

本周

  1. 1基于Xilinx ZYNQ7000 FPGA嵌入式開發(fā)實(shí)戰(zhàn)指南
  2. 20.20 MB   |  2次下載  |  免費(fèi)
  3. 2ADC模數(shù)轉(zhuǎn)換實(shí)驗(yàn)
  4. 0.09 MB   |  1次下載  |  5 積分
  5. 3MSP430FR4133 LaunchPad開發(fā)套件(MSP-EXP430FR4133)用戶指南
  6. 2.21MB   |  1次下載  |  免費(fèi)
  7. 4MSP-EXP430FR5969快速入門指南
  8. 2.18MB   |  1次下載  |  免費(fèi)
  9. 5MSP430FR5969 LaunchPad開發(fā)套件(MSP-EXP430FR5969)用戶指南
  10. 3.13MB   |  1次下載  |  免費(fèi)
  11. 6使用TL431設(shè)計(jì)電源
  12. 0.67 MB   |  1次下載  |  免費(fèi)
  13. 704-01-02-CBM317線性穩(wěn)壓器(LDO)
  14. 2.01 MB  |  1次下載  |  免費(fèi)
  15. 8TLV320AIC3263應(yīng)用程序參考指南
  16. 2.44MB   |  次下載  |  免費(fèi)

本月

  1. 12024PMIC市場(chǎng)洞察
  2. 2.23 MB   |  159次下載  |  免費(fèi)
  3. 2開關(guān)電源設(shè)計(jì)原理手冊(cè)
  4. 1.83 MB   |  42次下載  |  免費(fèi)
  5. 3FS5080E 5V升壓充電兩串鋰電池充電管理IC中文手冊(cè)
  6. 8.45 MB   |  21次下載  |  免費(fèi)
  7. 4OAH0428最新規(guī)格書(中文)
  8. 2.52 MB   |  15次下載  |  7 積分
  9. 5DMT0660數(shù)字萬(wàn)用表產(chǎn)品說明書
  10. 0.70 MB   |  13次下載  |  免費(fèi)
  11. 6UC3842/3/4/5電源管理芯片中文手冊(cè)
  12. 1.75 MB   |  12次下載  |  免費(fèi)
  13. 7ST7789V2單芯片控制器/驅(qū)動(dòng)器英文手冊(cè)
  14. 3.07 MB   |  11次下載  |  1 積分
  15. 8慧榮SM2263XT開卡軟件-B16_B17_FW_S0614B0_RDT_S0617A
  16. 3.03 MB   |  10次下載  |  5 積分

總榜

  1. 1matlab軟件下載入口
  2. 未知  |  935119次下載  |  10 積分
  3. 2開源硬件-PMP21529.1-4 開關(guān)降壓/升壓雙向直流/直流轉(zhuǎn)換器 PCB layout 設(shè)計(jì)
  4. 1.48MB  |  420061次下載  |  10 積分
  5. 3Altium DXP2002下載入口
  6. 未知  |  233084次下載  |  10 積分
  7. 4電路仿真軟件multisim 10.0免費(fèi)下載
  8. 340992  |  191367次下載  |  10 積分
  9. 5十天學(xué)會(huì)AVR單片機(jī)與C語(yǔ)言視頻教程 下載
  10. 158M  |  183335次下載  |  10 積分
  11. 6labview8.5下載
  12. 未知  |  81581次下載  |  10 積分
  13. 7Keil工具M(jìn)DK-Arm免費(fèi)下載
  14. 0.02 MB  |  73807次下載  |  10 積分
  15. 8LabVIEW 8.6下載
  16. 未知  |  65987次下載  |  10 積分
RM新时代网站-首页