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 Linuxhttp://tree.celinuxforum.org/CelfPubWiki/ELCEurope2008Presentations?action=AttachFile&do=get&target=ARM_EmbeddedLinux_Apps_Port.pdf

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.