[原创]QNX660 Momentics打补订方法-打patch方法

本文详细介绍如何为QNX SDP 6.6应用补丁以获取最新功能,包括安装步骤、更新符号文件及卸载补丁的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

如果你认为本系列文章对你有所帮助,请大家有钱的捧个钱场,点击此处赞助,赞助额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

  1. Log in as the user who installed QNX SDP 6.6.
  2. On Windows hosts, run cmd.exe; on Linux hosts, start a command shell.
  3. 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.

  4. Download the patch-660-4418-LoLAA-io-audio.tar archive to your host environment.
  5. Verify that the patch's checksum matches the one given on our website.
  6. 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.


Note:You might see warnings that the previously installed versions of these header files are newer than the ones in the patch:
  • ado_isa.h
  • ado_pci.h
  • ado_pcm/dcmd_bluetooth.h
  • ado_pcm/dcmd_radio.h
  • mixer/ac97_devctl.h
  • mixer/ac97_dll.h
  • mixer/ak4531_dll.h
  • mixer/hda_dll.h
  • sys/asound.h

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:

  1. Download patch-660-4418-LoLAA-io-audio_debug.tar from the Download area of our website into the working directory of your choice.
  2. Determine the base directory of your QNX SDP installation by using the qconfig command.
  3. cd base_directory/install
  4. 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.

  5. 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.

  6. 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

  1. Log in as the user who installed QNX SDP 6.6.
  2. On Windows hosts, run cmd.exe; on Linux hosts, start a command shell.
  3. 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.

  4. Use the applypatch utility to uninstall the patch:
    applypatch -U 4418

安装方法如下:

Installing this patch

  1. Log in as the user who installed QNX SDP 6.6.
  2. On Windows hosts, run cmd.exe; on Linux hosts, start a command shell.
  3. 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.

  4. Download the patch-660-4418-LoLAA-io-audio.tar archive to your host environment.
  5. Verify that the patch's checksum matches the one given on our website.
  6. 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.


Note:You might see warnings that the previously installed versions of these header files are newer than the ones in the patch:
  • ado_isa.h
  • ado_pci.h
  • ado_pcm/dcmd_bluetooth.h
  • ado_pcm/dcmd_radio.h
  • mixer/ac97_devctl.h
  • mixer/ac97_dll.h
  • mixer/ak4531_dll.h
  • mixer/hda_dll.h
  • sys/asound.h

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:

  1. Download patch-660-4418-LoLAA-io-audio_debug.tar from the Download area of our website into the working directory of your choice.
  2. Determine the base directory of your QNX SDP installation by using the qconfig command.
  3. cd base_directory/install
  4. 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.

  5. 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.

  6. 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

  1. Log in as the user who installed QNX SDP 6.6.
  2. On Windows hosts, run cmd.exe; on Linux hosts, start a command shell.
  3. 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.

  4. Use the applypatch utility to uninstall the patch:
    applypatch -U 4418
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值