mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
arm-trusted-firmware: add RK3588
This commit is contained in:
parent
fbc6f1e6f2
commit
37205e51fd
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, openssl, pkgsCross, buildPackages
|
||||
{ lib, stdenv, fetchFromGitHub, fetchFromGitLab, openssl, pkgsCross, buildPackages
|
||||
|
||||
# Warning: this blob (hdcp.bin) runs on the main CPU (not the GPU) at
|
||||
# privilege level EL3, which is above both the kernel and the
|
||||
@ -151,6 +151,25 @@ in {
|
||||
platformCanUseHDCPBlob = true;
|
||||
};
|
||||
|
||||
armTrustedFirmwareRK3588 = buildArmTrustedFirmware rec {
|
||||
extraMakeFlags = [ "bl31" ];
|
||||
platform = "rk3588";
|
||||
extraMeta.platforms = ["aarch64-linux"];
|
||||
filesToInstall = [ "build/${platform}/release/bl31/bl31.elf"];
|
||||
platformCanUseHDCPBlob = true;
|
||||
|
||||
# TODO: remove this once the following get merged:
|
||||
# 1: https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/21840
|
||||
# 2: https://review.trustedfirmware.org/c/ci/tf-a-ci-scripts/+/21833
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.collabora.com";
|
||||
owner = "hardware-enablement/rockchip-3588";
|
||||
repo = "trusted-firmware-a";
|
||||
rev = "002d8e85ce5f4f06ebc2c2c52b4923a514bfa701";
|
||||
hash = "sha256-1XOG7ILIgWa3uXUmAh9WTfSGLD/76OsmWrUhIxm/zTg=";
|
||||
};
|
||||
};
|
||||
|
||||
armTrustedFirmwareS905 = buildArmTrustedFirmware rec {
|
||||
extraMakeFlags = [ "bl31" ];
|
||||
platform = "gxbb";
|
||||
|
@ -27155,6 +27155,7 @@ with pkgs;
|
||||
armTrustedFirmwareQemu
|
||||
armTrustedFirmwareRK3328
|
||||
armTrustedFirmwareRK3399
|
||||
armTrustedFirmwareRK3588
|
||||
armTrustedFirmwareS905
|
||||
;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user