aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Dechesne <ndechesne@users.noreply.github.com>2019-05-10 10:10:16 +0200
committerGitHub <noreply@github.com>2019-05-10 10:10:16 +0200
commit380f0dbf389bdff88f7a7b8ff9c6f12a3a6592b7 (patch)
treed5f985967fae819b96b86d4dc941bd6ed8405ed2
parent041d08fd073c21fb4f85f79248f3d0eaf769952b (diff)
parentad91e9e7eba5d82cae3f492eebb8f66acf6f3177 (diff)
downloadmeta-qcom-380f0dbf389bdff88f7a7b8ff9c6f12a3a6592b7.tar.gz
meta-qcom-380f0dbf389bdff88f7a7b8ff9c6f12a3a6592b7.tar.bz2
meta-qcom-380f0dbf389bdff88f7a7b8ff9c6f12a3a6592b7.zip
Merge pull request #100 from alimon/thud_db845c
machine/*/dragonbard-845c: Set ext4 rootfs image to 4096 block size
-rw-r--r--conf/machine/dragonboard-845c.conf3
-rw-r--r--conf/machine/include/qcom-sdm845.inc1
2 files changed, 4 insertions, 0 deletions
diff --git a/conf/machine/dragonboard-845c.conf b/conf/machine/dragonboard-845c.conf
index 8b82657..8cd10d4 100644
--- a/conf/machine/dragonboard-845c.conf
+++ b/conf/machine/dragonboard-845c.conf
@@ -19,3 +19,6 @@ MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += " \
# XXX: The sda10 is userdata we need to create an Linux gpt to have more space
# and use rootfs
QCOM_BOOTIMG_ROOTFS ?= "sda10"
+
+# UFS partitions setup with 4096 logical sector size
+EXTRA_IMAGECMD_ext4 += " -b 4096 "
diff --git a/conf/machine/include/qcom-sdm845.inc b/conf/machine/include/qcom-sdm845.inc
index 2526d2f..4e2ab05 100644
--- a/conf/machine/include/qcom-sdm845.inc
+++ b/conf/machine/include/qcom-sdm845.inc
@@ -27,6 +27,7 @@ MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += " \
"
IMAGE_FSTYPES ?= "ext4.gz"
+IMAGE_ROOTFS_ALIGNMENT = "4096"
QCOM_BOOTIMG_KERNEL_BASE ?= "0x80000000"
QCOM_BOOTIMG_PAGE_SIZE ?= "4096"