diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install.sh | 7 |
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) |