Commit Graph

16 Commits

Author SHA1 Message Date
Elliot Berman
34be040f98 build.config.msm.waipio: Remove options to earlycon
Device tree can/should specify the earlycon location using
"stdout-path" since the address of msm_geni_serial may differ between
boards (e.g. Diwali and Waipio).

Change-Id: Iff3f8c0c759cd518c8bd7dc3ea035c5bdce44410
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2021-08-24 12:06:55 -07:00
Tengfei Fan
a3d468183c build.config: add flag for arrange modules in ramdisk
Kernel boot KPI can be improved if some modules are loaded in advance.
so add flag for arrange modules in ramdisk.

Change-Id: Ida530e52b205e86c92cdb5c932208d1f1f52f88b
Signed-off-by: Tengfei Fan <tengfeif@codeaurora.org>
2021-07-29 17:44:39 +08:00
Elliot Berman
7a1743c35f 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 07:52:09 -07:00
Elliot Berman
357bbd3d06 arm64: defconfig: Set MSM_GENI_CONSOLE_DEFAULT_ENABLED off on perf build
For perf builds (waipio_GKI.config), console should be default disabled,
unelss explicitly turned on via command line. Disable
MSM_GENI_CONSOLE_DEFAULT_ENABLED on waipio_GKI.config and re-enable it
on waipio_consolidate.config.

Change-Id: I11c70a3763710fe701c7392073aacc37ab6f7412
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2021-03-05 17:53:46 -08:00
Elliot Berman
dccf8e2a9b build.config: Generate super.img
Generate super.img containing vendor_dlkm partition in order to generate
a set of physically flashable images.

Change-Id: If55414b2d4e61ec2baecd93211eb27e529d69a3e
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2021-01-25 12:06:18 -08:00
Elliot Berman
2e93d99d0b build.config.msm.waipio: Enable vendor_dlkm partition
Enable vendor_dlkm.img generation and trim modules not mentioned in the
first- or second-stage modules directories.

Change-Id: I259e7fcd33b4bfa968a4b97533783c99e8a0146a
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-12-15 20:27:51 -08:00
Elliot Berman
731fec20fd build.config: Add support for KERNEL_CMDLINE_CONSOLE_AUTO
By default, boot.img with console support should created. If a different
console or disabled console is desired, then parent build.config should
opt-out by setting KERNEL_CMDLINE_CONSOLE_AUTO=0. This is opt-out rather
than opt-in to support developer and automation workflows.

Change-Id: I2b41cb1416558987515ea433eb24ceeda719f474
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-11-13 10:50:58 -08:00
qctecmdr
cb8234216b Merge "build.config: Enable Device Tree Overlay Compilation on Waipio" 2020-11-01 10:22:32 -08:00
Rama Aparna Mallavarapu
17d8232f32 build.config: Enable Device Tree Overlay Compilation on Waipio
Enable build config needed for device tree overlay compilation
on waipio.

Change-Id: I1cf9f84399454874ef651e39ed36f41404c37fbd
Signed-off-by: Rama Aparna Mallavarapu <aparnam@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-10-21 17:15:40 -07:00
Elliot Berman
5810f80886 build.config: Bump Waipio boot image header version to 3
Increase supported boot image header version to 3 for Waipio.

Change-Id: I4cb2427d52704865d29943b72eda4b1b88272b33
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-09-10 17:33:20 -07:00
Elliot Berman
83cafa5b00 build.config: Enable consolidate GKI compilation on Waipio
Enable compilation of consolidate defconfig fragment for waipio.

Change-Id: Id27ebe6db3e2a968205bf4f008228f279ab830d9
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-08-14 14:12:45 -07:00
Elliot Berman
37981e55d6 build.config: Consolidate duplicated settings
Consolidate BRANCH, CONFIG_TARGET settings into build.config.msm.common
and consolidate the VARIANT -> defconfig mapping for Lahaina and Waipio
into build.config.msm.gki. This simplifies the target-specific
build.config files and improves code re-use.

Change-Id: I92a246e28f1034b74f44b4293bad671411e62a1e
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-07-31 21:42:38 -07:00
Elliot Berman
655afa578d build.config: Add fragment config awareness
Present fragment config logic is target specific and located in the
scripts/gki folder. The script does not scale well to different targets
which may have different types of variants. Migrate fragment config logic
to build.config files, where the variant stitching can be described in the
relevant build.config.msm.target file. The fragment stitching logic must
also be in kernel/build system in order to respect any Make invocation
arguments (e.g. compiler).

Change-Id: I77454c2b431b3f5c0ce75a17714b43913c03ced4
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-07-31 21:40:26 -07:00
Elliot Berman
b4e57137c7 build.config: Make gki-ack variants "hidden"
Remove gki-ack variant from msm.lahaina and msm.waipio so they are not
included when compiling all kernel variants.

Change-Id: Ia1a264c2bd4467259233483d39ddce053bcb649d
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-07-29 17:51:24 -07:00
Elliot Berman
42b1a31958 build.config.msm.waipio: KERNEL_DIR from build.config.common
Let KERNEL_DIR come from build.config.common instead of requiring that
it is defined from outside the environment.

Change-Id: I570a05d2edbd9e63ed0b63d42ea167b5fbe25fd1
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-07-08 15:00:05 -07:00
Elliot Berman
9846676e93 waipio: Add build config
Add build config for Waipio.

Change-Id: I64cf2ca639294577a04ff28ac78114e5fd76b529
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-06-22 09:55:18 -07:00