2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, openssl }:
|
2019-12-15 21:33:50 +00:00
|
|
|
|
2023-07-10 16:15:21 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-12-15 21:33:50 +00:00
|
|
|
pname = "xilinx-bootgen";
|
2024-01-18 21:13:57 +00:00
|
|
|
version = "xilinx_v2023.2";
|
2019-12-15 21:33:50 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "xilinx";
|
|
|
|
repo = "bootgen";
|
2023-07-10 16:15:21 +00:00
|
|
|
rev = version;
|
2024-01-18 21:13:57 +00:00
|
|
|
hash = "sha256-YRaq36N6uBHyjuHQ5hCO35Y+y818NuSjg/js181iItA=";
|
2019-12-15 21:33:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -Dm755 bootgen $out/bin/bootgen
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-12-15 21:33:50 +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 ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "bootgen";
|
2019-12-15 21:33:50 +00:00
|
|
|
};
|
|
|
|
}
|