blob: d2548c308896f744e9312160466d1247a33a2fd1 [file] [log] [blame]
David Hays2ba37a02013-02-23 13:33:50 -06001USE_CAMERA_STUB := true
2
3# inherit from the proprietary version
4-include vendor/htc/m7/BoardConfigVendor.mk
5
6TARGET_NO_BOOTLOADER := true
David Hays745187f2013-02-24 14:11:31 -06007TARGET_BOARD_PLATFORM := msm8960
8TARGET_CPU_ABI := armeabi-v7a
9TARGET_CPU_ABI2 := armeabi
David Hays2ba37a02013-02-23 13:33:50 -060010TARGET_BOOTLOADER_BOARD_NAME := m7
11
12BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.hardware=m7 user_debug=31
13BOARD_KERNEL_BASE := 0x80600000
14BOARD_KERNEL_PAGESIZE := 2048
15
16# fix this up by examining /proc/mtd on a running device
17BOARD_BOOTIMAGE_PARTITION_SIZE := 16777216
David Hays58844472013-03-04 10:53:26 -060018BOARD_RECOVERYIMAGE_PARTITION_SIZE := 16776704
David Hays2ba37a02013-02-23 13:33:50 -060019BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1946156032
David Haysc6b475e2013-03-04 11:17:57 -060020BOARD_USERDATAIMAGE_PARTITION_SIZE := 27917287424
David Hays2ba37a02013-02-23 13:33:50 -060021BOARD_FLASH_BLOCK_SIZE := 131072
22
23TARGET_PREBUILT_KERNEL := device/htc/m7/kernel
24
25BOARD_USE_CUSTOM_RECOVERY_FONT := \"roboto_23x41.h\"
26TARGET_RECOVERY_INITRC := device/htc/m7/recovery/init.rc
27BOARD_HAS_NO_SELECT_BUTTON := true
28BOARD_HAS_LARGE_FILESYSTEM := true
David Haysc6b475e2013-03-04 11:17:57 -060029
30
31# cat /proc/emmc:
32# dev: size erasesize name
33# mmcblk0p19: 000ffa00 00000200 "misc"
34# mmcblk0p34: 00fffe00 00000200 "recovery"
35# mmcblk0p33: 01000000 00000200 "boot"
36# mmcblk0p35: 73fffc00 00000200 "system"
37# mmcblk0p26: 00140200 00000200 "local"
38# mmcblk0p36: 27fffe00 00000200 "cache"
39# mmcblk0p37: 680000000 00000200 "userdata"
40# mmcblk0p22: 01400000 00000200 "devlog"
41# mmcblk0p24: 00040000 00000200 "pdata"
42# mmcblk0p27: 00010000 00000200 "extra"
43# mmcblk0p31: 04b00200 00000200 "radio"
44# mmcblk0p16: 03c00400 00000200 "adsp"
45# mmcblk0p15: 00100000 00000200 "dsps"
46# mmcblk0p17: 007ffa00 00000200 "radio_config"
47# mmcblk0p20: 00400000 00000200 "modem_st1"
48# mmcblk0p21: 00400000 00000200 "modem_st2"
49# mmcblk0p28: 00100000 00000200 "cdma_record"
50# mmcblk0p18: 02000000 00000200 "reserve_1"
51# mmcblk0p30: 034ffa00 00000200 "reserve_2"
52# mmcblk0p32: 05fffc00 00000200 "reserve_3"
53# mmcblk0p29: 06069e00 00000200 "reserve"