summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--BoardConfig.mk4
-rw-r--r--rootdir/fstab.smdk4x1210
2 files changed, 13 insertions, 1 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 3e5f4c2..f2cf6b3 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -36,3 +36,7 @@ TARGET_OTA_ASSERT_DEVICE := t03g,n7100,GT-N7100
# inherit from the proprietary version
-include vendor/samsung/n7100/BoardConfigVendor.mk
+
+# Recovery
+TARGET_RECOVERY_FSTAB := device/samsung/n7100/rootdir/fstab.smdk4x12
+RECOVERY_FSTAB_VERSION := 2
diff --git a/rootdir/fstab.smdk4x12 b/rootdir/fstab.smdk4x12
index f87ecf0..74265de 100644
--- a/rootdir/fstab.smdk4x12
+++ b/rootdir/fstab.smdk4x12
@@ -5,9 +5,17 @@
# data partition must be located at the bottom for supporting device encryption
/dev/block/mmcblk0p3 /efs ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait
-/dev/block/mmcblk0p13 /system ext4 ro, noatime wait
+/dev/block/mmcblk0p13 /system ext4 ro,noatime wait
/dev/block/mmcblk0p12 /cache ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait,check
+/dev/block/mmcblk0p14 /preload ext4 noatime,nosuid,nodev,journal_async_commit wait
/dev/block/mmcblk0p16 /data ext4 noatime,nosuid,nodev,discard,noauto_da_alloc,journal_async_commit,errors=panic wait,check,encryptable=footer
/devices/platform/s3c-sdhci.2/mmc_host/mmc1 /storage/sdcard1 auto defaults voldmanaged=sdcard1:auto
/devices/platform/s5p-ehci /storage/usbdisk0 auto defaults voldmanaged=usbdisk0:auto
+
+# recovery
+/dev/block/mmcblk0p8 /boot emmc defaults recoveryonly
+/dev/block/mmcblk0p9 /recovery emmc defaults recoveryonly
+/dev/block/mmcblk0p10 /modem emmc defaults recoveryonly
+/dev/block/mmcblk1p1 /external_sd auto defaults recoveryonly
+