# iMX6 QNX

# iMX6 QNX ARM: Prerequisites

#### <a class="anchor" id="bkmrk-"></a>Hardware

CGI Studio has been tested on Freescale i.MX6Q Sabre Board for Smart Devices

#### <a class="anchor" id="bkmrk--0"></a>QNX Board Support Package (BSP)

QNX Neutrino for: BSP\_freescale-imx6q-sabresmart\_br-660\_be-660 SVN Revision Number: 773534 Build Number: 313

For documentation related to this BSP please refer to:

[http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/BSPAndDrivers ](http://community.qnx.com/sf/wiki/do/viewPage/projects.bsp/wiki/BSPAndDrivers)

#### <a class="anchor" id="bkmrk--1"></a>CMake

In order to generate makefiles for building Candera applications, the Meta build system CMake needs to be installed with at least version 3.5.2.

# Running the Player Demo Application on iMX6 QNX

#### <a class="anchor" id="bkmrk-"></a>iMX6 System Preparation

For documentation related to how to build the BSP and prepare the bootable SDCard, please refer to the BSP User Guide:

[http://community.qnx.com/sf/frs/do/viewRelease/projects.bsp/frs.freescale\_i\_mx6q\_sabre\_board\_for.sdp\_6\_6\_bsp\_user\_guide\_for\_sabre](http://community.qnx.com/sf/frs/do/viewRelease/projects.bsp/frs.freescale_i_mx6q_sabre_board_for.sdp_6_6_bsp_user_guide_for_sabre)

#### <a class="anchor" id="bkmrk--0"></a>Executing Target Player from the SD Card

The application and asset can be copied into the folder /usr/bin on the SD-Card with the target root file system, and executed like this:

```
Welcome to QNX Neutrino Initial Program Loader for Freescale i.MX6Q Sabre-Smart (ARM Cortex-A9 MPCore)
SDMMC download...
load image done.
Found image               @ 0x18000008
Jumping to startup        @ 0x10807364
ÿWelcome to QNX Neutrino 6.6.0 on the i.mx6 Smart-Device (ARM Cortex-A9 MPCore)
Starting watchdog...

Starting SD3 memory card driver...
Starting Ethernet driver
Starting screen
Running startup script...
# Mempool Map addr range[28100000-37f00000]
Mempool Map paddr range[3fd00000-4fb00000]
[Interrupt] Attached irqLine 41 with id 5.
[Interrupt] Attached irqLine 42 with id 6.
[Interrupt] Attached irqLine 43 with id 7.
Attached resmgr to /dev/galcore with id:1.

# cd /usr/bin
# CGIApplication_ARM_QNX_iMX6_Target_GCC iMX6_GettingStarted_3D_GLES20.bin 

Starting standard application ...
```

# Building Own Application for iMX6 QNX

#### <a class="anchor" id="bkmrk-"></a>Interfaces

The Feat-Standard public interface is covered by the namespaces FeatStd and various subnamespaces of namespace FeatStd. All namespaces containing either **Internal** or **Private** in the name cover private namespaces, which are not recommended to be used in any application, as it is not guaranteed that these interfaces remain stable respectively exist in any future release. Changes in any of these private namespaces can be applied without any (prior) notifications.

#### <a class="anchor" id="bkmrk--0"></a>Namespace FeatStd

<div class="contents" id="bkmrk-container-utilities"><div class="contents"><div class="textblock">- <span style="color: rgb(230, 126, 35);">[Container](http://dev.doc.cgistudio.at/APILINK/group___f_e_a_t_s_t_d___c_o_n_t_a_i_n_e_r.html)</span>
- <span style="color: rgb(230, 126, 35);">[Utilities](http://dev.doc.cgistudio.at/APILINK/group___f_e_a_t_s_t_d___u_t_i_l_s.html)</span>

</div></div></div>#### <a class="anchor" id="bkmrk--1"></a>Namespace FeatStd::Diagnostics

<div class="contents" id="bkmrk-diagnostics"><div class="contents"><div class="textblock">- <span style="color: rgb(230, 126, 35);">[Diagnostics](http://dev.doc.cgistudio.at/APILINK/group___f_e_a_t_s_t_d___d_i_a_g_n_o_s_t_i_c_s.html)</span>

</div></div></div>#### <a class="anchor" id="bkmrk--2"></a>Namespace FeatStd::MemoryManagement

<div class="contents" id="bkmrk-memory-management"><div class="contents"><div class="textblock">- <span style="color: rgb(230, 126, 35);">[Memory Management](http://dev.doc.cgistudio.at/APILINK/group___f_e_a_t_s_t_d___m_e_m_o_r_y_m_a_n_a_g_e_m_e_n_t.html)</span>

</div></div></div>#### <a class="anchor" id="bkmrk--3"></a>Namespace FeatStd::PerfMon

<div class="contents" id="bkmrk-monitorperformancere"><div class="contents"><div class="textblock">- MonitorPerformanceReporting

</div></div></div>#### <a class="anchor" id="bkmrk--4"></a>Namespace FeatStd::Platform

This interface defines the access to platform dependent objects. The implementation of this platform dependent code is not part of FeatStd, though there are a few reference platforms, like SimulationPlatform (implemented basically for Win32) or GenericPlatform (providing generic respectively stub implementations), which can used as templates for the customer.

This platform interface can be seen as an official porting interface of FeatStd to any customer specific platform setup, which is the reason for outlining it in the separate namespace FeatStd::Platform.

<div class="contents" id="bkmrk-platform"><div class="textblock">- <span style="color: rgb(230, 126, 35);">[Platform](http://dev.doc.cgistudio.at/APILINK/group___f_e_a_t_s_t_d___p_l_a_t_f_o_r_m.html)</span>

</div></div>