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
Ehmry -
f7b08619ac
nixos: add extraVfs and ramQuota options to systemd wrapper
2020-12-20 13:20:06 +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 -
05f4fdcbc7
nixos: pass binary seperately from args in systemd wrapper
2020-12-20 10:39:57 +01:00
Ehmry -
57a093afea
Update dhall-genode for Libc helper
2020-11-27 11:45:16 +01:00
Ehmry -
f74b789840
nixos: lxip support in hardware.nix
2020-11-13 15:21:04 +01:00
Ehmry -
9a8939dc1a
nixos: cleanup networking, initialize eth0 during tests
2020-11-13 15:21:04 +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 -
cd5f6f84f8
nixos: add genode.init.verbose enable option
2020-11-13 15:03:33 +01:00
Ehmry -
233986e6bc
nixos: do not set a default Nic driver
...
Setting a default driver will cause confusion later.
2020-11-13 15:03:33 +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
Ehmry -
f53eb6cd3b
Update dhall-genode for policy-route changes
2020-10-23 10:16:24 +02:00
Ehmry -
c3385aedd0
genodeSources: 20.05 -> 20.08
2020-09-02 13:01:53 +02:00
Ehmry -
1f53f25419
Relicense as MIT
2020-08-27 17:15:09 +02:00
Ehmry -
2d16e134aa
runDhallCommand: actually append extra nativeBuildInputs
2020-07-11 02:44:39 +05:30