diff --git a/boards/pinephone-dontbeevil.sh b/boards/pinephone-dontbeevil.sh index 57daba6..3e19ff8 100644 --- a/boards/pinephone-dontbeevil.sh +++ b/boards/pinephone-dontbeevil.sh @@ -58,7 +58,7 @@ prebuild() { postbuild() { fn postbuild - req=(device_name compiler) + req=(device_name compiler loopdevice) ckreq || return 1 notice "executing $device_name postbuild" @@ -94,6 +94,9 @@ EOF sudo mkimage -C none -A arm -T script -d boot.txt boot.scr popd + sudo dd if="$R/dist/u-boot-sunxi-with-spl-sopine.bin" of="${loopdevice}" seek=8 \ + bs=1024 conv=notrunc,nocreat + postbuild-clean } diff --git a/boards/pinephone.sh b/boards/pinephone.sh index d17c55a..dc86128 100644 --- a/boards/pinephone.sh +++ b/boards/pinephone.sh @@ -56,7 +56,7 @@ prebuild() { postbuild() { fn postbuild - req=(device_name compiler) + req=(device_name compilerl loopdevice) ckreq || return 1 notice "executing $device_name postbuild" @@ -92,6 +92,9 @@ EOF sudo mkimage -C none -A arm -T script -d boot.txt boot.scr popd + sudo dd if="$R/dist/u-boot-sunxi-with-spl-sopine.bin" of="${loopdevice}" seek=8 \ + bs=1024 conv=notrunc,nocreat + postbuild-clean } diff --git a/boards/pinetab.sh b/boards/pinetab.sh index 83cd06f..c64d054 100644 --- a/boards/pinetab.sh +++ b/boards/pinetab.sh @@ -56,7 +56,7 @@ prebuild() { postbuild() { fn postbuild - req=(device_name compiler) + req=(device_name compiler loopdevice) ckreq || return 1 notice "executing $device_name postbuild" @@ -92,6 +92,9 @@ EOF sudo mkimage -C none -A arm -T script -d boot.txt boot.scr popd + sudo dd if="$R/dist/u-boot-sunxi-with-spl-sopine.bin" of="${loopdevice}" seek=8 \ + bs=1024 conv=notrunc,nocreat + postbuild-clean }