Elektrine lite

← Feed

@trini@floss.social

Post #1795523

2026-02-21 16:02 UTC

@janne I'm probably missing something, but why aren't the bootargs just being set/modified in the device tree directly? By default there's not a lot of extra space, but can both resize it with libfdt (and available in python) and/or build the dtb with a known amount of extra padding.

Replies (1)

  • @trini u-boot env has to modified anyway to set the boot command to booti/bootefi with the actual kernel image and initramfs addresses and sizes. iirc there wasn’t even enough space for that. Bootargs are already modified in the dtb so it should be unnecessary to add them to the u-boot env. The alternate bootcmd can then added to the default env for apple devices since it has a known maximal size. That’s better than my quick workaround and the alternate solutions I was thinking of. thanks

    Open ##1795524