openwrtv3/target
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
..
imagebuilder imagebuilder: fix bundling of DTS sources 2017-05-14 21:43:06 +02:00
linux sunxi: sysupgrade: don't write partitions twice 2017-05-29 23:50:34 +02:00
sdk build: get rid of host.mk 2017-02-26 13:31:44 +01:00
toolchain build: get rid of host.mk 2017-02-26 13:31:44 +01:00
Config.in kernel: allow selecting RTC drivers on targets without explicit RTC support 2017-05-02 14:33:58 +02:00
Makefile build: make <subdir>/install opt-in, use it for target/ only 2017-02-09 13:51:35 +01:00