Skip to content

Commit ea64ce0

Browse files
committed
Added support for boot and recovery partitions
See commit: C3C0/android_bootable_recovery@226e86a
1 parent 118a6c8 commit ea64ce0

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

BoardConfig.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ BOARD_HAS_NO_SELECT_BUTTON := true
2424
TARGET_RECOVERY_FSTAB := device/thl/w8/recovery/recovery.fstab
2525
TARGET_RECOVERY_INITRC := device/thl/w8/recovery/recovery.rc
2626
BOARD_CUSTOM_RECOVERY_KEYMAPPING := ../../device/thl/w8/recovery/recovery_keys.c
27+
CWM_EMMC_BOOT_DEVICE_NAME := /dev/bootimg
28+
CWM_EMMC_BOOT_DEVICE_SIZE := 0x00600000
29+
CWM_EMMC_RECOVERY_DEVICE_NAME := /dev/recovery
30+
CWM_EMMC_RECOVERY_DEVICE_SIZE := 0x00600000
2731

2832
# Partition sizes
2933
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00600000

recovery/recovery.fstab

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
/cache ext4 /dev/block/mmcblk0p6
44
/data ext4 /dev/block/mmcblk0p7
55
/storage vfat /dev/block/mmcblk0p8
6-
/sdcard vfat /dev/block/mmcblk1 /dev/block/mmcblk1p1
7-
/sd-ext auto /dev/block/mmcblk1p2
6+
/sdcard vfat /dev/block/mmcblk1p1
7+
/boot emmc /dev/bootimg
8+
/recovery emmc /dev/recovery

0 commit comments

Comments
 (0)