2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, openssl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "xilinx-bootgen";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "xilinx_v2023.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xilinx";
|
|
|
|
repo = "bootgen";
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-pEkpZachZX2tOhH2Odb2fZWqJehLILE/0Z500xRuRzU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -Dm755 bootgen $out/bin/bootgen
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Generate Boot Images for Xilinx Zynq and ZU+ SoCs";
|
|
|
|
longDescription = ''
|
|
|
|
Bootgen for Xilinx Zynq and ZU+ SoCs, without code related to generating
|
|
|
|
obfuscated key and without code to support FPGA encryption and
|
|
|
|
authentication. These features are only available as part of Bootgen
|
|
|
|
shipped with Vivado tools.
|
|
|
|
|
|
|
|
For more details about Bootgen, please refer to Xilinx UG1283.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/Xilinx/bootgen";
|
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.flokli ];
|
|
|
|
};
|
|
|
|
}
|