Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sunxi: sysupgrade: sync with x86 | Matthias Schiffer | 2017-05-29 | 1 | -49/+71 |
| | | | | | | | | | | | | sunxi sysupgrade was based on the x86 implementation; sync fixes and other changes from the current x86 version: x86: fix sysupgrades on disks with 4k block size x86: sysupgrade: move partition table change check to platform_check_image x86: sysupgrade: refactor platform_do_upgrade x86: sysupgrade: explicitly rescan disk after writing partition table Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> | ||||
* | sunxi: sysupgrade: don't write partitions twice | Matthias Schiffer | 2017-05-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | 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> | ||||
* | sunxi: add sysupgrade support | Yousong Zhou | 2017-01-05 | 1 | -0/+67 |
Enalbe builtin support for FAT filesystem as we need to mount boot partition to store sysupgrade.tgz there Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> |