aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine/dragonboard-410c.conf
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2015-09-03 23:50:46 +0100
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2015-09-03 23:50:46 +0100
commita23feca059cfe78073d1422bfcb2efa646a0134d (patch)
tree6d3233ec3221b36b3efc2ff591ee5e4473bfed98 /conf/machine/dragonboard-410c.conf
parent9ab38c4c91a52a9d6b27cacc6df9f1a59d08dc7e (diff)
downloadmeta-qcom-a23feca059cfe78073d1422bfcb2efa646a0134d.tar.gz
meta-qcom-a23feca059cfe78073d1422bfcb2efa646a0134d.tar.bz2
meta-qcom-a23feca059cfe78073d1422bfcb2efa646a0134d.zip
dragonboard410: align rootfs size on 4096
when the .ext4 raw image is not a multiple of 4096 , fastboot will fail to cut it into chunks when running 'fastboot flash' command. If the image size is less than the intermediate buffer that fastboot uses to copy the image file from host, then it won't cut it into chunks, and in that case the alignment is not really needed, but to be safe, let's make sure all images for this board are aligned properly. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Diffstat (limited to 'conf/machine/dragonboard-410c.conf')
-rw-r--r--conf/machine/dragonboard-410c.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/machine/dragonboard-410c.conf b/conf/machine/dragonboard-410c.conf
index ba690ac..3264313 100644
--- a/conf/machine/dragonboard-410c.conf
+++ b/conf/machine/dragonboard-410c.conf
@@ -37,6 +37,7 @@ MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "linux-firmware \
CMDLINE = "console=ttyMSM0,115200n8 root=/dev/mmcblk0p10 rootwait"
-# Fastboot expects an ext4 image
+# Fastboot expects an ext4 image, which needs to be 4096 aligned
IMAGE_FSTYPES_append = " ext4"
+IMAGE_ROOTFS_ALIGNMENT = "4096"