-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it support for my "Coin-sized Linux Computer": VoCore2 ? #572
Comments
As it's described as "Linux", ShadowNode is working on Linux :) |
But my device installed one openwrt, and I run the ShadowNode bin for linux in my device, it is not running :( |
Please provide any outputs and details platform information if possible. |
output root@OpenWrt:~/iotjs/bin#
root@OpenWrt:~/iotjs/bin# ./iotjs
./iotjs: line 1: syntax error: unexpected ")"
root@OpenWrt:~/iotjs/bin#
root@OpenWrt:~/iotjs/bin#
root@OpenWrt:~/iotjs/bin# platform information: Thanks :) |
It seems that your device is MIPS and ShadowNode doesn't have this type of pre-release, you need to build it by yourself. |
Okay, I will try it :) thanks |
I tried it: |
I try to build an openwrt of vocore2 before I build shadownode for MIPS because of the toolchain will be generated after build openwrt.
Could you please take a look and give me some advice ? Thanks:) |
@Txiaozhe this build has not entered the ShadowNode package yet, it seems failed on your toolchain. |
Yes, the fail happened in my building toolchain |
Because, I need to build shadownode, the toolchain is needed, but if i want to get the toolchain for vocore , I must build openwrt for vocore. The doc of vocore say that. |
Unfortunately I'm not familiar with the vocore build system, and compiling ShadowNode for mips should not depend on openwrt or buildroot, as I described before, creating your toolchain file should be enough. |
BTW, if you still need a openwrt package, a working version is here: https://github.com/yodaos-project/yodaos/tree/v9.x/openwrt/package/yodaos/shadow-node. |
Thanks, I got my toolchain file and I use this cmd to build shadownode for vocore: $ tools/build.py --clean --target-os linux --cmake-toolchain-file /my/toolchain/dir/file but I got an error:
but I check the path for this toolchain, it is right. |
Is this path |
Yes,I am sure. It is the absolute path of this toolchain file. |
Report a complete error? |
error info: /home/txiaozhe/GitHub/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/bin/mipsel-openwrt-linux-gcc:1:
Parse error. Expected a command name, got unquoted argument with text "ELF���".
CMake Error at /usr/share/cmake-3.5/Modules/CMakeDetermineSystem.cmake:104 (message):
Could not find toolchain file:
/home/txiaozhe/GitHub/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/bin/mipsel-openwrt-linux-gcc
Call Stack (most recent call first):
CMakeLists.txt:17 (project)
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
[Failed - 1] cmake -B/home/txiaozhe/GitHub/ShadowNode/build/openwrt-linux/debug -H/home/txiaozhe/GitHub/ShadowNode -DCMAKE_TOOLCHAIN_FILE='/home/txiaozhe/GitHub/openwrt/staging_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/bin/mipsel-openwrt-linux-gcc' -DCMAKE_BUILD_TYPE=Debug -DTARGET_ARCH=openwrt -DTARGET_OS=linux -DTARGET_BOARD=None -DPLATFORM_DESCRIPTOR=openwrt-linux -DENABLE_LTO=OFF -DENABLE_SNAPSHOT=ON -DBUILD_LIB_ONLY=OFF -DBUILD_STATIC=OFF -DINSTALL_PREFIX=/usr/local -DFEATURE_MEM_STATS=OFF -DFEATURE_CPU_PROFILER=OFF -DFEATURE_HEAP_PROFILER=OFF -DEXTERNAL_MODULES='' -DFEATURE_PROFILE='/home/txiaozhe/GitHub/ShadowNode/deps/jerry/jerry-core/profiles/es5.1.profile' -DMEM_HEAP_SIZE_KB=4096 -DEXTERNAL_LIBS='' -DEXTERNAL_COMPILE_FLAGS='' -DEXTERNAL_LINKER_FLAGS='' -DEXTERNAL_INCLUDE_DIR=''
txiaozhe@txiaozhe-UL30A:~/GitHub/ShadowNode$
txiaozhe@txiaozhe-UL30A:~/GitHub/ShadowNode$
txiaozhe@txiaozhe-UL30A:~/GitHub/ShadowNode$
|
build env: build env: Ubuntu 16.04 LTS 64bit, 1.3GHz*2, 4GB mem |
Please make sure your toolchain is working on your host machine, it seems getting the following error: |
Use |
The architecture of my vocore is: And what the awkward is I can not download the toolchain anyway but can only generated after compile the OpenWrt for vocoreV2. The document of vocoreV2 says:
I read the doc of 'github.com/vonger/vocore2' and compiled it but the generated toolchain looks like invalid :( |
vocore: https://vocore.io/v2.html
The text was updated successfully, but these errors were encountered: