FreeRTOS-Kernel icon indicating copy to clipboard operation
FreeRTOS-Kernel copied to clipboard

[Feature Request] <Support Cortex-A35>

Open cyliangtw opened this issue 4 years ago • 6 comments

Is your feature request related to a problem? Please describe. So far, the support Cortex-A CPU cores are A9 and A53. I can't find CPU core Cortex-A35 64-bit in the list.

Describe the solution you'd like I am eager to see Cortex-A35 64-bit in GCC CPU list or RVDS CPU list ,then I could apply FreeRTOS on our Cortex-A35 platform.

Describe alternatives you've considered None

Additional context None

cyliangtw avatar Apr 23 '21 07:04 cyliangtw

What are the major differences between the A35 and A55 (64-bit)?

RichardBarry avatar May 21 '21 03:05 RichardBarry

This web page arm-cortex-a35-in-comparison comparing the Cortex-A35 and Cortex-A53. In RTOS porting layer, it's relative to ARM CPU instructions, for example Cortex-M3 is different from Cortex-M4 in APSR, xPSR, SCB at least.

cyliangtw avatar May 21 '21 06:05 cyliangtw

I don't think, there is lot of difference between Cortex-A35 and Cortex-A53 when it comes to CPU instructions, Cortex-A35 is Armv8-A 64-bit processor which is what Cortex-A53 based on. So, I believe any code that runs on Cortex-A53 should work on Cortex-A35. It just you need to figure out what the Memory Map your SBC has , and enable the Devices (GIC and UART to start with).

I would like to try this out but unfortunately doesn't have an SBC with Cortex-A35.

Atomar25 avatar May 25 '21 17:05 Atomar25

@Atomar25 , Thanks of your comment, according to my experience in Cortex-M23, both of Cortex-M23 and Cortex-M33 are Armv8M, the CPU instructions are similar but still need to divide as ARM_CM23 and ARM_CM33 at portable/GCC

If just verify CPU core only, keil Simulator is a good choice. In Keil IDE project options, press "Debug" and check radio button of "Use Simulator".

cyliangtw avatar Jun 04 '21 09:06 cyliangtw