arch/arm64/configs/qcom_defconfig
arch/arm64/configs/qcom_debug.config
arch/arm64/configs/qcom_addons.config
arch/arm64/configs/qcom_addons_debug.config
|
To build the debug kernel image with `linux-qcom-custom_6.6.bb`,
set `DEBUG_BUILD` to `1` in the shell where you are using BitBake comamnds to build the image.
This selection is effective in the following code:
KERNEL_CONFIG ??= "qcom_defconfig"
KERNEL_CONFIG_FRAGMENTS:append = " ${S}/arch/arm64/configs/qcom_addons.config"
KERNEL_CONFIG_FRAGMENTS:append = " ${@oe.utils.vartrue('DEBUG_BUILD', '${S}/arch/arm64/configs/qcom_debug.config', '', d)}"
KERNEL_CONFIG_FRAGMENTS:append = " ${@oe.utils.vartrue('DEBUG_BUILD', '${S}/arch/arm64/configs/qcom_addons_debug.config', '', d)}"
# Enable selinux support
SELINUX_CFG = "${@oe.utils.vartrue('DEBUG_BUILD', 'selinux_debug.cfg', 'selinux.cfg', d)}"
KERNEL_CONFIG_FRAGMENTS:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', '${WORKDIR}/${SELINUX_CFG}', '', d)}"
Copy to clipboard
To autoload kernel modules for Qualcomm platforms, update the
`KERNEL_MODULE_AUTOLOAD` variable in the Qualcomm Linux kernel recipe.
For example, the CoreSight and STM modules are autoloaded as follows:
KERNEL_MODULE_AUTOLOAD += "coresight coresight-tmc coresight-funnel"
KERNEL_MODULE_AUTOLOAD += "coresight-replicator coresight-etm4x coresight-stm"
KERNEL_MODULE_AUTOLOAD += "coresight-cti coresight-tpdm coresight-tpda coresight-dummy"
KERNEL_MODULE_AUTOLOAD += "coresight-remote-etm coresight-tgu"
KERNEL_MODULE_AUTOLOAD += "stm_core stm_p_ost stm_console stm_heartbeat stm_ftrace "
Copy to clipboard
## Licenses
The licenses for recipes in `meta-qcom-hwe` are listed at
`