aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMilan Pässler <milan@petabyte.dev>2020-10-11 16:00:48 +0200
committerMilan Pässler <milan@petabyte.dev>2020-10-11 16:00:48 +0200
commit32f723499e980c0c50b09584ecdd733dcb3521dd (patch)
tree0820c6d82715af9bdccb053365917dd9d05e1b9d /README.md
parent7b37ff3cdfb47ee47119564b4de896c675b2b827 (diff)
improve readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 14 insertions, 5 deletions
diff --git a/README.md b/README.md
index 19949e60462d..9de9b9f5f805 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,18 @@
-Features:
+## corenix
-- Specify config overrides as Nix attribute set
-- Change payload without rebuilding coreboot
+*How to use:*
-Limitations:
+1. Create a configuration file for your device in `configs/`
+2. Add an entry to flake.nix, i.e. `my-device = makeDevice ./configs/my-device.nix;`
+3. Build the coreboot rom: `nix build .#my-device`
+
+*Features*
+
+- Specify the build parameters with NixOS-style modules
+- Share declarative configuration across devices
+- Use cached coreboot and payload builds for different device/payload combinations
+
+*Limitations*
- currently only `x86_64-linux` host and target systems are supported
-- It's not yet possible to build with a SeaBIOS payload
+- Only GRUB2 and TianoCore payloads are supported for now