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
6 changes: 2 additions & 4 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@ Qualcomm Linux Build Guide
:titlesonly:

topic/k2c-qli-build-ga/introduction
topic/k2c-qli-build-ga/build_from_source_qsc_gui_intro
topic/k2c-qli-build-ga/build_frm_source_qsc_cli
topic/k2c-qli-build-ga/github_workflow_unregistered_users
topic/k2c-qli-build-ga/build_from_source_github_intro
topic/k2c-qli-build-ga/build_addn_info
topic/k2c-qli-build-ga/build_frm_source_qsc_cli
topic/k2c-qli-build-ga/flash_images
topic/k2c-qli-build-ga/troubleshoot_sync_build_and_flash
topic/k2c-qli-build-ga/how_to
topic/k2c-qli-build-ga/references
topic/k2c-qli-build-ga/references
2 changes: 1 addition & 1 deletion media/k2c-qli-build-ga/icn-book-blue.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion media/k2c-qli-build-ga/icn-book.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion topic/k2c-qli-build-ga/acronyms_and_terms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ Acronyms and terms
* - UFS
- Universal flash storage
* - WSL
- Windows Subsystem for Linux
- Windows Subsystem for Linux
26 changes: 16 additions & 10 deletions topic/k2c-qli-build-ga/addn_host_setup_build_firmware.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,19 @@ Install and configure the software tools on the Ubuntu host computer.
::

sudo apt update
sudo apt install repo gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint xterm python3-subunit mesa-common-dev zstd liblz4-tool locales tar python-is-python3 file libxml-opml-simplegen-perl vim whiptail g++ libacl1
sudo apt install build-essential chrpath cpio debianutils diffstat file gawk gcc git iputils-ping libacl1 locales python3 python3-git python3-jinja2 python3-pexpect python3-pip python3-subunit socat texinfo unzip wget xz-utils zstd
sudo apt-get install lib32stdc++6 libncurses5 checkinstall libreadline-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev curl
sudo apt install kas

#. Optionally download the kas-container script. kas is the tool used by Qualcomm Linux to sync and build the Yocto meta layers. The kas package also provides a kas-container script for running kas in a container. If you prefer running the image builds in an isolated evironment, consider using kas-container instead.

.. container:: nohighlight

::

# kas-container can be run on any linux distribution with docker installed.
wget -qO kas-container https://raw.githubusercontent.com/siemens/kas/refs/tags/5.1/kas-container
chmod +x kas-container

#. Add your Qualcomm login ID with PAT to the ``~/.netrc`` file in your home directory:

Expand All @@ -27,14 +38,6 @@ Install and configure the software tools on the Ubuntu host computer.
# The last line in this output is the token, which can be used to access
# Qualcomm Proprietary repositories. This token expires in two weeks.

.. note::

.. container:: screenoutput

| user\@hostname:/local/mnt/workspace$ qsc-cli show-access-token
| [Info]: Starting qsc-cli version 0.0.0.9
| **5LThNlklb55mMVLB5C2KqUGU2jCF**

#. Use your preferred text editor to edit the ``~/.netrc`` file and add the following entries. Create the ``~/.netrc`` file if it doesn't exist.

.. container:: nohighlight
Expand Down Expand Up @@ -106,4 +109,7 @@ Install and configure the software tools on the Ubuntu host computer.
make install
ln -s /opt/python3/bin/python3 /opt/python3/bin/python
export PATH=/opt/python3/bin:$PATH
export PYTHONPATH=/opt/python3/lib:$PYTHONPATH
export PYTHONPATH=/opt/python3/lib:$PYTHONPATH

.. note::
The `kas <https://kas.readthedocs.io/en/latest/>`__ tool is used by Qualcomm Linux to sync the meta layers, configure the environment and execute the bitbake commands.
7 changes: 3 additions & 4 deletions topic/k2c-qli-build-ga/build_addn_info.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@

.. rst_class:: flattenforhtml

Build with GitHub using firmware and extras
Build from Source (with firmware and extras)
============================================

Use this information to build various Qualcomm Linux Yocto layers including the ``meta-qcom-hwe``, ``meta-qcom-extras``, ``meta-qcom-qim-product-sdk``,
and ``meta-qcom-robotics-sdk`` using selective proprietary sources and binaries/libraries.
Use this information to build ``meta-qcom-extras`` layer using selective proprietary sources and binaries/libraries.

.. note:: This information is applicable only for authorized users. To upgrade your access, go to `Qualcomm support page <https://www.qualcomm.com/support/working-with-qualcomm>`__.

Expand All @@ -16,4 +15,4 @@ and ``meta-qcom-robotics-sdk`` using selective proprietary sources and binaries/

.. include:: addn_host_setup_build_firmware.rst

.. include:: build_with_firmware.rst
.. include:: build_with_firmware.rst
47 changes: 0 additions & 47 deletions topic/k2c-qli-build-ga/build_bsp_image_unreg.rst

This file was deleted.

2 changes: 1 addition & 1 deletion topic/k2c-qli-build-ga/build_default_config_cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@ The ``--buildflavor`` argument is optional and only required for devices that ha
ID | DEVICE TYPE | DEVICE STATE | SERIAL NUMBER | ADB SERIAL NUMBER | DESCRIPTION
NA | NA | EDL | BE116704 | be116704 | Qualcomm USB Composite Device:QUSB_BULK_CID:042F_SN:BE116704

- The device reboots after the flashing procedure completes successfully. To verify the updated software version, see `Verify the Qualcomm Linux version <https://docs.qualcomm.com/bundle/publicresource/topics/80-70023-251/set_up_the_device.html#verify-the-qualcomm-linux-version>`__.
- The device reboots after the flashing procedure completes successfully. To verify the updated software version, see `Verify the Qualcomm Linux version <https://docs.qualcomm.com/bundle/publicresource/topics/80-70023-251/set_up_the_device.html#verify-the-qualcomm-linux-version>`__.
51 changes: 0 additions & 51 deletions topic/k2c-qli-build-ga/build_default_config_launcher.rst

This file was deleted.

2 changes: 1 addition & 1 deletion topic/k2c-qli-build-ga/build_frm_source_qsc_cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ Configure, download, compile, and flash Qualcomm Linux using QSC CLI.

.. include:: build_default_config_cli.rst

.. include:: build_own_config_cli.rst
.. include:: build_own_config_cli.rst
Loading
Loading