|
|
@ -15,11 +15,13 @@ in stdenv.mkDerivation {
|
|
|
|
dontUnpack = true;
|
|
|
|
dontUnpack = true;
|
|
|
|
nativeBuildInputs = [ dtc ubootTools ];
|
|
|
|
nativeBuildInputs = [ dtc ubootTools ];
|
|
|
|
buildPhase = ''
|
|
|
|
buildPhase = ''
|
|
|
|
|
|
|
|
runHook preBuild
|
|
|
|
mkdir -p $out
|
|
|
|
mkdir -p $out
|
|
|
|
mkimage \
|
|
|
|
mkimage \
|
|
|
|
-D "-I dts -O dtb -p 2048 -W no-unit_address_vs_reg" \
|
|
|
|
-D "-I dts -O dtb -p 2048 -W no-unit_address_vs_reg" \
|
|
|
|
-f $dtsPath \
|
|
|
|
-f $dtsPath \
|
|
|
|
$out/Image.fit
|
|
|
|
$out/Image.fit
|
|
|
|
|
|
|
|
runHook postBuild
|
|
|
|
'';
|
|
|
|
'';
|
|
|
|
dontInstall = true;
|
|
|
|
dontInstall = true;
|
|
|
|
passAsFile = [ "dts" ];
|
|
|
|
passAsFile = [ "dts" ];
|
|
|
|