QEMU Installation

Table of Contents

About

The VxWorks Real-Time Operating System (RTOS) image can be booted on the targeted hardware or via virtualization platforms like QEMU.

To boot the VxWorks RTOS image via QEMU, certain components must be included when configuring the VxWorks Source Build (VSB) and VxWorks Image Project (VIP). Each VxWorks RTOS image may have different requirements to properly boot using QEMU. For more information, see the official QEMU Documentation.

To make the emulation process simpler for the Application Developer, the generated SDK includes a QEMU tool which will emulate a VxWorks image with a matching architecture defined by the VSB/VIP.

Once VxWorks has booted, the Wind River Debug shell (wrdbg) can be used to interact with the running QEMU instance.

Setup Procedure

Linux

  1. Clone and build QEMU version 4.1.0:
wget https://download.qemu.org/qemu-4.1.0.tar.xz
tar xvJf qemu-4.1.0.tar.xz
cd qemu-4.1.0
sudo apt-get install libgtk-3-dev
./configure --target-list=x86_64-softmmu,arm-softmmu,aarch64-softmmu,ppc-softmmu,riscv32-softmmu,riscv64-softmmu --enable-gtk
make

Windows

  1. Download and install QEMU version 4.1.0.

Copyright (C) 08 04 2020 Wind River Systems, Inc.