forked from OnePlusOSS/android_kernel_oneplus_sm8550
-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.config.msm.waipio.vm
48 lines (38 loc) · 1.38 KB
/
build.config.msm.waipio.vm
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
################################################################################
## Inheriting configs from ACK
. ${ROOT_DIR}/common/build.config.common
. ${ROOT_DIR}/common/build.config.aarch64
################################################################################
## Variant setup
MSM_ARCH=waipio_tuivm
VARIANTS=(defconfig debug_defconfig)
[ -z "${VARIANT}" ] && VARIANT=debug_defconfig
if [ -e "${ROOT_DIR}/msm-kernel" -a "${KERNEL_DIR}" = "common" ]; then
KERNEL_DIR="msm-kernel"
fi
BOOT_IMAGE_HEADER_VERSION=3
BASE_ADDRESS=0x80000000
PAGE_SIZE=4096
VM_DTB_IMG_CREATE=1
PREFERRED_USERSPACE=vm
declare -A MKDTIMGDTBS
################################################################################
## Define VM parameters
TUIVM_KERNEL_OFFSET=0xe0b00000
TUIVM_DTB_OFFSET=0xe2b00000
TUIVM_RAMDISK_OFFSET=0xe2c00000
TUIVM_DUMMY_IMG_OFFSET=0xe54ee000
MKDTIMGDTBS["waipio_tuivm"]="waipio-vm"
################################################################################
## Define OEM VM parameters
OEMVM_KERNEL_OFFSET=0xbb000000
OEMVM_DTB_OFFSET=0xbd000000
OEMVM_RAMDISK_OFFSET=0xbd100000
OEMVM_DUMMY_IMG_OFFSET=0xbfefb000
MKDTIMGDTBS["waipio_oemvm"]="waipio-oemvm"
VM_SIZE_EXT4=270000000
DUMMY_IMG_SIZE=4096
################################################################################
## Inheriting MSM configs
. ${KERNEL_DIR}/build.config.msm.common
. ${KERNEL_DIR}/build.config.msm.vm