Difference between revisions of "AIM-Linux/BSP/Qualcomm/RISC QCS Linux 00011.1"
From ESS-WIKI
Darren.huang (talk | contribs) |
Darren.huang (talk | contribs) |
||
Line 16: | Line 16: | ||
== Pull docker images == | == Pull docker images == | ||
<pre>$ sudo docker pull advrisc/u20.04-qcslbv1:latest</pre> | <pre>$ sudo docker pull advrisc/u20.04-qcslbv1:latest</pre> | ||
− | |||
− | |||
== Run Docker example == | == Run Docker example == | ||
Line 23: | Line 21: | ||
$ 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</pre> | $ 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</pre> | ||
− | + | == Download BSP == | |
− | |||
− | = Download BSP = | ||
<pre>$ cd adv-release-bsp | <pre>$ 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 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</pre> | $ repo sync -c -j12</pre> | ||
− | + | == Copy HLOS of Chipcode == | |
− | |||
− | = Copy HLOS of Chipcode = | ||
<pre>$ cp -r amss/apps_proc/* .</pre> | <pre>$ cp -r amss/apps_proc/* .</pre> | ||
− | |||
− | |||
= Build Instructions = | = Build Instructions = | ||
Line 41: | Line 33: | ||
== Source env == | == Source env == | ||
<pre>$ source scripts/env.sh</pre> | <pre>$ source scripts/env.sh</pre> | ||
− | |||
− | |||
== Build All Images == | == Build All Images == | ||
Line 48: | Line 38: | ||
'''Output images: out/emmc and out/ufs''' | '''Output images: out/emmc and out/ufs''' | ||
− | |||
− | |||
== Build yocto images == | == Build yocto images == | ||
Line 57: | Line 45: | ||
$ source qti-conf/set_bb_env.sh | $ source qti-conf/set_bb_env.sh | ||
$ bitbake qti-ubuntu-robotics-image</pre> | $ bitbake qti-ubuntu-robotics-image</pre> | ||
− | |||
− | |||
== Build boot and dtb images == | == Build boot and dtb images == | ||
Line 66: | Line 52: | ||
$ source qti-conf/set_bb_env.sh | $ 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</pre> | $ 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</pre> | ||
− | |||
− | |||
− | |||
− |
Revision as of 09:00, 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
$ sudo docker pull advrisc/u20.04-qcslbv1:latest
Run Docker example
$ 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
Download BSP
$ 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
Copy HLOS of Chipcode
$ cp -r amss/apps_proc/* .
Build Instructions
Source env
$ source scripts/env.sh
Build All Images
$ scripts/build_release.sh -all
Output images: out/emmc and out/ufs
Build yocto images
$ 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
Build boot and dtb images
$ 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