Ancestors

Written by Manawyrm | Sarah -> FOSDEM on 2024-09-01 at 21:22

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

Written by Marcus Müller on 2024-09-01 at 21:41

@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

Written by Manawyrm | Sarah -> FOSDEM on 2024-09-01 at 21:45

@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

Written by Erin 💽✨ on 2024-09-01 at 22:53

@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

Toot

Written by Manawyrm | Sarah -> FOSDEM on 2024-09-01 at 22:54

@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

Descendants

Written by Manawyrm | Sarah -> FOSDEM on 2024-09-01 at 22:55

@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

Written by Graham Sutherland / Polynomial on 2024-09-01 at 23:02

@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

Written by Marcus Müller on 2024-09-01 at 23:12

@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

Written by Manawyrm | Sarah -> FOSDEM on 2024-09-01 at 23:15

@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

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113064757657959132
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
313.077271 milliseconds
Gemini-to-HTML Time
2.003073 milliseconds

This content has been proxied by September (3851b).