Commit Graph

149 Commits

Author SHA1 Message Date
Ehmry - 48dd5f1d38 WiP! tor 2021-04-10 17:11:43 +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 - 94c73172cb Rename dhall-genode to dhall-sigil 2021-04-07 15:21:00 +02:00
Ehmry - 88668e8dd5 tests: add USB storage test 2021-04-07 15:20:59 +02:00
Ehmry - 139d056a36 nim: patch to print NimStringV2 2021-04-06 11:16:17 +02:00
Ehmry - de98f23758 nixos: replace store_rom with rom_eris 2021-03-17 18:06:22 +01:00
Ehmry - 4c0a6e94f4 Add inline documentation 2021-03-10 18:47:49 +01:00
Ehmry - 85a108bdb3 erisPatch nixos modules 2021-03-03 15:14:21 +01:00
Ehmry - 4a613364df Patch Nim compiler and standard library 2021-02-18 19:42:23 +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 - 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 - 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 - 6f9f1b7069 Replace lib.crossLists with lib.cartesianProductOfSets 2021-01-30 11:16:14 +01:00
Ehmry - 6cd7fc532c Remove networking test
The two interfaces test is broken. This started when the Nic
drivers were raised from the core children to the second-level
init.
2021-01-27 12:23: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 - 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 - 516736144b nixos: genode.init.children.<…>.routeToNics
Allow init children to route to Nic servers.
2021-01-12 12:56:22 +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 - 1c057662e6 tests/vmm_x86: need to request platform_info direct from core 2020-12-02 15:13:38 +01:00
Ehmry - d5c99500dc tests: remove solo5
Solo5 tests are broken by bad label handling in init.
2020-12-02 14:29:10 +01:00
Ehmry - f25f5115af Add hydraJobs to flake 2020-12-02 14:01:14 +01:00
Ehmry - 257696260c tests: use config.networking.hosts not networking.extraHosts
The latter is an opaque string but IP addresses can be extracted by
hostname from the former.
2020-12-02 13:07:01 +01:00
Ehmry - 80c7fbba10 tests/bash: fix free Libc variable in Dhall config 2020-12-02 13:06:34 +01:00
Ehmry - bb516f2da6 tests: add default timeout
Set a timeout at two minutes to catch tests that fail to boot.
2020-11-27 15:03:29 +01:00
Ehmry - 77e0aa3e05 Update Genode Labs sources 2020-11-27 15:03:29 +01:00
Ehmry - 57a093afea Update dhall-genode for Libc helper 2020-11-27 11:45:16 +01:00
Ehmry - 1dad7fa174 tests: add simple networking test
Just a test that pings one machine from another.
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 - 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 - a2a152b68a tests: add Bash test
Test Bash and Coretuils from the Genode Labs ports.
2020-11-13 15:03:33 +01:00
Ehmry - df5be1d6dc Simplify packages layout 2020-11-13 15:03:32 +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 - 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 - 552b18bf8d Add virtio network devices to qemu 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 - 4f74ff9452 Documentation and cleanup 2020-08-02 16:46:34 +02:00
Ehmry - 100be5270a dhall: policy specification 2020-06-11 11:10:39 +05:30
Ehmry - 6d2eb81def tests/vmm_arm: recreate device-tree-binary 2020-06-03 20:33:40 +05:30
Ehmry - f939ff7d39 Add vmm_arm test 2020-06-03 19:45:23 +05:30
Ehmry - 559f4aa3c0 Add aarch64 platform
Add the hw-virt_qemu platform to tests, rename hw to hw-pc.
2020-06-03 16:56:33 +05:30
Ehmry - 40c1977779 Replace test framework
Adopt the Python test driver from NixOS. Temporarily drop Sotest
runs.
2020-06-01 17:15:03 +05:30
Ehmry - 46c6561302 test/posix: convert to bash script 2020-05-30 17:31:12 +05:30