I am using an NXP imx8 quadmax-mek evaluation kit. I can build the yocto image build and have the board booting.
I want to write some standalone code for the A53 that I can link to a specific address in memory so I can load it into RAM using U-boot and jump to it.
I am running a VM (virtualbox) on my Dell Laptop with ubuntu-188.04.
I downloaded the gcc-arm-2020.11-x86_64-aarch64-none-elf image from the Arm developers download page, and have it installed.
I am looking for a refrence on how to build and link an image. Is there a users guide that I am missing?
Hi Doug, not exactly what you are looking for, but see below tutorial for integrating gcc into our DS-5 (and now Arm Development Studio) environment. It does describe the main build options used.https://developer.arm.com/tools-and-software/embedded/legacy-tools/ds-5-development-studio/resources/tutorials/building-bare-metal-applications-in-ds-5-using-gcc-compilerIf you would like to evaluate Development Studio, which contains with the Arm Compiler, which is designed for bare-metal/RTOS code, you can get a free 30-day evaluation from here
Thanks for the response.
I am trying to use the compiler from the command line on ubuntu-18.04.
I am not interested in running form a studio environment.
I have the toolchain linked to my path and I can invoke the compiler but I'm looking for some documentation.
Is it just the main gcc documentation? I am thinking that this A-series toolchain has some specific to that?
I'm not aware of anything specific beyond the announcement and readme docs that are provided:
I've mainly leaned on other examples, or simply the --help output.
View all questions in Arm Compilers forum