diff options
author | Karel Kočí <cynerd@email.cz> | 2022-10-03 21:50:22 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-10-03 21:50:22 +0200 |
commit | 018ea866e847e249b5ae59f8711f4b8e59c8f4ac (patch) | |
tree | 7319a75aff844dcbda0dac6c70ad1abc0e0b8aa7 /pkgs/default.nix | |
parent | f0a0bbb06d7e5c345ad8887dbd5f713cdf467ce3 (diff) | |
download | nixturris-018ea866e847e249b5ae59f8711f4b8e59c8f4ac.tar.gz nixturris-018ea866e847e249b5ae59f8711f4b8e59c8f4ac.tar.bz2 nixturris-018ea866e847e249b5ae59f8711f4b8e59c8f4ac.zip |
NOR firmware
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 |