Hello,
I would be interested to try the new features of the ARMv8-M architecture, in particular v8-M TrustZone, but I can't find necessary tools in order to do so.
1. I need a toolchain that supports the new instructions introduced with v8-M (SG, BXNS, ...).
Apparently the ARM GNU toolchain has some support of the new v8-M, does it support the TrustZone-related instructions?
There is the ARM Compiler 6, I tried to use it but it requires a (paying?) license to run.
2. I need a device to run on. As far as I know there is no v8-M based SoC on the market yet so the only solution is to use a virtual platform.
Do you know if there is any qemu branch that has v8-M support yet?
I suppose ARM's FastModels based solutions support it but I couldn't find any non-paying solution. The "AEM V8-M FVP" also requires a license.
Thanks in advance for your answers
Hiya,
The Q3 release of the gnu tools adds alpha quality support for the security extensions. I'm pretty sure if you just need to generate the new instructions in the assembler (SG etc.) this was available in the base v8-M support - what they've added is the C-level security inter working which is the cool bit.
ACLE Extensions for ARMv8‑M Version 1.0 | The ARM C Language Extensions (ACLE) for ARMv8‑M – ARM Developer
ARM compiler 6 does require a paid licence to access the ARMv8-M features.
I don't think there is v8-M support in QEMU yet but I would not quote me on that. We definitely have support in FastModels but you are correct that the v8-M FVP requires a licence. Access to the FVP is included in the professional licenced version of Keil MDK.
Compare MDK Editions
Pete.
OK thanks for your answer.
The gnu toolchain without ACLE is ok to start, I'll juste need some inline assembly and a linker script.
But nowhere to run the binary yet ^^