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.
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.
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.