openwrtv3/target/linux/sunxi
Matthias Schiffer 6bb7b87315
sunxi: sysupgrade: don't write partitions twice
When existing partitions are retained, the dd call writing the uboot image
in the space before the first partition was accidentally writing the whole
image, making the code for individual partitions redundant. Limit the copy
to 1016KiB (the first 8KiB are skipped, and the first partition starts at
1024KiB).

In addition, conv=notrunc is replaced with conv=fsync. It seems this was an
oversight, as notrunc doesn't make sense for block devices and all other dd
commands use conv=fsync.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2017-05-29 23:50:34 +02:00
..
base-files sunxi: sysupgrade: don't write partitions twice 2017-05-29 23:50:34 +02:00
image build: get rid of host.mk 2017-02-26 13:31:44 +01:00
patches-4.4 kernel: update kernel 4.4 to version 4.4.69 2017-05-21 21:48:16 +02:00
profiles uboot-sunxi: clean up, switch to u-boot.mk 2017-01-24 16:21:25 +01:00
config-4.4 sunxi: clean up modules definitions 2017-05-04 07:07:18 +02:00
Makefile sunxi: clean up modules definitions 2017-05-04 07:07:18 +02:00
modules.mk sunxi: clean up modules definitions 2017-05-04 07:07:18 +02:00