summaryrefslogtreecommitdiff
path: root/scripts/install.sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2015-01-28 09:47:10 +0100
committerWaldemar Brodkorb <wbrodkorb@conet.de>2015-01-28 09:47:10 +0100
commitf4d07b4d155c15a640692a9b0d44303e32110ece (patch)
tree8a0305d37ef90f30a611c3bba14c20584d88b61c /scripts/install.sh
parent01967529cb4c8ee829e55844432d811efc412c7b (diff)
add devicetree support for raspberry pi and kernel 3.18
Diffstat (limited to 'scripts/install.sh')
-rwxr-xr-xscripts/install.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 740dd7f7e..5957c6959 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -496,9 +496,10 @@ else
fi
dd if="$T/firsttrack" of="$tgt" > /dev/null 2>&1
+fwdir=$(dirname "$src")
+
case $target {
(solidrun-imx6)
- fwdir=$(dirname "$src")
dd if="$fwdir/SPL" of="$tgt" bs=1024 seek=1 > /dev/null 2>&1
dd if="$fwdir/u-boot.img" of="$tgt" bs=1024 seek=42 > /dev/null 2>&1
;;
@@ -542,6 +543,10 @@ case $target {
[[ -e "$x" ]] && mv -f "$R"/boot/* "$B/"
break
done
+ for x in "$fwdir"/*.dtb; do
+ [[ -e "$x" ]] && cp "$fwdir"/*.dtb "$B/"
+ break
+ done
umount_fs "$B"
;;
(solidrun-imx6)