Browse Source

tests/vmm_arm: recreate device-tree-binary

vbox-stuff
Emery Hemingway 1 year ago
parent
commit
6d2eb81def
  1. 8
      tests/vmm_arm.nix

8
tests/vmm_arm.nix

@ -11,21 +11,19 @@
config = with localPackages;
let
dtb = runCommand "arm_v8.vmm.db" { buildInputs = [ dtc ]; }
"dtc ${pkgs.genodeSources}/repos/os/src/server/vmm/spec/arm_v8/virt.dts > $out";
linux = fetchurl {
url = "http://genode.org/files/release-20.02/linux-arm64";
hash = "sha256-H6FhNGgkApouy+PyjxrgAPnJSc4BIlWlpg+VhWiUI6o=";
};
dtb = fetchurl {
url = "http://genode.org/files/release-20.02/dtb-arm64-virt";
hash = "sha256-MFzwYtjAmR/V3WLkmWojYhi3aPrzEqsy1kA46Y512UM=";
};
initrd = fetchurl {
url = "http://genode.org/files/release-20.02/initrd-arm64";
hash = "sha256-iOKd2X2zgDIGeuLEDSSTLSw/Ywi7mDET36J1NAqgqls=";
};
guest = writeText "guest.dhall" ''
{ linux = "${linux}", dtb = "${dtb}", initrd = "${initrd}" }
{ dtb = "${dtb}", linux = "${linux}", initrd = "${initrd}" }
'';
in "${./vmm_arm.dhall} ${guest}";

Loading…
Cancel
Save