Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

FreeRTOS for iMX6 Quad

Posted by ypivenix on November 4, 2014

I am interested in getting FreeRTOS working with the Freescale iMX6 processor (quad). How do I get started to get the kernel to build and run on this target. This is a arm a9 processor. It is likely that 3 cores will be running linux while the other core will be for FreeRTOS.

thanks,


FreeRTOS for iMX6 Quad

Posted by edwards3 on November 4, 2014

There are A9 demo projects for Xilinx, Altera and Renesas parts. You can use those to get started. There is also this page http://www.freertos.org/Using-FreeRTOS-on-Cortex-A-Embedded-Processors.html


FreeRTOS for iMX6 Quad

Posted by ypivenix on November 5, 2014

Can I use the FreeRTOSSourceportableGCCARM_CA9 port files for the imx6 CA9 assuming using GCC ?


FreeRTOS for iMX6 Quad

Posted by rtel on November 6, 2014

If you are using GCC, and the iMX6 chip you are using has a standard GIC (Generic Interrupt Controller from ARM) then that is the correct port layer to use. You already have a link to the generic "FreeRTOS on ARM Cortex-A" page in a post above. You will also find examples of how to set the constants referred to on that page in the Xilinx Zinq, Altera Cyclone 5 SoC and Renesas RZ demo projects - although tose projects may or may not be using the GCC compiler the stitching between the project files and the FreeRTOS Cortex-A port layer is the same whichever compiler is used.

Regards.


FreeRTOS for iMX6 Quad

Posted by ypivenix on November 6, 2014

Directly from that imx6 datasheet: The ARM Cortex A9 MPCore™ complex includes: • General Interrupt Controller (GIC) with 128 interrupt support

So it appears that I can use the existing port layer. Is there documentation on what specific function need to exist in port.c?

It seems that they are:

pxPortInitialiseStack xPortStartScheduler vPortEndScheduler prvSetupTimerInterrupt vPortEnterCritical vPortExitCritical

However, other ports have additional functions. I would have expected all the same functions name in every port.c. Is this incorrect ?

thanks,


FreeRTOS for iMX6 Quad

Posted by rtel on November 6, 2014

You don't need to edit anything in the port.c file - just build it. The prototypes for the portable layer functions called by the core kernel code are in portable.h - so the functions in that header file must be implemented, any other functions would be port specific.

Regards.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists