![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
This chapter includes the following:
![]() |
If you've already installed an evaluation version of QNX Momentics 6.3.2, and you've purchased and received a commercial QNX License Certificate, please go to "Commercializing your evaluation software," below. |
Minimum | Recommended | |
---|---|---|
Processor | 2 GHz or more Intel Pentium 4 | 2 GHz or more Intel Pentium 4 |
RAM | 512 MB | 1 GB |
Disk space | 2.1 GB | 2.1 GB |
Monitor | 1024*768 | 1280*1024 |
The System Profiler in the IDE requires a minimum color depth of 16 bits.
We recommend you use the following BIOS settings:
QNX Momentics 6.3.2 includes everything you need to build for all supported platforms (ARM, MIPS, PowerPC, SH-4, and x86). This CD includes the runtime version of the QNX Neutrino RTOS, as well as development tools and the IDE.
![]() |
|
To install QNX Momentics 6.3.2, do the following:
The installer will also ask if you wish to install some GNU Public License programs, such as tar and sed. We recommend that you do so for development machines.
![]() |
If your EIDE doesn't support DMA, boot using .altboot; press Esc when prompted. |
If you have more than one partition on your disk, choose the one you installed QNX Neutrino in.
For more information about booting, see the Controlling How Neutrino Starts chapter of the QNX Neutrino User's Guide.
The QNX Momentics development suite and certain related products require activation. If you don't activate the product within the specified timeframe, the product will cease to function until you activate it. No personal data is transferred during the activation process.
If your development host is connected to the Internet, you can activate QNX Momentics automatically.
if your machine isn't connected to the Internet, you must activate your software manually from a machine that is, by doing the following:
The Manual Activation dialog appears with an activate-prompt key. This dialog has a button that you can use to save the activate-prompt key in a file, /etc/qnx/license/activate_prompt_key.txt. This can eliminate the need to retype the key, which can be error-prone.
/etc/qnx/bin/qnxactivate -a
If you choose not to activate at the time of installation, you can activate later by selecting
from the Launch menu, or by entering the following at a terminal prompt:/etc/qnx/bin/qnxactivate -a
If you installed an evaluation copy of QNX Momentics 6.3.2, and you've now received a commercial QNX License Certificate, do the following to add your commercial license:
/usr/sbin/finstall -l
We recommend that you install QNX Momentics on a machine that can boot from a CD-ROM. If your machine can't do this, you can create a bootable floppy.
The root directory of the QNX Momentics installation CD contains an image of a bootable floppy, named instflop.dat. To copy this file to a boot disk:
dd if=instflop.dat of=/dev/fd0
http://www.chrysocome.net/rawwrite
Download this utility and extract it to a folder.
To create a bootable floppy:
The Neutrino boot process can dynamically add block I/O (i.e. disk) drivers, letting you boot on systems with newer controllers. The mechanism is simple and not proprietary to QNX Software Systems, so third parties can offer enhanced block drivers without any intervention on our part.
The driver update consists of the drivers themselves (devb-* only) and a simple configuration file. The configuration file is in plain text (DOS or UNIX line endings accepted), with the following fields separated by vertical bars:
drvr_name|type|timeout|add_args
The first three fields are mandatory. The fields are as follows:
The configuration file must be called drivers.cfg, and you must supply the update on a physical medium, currently a CD-ROM or a USB flash drive. The boot process looks in the root of the filesystem first, and then in a directory called qnxdrvr. This can help reduce clutter in the root of the filesystem.
The source filesystem can be any of the supported filesystems. These filesystems are known to work:
If the update is distributed over the web in zip or tar format with the qnxdrvr structure preserved, an end user simply has to download the archive, unzip it to a USB drive, and insert the USB drive on booting.
You can apply a driver update by pressing Space during booting, and then selecting F2. The system then completes the startup of the standard block drivers, giving a source filesystem to apply the update from. You're then prompted to choose the filesystem and insert the update media.
![]() |
If you need to rescan the partitions (for example, to find a USB drive that you inserted after booting), press F12. |
Once the files have been copied, you're prompted to reinsert the QNX Momentics installation CD if applicable. The block drivers are then restarted.
This mechanism also lets you update existing drivers or simply modify their arguments (e.g. PCI ID specification).
If you're installing, then the installation program copies the updated drivers to /sbin and the configuration file to /boot/sys. It then makes copies of the standard build files in /boot/build (except multicore ones) and calls them qnxbase-drvrup.build and qnxbasedma-drvrup.build. These files are then used to create new image files called qnxbase-drvrup.ifs and qnxbasedma-drvrup.ifs in /boot/fs. The DMA version of this new file is copied to /.boot, and the non-DMA version is copied to /.altboot.
![]() |
The installation program doesn't rebuild multicore (SMP) images. |
If you're updating or adding drivers to an already existing QNX Neutrino system using this mechanism, you must manually copy the drivers to the correct directory, and you must modify the boot image to use the new driver:
drivers.cfg=/path/drivers.cfg
cp /.boot /.altboot
![]() |
You should uninstall QNX products in the reverse order in which you
installed them.
To determine this order, use a command like this:
ls -lt `find base_directory -name "*uninstall*.sh"` where base_directory is where you installed QNX Momentics. |
If you want to uninstall QNX Momentics completely, simply erase or delete the partition you installed it in.
To determine the base directory for QNX Momentics, open a command shell and use the qconfig command. For example:
$ qconfig QNX Installations Installation Name: QNX Momentics 6.3.2 Version: 6.3.2 Base Directory: /usr/qnx632/ QNX_HOST: /usr/qnx632/host/qnx6/x86/ QNX_TARGET: /usr/qnx632/target/qnx6/
The base directory in this example is /usr/qnx632/, but it could be different on your machine, depending on where you installed QNX Momentics.
![]() |
![]() |
![]() |