-
Notifications
You must be signed in to change notification settings - Fork 14
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
Node v6.10.3 #73
Node v6.10.3 #73
Conversation
@@ -57,6 +57,7 @@ PACKAGES += mjpg-streamer | |||
PACKAGES += madplay | |||
|
|||
# JavaScript | |||
PACKAGES += libicu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forgot this one, can remove (I thing).
--shared-zlib \ | ||
--shared-openssl \ | ||
--prefix=/usr \ | ||
--v8-options="--max_old_space_size=20 --initial_old_space_size=4 --max_semi_space_size=2 --max_executable_size=5 --optimize_for_size" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Searched but cannot learn all memory stuff in a short time. Added --optimize_for_size
for good, without knowing if its valuable.
Also: nodejs/node#7937
--prefix=/usr \ | ||
--v8-options="--max_old_space_size=20 --initial_old_space_size=4 --max_semi_space_size=2 --max_executable_size=5 --optimize_for_size" \ | ||
--without-inspector \ | ||
--without-dtrace \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we dont need debug features. But I cannot see any benefit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We would benefit from the inspector feature. We can actually use Chrome inspector for debugging.
Where are we setting the version info ? I am getting undefined, like:
|
I will build and test this ASAP. Thanks for the continued effort!! |
Signed-off-by: Rick Waldron <[email protected]>
@tikurahul @HipsterBrown @wyze @johnnyman727 @tcr @kevinmehall @Frijol Thoughts? Reviews? |
I've been trying to test this today (sorry for the delay... too much going on, not enough time to do it). wget fails suddenly at the end of the download:
:\ |
I am able to |
Once the download is complete...
(Remember to change
Which should look something like this...
Once rebooted, I confirmed Wifi and provisioning all that stuff, which brings me to:
(This last command is how I discovered the bug illustrated and fixed here: tessel/t2-cli#1243)
(assumes you have a remote called "upstream" that points at https://github.com/tessel/t2-firmware) Once complete: unplug the Tessel 2, press and hold the button on the board while plugging back in. The board will now be in dfu mode
This should look something like this...
The Tessel 2 is now rebooting. Once it's rebooted and the Wifi is connected...
Which will look something like this...
I started with the const tessel = require('tessel');
const { 2: green, 3: blue } = tessel.led;
// Turn one of the LEDs on to start.
green.on();
// Blink!
setInterval(() => {
green.toggle();
blue.toggle();
}, 100);
console.log("I'm blinking! (Press CTRL + C to stop)"); Then I tried a few small applications that used pre-compiled binary modules, all of these worked as expected because our ABI detection code has been in place for months :) Then I ran a few tessel-av things, one of which looked like this... |
Hey @rwaldron congrats, thanks. And one thing about update, I was doing like this :
These commands was old, of course. Should we do like yours ? |
LOL, I forgot about the |
I've been running |
I will try to run it overnight and capture the output |
Not overnight, but several hours again:
|
@rwaldron how does that compare with the Node 4.x.x performance? |
Unrelated. The comparison is to the Lede 17 network connection reliability that I started mentioning here: #72 (comment). I will set up the same scenario with that board and see what I can learn. |
I took the dogs for a walk, came back and decided this was pointless.
|
@huseyinkozan I just tried to do a release, but the build fails :( What did I do wrong?
|
The error:
|
Did you update openwrt submodule ? |
@rwaldron Is this patch exists, there |
Well... that might make a lot of sense :D |
yay!
With no errors! Although, I forgot about icu...
|
@huseyinkozan I just wanted to thank you again for all of your hard work on getting this out the door. We obviously could not have done this without you <3 |
I have used some build instructions from:
https://github.com/tessel/openwrt-tessel/blob/bc3316cd4458a5359166daf5684e9906a9ef7851/package/node/node/Makefile
Image :
https://huseyinkozan.com.tr/files/tmp/openwrt-ramips-mt7620-tessel-squashfs-sysupgrade-node-v6.10.3.bin
https://huseyinkozan.com.tr/files/tmp/openwrt-ramips-mt7620-tessel-squashfs-sysupgrade-node-v6.10.3.bin.sha256
Tested using https://gist.github.com/tkrueger/3500612 for a few minutes.
Signing the Tessel license thing.