unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Building Bootloader Images for Owner-Controlled Computers
@ 2023-02-15 22:34 indieterminacy
  0 siblings, 0 replies; only message in thread
From: indieterminacy @ 2023-02-15 22:34 UTC (permalink / raw)
  To: Guix Devel

I noticed this recommendation of a Nix tool.
Its not my specialism and Im only providing it for stimulation or as a 
conversation starter.

```
All the necessary components (coreboot, kernel, busybox-based initramfs 
with cryptsetup/lvm2) are stored entirely in the bootloader flash chip. 
This leaves no writable unencrypted media in the boot process when the 
flash chip's write protect pin is shorted.

Ownerboot extends coreboot with a new normal/fallback mechanism. The 
flash chip holds two complete copies of the bootloader; only a single 
page (the bootblock) is shared between them. Each image can be flashed 
and write-protected indepedently of the other. The fallback image can be 
selected by /dev/watchdog, nvramtool, or physical input (front-panel 
button on servers, stylus eject on laptops).

Because ownerboot is written in nix, it can ensure that these builds are 
deterministic. Ownerboot contains no binaries, and instantiates nixpkgs 
with config.allowNonSource=false; if you disable nix's binary 
substituter you are assured that all the software in your bootloader 
will be built from source on your local machine, all the way back to the 
compiler which compiles your compiler.
```
https://sr.ht/~amjoseph/ownerboot/

-- 
Jonathan McHugh
indieterminacy@libre.brussels


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-15 22:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-15 22:34 Building Bootloader Images for Owner-Controlled Computers indieterminacy

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).