summaryrefslogtreecommitdiff
path: root/libre/uboot4extlinux-imx
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-09-26 18:12:02 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-09-26 18:14:06 +0200
commit6f67b2953aadd8c44bd0135960d65f4a682efb8d (patch)
treed705beae28845ed83707958ab47a8f0cef7aece7 /libre/uboot4extlinux-imx
parenta9c3f8646212234d92ec21d576dabb86efc1a17b (diff)
downloadabslibre-6f67b2953aadd8c44bd0135960d65f4a682efb8d.tar.gz
abslibre-6f67b2953aadd8c44bd0135960d65f4a682efb8d.tar.bz2
abslibre-6f67b2953aadd8c44bd0135960d65f4a682efb8d.zip
u-boot: tbs2910: install: add forgetten conv=notrunc in dd
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'libre/uboot4extlinux-imx')
-rw-r--r--libre/uboot4extlinux-imx/PKGBUILD2
-rw-r--r--libre/uboot4extlinux-imx/tbs2910.install4
2 files changed, 3 insertions, 3 deletions
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