-
Notifications
You must be signed in to change notification settings - Fork 33
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
faster boot time #117
Comments
There's a list somewhere of things I was going to do to optimize this. I don't see an issue on openwrt-tessel (firmware boots in milliseconds), so I don't remember where that went. I got the low-hanging fruit, like removing the artificial delays waiting for user input in the bootloader and openwrt failsafe. The bottleneck is mostly reading data from the SPI flash. Not sure if it will work or will help to just increase the SPI clock speed, but that's a simple tweak worth a try. That's in the devicetree ( If you implemented DMA support for the mt7620 SPI controller in the Linux kernel, that would probably cut boot time in half, but would be rather involved and the mediatek documentation is a little lacking there. Right now the CPU does nothing useful while waiting to read data from flash. |
Whoah linking this in the tessel.io/start is 💯💯!! Transparency FTW! (also, sorry for the off 😊 ) |
Has there been an update on this yet? |
@ujjwalt unfortunately not, but we would love your help! Would you be able to try either of @kevinmehall's suggestions above? Feedback on any attempts (successful or failed) is useful |
I have no knowledge of firmware development or OpenWRT unfortunately. I'm
looking to use Tessel 2 in a product. 30s might be a bummer though every
time. Also is there further documentation on integrating a tessel into a
product?
…--
Thanks
Ujjwal
|
That's something we're working on at the moment– join me on tessel.io/slack --> #learning-wg - I'm happy to discuss |
Any updates on this? |
Could something like Yocto Project be used to gen out a custom distro that is faster? I am completely uninformed on all relevant topics, but since it's quiet in here I don't mind asking. |
@JasonKleban it's mostly a bootloader / kernel driver issue, not anything distro-specific. |
Is there a link to a page with more technical information about what's going on here? |
@kevinmehall @mattbasta any update? i've been trying to get the tessel to work with WSL (windows subsystem for linux) and it hasn't been going super well. i had to install usbipd to connect the subsystems' usb stuff to the actual hardware usb stuff and usbipd is running correctly on the non-tessel device but when i try to mount the tessel it disconnects and reconnects but with an error. i have a feeling it might have something to do with this. Details: https://github.com/dorssel/usbipd-win/wiki/WSL-support after attaching the device, it turns it from
after disconnecting/reconnecting. super weird i thought about making a new issue but idk if this is even still in active development. doesn't seem like it which sucks because i just bought it |
It currently takes ~30 seconds for Tessel 2 to boot up. Are there optimizations we can do to make this faster?
cc @kevinmehall for probably having good ideas
The text was updated successfully, but these errors were encountered: