Commit Graph

73 Commits

Author SHA1 Message Date
Ehmry - c8671b63d8 dhall-sigil: update for priority rename 2021-04-14 10:17:54 +02:00
Ehmry - e8f433559a nixos: remove systemd module 2021-04-13 13:59:23 +02:00
Ehmry - f5f54a2ec2 nixos: increase RAM in ERIS subsystem 2021-04-13 13:58:36 +02:00
Ehmry - 519d99af30 WiP! tor 2021-04-12 21:08:24 +02:00
Ehmry - 67fbe1ea9a fixup uplink drivers 2021-04-12 20:57:02 +02:00
Ehmry - 291cde7b4a nixos: configure Nic uplinks for genode.init.children
…not just genode.core.children.
2021-04-12 20:49:24 +02:00
Ehmry - 4d1d37a1ed nixos: set QEMU network options directly
Configure QEMU devices as drivers are configuration.
2021-04-12 20:46:21 +02:00
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 - 48dd5f1d38 WiP! tor 2021-04-10 17:11:43 +02:00
Ehmry - 99130d0f14 lib.generators.toDhall: match API with nixpkgs 2021-04-10 14:06:49 +02:00
Ehmry - 4edc22e0fd fixup adding device manager to nixos-modules/default.nix
Do enable the device_manager without ahci or usb
2021-04-10 09:07:51 +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 - e379d1214e nixos: normalize eris_rom declaration 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 - 5006257230 Put boot image into ESP 2021-04-07 15:19:37 +02:00
Ehmry - fe3e0da51d packages: add device_manager
A component for hardware detection and driver instantiation.
2021-04-07 15:19:36 +02:00
Ehmry - d85ba92b5a nixos: support for an empty second-level init 2021-04-06 11:17:00 +02:00
Ehmry - 4e8c8f8e73 nixos: add dump option to child uplinks 2021-03-18 13:13:10 +01: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 - 16cf8a8e62 fixup ext2 image generation 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 - 1bb05f7e57 nixos: add nova artifacts to boot.loader.grub.extraFiles 2021-01-21 12:14:54 +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 - b5d42cc711 nixos: move Nic drivers to core children 2021-01-12 12:56:45 +01:00
Ehmry - 07645a3930 nixos: boot from AHCI 2021-01-12 12:56:43 +01:00
Ehmry - 96db6848ec nixos: move ExecStart to end of systemd children list 2021-01-12 12:56:22 +01:00
Ehmry - 98d2da6861 nixos-modules: set qemu options in hardware.nix 2021-01-12 12:56:22 +01:00
Ehmry - 516736144b nixos: genode.init.children.<…>.routeToNics
Allow init children to route to Nic servers.
2021-01-12 12:56:22 +01:00
Ehmry - 46226ebac8 nixos: less diagnostics 2021-01-12 12:56:22 +01:00
Ehmry - e899a3642e nixos: use usb_block_drv for USB storage 2021-01-12 12:56:22 +01:00
Ehmry - e833d68976 generalize lib/make-bootable-image.nix 2021-01-12 12:56:22 +01:00
Ehmry - e590b06b1f Add nixosModules to flake 2021-01-12 12:56:21 +01:00
Ehmry - 888d808032 nixos: add graphical log 2021-01-12 10:28:37 +01:00
Ehmry - 02d744c76a dhall-genode: update to nomalize <provides> with policies 2021-01-12 10:27:34 +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 - 32f1ee1fe7 Cleanup dead nixos-module code 2020-12-20 13:20:06 +01:00