Skip to content
Alexander Saprykin edited this page Nov 10, 2023 · 8 revisions

Configurations

Version Compilers Status Tests
6.5.0 (x86) GCC 4.4.2 (x86) Compiled Passed

About

QNX Neutrino is a BlackBerry's real-time proprietary operating system. Version 6 (Neutrino) is claimed to be POSIX-compatible. You can download bootable ISO from the official download center. It has evaluation period or you can get free non-commercial license (requires registration at the QNX portal).

Installation

QNX Neutrino has GCC and a frontend called qcc. They can be installed from bootable ISO (not all bootable ISOs may contain compilers, check before downloading).

You can install binary packages from the NetBSD repository, read more about how to do it. Note that you should use bootstrap pkgsrc archive from the repository root directory directly, because posted on the wiki above differs in version from the repository itself, so it will refuse to install packages.

Note: Packages from NetBSD were moved to archive.

If you experience problems with certificates while using SSL-encrypted web protocols (i.e. https), you should install mozilla-rootcerts package and follow instructions on the screen after installation.

To enable SSH on QNX 6.5 you need to generate keys:

ssh-keygen -t rsa -f /etc/ssh/ssh_host_key -b 1024
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key

Then add a user and start SSH with /usr/sbin/ssh.

You may experience a problem running the binary tree test due to a GCC bug. Please refer to the Solaris page to get a point on how to overcome it.

QEMU

QNX for x86 can be easily run in QEMU: make sure to use older chipset profile like pc with i440FX and a single CPU core; for networking, e1000 card should work. See an example command below:

qemu-system-i386 -m 1024 -M pc \
  -drive media=cdrom,if=none \
  -drive file=qnx.qcow2 \
  -nic user,model=e1000,hostfwd=tcp::10022-:22
Clone this wiki locally