Supported Processors: Difference between revisions

From Linux/Xtensa
Jump to navigation Jump to search
(New page: == Xtensa Processor Architecture == right The Xtensa processor architecture is a configurable, extensible, and synthesizable 32-bit RISC processor core. SoC and process...)
 
(→‎Kernel Configuration: Clarify, add link to overlay install instructions)
Line 16: Line 16:
== Kernel Configuration ==
== Kernel Configuration ==


Because the kernel is much closer to the hardware and provides an abstraction for many architectural options, it needs to be configured and compiled for a particular platform and processor configuration. If user-defined instruction are used, it also requires development tools configured for the particular processor. The following list shows processors currently supported by the kernel.  
Because the kernel is much closer to the hardware and provides an abstraction for many architectural options, it needs to be configured and compiled for a particular platform and processor configuration. It also requires development tools configured for the particular processor. Note that a ''processor configuration'' is also often referred to as a ''core variant''.  The following list shows processors currently supported by the kernel.  




Line 22: Line 22:
|+ Supported processors in the Linux kernel
|+ Supported processors in the Linux kernel
|- style="background:#f8f8f8;"
|- style="background:#f8f8f8;"
! Name !! Byte order !! Base configuration !! Notes
! Name !! Byte order !! Notes
|-
|-
| 'FSF' || big endian || LinuxEB || Only for verification.
| Custom-configured Xtensa || little or big endian || Vendor specific, requires overlay
|-
|-
| Diamond 232L || little/big endian ||LinuxEB or LinuxEL ||
| Diamond 232L || little or big endian || Rev.A and Rev.B
|-
|-
| Stretch S5000 || little endian || LinuxEL ||
| 'FSF' || big endian || Only for verification
|-
|-
| Custom || vendor specific || vendor specific || vendor specific
| Stretch S5000 || little endian || For the S56xx platform
|}
|}




All configuration files are located inside the Xtensa include directory in the kernel sources (<code>include/asm-xtensa/variant-''config''</code>). The ''custom'' entry in the table is a placeholder for custom-defined configurations provided by processor vendors. Developers should copy the configuration files into the custom variant directory (<code>include/asm-xtensa/variant-custom</code>) and select the ''custom'' processor during kernel configuration.
All configuration files are located inside the Xtensa include directory in the kernel sources (<code>include/asm-xtensa/variant-''config''</code>). Adding support to the kernel
for a custom configured Xtensa processor generally involves copying the appropriate
configuration files into the appropriate variant directory.
See [[Buildroot_Build_Instructions#Install_any_required_processor_specific_overlay|Buildroot Overlay Installation]] for an automated method of installing these files.

Revision as of 20:14, 9 December 2008

Xtensa Processor Architecture

Chip.jpg

The Xtensa processor architecture is a configurable, extensible, and synthesizable 32-bit RISC processor core. SoC and processor designers can select from a variety of options, such as instruction-set extensions, memory, cache, and interrupt configurations. Moreover, Xtensa's extensibility also allows to create custom-defined instructions, registers, ports, and queues. In any case, the underlying base Xtensa instruction set is not compromised, thereby ensuring compatibility of third party application software and development tools.

Tensilica’s Diamond Standard Series processor family consists of a number of ready-to-use synthesizable cores and is based on the Xtensa processor architecture. The Diamond 232L processor contains an MMU and was designed to run Linux.

Processor Configurations

Xtensa processors can come in a variety of configurations as defined by processor vendors. Although the strength of the Xtensa architecture is certainly the ability to optimize a processor for a particular application, many generic applications usually don't benefit much from these extensions. User-defined instructions optimized for audio decoding, for example, will probably not improve the performance of a web server much. Developers can, therefore, choose to use development tools configured for a generic processor configuration that provides binary-compatibility across various Xtensa processors to compile generic applications. LinuxBE (big-endian) and LinuxLE (little-endian) are such configurations. Based on the linux template provided to processor designers, they define a subset of options required to run Linux. Applications compiled with development tools for this configuration should, therefore, work on all Xtensa processors running Linux.

Development Toolchain

Although the Xtensa architecture provides seemingly unlimited combinations of processor configurations, modifications to create optimized development tools and kernels are limited to a small set of configuration files in the respective sources. Once the configuration files have been copied into the sources, the development tools can be configured and built as usual.

Kernel Configuration

Because the kernel is much closer to the hardware and provides an abstraction for many architectural options, it needs to be configured and compiled for a particular platform and processor configuration. It also requires development tools configured for the particular processor. Note that a processor configuration is also often referred to as a core variant. The following list shows processors currently supported by the kernel.


Supported processors in the Linux kernel
Name Byte order Notes
Custom-configured Xtensa little or big endian Vendor specific, requires overlay
Diamond 232L little or big endian Rev.A and Rev.B
'FSF' big endian Only for verification
Stretch S5000 little endian For the S56xx platform


All configuration files are located inside the Xtensa include directory in the kernel sources (include/asm-xtensa/variant-config). Adding support to the kernel for a custom configured Xtensa processor generally involves copying the appropriate configuration files into the appropriate variant directory. See Buildroot Overlay Installation for an automated method of installing these files.