diff options
-rw-r--r-- | BoardConfigCommon.mk | 5 | ||||
-rw-r--r-- | rootdir/etc/fstab.full | 1 | ||||
-rw-r--r-- | rootdir/etc/fstab.qcom | 9 |
3 files changed, 10 insertions, 5 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index e645e1a..63c5917 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -171,7 +171,10 @@ BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456 BOARD_RECOVERYIMAGE_PARTITION_SIZE := 67108864 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3221225472 BOARD_USERDATAIMAGE_PARTITION_SIZE := 58132761600 -BOARD_FLASH_BLOCK_SIZE := 262144 +BOARD_VENDORIMAGE_PARTITION_SIZE := 390029312 +BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4 +BOARD_FLASH_BLOCK_SIZE := 262144 # (BOARD_KERNEL_PAGESIZE * 64) +TARGET_COPY_OUT_VENDOR := vendor # QCOM hardware BOARD_USES_QCOM_HARDWARE := true diff --git a/rootdir/etc/fstab.full b/rootdir/etc/fstab.full index 4c3d9c6..8f3aa35 100644 --- a/rootdir/etc/fstab.full +++ b/rootdir/etc/fstab.full @@ -9,6 +9,7 @@ /dev/block/bootdevice/by-name/boot /boot emmc defaults defaults /dev/block/bootdevice/by-name/recovery /recovery emmc defaults defaults /dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1 wait +/dev/block/bootdevice/by-name/factory /vendor ext4 ro,barrier=1 wait /dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,inline_xattr,data_flush wait,check,encryptable=footer,length=-16384 /dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,noatime,barrier=1,noauto_da_alloc wait,check,encryptable=footer,length=-16384 /dev/block/bootdevice/by-name/cache /cache f2fs nosuid,nodev,noatime,inline_xattr,flush_merge,data_flush wait,check diff --git a/rootdir/etc/fstab.qcom b/rootdir/etc/fstab.qcom index 3da3e16..d50afd4 100644 --- a/rootdir/etc/fstab.qcom +++ b/rootdir/etc/fstab.qcom @@ -1,9 +1,10 @@ # Android fstab file. -# The filesystem that contains the filesystem checker binary (typically /system) cannot -# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK +# The filesystem that contains the filesystem e2fsck binary (typically /system) cannot +# specify 'check', and must come before any filesystems that do specify 'check' -#TODO: Add 'check' as fs_mgr_flags with data partition. -# Currently we dont have e2fsck compiled. So fs check would failed. +# NOTE: /system and /vendor (/factory mounted as /vendor) partitions are now early-mounted and the fstab entry is specified in device tree: +# /proc/device-tree/firmware/android/fstab/system +# /proc/device-tree/firmware/android/fstab/vendor #<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags> /dev/block/bootdevice/by-name/boot /boot emmc defaults defaults |