Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions topic/k2c-qli-build-ga/build_from_source_github.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ Create and build a Yocto image:
* The machine configurations have either UFS or EMMC storage enabled by default. To change the default storage, see :ref:`Set storage <set_storage>`.
* To build meta-qcom tip, see :ref:`Build meta-qcom tip <build_tip>`.
* For repo manifest based builds, see :ref:`Alternative build instructions using Manifest <build_manifest>`.
* For enabling debug configuration for builds, see :ref:`Create a build for debugging <debug_build>`.

Flash
-----
Expand Down
18 changes: 18 additions & 0 deletions topic/k2c-qli-build-ga/howto_build.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,24 @@ tag for ``meta-qcom``. The milestone release provides locked revisions for the w

For various ``<machine>`` and ``<distro>`` combinations, see `Release Notes <https://docs.qualcomm.com/doc/80-80022-300/>`__.

.. _debug_build:

Creating a build for debugging
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

To generate a debug build, add ``debug.yml`` kas configuration fragment to your build command.
To understand which kernel defconfig and config fragments are used when DEBUG_BUILD is set to 1, see Kernel recipe, under `Kernel recipes <https://docs.qualcomm.com/doc/80-80020-27/topic/meta_qcom.html?product=895724676033554725&version=2.0rc1#kernel-recipes>`__.

#. Build the software image with debug configuration.

.. container:: nohighlight

::

kas build meta-qcom/ci/<machine.yml>:meta-qcom/ci/<distro.yml>:meta-qcom/ci/linux-qcom-6.18.yml:meta-qcom/ci/debug.yml

# Example, kas build meta-qcom/ci/iq-9075-evk.yml:meta-qcom/ci/qcom-distro.yml:meta-qcom/ci/linux-qcom-6.18.yml:meta-qcom/ci/debug.yml

.. _build_manifest:

Alternative build instructions using Manifest
Expand Down
Loading