2020-11-05 12:27:22 +09:00
|
|
|
################################################################################
|
|
|
|
## 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
|
|
|
|
|
build.config.msm.*: Add transition support to msm_kernel folder
To help facilitate easy transition for kernel source to move from
kernel_platform/common to kernel_platform/msm-kernel, a symlink of
build.config.msm.{lahaina,waipio,waipio.tuivm} will be created in
kernel_platform/common folder for build processes which hard-code
"common/build.config.msm.{lahaina,waipio,waipio.tuivm}" as the
BUILD_CONFIG. When the symlink is used, KERNEL_DIR is set to common/,
but it should use msm-kernel as the real KERNEL_DIR, since that's where
msm-5.10 really lives.
This is especially the case since build.config.msm.common and other
build.config files that build.config.msm.{waipio,waipio.tuivm,lahaina}
use live in msm-5.10, not the kernel_platform/common folder.
Change-Id: Id95b46d345c726384ed741ed2cfa4ed7923288f0
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2021-04-19 23:45:06 +09:00
|
|
|
if [ -e "${ROOT_DIR}/msm-kernel" -a "${KERNEL_DIR}" = "common" ]; then
|
|
|
|
KERNEL_DIR="msm-kernel"
|
|
|
|
fi
|
|
|
|
|
2020-11-05 12:27:22 +09:00
|
|
|
BOOT_IMAGE_HEADER_VERSION=3
|
|
|
|
BASE_ADDRESS=0x80000000
|
|
|
|
PAGE_SIZE=4096
|
2021-01-09 00:50:20 +09:00
|
|
|
DTB_IMG_CREATE=1
|
2022-07-27 02:47:51 +09:00
|
|
|
PREFERRED_USERSPACE=vm
|
2021-01-09 00:50:20 +09:00
|
|
|
|
2022-02-18 16:53:16 +09:00
|
|
|
declare -A MKDTIMGDTBS
|
|
|
|
|
2021-01-09 00:50:20 +09:00
|
|
|
################################################################################
|
|
|
|
## Define VM parameters
|
2022-02-18 16:53:16 +09:00
|
|
|
TUIVM_KERNEL_OFFSET=0xe0b00000
|
|
|
|
TUIVM_DTB_OFFSET=0xe2b00000
|
2022-08-16 21:31:18 +09:00
|
|
|
TUIVM_RAMDISK_OFFSET=0xe2e00000
|
2022-02-18 16:53:16 +09:00
|
|
|
TUIVM_DUMMY_IMG_OFFSET=0xe55f2000
|
|
|
|
|
|
|
|
MKDTIMGDTBS["waipio_tuivm"]="waipio-vm"
|
2021-01-09 00:50:20 +09:00
|
|
|
|
|
|
|
VM_SIZE_EXT4=270000000
|
|
|
|
DUMMY_IMG_SIZE=4096
|
2020-11-05 12:27:22 +09:00
|
|
|
|
|
|
|
################################################################################
|
|
|
|
## Inheriting MSM configs
|
|
|
|
. ${KERNEL_DIR}/build.config.msm.common
|
|
|
|
. ${KERNEL_DIR}/build.config.msm.vm
|