Difference between revisions of "AIM-Linux/BSP/Qualcomm/RISC QCS Linux 00011.1"
From ESS-WIKI
Darren.huang (talk | contribs) (Created page with "TES") |
Darren.huang (talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | ||
+ | = Introduction = | ||
+ | |||
+ | This document describes how to work with the RISC and Qualcomm r00011.1 Board Support Package (BSP) release. | ||
+ | |||
+ | == Ubuntu Version == | ||
+ | |||
+ | Ubuntu 20.04 | ||
+ | |||
+ | == Kernel Version == | ||
+ | |||
+ | Kernel 5.4.233 | ||
+ | |||
+ | = Docker install and setting = | ||
+ | |||
+ | == Pull docker images == | ||
+ | <pre><code>$ sudo docker pull advrisc/u20.04-qcslbv1:latest</code></pre> | ||
+ | |||
+ | <button>Copy</button> | ||
+ | |||
+ | == Run Docker example == | ||
+ | <pre><code>$ mkdir -p ~/qualcomm-bsp | ||
+ | $ sudo docker run -it --name adv-qcs6490-ubun-1-0 -v ~/qualcomm-bsp:/home/adv/adv-release-bsp:rw --privileged advrisc/u20.04-qcslbv1:latest /bin/bash</code></pre> | ||
+ | |||
+ | <button>Copy</button> | ||
+ | |||
+ | = Download BSP = | ||
+ | <pre><code>$ cd adv-release-bsp | ||
+ | $ repo init -u https://dev.azure.com/AIM-Linux/risc_qcs_linux_00011.1/_git/manifests -b main -m adv_3.5.1.r1-06500-QCS6490.0.xml --repo-url=https://git.codelinaro.org/clo/tools/repo.git --repo-branch=qc-stable | ||
+ | $ repo sync -c -j12</code></pre> | ||
+ | |||
+ | <button>Copy</button> | ||
+ | |||
+ | = Copy HLOS of Chipcode = | ||
+ | <pre><code>$ cp -r amss/apps_proc/* .</code></pre> | ||
+ | |||
+ | <button>Copy</button> | ||
+ | |||
+ | = Build Instructions = | ||
+ | |||
+ | == Source env == | ||
+ | <pre><code>$ source scripts/env.sh</code></pre> | ||
+ | |||
+ | <button>Copy</button> | ||
+ | |||
+ | == Build All Images == | ||
+ | <pre><code>$ scripts/build_release.sh -all</code></pre> | ||
+ | |||
+ | <button>Copy</button> | ||
+ | |||
+ | Output images: out/emmc and out/ufs | ||
+ | |||
+ | == Build yocto images == | ||
+ | <pre><code>$ cd poky | ||
+ | $ export MACHINE=qcs6490-odk DISTRO=qti-distro-ubuntu-fullstack-debug | ||
+ | $ export PREBUILT_SRC_DIR="<APPS_ROOT>/prebuilt_HY11" | ||
+ | $ source qti-conf/set_bb_env.sh | ||
+ | $ bitbake qti-ubuntu-robotics-image</code></pre> | ||
+ | |||
+ | <button>Copy</button> | ||
+ | |||
+ | == Build boot and dtb images == | ||
+ | <pre><code>$ cd poky | ||
+ | $ export MACHINE=qcs6490-odk DISTRO=qti-distro-ubuntu-fullstack-debug | ||
+ | $ export PREBUILT_SRC_DIR="<APPS_ROOT>/prebuilt_HY11" | ||
+ | $ source qti-conf/set_bb_env.sh | ||
+ | $ bitbake -fc cleanall linux-msm && bitbake linux-msm && bitbake qti-ubuntu-robotics-image -fc do_make_bootimg && bitbake qti-ubuntu-robotics-image -fc do_makedtbo</code></pre> | ||
+ | |||
+ | <button>Copy</button> | ||
+ | |||
+ | Comments | ||
+ | <fieldset aria-hidden="true"><legend></legend></fieldset> |
Revision as of 08:53, 6 August 2024
Contents
Introduction
This document describes how to work with the RISC and Qualcomm r00011.1 Board Support Package (BSP) release.
Ubuntu Version
Ubuntu 20.04
Kernel Version
Kernel 5.4.233
Docker install and setting
Pull docker images
<code>$ sudo docker pull advrisc/u20.04-qcslbv1:latest</code>
<button>Copy</button>
Run Docker example
<code>$ mkdir -p ~/qualcomm-bsp $ sudo docker run -it --name adv-qcs6490-ubun-1-0 -v ~/qualcomm-bsp:/home/adv/adv-release-bsp:rw --privileged advrisc/u20.04-qcslbv1:latest /bin/bash</code>
<button>Copy</button>
Download BSP
<code>$ cd adv-release-bsp $ repo init -u https://dev.azure.com/AIM-Linux/risc_qcs_linux_00011.1/_git/manifests -b main -m adv_3.5.1.r1-06500-QCS6490.0.xml --repo-url=https://git.codelinaro.org/clo/tools/repo.git --repo-branch=qc-stable $ repo sync -c -j12</code>
<button>Copy</button>
Copy HLOS of Chipcode
<code>$ cp -r amss/apps_proc/* .</code>
<button>Copy</button>
Build Instructions
Source env
<code>$ source scripts/env.sh</code>
<button>Copy</button>
Build All Images
<code>$ scripts/build_release.sh -all</code>
<button>Copy</button>
Output images: out/emmc and out/ufs
Build yocto images
<code>$ cd poky $ export MACHINE=qcs6490-odk DISTRO=qti-distro-ubuntu-fullstack-debug $ export PREBUILT_SRC_DIR="<APPS_ROOT>/prebuilt_HY11" $ source qti-conf/set_bb_env.sh $ bitbake qti-ubuntu-robotics-image</code>
<button>Copy</button>
Build boot and dtb images
<code>$ cd poky $ export MACHINE=qcs6490-odk DISTRO=qti-distro-ubuntu-fullstack-debug $ export PREBUILT_SRC_DIR="<APPS_ROOT>/prebuilt_HY11" $ source qti-conf/set_bb_env.sh $ bitbake -fc cleanall linux-msm && bitbake linux-msm && bitbake qti-ubuntu-robotics-image -fc do_make_bootimg && bitbake qti-ubuntu-robotics-image -fc do_makedtbo</code>
<button>Copy</button>
Comments <fieldset aria-hidden="true"><legend></legend></fieldset>