工作的环境

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

相关推荐
海宇AI12 分钟前
零信任架构实战:基于海宇个人风险报告构建自动化分期商城信用额度初审网关
运维·人工智能·架构·自动化
IMPYLH25 分钟前
Linux 的时间为什么会被拨回去
linux·运维·服务器
2601_963282771 小时前
寒地窄带通信工程实践:黑龙江哈尔滨对讲机选型、组网与合规运维总结
运维·服务器·网络
叼烟扛炮2 小时前
[Git 实战] 学习笔记:从生成 SSH 密钥到解决 TortoiseGit 推送报错全指南
linux·运维·笔记·git·学习
xbzb2 小时前
OpenStack 网络管理(理论):Linux 网络虚拟化是 Neutron 的地基
linux·服务器·网络·openstack·network·neutron
我要见SA姐13 小时前
GitHub Actions 自动化:5 个真实运维提效案例
运维·数据库·机器学习·oracle·回归
Android系统攻城狮4 小时前
Linux FFmpeg深度解析之avcodec_flush_buffers调用流程与实战(十九)
linux·运维·服务器·ffmpeg·车载音视频·ffmpeg音视频进阶
水饺编程5 小时前
第2章:Linux 基础,解压缩【.tar.bz2】压缩包文件
linux·c语言·汇编
Y3815326625 小时前
用 httpx 写 SerpBase 异步客户端:连接池与超时配置
运维·服务器·数据库
Zevalin爱灰灰5 小时前
Linux入门第二部分(ARM裸机篇) 第二章 Cortex-A7 MPCore架构与ARM汇编基础
linux·汇编·arm开发·嵌入式