Julius Werner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/45208 )
Change subject: console: Allow VPD to disable an otherwise enabled coreboot console ......................................................................
Patch Set 4:
(1 comment)
https://review.coreboot.org/c/coreboot/+/45208/4//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/coreboot/+/45208/4//COMMIT_MSG@18 PS4, Line 18: entry is added.
This demand to customize binaries pops up rather often lately. I was […]
What do you mean with "a section"... like, just a special ELF section, with some header magic so tools can find and hack around in it on the completed binary?
I mean, I find that kind of silly because I feel at that point people can also just change Kconfigs and recompile. But if that's really such a big barrier for enough people then yeah, I guess, that's an option. It definitely solves all the "big, early dependencies" problems.
Of course this won't play nice with verification schemes (whereas VPD and the CMOS option table do), and it would also cause issues with compressed stages. I guess with enough work in cbfstool you could decompress a stage on the fly to muck with it, but you still run the risk that the recompressed changed stage will not fit in the space taken up by the old version anymore.
I still kinda feel like all these cases where this had come up recently would be best served with the existing CMOS option table solution (I haven't heard from anyone caring about it on a non-x86 board yet).