-
Notifications
You must be signed in to change notification settings - Fork 102
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
Does this support linkit smart 7688? #8
Comments
I don't have linkit smart 7688. Please try it and Please report it. |
@yangpu
|
@nxhack I noticed that Atheros AR933x has a caveat - but what hardware are you testing or developing on? |
@jcrben
|
There was a report that it was running at "ramips". So I will close this issue. |
I would love to test this I have a LInkit 7688 lying around but I'm not sure how to run the compiler... Any getting started tips? Would it require me to flash my LinkIt with LEDE or can it run directly on OpenWRT? |
https://lede-project.org/toh/hwdata/mediatek/mediatek_linkit_smart_7688 |
If you want to rebuild mediatek 's firmware. Read 'Build the firmware from source codes' and use https://github.com/nxhack/openwrt-node-packages/tree/for-15.05 Hopefully it may work. I will try a some. wait a moment. |
@nxhack thanks for the reply... yeah I was looking at the first few links for lede and I'm just not well versed enough with the project to understand it's setup. Plus all the getting started stuff looked like I needed to install it on my device which I'd rather avoid. I'm going to try rebuilding the MediaTek firmware just to ensure compatibility. I'll let you know how it goes. |
Hi @Cleanshooter
1-1. Make working directory
4-1. Add the node.js packages feed:
5-1. Change the packages installed as default:
5-2. Copy kernel objects for support kernel 3.18.45:
5-3. Fix build error of depend on node.js version:
5-4. Prepare for building node.js(patch to toolchain)
5-5. FIX: git submodule command not work properly.
6-1. Use node.js custom packages:
7-1. Select optional packages of node.js custom feed.
Add toolchain patch steps. 28/07/2017 |
@nxhack You found some of the pieces I was missing... I got some of them but not all the stuff you did above. I just finished a build of my own and right now and I'm trying to flash it... but it just won't take. I'm going to start a new build with some of your suggestions and let it run over night... |
How do I do this? In the makeconfig? What menu options do I need to use? |
In the node custom feed, if there is a module you want, select it.
Languages -> Node.js -> (Select module that you want) If '*' it will be put into firmware. 'M' will be only built, not put into firmware. |
Hey I just wanted you to know this works great! Would you have any objections to me posting the built image on my blog for people to download and flash to their firmware or would you rather host it in the repo? Also, I'm curious what the patches would look like to do a v6 build... is it possible to do a build for Nodejs v6 (current LTS). I was checking the other posts and @cooboyno111 mentioned that he pulled it off...
I'm guessing this would mean another patch to the openwrt repo... |
Congrats! And Now, You are not a beginner of OpenWrt!
https://github.com/nxhack/openwrt-node-packages/blob/for-15.05/README.md Please try, Please challenge. |
I can run nodejs v6 on mt7628 chip。 |
I'd love to know what changes to made to this repo to compile in node v6. Did/could you fork this repo so that I could look at your changes? |
@Cleanshooter Please following steps.
You can select version of node.js in menuconfig. Since the npm module has been separated, please select it if necessary. |
DUDE!!! The updates you've made are great! I'm running the build right now. I'll let you know how it goes. It took me a while to find the version selector in the make menuconfig but I see you defaulted to v6 (<-- Thx). @nxhack You made my day. I'm hoping with this I'll finally be able to run my app on my LinkIt 7688. I was really bummed out when I saw that openWRT only had Node 0.12.7 OOTB and it took a lot of digging to find your wonderful repo. Thank you so much for sharing it! A lot of my code and dependencies needed Node v6, which I only found out after a few failed compile attempts. |
Worked! I'm about to test my app on it now. I would note to others that you can't fit all the packages on the LinkIt 7688 though. The entire thing has to be under 30MB (I think) and if you add too many node libraries it will blow up on you. All I added was NPM and it came out to 25MB. |
@Cleanshooter |
@Cleanshooter remove ICU,remove NPM. LinkIt 7688 9.4M |
Oh, libmraa, libupm build will fail in situation of node.js v8.x. |
@cooboyno111 I might remove them but for some that might not be a viable option as npm is used by some packages/software during run time. |
@Cleanshooter In ejdb, for example, you need to understand the file structure of node_modules and what can be streamlined. |
Does it works to LEDE ? I Got illegal instruction when runs Node |
I mean node 8 on lede on linkit smart 7688 |
Please tell me the result of executing this command on your target machine.
|
I compiled again node v8 to linkit smart 7688, but now on ubuntu 17. And i had to remove some package dependencies of node! I guess that now will works! https://github.com/MediaTek-Labs/linkit-smart-7688-feed?files=1 |
Now all is working! Linkit running LEDE with NODE V8 :) |
Btw, thank you for all the help! next step to see if libmraa compile |
LIBMRAA not works on LEDE. |
Still no success on LIBMRAA here :( btw, about |
Please test this. |
Thank you so much! Doing now the compile! |
make[4]: Entering directory '/home/osboxes/Lede/linkit-smart-7688-lede/build_dir/target-mipsel_24kc_musl-1.1.16/hidapi-0.8.0-rc1/libusb' |
Second time make[4]: Entering directory '/home/osboxes/Lede/linkit-smart-7688-lede/build_dir/target-mipsel_24kc_musl-1.1.16/hidapi-0.8.0-rc1/libusb' |
Removed HIDLIB from menuconfig and compiled. need to test the bin :) |
libupm, libmraa installed! I need to test with node-red |
@tcpipchip |
@nxhack |
I do not have mt7688, so I can not confirm it.
|
Only 3 gpios! |
check
|
ls -l /sys/devices/platform |
I will update the KERNEL version to see if works! |
no sucess! is there anybody here and make the LEDE works with LIBMRAA. Compiles, install, but not recognizers gpios, i2c, spi, pwm, etc :( |
"Removed HIDLIB from menuconfig and compiled. need to test the bin :)" If you dont install HIDLIB, what cant i do with lede ? Access to gpios ? |
Please continue to ... |
For the latest information, please refer to wiki. |
Did you port to Chaos Calmer too ? |
Official OpenWrt Chaos Calmer 15.05.1 isn't supported and deprecated. |
I asked you because i see this |
Oh, See this issue : #330 |
You may save my time if this support linkit smart 7688.
The text was updated successfully, but these errors were encountered: