forked from mirrors/nixpkgs
arm-trusted-firmware: Inits at various versions
For qemu, at 1.4 from upstream. For Sopine / Pine A64-LTS, at 1.0 from fork.
This commit is contained in:
parent
6b069c656a
commit
f2175e1bd4
|
@ -54,6 +54,30 @@ let
|
|||
in rec {
|
||||
inherit buildArmTrustedFirmware;
|
||||
|
||||
armTrustedFirmwareAllwinner = buildArmTrustedFirmware rec {
|
||||
version = "1.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "apritzel";
|
||||
repo = "arm-trusted-firmware";
|
||||
# Branch: `allwinner`
|
||||
rev = "91f2402d941036a0db092d5375d0535c270b9121";
|
||||
sha256 = "0lbipkxb01w97r6ah8wdbwxir3013rp249fcqhlzh2gjwhp5l1ys";
|
||||
};
|
||||
platform = "sun50iw1p1";
|
||||
targetPlatforms = ["aarch64-linux"];
|
||||
filesToInstall = ["build/${platform}/release/bl31.bin"];
|
||||
};
|
||||
|
||||
armTrustedFirmwareQemu = buildArmTrustedFirmware rec {
|
||||
platform = "qemu";
|
||||
targetPlatforms = ["aarch64-linux"];
|
||||
filesToInstall = [
|
||||
"build/${platform}/release/bl1.bin"
|
||||
"build/${platform}/release/bl2.bin"
|
||||
"build/${platform}/release/bl31.bin"
|
||||
];
|
||||
};
|
||||
|
||||
armTrustedFirmwareRK3328 = buildArmTrustedFirmware rec {
|
||||
extraMakeFlags = [ "bl31" ];
|
||||
platform = "rk3328";
|
||||
|
|
|
@ -12876,6 +12876,8 @@ with pkgs;
|
|||
|
||||
inherit (callPackage ../misc/arm-trusted-firmware {})
|
||||
buildArmTrustedFirmware
|
||||
armTrustedFirmwareAllwinner
|
||||
armTrustedFirmwareQemu
|
||||
armTrustedFirmwareRK3328
|
||||
;
|
||||
|
||||
|
|
Loading…
Reference in a new issue