Commit Graph

420 Commits

Author SHA1 Message Date
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
Ehmry - b77a91bc87 nixos-modules: boot packages from buildPackages.buildPackages 2021-02-06 21:41:24 +01:00
Ehmry - adff162a29 dhall-genode: update prelude to 20.1.0 2021-02-06 17:56:21 +01:00
Ehmry - 825a066f79 Update development shell
Add some missing packages, update Nixpkgs revision.
2021-02-06 15:16:10 +01:00
Ehmry - f16241e7e9 vfs_rump: static link dependencies 2021-02-06 14:37:44 +01:00
Ehmry - 7e1bb6425f vfs: patch for loading plugins by label, long tar names 2021-02-06 14:37:44 +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 - f12d27872a Patch genode_dyn.ld to not emit PHDR segments
This is important, because otherwise binutils will refuse to strip
Genode binaries, which causes runtime closures to explode, which
causes a giant image.elf, which takes so long to load that tests
break.
2021-01-28 15:42:06 +01:00
Ehmry - 8d22ff4eb3 Use Nixpkg master as flake input
Now that the LLVM packages selector is merged we are compatible
with the Nixpkgs master branch.
2021-01-27 23:13:46 +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 - 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 - 15f122f981 Add the rpcsvc-proto package to the libc port inputs
The libc "port" requires the rpcgen utility to generate some source
files. This was previously provided by glibc, but is missing in the
current version. The output of libc port remains constant.
2021-01-12 12:56:45 +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 - 28859b57fd Cleanup README
Remove sections on building depot and make targets as it is no
longer valid.
2021-01-12 12:56:22 +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 - 5e9039f88e Move Genode flake input into overlay 2021-01-12 12:56:22 +01:00
Ehmry - 7a755a9b6a Export the forAll[,Local,Cross]Systems functions 2021-01-12 12:56:22 +01:00
Ehmry - 297956fb16 Update dhall-genode to use 20.0.0 prelude 2021-01-12 12:56:22 +01:00
Ehmry - 0a2d6fea1a Update Nixpkgs input 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 - 64d8f03cc1 dhall-genode: update for Init/Config/Policy/toXML 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 - 5b43976ca4 bender: update to devel 2021-01-12 10:28:39 +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 - 74b4c0df69 cached_fs_rom: fix off-by-one in symlink copy_cstring 2020-12-20 13:20:06 +01:00
Ehmry - 9c2a92cdf1 gdb: update config patch 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