tessel / project

The open source Tessel Project. Start here!
https://tessel.io/
345 stars 69 forks source link

Question : startup time? #359

Open aminjoharinia opened 6 years ago

aminjoharinia commented 6 years ago

How much time does tessel 2 takes from power off to run the code? Think a lightweight server on it , and should respond to data that clients sends another question : could we set a static ip address for this server using Ethernet? Thanks

HipsterBrown commented 6 years ago

@aminjoharinia It usually takes about 30 seconds to boot tessel from power off and start running code.

For your second question, that should be possible but I don't think we expose a method in our hardware API or the cli commands yet.

kevinmehall commented 6 years ago

For a static IP, use t2 root or a serial terminal to get access to the underlying Linux system, and edit /etc/config/network to change the network configuration -- see https://wiki.openwrt.org/doc/uci/network#protocol_static for documentation on that file.

aminjoharinia commented 6 years ago

@HipsterBrown @kevinmehall Thank You very Much

JasonKleban commented 4 years ago

I’ve seen some linux fast-boot videos of booting a computer with the barest minimums in a few seconds and maybe one of just a few milliseconds. I’m extreme new to embedded systems, but I anticipate that long/noticeable boot time is something that will bug me. If I make a device or toy, I want to be able to power it up as I toss it in the air, and have it self-orienting and landing on all fours like a cat. (And then blink an led). I’d have to have a pretty good arm for a 30sec boot time. All boards seem to suffer from this and I’m not sure why experts have tolerated it if it could be possibly shorter - why does it need to take so long? Especially if the core hardware configuration never changes. Is wifi/dhcp the bulk of it? Can that stuff be deferred? How fast is it with your static ip configuration?

JasonKleban commented 4 years ago

I found this old issue. https://github.com/tessel/t2-firmware/issues/117