Commit Graph

7 Commits

Author SHA1 Message Date
Amit Pundir
6ba3eed4fa ANDROID: db845c: Enable device tree overlay support
This DTC_FLAGS will build the base platform dtbs with
overlay support. Otherwise fdtoverlay command throws
"FDT_ERR_NOTFOUND" error at the build time.

Missing/broken DTBO partition support on DB845c and RB5 is
the primary reason we have to apply DTB overlays at the
build time.

This patch will help enable currently out-of-tree/WIP (GKI)
features on supported devboards, and help us start testing
them in the LKFT builds.

Bug: 146449535
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Change-Id: Ie1510d93532544683a1408e88473da5a83fc3a60
2024-01-13 10:38:25 +05:30
Elliot Berman
47c864ead1 ANDROID: db845c: Use FRAGMENT_CONFIG
./build/config.sh provides Kbuild's configuration editor in kernel/build
environment, plus support for editing config fragments. Set
FRAGMENT_CONFIG for ./build/config.sh.

Bug: 169398826
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
[jstultz: Dropped sorting the config fragment]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: Id09967bb06d0652788d17373ade2619a310c9e87
2021-03-08 19:14:48 +00:00
Will McVicker
b8f04a0f4a ANDROID: drop KERNEL_DIR setting in build.config.common
And replace many references of ${ROOT_DIR}/common with
${ROOT_DIR}/${KERNEL_DIR}, which makes it a lot easier
to branch off of ACK and update the KERNEL_DIR.

The variable of KERNEL_DIR will be set in build/_setup_env.sh
to the directory of the build config file by default if it's
not set explicitly in the build config file or in environment.

Test: build test with following configs
        common/build.config.gki.aarch64
        common/build.config.db845c
        common/build.config.hikey960
        common-modules/virtual-device/build.config.cuttlefish.aarch64
        common-modules/virtual-device/build.config.goldfish.aarch64

Bug: 162785964
Change-Id: I790ac0ded10bd790484f14c6f93d53e06c38b830
Signed-off-by: Will McVicker <willmcvicker@google.com>
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
(cherry picked from commit 931718fa65fe5e34d143250c048f591a7d74e5f8)
2020-09-25 14:50:31 +08:00
Quentin Perret
8300362534 ANDROID: build.config.d845c: Set KMI_SYMBOL_LIST
Set KMI_SYMBOL_LIST in the db845c build.config to ease symbol list
updates using build_abi.sh.

Bug: 158655966
Signed-off-by: Quentin Perret <qperret@google.com>
Change-Id: I919c71e07075b6d8ad8d2f85a70fdf9b4c43d061
2020-08-26 00:45:21 +00:00
Todd Kjos
33cc3e7400 ANDROID: db845c: set BUILD_INITRAMFS=1
To create boot images for multiple kernels for CI testing, we
need the initramfs image. To generate initramfs, vmlinux and
System.map were also added to the list of artifacts.

Bug: 162034308
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: I08fc4a45402dfff78da4d322ee70c2f63a262468
2020-08-18 16:40:40 +00:00
Todd Kjos
9bb4e91b94 ANDROID: db845c build: Use merge_configs
Previously the db845c build was cat'ng the db845c_gki.fragment
with the gki_defconfig. The correct way to merge fragments is to use
the merge_configs script.

Bug: 152231482
Test: Treehugger
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: I32d5d6576bb4bdc115b32e7e7ef3ef1e9daa2323
2020-04-01 14:04:53 +00:00
Amit Pundir
486ed22a34 ANDROID: db845c: Add build config
Add a build config for db845c.

This one uses cat to merge the gki_defconfig with
the db845c_gki.fragment.

This isn't as ideal as using merge_config.sh which
provides more useful warnings but I couldn't manage
to get merge_config.sh to run properly within the
context of the PRE_DEFCONFIG_CMDS.

This does however result in a .config identical
to the  merge_config result.

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
[jstultz: overhauled for android-mainline]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Bug: 146449535
Change-Id: Ib32bb07590adcb10e9e208f33773900054202e68
2020-01-15 21:13:30 +00:00