tAutomatically dd u-boot on pinephone and pinetab. - arm-sdk - os build toolkit for various embedded devices HTML git clone https://git.parazyd.org/arm-sdk DIR Log DIR Files DIR Refs DIR Submodules DIR README DIR LICENSE --- DIR commit c9888cfa9743cb157c5542b5bdd8af56fc5ad3bc DIR parent cf48703321eb4c661871af96932a186ae4f04fd5 HTML Author: parazyd <parazyd@dyne.org> Date: Mon, 24 Feb 2020 12:19:30 +0100 Automatically dd u-boot on pinephone and pinetab. Diffstat: M boards/pinephone-dontbeevil.sh | 5 ++++- M boards/pinephone.sh | 5 ++++- M boards/pinetab.sh | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) --- DIR diff --git a/boards/pinephone-dontbeevil.sh b/boards/pinephone-dontbeevil.sh t@@ -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" t@@ -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 } DIR diff --git a/boards/pinephone.sh b/boards/pinephone.sh t@@ -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" t@@ -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 } DIR diff --git a/boards/pinetab.sh b/boards/pinetab.sh t@@ -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" t@@ -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 }