New blog post:
Executing Linux applications on a Raspberry Pi in less than 3.5s from power-up! 🚀🏎️
(and other power saving tricks)
https://kittenlabs.de/blog/2024/09/01/extreme-pi-boot-optimization/
=> More informations about this toot | More toots from manawyrm@chaos.social
@manawyrm cool stuff! Have you tried with kernel compression through lz4, I.e., CONFIG_KERNEL_LZ4 ? Iirc, that beat the default gzip decompression very solidly in speed. You might also want to try _ZSTD, as I suspect the lower decompression speed of that might balance with the potentially higher compression ratio.
=> More informations about this toot | More toots from funkylab@mastodon.social
@funkylab I‘ve played around with kernel compression, but the extra energy required to decompress the kernel is harmful in my application.
In a less power constrained application, there might be some benefit, yeah!
A hardcore solution would be to write a custom minimal bootloader to move the kernel load away from the GPU and onto the CPU.
I‘m not that desperate yet, but it might help :)
=> More informations about this toot | More toots from manawyrm@chaos.social
@manawyrm @funkylab I'm guessing you tried U-Boot and it didn't help?
=> More informations about this toot | More toots from erincandescent@erincandescent.net
@erincandescent @funkylab U-Boot takes soo long to initialize and run that it just invalidates all benefit. I either need a brutally stripped down version or something custom.
=> More informations about this toot | More toots from manawyrm@chaos.social
@erincandescent @funkylab U-Boot does things „the right way“, i kinda want something hacky. Let‘s assume all the peripherals are already up, don‘t validate anything, make some wild assumptions and just brutally load stuff from hardcoded addresses into memory.
=> More informations about this toot | More toots from manawyrm@chaos.social
@manawyrm @erincandescent @funkylab this looks vaguely promising if not a bit of effort to get working
https://github.com/DOGSHITD/Simple-UEFI-Bootloader-ARM64
=> More informations about this toot | More toots from gsuberland@chaos.social
@gsuberland @manawyrm @erincandescent wait, there's no UEFI on the RPi, unless you teach it (e.g. by running U-boot)
=> More informations about this toot | More toots from funkylab@mastodon.social
@funkylab @gsuberland @erincandescent yeah, extra layers of glue code aren‘t really what I need.
There are several bare-metal projects like Pi1541 where I might be able to steal the toolchain + boilerplate from.
I‘m just not sure if it‘s worth the (engineering) time.
=> More informations about this toot | More toots from manawyrm@chaos.social This content has been proxied by September (3851b).Proxy Information
text/gemini