Post #1275681
2024-09-02 16:12 UTC
@manawyrm
- are you familiar with scripts/bootgraph.pl?
- is putting a minimal initramfs (uncompressed) into the kernel image (compressed) an option? That'd eliminate the time needed for the bootloader to find the root fs / initramfs, and could be very slim (statically linked compiled /bin/init, just enough stuff to mount the immutable main rootfs and maybe kick off things like powering up the modem)
- bootlin has a boottime opti slide deck, can't find it, it was cool. Most of above from there
Replies (1)
-
@funkylab@mastodon.social 2024-09-02 16:18
@manawyrm - cmdline include quiet: console is among slooowest devices you have! (maybe instead convince kernel to disable console when some GPIO isn't pulled high, so you can have debug möde?) - already using pre-measured bogomips value at cmdline, right? - maybe one additional layer of abstraction would help on the "strangeness" that is old RPi: If you, instead of Linux directly, only load the much slimmer uboot romboot,that's fewer bytes that a freaking GPU management controller has to fetch;