如果你认为本系列文章对你有所帮助,请大家有钱的捧个钱场,点击此处赞助,赞助额0.1元起步,多少随意
声明:本文只用于个人学习交流,若不慎造成侵权,请及时联系我,立即予以改正
锋影
email:174176320@qq.com
在安装好qnx660 ide后,由于QNX Momentics IDE版本文件是2014年左右的版本,相对较老,
此时sdp会有相关的几个patch仍需要打入才算拿到最新,最优的状态。
具体安装顺序如下:
qnx-sdp-6.6-201402230339.exe
patch-660-4036-RS5682_660-Graphics-GA.tar
patch-660-4418-LoLAA-io-audio_debug.tar
patch-660-4024-applypatch.tar
patch-660-4187-ide.tar
patch-660-4367-RS6069_cpp-headers.tar
patch-660-4669-kernellibc.tar
.
Installing this patch
- Log in as the user who installed QNX SDP 6.6.
- On Windows hosts, run cmd.exe; on Linux hosts, start a command shell.
- Set up your QNX SDP 6.6 environment:
- On Windows hosts, run:
base_directory\qnx660-env.bat
- On Linux hosts, run:
source base_directory/qnx660-env.sh
where base_directory is where you installed QNX SDP 6.6.
- On Windows hosts, run:
- Download the patch-660-4418-LoLAA-io-audio.tar archive to your host environment.
- Verify that the patch's checksum matches the one given on our website.
- Use the applypatch utility to install the patch:
applypatch download_path/patch-660-4418-LoLAA-io-audio.tar
where download_path is the location of the patch file. For more information about applypatch, see its entry in the Utilities Reference.
![]() | You might see warnings that the previously installed versions of these header files are newer than the ones in the patch:
The only change to these files is the version information; it doesn't matter which copy of them that you use. |
Installing the updated symbol files (optional)
If you've installed the symbol files for QNX SDP 6.6, you should update them from the accompanying patch-660-4418-LoLAA-io-audio_debug.tar file that's in the Download area of our website. To install these files, continue from the steps above and do the following:
- Download patch-660-4418-LoLAA-io-audio_debug.tar from the Download area of our website into the working directory of your choice.
- Determine the base directory of your QNX SDP installation by using the qconfig command.
- cd base_directory/install
- tar -xvf path_to_working_dir/patch-660-4418-LoLAA-io-audio_debug.tar
The symbol files are installed in patches/660-4418/debug. You can either replace the existing symbol files or direct the debugger to use the files in this directory.
- If you want to replace the existing symbol files, back up the following files, which are installed under $QNX_TARGET:
- armle-v7/sbin/io-audio.sym
- armle-v7/lib/libasound.so.2.sym
- armle-v7/usr/bin/wave.sym
- armle-v7/usr/bin/waverec.sym
- armle-v7/usr/bin/pcm_logger.sym
- armle-v7/usr/bin/mix_ctl.sym
- armle-v7/usr/lib/libaudio_manager.so.2.sym
and then copy the new symbol files to replace them.
- In order to use the new symbol files in place, you can either:
- start gdb with the --with-separate-debug-dir=base_directory/install/patches/660-4418/debug option
or:
- use the set debug-file-directory base_directory/install/patches/660-4418/debug command in gdb
For more information, see https://sourceware.org/gdb/current/onlinedocs/gdb/Separate-Debug-Files.html#Separate-Debug-Files.
Uninstalling this patch
- Log in as the user who installed QNX SDP 6.6.
- On Windows hosts, run cmd.exe; on Linux hosts, start a command shell.
- Set up your QNX SDP 6.6 environment:
- On Windows hosts, run:
base_directory\qnx660-env.bat
- On Linux hosts, run:
source base_directory/qnx660-env.sh
where base_directory is where you installed QNX SDP 6.6.
- On Windows hosts, run:
- Use the applypatch utility to uninstall the patch:
applypatch -U 4418
安装方法如下:
Installing this patch
- Log in as the user who installed QNX SDP 6.6.
- On Windows hosts, run cmd.exe; on Linux hosts, start a command shell.
- Set up your QNX SDP 6.6 environment:
- On Windows hosts, run:
base_directory\qnx660-env.bat
- On Linux hosts, run:
source base_directory/qnx660-env.sh
where base_directory is where you installed QNX SDP 6.6.
- On Windows hosts, run:
- Download the patch-660-4418-LoLAA-io-audio.tar archive to your host environment.
- Verify that the patch's checksum matches the one given on our website.
- Use the applypatch utility to install the patch:
applypatch download_path/patch-660-4418-LoLAA-io-audio.tar
where download_path is the location of the patch file. For more information about applypatch, see its entry in the Utilities Reference.
![]() | You might see warnings that the previously installed versions of these header files are newer than the ones in the patch:
The only change to these files is the version information; it doesn't matter which copy of them that you use. |
Installing the updated symbol files (optional)
If you've installed the symbol files for QNX SDP 6.6, you should update them from the accompanying patch-660-4418-LoLAA-io-audio_debug.tar file that's in the Download area of our website. To install these files, continue from the steps above and do the following:
- Download patch-660-4418-LoLAA-io-audio_debug.tar from the Download area of our website into the working directory of your choice.
- Determine the base directory of your QNX SDP installation by using the qconfig command.
- cd base_directory/install
- tar -xvf path_to_working_dir/patch-660-4418-LoLAA-io-audio_debug.tar
The symbol files are installed in patches/660-4418/debug. You can either replace the existing symbol files or direct the debugger to use the files in this directory.
- If you want to replace the existing symbol files, back up the following files, which are installed under $QNX_TARGET:
- armle-v7/sbin/io-audio.sym
- armle-v7/lib/libasound.so.2.sym
- armle-v7/usr/bin/wave.sym
- armle-v7/usr/bin/waverec.sym
- armle-v7/usr/bin/pcm_logger.sym
- armle-v7/usr/bin/mix_ctl.sym
- armle-v7/usr/lib/libaudio_manager.so.2.sym
and then copy the new symbol files to replace them.
- In order to use the new symbol files in place, you can either:
- start gdb with the --with-separate-debug-dir=base_directory/install/patches/660-4418/debug option
or:
- use the set debug-file-directory base_directory/install/patches/660-4418/debug command in gdb
For more information, see https://sourceware.org/gdb/current/onlinedocs/gdb/Separate-Debug-Files.html#Separate-Debug-Files.
Uninstalling this patch
- Log in as the user who installed QNX SDP 6.6.
- On Windows hosts, run cmd.exe; on Linux hosts, start a command shell.
- Set up your QNX SDP 6.6 environment:
- On Windows hosts, run:
base_directory\qnx660-env.bat
- On Linux hosts, run:
source base_directory/qnx660-env.sh
where base_directory is where you installed QNX SDP 6.6.
- On Windows hosts, run:
- Use the applypatch utility to uninstall the patch:
applypatch -U 4418