The time taken from sudo shutdown -r now to the kernel booted and /sbin/init running is about twelve seconds. The time taken to get the services running is somewhat longer than that.bastibasti wrote: Do you think a pi could boot (powerup to kernel finish) faster than 2 seconds?
Not far off two seconds.[email protected]:~ $ systemd-analyze
Startup finished in 2.377s (kernel) + 17.066s (userspace) = 19.443s
Code: Select all
systemd-analyze Startup finished in 2.057s (kernel) + 6.855s (userspace) = 8.913s
Have you tried this strategy on the Pi? Is there any reason it would not work?bastibasti wrote:For x86 - i could append an initramfs to the kernel, lets say a busybox and a small bash script that enables all hardware and does the job - but i am not experienced with the pi.
However using a GPIO pin to trigger the shutter of a DSLR is very, very quick, if using a DSLR, or a digital camera that has external shutter port.mahjongg wrote:a pi zero does not have a PI-cam interface, and using a USB cam is slow!