From 50099a5668c2ada1ba95b243b3c56173141cc7d9 Mon Sep 17 00:00:00 2001 From: Tonymac32 Date: Tue, 21 Mar 2017 22:26:53 -0400 Subject: [PATCH] fix "cat" command in write_uboot_platform the "> /dev/null 2<&1" was being interpreted by cat instead of the shell as a command to throw the operation into the abyss. The dtb was therefor not being written to the "out" file and not making into the final image. --- config/sources/rockchip.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/sources/rockchip.conf b/config/sources/rockchip.conf index f51d913832..eb5900ce38 100644 --- a/config/sources/rockchip.conf +++ b/config/sources/rockchip.conf @@ -55,7 +55,7 @@ if [[ $BOARD == "tinkerboard" ]]; then { dd if=/dev/zero of=$2 bs=1k count=1023 seek=1 status=noxfer > /dev/null 2>&1 mkimage -n rk3288 -T rksd -d $1/u-boot-spl-dtb.bin $1/out > /dev/null 2>&1 - cat $1/u-boot-dtb.bin >> $1/out > /dev/null 2>&1 + cat $1/u-boot-dtb.bin >> $1/out dd if=$1/out of=$2 seek=64 conv=notrunc > /dev/null 2>&1 } fi