Commit Graph

28 Commits

Author SHA1 Message Date
Ehmry - 56e66ea842 nixos: move /eris/* in store image to /
All the ERIS URNs are prefixed already.
2021-04-12 10:15:43 +02:00
Ehmry - cd1b95c1d7 nixos: rename genode.boot to genode.core
Have a "boot.…" and a "genode.boot.…" is confusing.
2021-04-09 16:39:06 +02:00
Ehmry - 5ebe441c52 nixos: derived partition GUIDs 2021-04-07 15:21:00 +02:00
Ehmry - 192e9f1b7b Use ISO9660 for the ERIS store 2021-04-07 15:21:00 +02:00
Ehmry - 94c73172cb Rename dhall-genode to dhall-sigil 2021-04-07 15:21:00 +02:00
Ehmry - a91dda99d8 nixos: add uplink option to children
Add an option to genode.core.children and genode.init.children
for specifying a Nic driver for the exclusive use of the child
for which it is added. This mechanism is to support the nic_router
but it is reusable for arbitrary children.
2021-03-17 18:55:13 +01:00
Ehmry - de98f23758 nixos: replace store_rom with rom_eris 2021-03-17 18:06:22 +01:00
Ehmry - 165cf60551 nixos-modules: consolidate common init functions
The "config.genode.init.children" option is a superset of the
"config.genode.core.children" option, so refactor both into
helper functions.
2021-03-03 15:14:21 +01:00
Ehmry - 98175a0f9b fixup rump and ext2 image loading 2021-03-03 15:14:21 +01:00
Ehmry - 7376302bcc Do not worry about the store closure in make-ext2-fs
Probably should worry about this.
2021-03-03 15:14:21 +01:00
Ehmry - 85a108bdb3 erisPatch nixos modules 2021-03-03 15:14:21 +01:00
Ehmry - 2afd2d08cc nixos: add genode.init.children.<…>.binary option
Require that all init children declared by Nix be declared with
an absolute path to the program binary.
2021-02-16 15:46:14 +01:00
Ehmry - cc211e763a packages: transitive depot package dependencies
The buildDepot function now takes a "depotInputs" argument that
propagates "portInputs" and "depotInputs" across packages.

Drop the stdcxx package that includes a dev output and just use
the simple depot package for now.
2021-02-16 15:46:14 +01:00
Ehmry - 8379dccf12 Refer to program and library ROMs by store path
Retrieve ROMs in the common case by full store path. This reduces
the need for route policies for driving relative requests into
absolute package paths.

Making library requests by absolute path required libraries to be
stored in the core image as such, and it follows that program
binaries should be handled in the same way. This makes requests
to core and to a file-system store more consistent, and makes
dependency detection more robust.
2021-02-16 15:46:14 +01:00
Ehmry - b77a91bc87 nixos-modules: boot packages from buildPackages.buildPackages 2021-02-06 21:41:24 +01:00
Ehmry - 9c23c59044 nixos: rename store_fs to fs, cleanup
The file-system containing the nix store also acts as the main
file-system.
2021-02-01 15:36:29 +01:00
Ehmry - 8c0c7d55c4 nixos: config.genode.boot.storeBackend is "fs" or "memory"
Make the config.genode.boot.storeBackend option a choice between
a traditional file-system or memory-backed file-system image. Fix
GRUB booting when using a file-system store.

The nova-ahci test shows that this is working.
2021-02-01 13:37:28 +01:00
Ehmry - 74ea4d0c12 nixos: add file-systems options 2021-01-21 12:25:08 +01:00
Ehmry - b15c1b6cea nixos: replace system.build.toplevel 2021-01-21 12:14:54 +01:00
Ehmry - a558cba7da nixos: persistent file-system storage 2021-01-12 12:56:45 +01:00
Ehmry - 07645a3930 nixos: boot from AHCI 2021-01-12 12:56:43 +01:00
Ehmry - 7c3504d2d6 nixos-modules: add nix-store USB backend
Load the store from an EXT2 file-system from USB storage.
2021-01-12 10:27:25 +01:00
Ehmry - 3215190568 nixos: add jitter_sponge entropy source
Share an entropy generator amount the systemd services. Would be nice to
have that virtio_rng driver.
2020-12-20 13:20:06 +01:00
Ehmry - f8df320507 nixos: add genode.init.coreROMs option
Explicitly specify ROMs that must route past the nix-store.
2020-11-13 15:21:04 +01:00
Ehmry - 19ab414671 nixos: add genode.init.children.….configFile to system closure 2020-11-13 15:03:33 +01:00
Ehmry - ddc65a8087 Refactor routing
Patch init to simplify routing. Update Dhall library and NixOS modules
accordingly.
2020-11-13 14:47:24 +01:00
Ehmry - 5b98e963c7 nixos: check config.system.build.initXml with xmllint 2020-11-08 16:10:30 +01:00
Ehmry - ebf3606705 Port NixOS module system
Convert the tests to use the module system from NixOS.
2020-11-01 20:29:19 +01:00