如果你認爲本系列文章對你有所幫助,請大家有錢的捧個錢場,點擊此處贊助,贊助額0.1元起步,多少隨意
聲明:本文只用於個人學習交流,若不慎造成侵權,請及時聯繫我,立即予以改正
鋒影
email:[email protected]
在安裝好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