Fine-grained IO degrades the image flashing performance due to the IO
stack overhead. Increase the block size upon the dd operation to improve
the flashing performance.
Change-Id: I937ca401d07045f055d3f55ca9f52a3261ee4fb4
Signed-off-by: Junghoon Kim <jhoon20.kim@samsung.com>
# binary name | part number | bs
declare -a PART_TABLE=(
- "boot.img" 1 512
+ "boot.img" 1 4M
"rootfs.img" 2 4M
"system-data.img" 3 4M
"user.img" 5 4M
- "modules.img" 6 512
- "ramdisk.img" 7 512
- "ramdisk-recovery.img" 8 512
- "inform.img" 9 512
+ "modules.img" 6 4M
+ "ramdisk.img" 7 4M
+ "ramdisk-recovery.img" 8 4M
)
declare -r -i PART_TABLE_ROW=3