This repository provides a minimal setup for generating generic QNX IFS (Initial File System) images and running them in QEMU. It supports both x86_64 and aarch64le architectures.
- QNX Software Development Platform (SDP): Install QNX SDP 8.0 in your home directory (
~/qnx800). Download from QNX website. - QNX License: Ensure you have a valid QNX license installed at
~/.qnx/license/licenses. - QEMU: Install QEMU on your system. On Ubuntu/Debian:
sudo apt install qemu-system-x86 qemu-system-arm.
-
Check Environment:
./env-check.sh
This verifies QNX installation and license.
-
Build QNX Image:
./build.sh [x86_64|aarch64le|all]
x86_64: Build for x86_64 architecture (default)aarch64le: Build for aarch64le architectureall: Build for both architectures
-
Run in QEMU:
./qemu.sh [x86_64|aarch64le]x86_64: Run x86_64 image (default)aarch64le: Run aarch64le image
The QEMU instance will start with:
- 2GB RAM
- 2 CPU cores
- Network forwarding (SSH on port 8022)
- Serial console output
env-check.sh: Validates QNX installation and licensesource.sh: Sources the QNX development environmentbuild.sh: Builds QNX IFS images usingmkqnximageqemu.sh: Launches QEMU with the built image
Build artifacts are stored in architecture-specific directories:
x86_64/build/output/: x86_64 imagesaarch64le/build/output/: aarch64le images
I welcome contributions! Please see CONTRIBUTING.md for detailed guidelines on how to contribute to this project.
MIT License - see LICENSE file for details.