Now Available: Beta Release of MQX RTOS 4.1 for Linux Systems

Document created by Maclain Lobdell Employee on May 13, 2014Last modified by Maclain Lobdell Employee on May 14, 2014
Version 2Show Document
  • View in full screen mode


MQX RTOS developers can now build and debug MQX RTOS on Linux computers right out-of-the-box without extensive setup steps. 


Linux support is provided in a separate version of MQX 4.1.0, repackaged for use on Linux systems.  Kinetis & Vybrid BSPs from MQX 4.1.0 are supported.  The new package is in beta stage.  It includes the same basic code as the previous 4.1.0 version, with just the changes needed to build and debug on Linux systems.


Download Freescale MQX RTOS 4.1.0 for Linux Beta


Depending on the popularity of this release, Freescale may extend Linux support to future MQX RTOS mainline releases.  Stay tuned.


Give us your feedback!  Post to the MQX community.  Let us know what you think.


Development tools Supported:

  • DS-5 Vybrid Controller Edition 5.16.0  (Vybrid)
  • GNU Tools for ARM Embedded Processors version 4.7-2013-q3  (Kinetis & Vybrid)



Here are some brief instructions I put together when using with Ubuntu 12.04:


- Download and install gcc for arm (comes with gdb for debugging)

  See other post:  gcc compiling + gdb debugging on Kinetis on a Linux host - Kinetis L Examples available


- Download and extract the .tar.gz file to a location of your choice


   mac@mac-VirtualBox:/$  tar -zxvf Freescale_MQX_4_1_LINUX_beta.tar.gz


- Edit to tell it where your gcc toolchain is located.


   mac@mac-VirtualBox:/$ cd <directory where you extracted mqx>/Freescale_MQX_4_1_LINUX_beta/build/common/make/

   mac@mac-VirtualBox:/$ vi global.mak


   un-comment the section on gcc_arm and set the TOOLCHAIN_ROOTDIR.  For my toolchain gcc is installed to the path /usr/


   ifreq ($(TOOL),gcc_arm)

       TOOLCHAIN_ROOTDIR  =  /usr/



- See  MQX GNU Getting Started Guide for instructions on how to build and debug. 

   This document is located at /Freescale_MQX_4_1_LINUX_beta/doc/tools/gnu/



Good luck with your next project.  Happy developing!