summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-08-31 10:42:45 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2022-08-31 10:42:53 +0200
commit59324eb3d770ff52ad7a9b8f73a4f992b898e27d (patch)
tree7258fca4c50476b480422feee21bef22c555492a /scripts
parentf282f02d17bdb6e5cbfbf745f835c036fb26324d (diff)
some changes for img-tec and various things
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 60c2475a2..0305ef8e4 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -155,7 +155,7 @@ tgt=$2
src=$3
case $target {
-(banana-pro|orange-pi0|pcengines-apu|phytec-imx6|phytec-wega|raspberry-pi|raspberry-pi0|raspberry-pi2|raspberry-pi3|raspberry-pi3-64|raspberry-pi4|raspberry-pi4-64|solidrun-imx6|solidrun-clearfog|default) ;;
+(banana-pro|orange-pi0|pcengines-apu|phytec-imx6|phytec-wega|raspberry-pi|raspberry-pi0|raspberry-pi2|raspberry-pi3|raspberry-pi3-64|raspberry-pi4|raspberry-pi4-64|solidrun-imx6|solidrun-clearfog|imgtec-ci20|default) ;;
(*)
print -u2 "Unknown target '$target', exiting"
exit 1 ;;
@@ -545,6 +545,10 @@ fi
fwdir=$(dirname "$src")
case $target {
+(imgtec-ci20)
+ dd if="$fwdir/u-boot-spl.bin" of="$tgt" obs=512 seek=1 > /dev/null 2>&1
+ dd if="$fwdir/u-boot-dtb.img" of="$tgt" obs=1k seek=14 > /dev/null 2>&1
+ ;;
(banana-pro|orange-pi0)
dd if="$fwdir/u-boot-sunxi-with-spl.bin" of="$tgt" bs=1024 seek=8 > /dev/null 2>&1
;;