openwrt Insomnia

Create packages 

For starting, I was using these URL's for NodeJs packages

Create a Docker image: 


Before you create(s) the new same package(s), uninstall the current package(s)! 

Like opkg remove node, opkg remove node-npm and then opkg install node_v8.2.1.ipk etc ... !!!!


make -j9 menuconfig
  • Target System
  • Linksys 1900ACS v2 => Marvell Armada 37x/38x/XP
  • Target Profile
    • Linksys 1900ACS v2 => Linksys WRT1900ACS
  • The Languages
    • Node.js, Select as M (module)
    • Below this => Configuration => Select Version 8.x
    • node-npm, Select as M (module)
  • Save
  • Exit all


If your target machine is MIPS and there is no hardware FPU, you need MIPS_FPU_EMULATOR checked (see if there is fpuemustats in the /sys/kernel/debug/mips directory).

Then you need first 

make menuconfig
  • Global build settings
    • Kernel build options
      • Compile the kernel with MIPS FPU
  • Save
  • Exit
sed -i.bak 's#CONFIG_TARGET_INIT_PATH="#CONFIG_TARGET_INIT_PATH="/opt/router-scripts-openwrt:#g' .config
sed -i.bak 's#	#		#g' .config
sed -i.bak 's#	#		#g' package/base-files/
sed -i.bak 's#default "/usr/sbin#default "/opt/router-scripts-openwrt:/usr/sbin#g' package/base-files/
echo "CONFIG_VERSION_REPO=\"\"" >> .config
cat package/base-files/ | grep default
cat .config | grep CONFIG_VERSION_REPO
cat .config | grep CONFIG_TARGET_INIT_PATH 

# -jX is the number of threads of you CPU, I got 8
make -j9
# if error
make -j1 V=s
onenoteGithub onenoteredis-uiGithub redis-uiangular-compileGithub angular-compilegitlistGithub gitlistramdiskGithub ramdiskfreenomGithub freenomopenwrt-insomniaGithub openwrt-insomniaredis-ui-serverGithub redis-ui-serversystemd-managerGithub systemd-managerxml2jsonGithub xml2jsoncorifeusGithub corifeusredis-ui-materialGithub redis-ui-materialangular-http-cache-interceptorGithub angular-http-cache-interceptorhtml-pdfGithub html-pdfverdaccio-cliGithub verdaccio-clibinary-search-closestGithub binary-search-closestcorifeus-builderGithub corifeus-buildercorifeus-utilsGithub corifeus-utilscorifeus-app-web-pagesGithub corifeus-app-web-pagesgrunt-p3x-expressGithub grunt-p3x-expressjson2xls-worker-threadGithub json2xls-worker-threadtoolsGithub tools