logoalt Hacker News

cyberaxlast Tuesday at 5:58 PM2 repliesview on HN

There are some advantages to Arduino. Like <100ms boot times, you can go from power on to running within a blink of an eye.

This _is_ possible with Linux, but not at all trivial and likely impossible with general-purpose distros.

Interrupt handling and (on RP2040) dedicated multicore code is also nice.


Replies

mrheosuperyesterday at 6:22 AM

100ms boottime is very high, in theory they should have near instant boottime(placing application code right at reset vector)

arjviklast Tuesday at 9:56 PM

Curious - how does one achieve this in Linux?

I assume initramfs-only with special purpose pid0 and only the modules needed statically compiled into the kernel?

What else would it take?

show 1 reply