Merge pull request #637 from Tonymac32/patch-1

tinkerboard fix "cat" command in write_uboot_platform
This commit is contained in:
Igor Pečovnik 2017-03-22 06:55:29 +01:00 committed by GitHub
commit d59ea67e4d

View File

@ -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