diff options
-rw-r--r-- | conf/machine/dragonboard-845c.conf | 3 | ||||
-rw-r--r-- | conf/machine/include/qcom-sdm845.inc | 1 |
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" |