diff options
Diffstat (limited to 'pkgs/default.nix')
-rw-r--r-- | pkgs/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix index a64757f..b16795d 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -19,6 +19,25 @@ let #crypto-wrapper = callPackage ./crypto-wrapper { }; #certgen = python3Packages.callPackage ./certgen { }; + # NOR Firmwares + ubootTurrisMox = buildUBoot { + defconfig = "turris_mox_defconfig"; + extraMeta.platforms = ["aarch64-linux"]; + filesToInstall = ["u-boot.bin"]; + extraPatches = [ ./patches/include-configs-turris_mox-increase-space-for-the-ke.patch ]; + }; + armTrustedFirmwareTurrisMox = buildArmTrustedFirmware rec { + platform = "a3700"; + extraMeta.platforms = ["aarch64-linux"]; + extraMakeFlags = ["USE_COHERENT_MEM=0" "CM3_SYSTEM_RESET=1" "FIP_ALIGN=0x100"]; + filesToInstall = ["build/${platform}/release/bl31.bin"]; + }; + ubootTurrisOmnia = buildUBoot { + defconfig = "turris_omnia_defconfig"; + extraMeta.platforms = ["armv7l-linux"]; + filesToInstall = ["u-boot-spl.kwb"]; + }; + }; in turrispkgs |