Porting and Optimizing ARM for ARM Embedded Linux
December 27, 2009
Issues when porting or developing an application for ARM Embedded Linux
”Get as much better performance, with the smallest memory footprint”
Similar to any platform for the code to be portable it should
- Program according to standards
- Use intrinsics
and should not
- Use inline, embedded assembly
- Use Toolchain specific things.
Other interesting reads :
www.scratchbox.org : Scratchbox is a cross-compilation (OpenSource, under GPL) toolkit designed to make embedded Linux application development easier.
Example Compilation
GCC Command line
gcc -mcpu=Cortex-A8 -mfloat-abi=softfp -O3 …
RVCT Command line
armcc -cpu=Cortex-A8 -vfp=softvfp+vfpv3 -O3 -Otime …
The ABI for the ARM Architecture is a standard developed by ARM and its partners that explains how compilers, assemblers, linkers, and other similar tools should generate object files and executable files. The “ARM EABI” is an informal name for the ABI for the ARM Architecture.
Portability and Optimizations of GNU Applications for ARM Embedded Linux – http://tree.celinuxforum.org/CelfPubWiki/ELCEurope2008Presentations?action=AttachFile&do=get&target=ARM_EmbeddedLinux_Apps_Port.pdf
Like this:
Tagged: arm, arm embedded linux optimization porting unix, embedded, embedded linux, linux, optimization, porting, unix