Hello everyone,
I’m trying to install Node.js on the FX30 with WP77xx, but I’m running into some issues.
I’ve successfully installed Node.js 8.9.4-r0 on the WP76xx by simply copying the folder from a download, and it worked fine.
However, when I try to do the same with the WP77xx, using Node.js v16.20.2, I can’t get it to work.
I’ve tried:
Copying the Node.js folder directly, as I did with WP76xx.
Using the arm7l version of Node.js.
I also ensured that I was using the correct architecture, but despite these efforts, Node.js isn't recognized on the FX30 WP77xx.
Could anyone guide me on the correct steps to properly install and run Node.js on the FX30 with the WP77xx module? Any help or suggestions would be greatly appreciated!
Thanks in advance!
jyijyi
April 24, 2025, 2:12pm
2
What firmware are you using for wp76 and fx30?
Did you rebuild yocto image to include the nodejs recipe?
Hi Chau
Thanks for your help
My need is to build on WP77xx but my old WP76xx are:
ATI3
Manufacturer: Sierra Wireless, Incorporated
Model: FX30(WP7607-1)
Revision: SWI9X07Y_02.37.03.00 73df45 jenkins 2020/04/08 10:59:14
Did you rebuild yocto image to include the nodejs recipe?
How can we do that do we have a procedure?
in bblayers.conf
I add
BBLAYERS += “/home/poky/meta-nodejs”
git clone https://github.com/OSSystems/meta-nodejs.git
in local.conf
I add
IMAGE_INSTALL_append = " nodejs"
And build
bitbake core-image-minimal
Is that ok?
jyijyi
April 24, 2025, 2:49pm
5
I will normally type make to build the image
Btw, what is the firmware of your wp77?
Probably it has different kernel version as your wp76 module
ATI3
Manufacturer: Sierra Wireless, Incorporated
Model: FX30(WP7702)
Revision: SWI9X06Y_02.36.08.09 c094f4 jenkins 2022/06/24 03:14:28
IMEI: 354723090964064
IMEI SV: 8
FSN: AT327275841010
+GCAP: +CGSM,+DS
OK
ATI8
Legato Ver: 21.05.0.54b96444_0a6e18078edde5151619cb964564694d
Yocto Ver: SWI9X06Y_03.00.13.00 2022-12-28_08:23:43
OS Ver: Linux version 4.14.253 (oe-user@oe-host) ( gcc version 9.3.0 (GCC), GNU ld (GNU Binutils) 2.34.0.20200220) #1 PREEMPT Wed Dec 28 07:40:21 UTC 2022
LK Ver: 1.3.0_1aea4d8ec8
RootFS Ver: SWI9X06Y_03.00.13.00 2022-12-28_08:23:43
UserFS Ver: unknown
MCU Ver: 002.015
jyijyi
April 24, 2025, 3:15pm
7
It is using kernel 4.14
Probably your wp76 is using kernel 3.18
So same binary might not be used among these two modules
1 Like
Hi Chau,
Do you know wich version of NodeJs armv7l I d to implement on WP7702?
I tried some versions but node is not reconized.
Thanks,
have you tried with this to build together with yocto image?
BTW, I think you should use the following version for yocto project 3.1:
nodejs 12.22.12
nodejs 14.18.1
Hi Chau,
I m not able to build these versions, do you have a tutorial or example for me to build a Yocto project with NodeJs?
Thanks,
MY
jyijyi
May 12, 2025, 2:26pm
11
How did you make it work in the past?
BTW, you can download the armv7l version here:
Here is some guideline:
If you want to build the binary by yourself, you can do the following:
1.follow the FX30 release note and download the yocto source
2.go to ./meta-swi/meta-swi-mdm9x28/recipes-core/images/mdm9x28-image.inc
3.add the following line:
IMAGE_INSTALL_append = " nodejs"
4.go to ./meta-swi/meta-swi-mdm9x28/conf/machine/swi-mdm9x28.conf
change UBI_ROOTFS_SIZE ?= “48MiB”
5.make the image
jyijyi
May 13, 2025, 3:22am
12
Here also shows how to cross compile the nodejs source code by the toolchain (section 9.5.1.1. How to cross-compile Node.js for target platform if Node.js install fails)
Here is the toolhain of WP77 module
https://source.sierrawireless.com/resources/airprime/software/wp77xx/wp77xx-firmware-release-15,-d-,1-components/
It gives me error when cross compile running
FAILED: /home/NodeJS-CrossCompile/node-v12.16.3/out/Release/icupkg -tl ../../deps/icu-small/source/data/in/icudt65l.dat /home/didier/NodeJS-CrossCompile/node-v12.16.3/out/Release/obj/gen/icutmp/icudt65l.dat
tools/icu/icudata.target.mk:13: recipe for target ‘/home/NodeJS-CrossCompile/node-v12.16.3/out/Release/obj/gen/icutmp/icudt65l.dat’ failed
make[1]: *** [/home/NodeJS-CrossCompile/node-v12.16.3/out/Release/obj/gen/icutmp/icudt65l.dat] Error 1
make[1]: *** Waiting for unfinished jobs…
rm 32723376df3ad83bc7f0baa6d44d5763c703bd50.intermediate 8d66e0148d81dce671163dd3edd2b0dceca79a25.intermediate
Makefile:101: recipe for target ‘node’ failed
make: *** [node] Error 2
jyijyi
May 13, 2025, 1:35pm
14
I don’t see any error reason, did you check any compilation log?
Btw, how did you make it work in the past?
In the past we had a WP76xx and we only copied on Fx30 /home/root the folder nodejs8.9.4-r0
jyijyi
May 13, 2025, 2:15pm
16
Then how did you build for wp76 in the past?
It was an other engineer who has leaved the company then I replace now
jyijyi
May 13, 2025, 2:19pm
18
did you check any compilation log for the crosss compile?
You might need to download the yocto source and add nodejs
53:tools/v8_gypfiles/generate_bytecode_builtins_list.target.mk:13: recipe for target ‘/home/didier/NodeJS-CrossCompile/node-v12.16.3/out/Release/obj/gen/generate-bytecode-output-root/builtins-generated/bytecodes-builtins-list.h’ failed
jyijyi
May 13, 2025, 2:26pm
20
This does not mention why it failed …
You might need to download the yocto source and add nodejs
How did you make it work in the past?
BTW, you can download the armv7l version here:
Here is some guideline:
If you want to build the binary by yourself, you can do the following:
1.follow the FX30 release note and download the yocto source
2.go to ./meta-swi/meta-swi-mdm9x28/recipes-core/images/mdm9x28-image.inc
3.add the following line:
IMAGE_INSTALL_append = " nodejs"
4.go to ./meta-swi/meta-swi-mdm9x28/conf/machine/swi-mdm9x28.conf
change UBI_ROOTFS_SIZE ?= “48MiB”
5.make the ima…