Commit Graph

509 Commits

Author SHA1 Message Date
Ehmry - de8b1a1b71 overlay/zstd: do not build tests 2021-04-10 13:33:26 +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 - 1f6934ee29 fixup device manager 2021-04-08 16:29:18 +02:00
Ehmry - 5ebe441c52 nixos: derived partition GUIDs 2021-04-07 15:21:00 +02:00
Ehmry - d18c6122be lib.uuidFrom: generate a deterministic UUID 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 - 4731f16b17 Sigil: rename within flake.nix 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 - 88668e8dd5 tests: add USB storage test 2021-04-07 15:20:59 +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 - aebde2aeaa ahci_drv, part_block: patch for policy reconfiguration 2021-04-06 11:17:00 +02:00
Ehmry - ea5a24596e Avoid evaulating nixpkgs again for localSystem == crossSystem 2021-04-06 11:17:00 +02:00
Ehmry - 307a261dfa Add toDhall to lib 2021-04-06 11:17:00 +02:00
Ehmry - d85ba92b5a nixos: support for an empty second-level init 2021-04-06 11:17:00 +02:00
Ehmry - 21471b5754 nimblePackages.genode: update to 20.11.1 2021-04-06 11:17:00 +02:00
Ehmry - 0aec8413c8 Disable an assert in patchelf 2021-04-06 11:17:00 +02:00
Ehmry - 139d056a36 nim: patch to print NimStringV2 2021-04-06 11:16:17 +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 - 4bc0f2ddea overlay: extend nimblePackages in overlay 2021-03-17 16:20:15 +01:00
Ehmry - 7078c64a1c Patch patchelf to fix misaligned load segments 2021-03-17 16:15:42 +01:00
Ehmry - 4c0a6e94f4 Add inline documentation 2021-03-10 18:47:49 +01:00
Ehmry - 707ec1828c Replace deprecated stdenv.lib 2021-03-03 15:14:21 +01:00
Ehmry - 73c8b62645 Simplify flake.nix 2021-03-03 15:14:21 +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 - 207da49692 vbox5: do not build from depot
The depot build is somehow broken by ERIS patching.
2021-03-03 15:14:21 +01:00
Ehmry - e3524c4277 erisPatchHook: patch ELF images to load ERIS URNs
Add this hook to the Genode stdenv.
2021-03-03 15:14:21 +01:00
Ehmry - 83c36784ff Propagate dependencies between depot packages
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-03-03 15:13:20 +01:00
Ehmry - 7a172c23c9 Remove unused apps output from flake 2021-02-28 23:04:31 +01:00
Ehmry - ebc724565b Patchelf: Expand LOAD segment to cover new .dynstr and .dynsym sections 2021-02-28 23:04:31 +01:00
Ehmry - ba1d50ab6b packages: consolidate genodeSources patches 2021-02-19 22:13:29 +01:00
Ehmry - 4a613364df Patch Nim compiler and standard library 2021-02-18 19:42:23 +01:00
Ehmry - 1740628e41 stdenv.cc: move a -L flag from cc-cflags to cc-ldflags 2021-02-18 19:41:03 +01:00
Ehmry - a9b18e95c4 stdenv.cc: add proper C++ support 2021-02-18 15:35:02 +01:00
Ehmry - bf93a9d05e Replace deprecated stdenv.lib references 2021-02-16 15:49:54 +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 - e9d784ac52 Patch: Increase session creation buffer size to 240 bytes 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 - f463b467ce Use GCC runtime libraries with LLVM toolchain
Use the GCC runtime library from the prebuild Genode toolchain.
2021-02-16 15:46:14 +01:00
Ehmry - 18e59cd590 Patch: Detect destroyed argument buffers at Env::session 2021-02-10 14:22:33 +01:00
Ehmry - 4c73e12974 libc: add missing internal symbols 2021-02-06 21:41:39 +01:00