Skip to content

Commit

Permalink
Added support for boot and recovery partitions
Browse files Browse the repository at this point in the history
  • Loading branch information
C3C0 committed Apr 27, 2013
1 parent 118a6c8 commit ea64ce0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ BOARD_HAS_NO_SELECT_BUTTON := true
TARGET_RECOVERY_FSTAB := device/thl/w8/recovery/recovery.fstab
TARGET_RECOVERY_INITRC := device/thl/w8/recovery/recovery.rc
BOARD_CUSTOM_RECOVERY_KEYMAPPING := ../../device/thl/w8/recovery/recovery_keys.c
CWM_EMMC_BOOT_DEVICE_NAME := /dev/bootimg
CWM_EMMC_BOOT_DEVICE_SIZE := 0x00600000
CWM_EMMC_RECOVERY_DEVICE_NAME := /dev/recovery
CWM_EMMC_RECOVERY_DEVICE_SIZE := 0x00600000

# Partition sizes
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00600000
Expand Down
5 changes: 3 additions & 2 deletions recovery/recovery.fstab
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
/cache ext4 /dev/block/mmcblk0p6
/data ext4 /dev/block/mmcblk0p7
/storage vfat /dev/block/mmcblk0p8
/sdcard vfat /dev/block/mmcblk1 /dev/block/mmcblk1p1
/sd-ext auto /dev/block/mmcblk1p2
/sdcard vfat /dev/block/mmcblk1p1
/boot emmc /dev/bootimg
/recovery emmc /dev/recovery

0 comments on commit ea64ce0

Please sign in to comment.