This commit is contained in:
mjallen18
2026-01-14 10:37:22 -06:00
parent b1f2521260
commit b1215da790
3 changed files with 35 additions and 9 deletions

View File

@@ -68,12 +68,14 @@ stdenvNoCC.mkDerivation rec {
runHook preInstall
mkdir -p "$out"
cp ${src} .
# cp ${src} .
dd if=${nvram} of=./RPI_EFI.fd \
bs=1 seek=$((0x1d0060)) count=$((0x11c0)) conv=notrunc
# dd if=${nvram} of=./RPI_EFI.fd \
# bs=1 seek=$((0x1d0060)) count=$((0x11c0)) conv=notrunc
cp -v ./RPI_EFI.fd "$out/RPI_EFI.fd"
# cp -v ./RPI_EFI.fd "$out/RPI_EFI.fd"
cp ${src} "$out/RPI_EFI.fd"
cat > "$out/config.txt" << ${defaultConfig}