From 6f67b2953aadd8c44bd0135960d65f4a682efb8d Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sat, 26 Sep 2020 18:12:02 +0200 Subject: u-boot: tbs2910: install: add forgetten conv=notrunc in dd Signed-off-by: Denis 'GNUtoo' Carikli --- libre/uboot4extlinux-imx/PKGBUILD | 2 +- libre/uboot4extlinux-imx/tbs2910.install | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libre') diff --git a/libre/uboot4extlinux-imx/PKGBUILD b/libre/uboot4extlinux-imx/PKGBUILD index 5cc9f792d..64e25a608 100644 --- a/libre/uboot4extlinux-imx/PKGBUILD +++ b/libre/uboot4extlinux-imx/PKGBUILD @@ -23,7 +23,7 @@ pkgbase=uboot4extlinux-imx pkgname=('uboot4extlinux-tbs2910') pkgver=2020.04 -pkgrel=1 +pkgrel=2 arch=('armv7h') url="http://git.denx.de/u-boot.git/" license=('GPL') diff --git a/libre/uboot4extlinux-imx/tbs2910.install b/libre/uboot4extlinux-imx/tbs2910.install index f729bf0b7..bd2a74ec6 100644 --- a/libre/uboot4extlinux-imx/tbs2910.install +++ b/libre/uboot4extlinux-imx/tbs2910.install @@ -1,6 +1,6 @@ flash_instructions() { echo "# echo 0 > /sys/block/mmcblk2boot0/force_ro" - echo "# dd if=/boot/u-boot/images/u-boot.imx of=/dev/mmcblk2boot0 bs=1k seek=1" + echo "# dd if=/boot/u-boot/images/u-boot.imx of=/dev/mmcblk2boot0 bs=1k seek=1 conv=notrunc" } extlinux_warning() { @@ -15,7 +15,7 @@ flash_uboot() { read -r shouldwe if [[ $shouldwe =~ ^([yY][eE][sS]|[yY])$ ]]; then echo 0 > /sys/block/mmcblk2boot0/force_ro - dd if=/boot/u-boot/images/u-boot.imx of=/dev/mmcblk2boot0 bs=1k seek=1 + dd if=/boot/u-boot/images/u-boot.imx of=/dev/mmcblk2boot0 bs=1k seek=1 conv=notrunc else echo "You can do this later by running:" flash_instructions -- cgit v1.2.3