QNX代码下载
mkdir ZXD0112
创建QNX和Android 文件夹分别存放QNX和android 代码
mkdir QNX
QNX Dev分支:
repo init -u ssh://172.28.100.202:29418//PP01/qualcomm_sa8295p/QNX/manifests --repo-url=ssh://172.28.100.202:29418/Common/tools/repo -b zxd2.0 -m default_dev.xml
repo sync -c -j16
Android Dev分支:
repo init -u ssh://172.28.100.202:29418//PP01/qualcomm_sa8295p/Android/manifests --repo-url=ssh://172.28.100.202:29418/Common/tools/repo -b zxd2.0 -m default_dev.xml
QNX的编译
QNX 编译镜像拉取
sudo docker pull 172.28.100.100:8080/develop/qnx_build_8295
//创建QNX编译容器
sudo docker run -it -v /etc/passwd:/etc/passwd:ro -v /etc/shadow:/etc/shadow:ro -v /etc/group:/etc/group:ro -v "{HOME}:/home/(logname)" -e "HOME=/home/(logname)" -e "USER=(logname)" -w /home/(logname) -u "(id -u):(id -g)" --name 8155_qnx_build_(logname) 172.28.100.100:8080/develop/qnx_build_8295:latest /bin/bash
sudo docker run -it -v /etc/passwd:/etc/passwd:ro -v /etc/shadow:/etc/shadow:ro -v /etc/group:/etc/group:ro -v "{HOME}:/home/(logname)" -e "HOME=/home/(logname)" -e "USER=(logname)" -w /home/(logname) -u "(id -u):(id -g)" --name 8295_build_qnx_(logname) 172.28.100.100:8080/develop/qnx_build_8295:latest /bin/bash
编译(使用 docker):
cd qnx.ini
./qnx_make.sh ip5pm_h_bsw ip5pm20250930
如果clean编译后面加-c参数
项目:is4pr_bsw/ ip5pm_h_bsw
sudo docker ps -a
Docker 命令 docker ps -a 的详细说明
docker ps -a 是 Docker 中用于列出所有容器(包括正在运行和已停止容器)的命令
sudo docker rm xxxx 删除某个容器

sudo docker images
sudo docker start 2fd7
sudo docker attach 2fd7
以上配置完成以后使用命令重启docker
sudo systemctl daemon-reload
sudo systemctl restart docker.service
放大字体:Ctrl + Shift + +
缩小字体:Ctrl + -
恢复默认大小:Ctrl + 0
Android 的编译
Android 编译镜像拉取
sudo docker pull 172.28.100.100:8080/develop/icm_build
//创建Android编译容器
sudo docker run -it -v /etc/passwd:/etc/passwd:ro -v /etc/shadow:/etc/shadow:ro -v /etc/group:/etc/group:ro -v "{HOME}:/home/(logname)" -e "HOME=/home/(logname)" -e "USER=(logname)" -w /home/(logname) -u "(id -u):(id -g)" --name 8295_build_android_(logname) 172.28.100.100:8080/develop/icm_build:latest /bin/bash
进入到代码的Android下面
source build/envsetup.sh
lunch ip5pm_h_bsw-userdebug
make -j8
清华大学开源软件网站
https://mirrors.tuna.tsinghua.edu.cn/
csdn VIP
https://cs.fmy1024.cn/?cdk=3251GuhxUDEUyonx
文件位置 :etc/apt/sources.list
# deb cdrom:[Ubuntu 18.04.3 LTS _Bionic Beaver_ - Release amd64 (20190805)]/ bionic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
此源为清华源
超级好用哦
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
sudo apt-get update
software-properties-gtk
sudo dpkg -i code*.deb
单编译audio
export TARGET_PRODUCT=ip5pm_h_bsw && cd ~/workspace/QNX/hlos_dev_qnx/apps/qnx_ap && source setenv_hyp710.sh
cd <module path>
make