-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBoardConfig.mk
78 lines (61 loc) · 2.46 KB
/
BoardConfig.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#
# Copyright (C) 2012 The CyanogenMod Project
# Copyright (C) 2013 ROSA Lab
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Skip droiddoc build to save build time
BOARD_SKIP_ANDROID_DOC_BUILD := true
USE_CAMERA_STUB := true
# inherit from the proprietary version
-include vendor/hisense/AD683G/BoardConfigVendor.mk
TARGET_ARCH := arm
TARGET_NO_BOOTLOADER := true
TARGET_BOARD_PLATFORM := msm7627a
TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
TARGET_ARCH_VARIANT := armv7-a-neon
ARCH_ARM_HAVE_TLS_REGISTER := true
TARGET_BOARD_PLATFORM_GPU := qcom
QCOM_TARGET_PRODUCT := msm7627a
TARGET_BOOTLOADER_BOARD_NAME := AD683G
BOARD_KERNEL_CMDLINE := console=tty,115200n8 androidboot.hardware=qcom
BOARD_KERNEL_BASE := 0x00e3b004
BOARD_KERNEL_PAGESIZE := 4096
# fix this up by examining /proc/mtd on a running device
# You can double check it with fdisk -l /dev/block/mmcblk0p8
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00018480
# You can double check it with fdisk -l /dev/block/mmcblk0p16
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00020480
# You can double check it with fdisk -l /dev/block/mmcblk0p12
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x00700000
# You can double check it with fdisk -l /dev/block/mmcblk0p13
BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x04280000
BOARD_FLASH_BLOCK_SIZE := 262144 # (BOARD_KERNEL_PAGESIZE * 64)
# EGL settings
BOARD_EGL_CFG := device/hisense/AD683G/configs/egl.cfg
TARGET_PROVIDES_LIBAUDIO := true
TARGET_PROVIDES_LIBLIGHTS := true
TARGET_LIBAGL_USE_GRALLOC_COPYBITS := true
# BT
BOARD_HAVE_BLUETOOTH := true
# Kernel / Ramdisk
TARGET_PREBUILT_KERNEL := device/hisense/AD683G/prebuilt/kernel
TARGET_PROVIDES_INIT_TARGET_RC := true
#Recovery
TARGET_PREBUILT_RECOVERY_KERNEL := device/hisense/AD683G/prebuilt/recovery_kernel
TARGET_RECOVERY_INITRC := device/hisense/AD683G/recovery/init.rc
BOARD_HAS_NO_SELECT_BUTTON := true
# Misc
TARGET_PROVIDES_INIT_RC := true
TARGET_RELEASETOOL_OTA_FROM_TARGET_SCRIPT := device/hisense/AD683G/releasetools/AD683G_ota_from_target_files