Linux for LEON

Status:

Production

Linux kernel. All host tools and Linux software are provided in full source.

Overview

Linux support for LEON3/4/5 is available in the LEON Linux 5.10 and 4.9 kernels distributed here and in the official Linux kernel from kernel.org. The LEON Linux kernel releases are based on long term stable (LTS) versions of the mainline Linux kernel. The LEON kernel supports SPARC V8 systems with floating point (FPU) and memory management unit (MMU) in both single-core and symmetric multi-processing (SMP) configurations. The LEON Linux Overview document describes the LEON Linux software environment and requirements. Host tools and Linux software are provided in full source.  Documentation, toolchain and software can be downloaded from our Linux download page.

Gaisler Buildroot

We provide Gaisler Buildroot distributions, aimed for both LEON and NOEL, based on LTS versions of the open-source Buildroot tool. Buildroot  can be used as a frontend for building both the Linux kernel and a root file system with user space software. It automatically downloads needed tools and software packages. Learn more on the dedicate page.

MKLINUXIMG

We provide an open-source RAM loader for the SPARC Linux kernel. The SPARC kernel requires low-level support in order to successfully run Linux. It is responsible to implement low-level initialization during boot and functionality requested by the kernel during run-time. The tool links a Linux image to a specific location in RAM and integrates a loader that is configured according to the user's command line options. See the MKLINUXIMG User's Manual for more information.

The generated Linux image can be loaded to RAM by a boot loader or by GRMON or TSIM acting as a boot loader. Our flight boot loaders as well as MKPROM can be used to boot Linux.

Sample single-core and multi-core images supporting standard systems such as GR712RC-BOARD and GR-CPCI-GR740 are available from the download page.

LEON Linux vs. kernel.org kernels

The current official Linux sources available at kernel.org has support for LEON3, LEON4 and LEON5. We actively develop the Linux kernel's LEON support, submitting patches to the official kernel. All work such as new drivers and mainline LEON patches are available in the long term stable LEON Linux kernel distribution.

Our LEON Linux kernel distributions are based on LTS kernel versions from kernel.org. The current LEON Linux kernel distributions in the 5.10-1.x series and 4.9-2.x series supports errata workarounds for UT700 when used together with our corresponding prebuilt LEON Linux toolchains.

Architecture

arrow down icon

Key Tech Spec

arrow down icon

Target technology support

arrow down icon

Evaluation boards

arrow down icon

Ordering information

arrow down icon

Development Kit

arrow down icon

Licensing

arrow down icon

Software

arrow down icon

Tools

arrow down icon

Block diagram

arrow down icon

Supported Hardware

arrow down icon

Configuration

arrow down icon

Reference Design

arrow down icon

Other resources

arrow down icon

Detailed features

arrow down icon

The LEON Linux kernel has software support for a wide range of commercial interfaces available in the GRLIB IP Library. Most device drivers are available in the mainline sources and adheres to Linux's standard framework for respective interface. It ensures good platform independent software support in existing userspace applications and through APIs for writing custom applications. Below is a summary of LEON specific device drivers:

  •    LEON3, LEON4, and LEON5, all supported both for single core and SMP.
  •    MMU, V8, FPU
  •    GPTIMER System Clock Timer
  •    IRQMP or IRQAMP interrupt controller
  •    APBUART system console
  •    GRETH 10/100 and 10/100/1000 Network driver using the MDIO layer
  •    GRPCI or GRPCI2 PCI Host support
  •    GRUSBHC USB 1.1/2.0 Host controller
  •    GRUSBDC USB 1.1/2.0 Device controller
  •    GRVGA Graphical Frame Buffer
  •    GRPS2 mouse/keyboard PS/2 controller
  •    GRCAN and OCCAN implements the Linux socket CAN 2.0b interface
  •    GRGPIO supports the generic General Purpose I/O model of Linux
  •    SPICTRL supports SPI master interface through the spi-fsl driver
  •    I2CMST support I2C master interface through the i2c-ocores driver
  •    SPIMCTRL SPI master support

Additionally there is a GRLIB driver package available from the download page that contains the following support:

  •    GRSPW SpaceWire driver kernel library
  •    GRSPW SpaceWire driver zero-copy user-space interface
  •    GRSPWROUTER APB driver
  •    MAPLIB linear physical memory library for zero-copy GRLIB device drivers

Downloads

Please refer to the Linux downloads page

File

Category

Revision

Date

Access

LEON Linux Overview

Data sheet and user's manual

2.3

2024-10-15

Free download

Password/
Contact us

Sample Linux images for LEON and NOEL

Software package

See directory

2024-10-15

Free download

Password/
Contact us

LEON Linux User's Manual

Data sheet and user's manual

5.10-1.8

2024-10-15

Free download

Password/
Contact us

LEON Linux 5.10 release

Software package

5.10-1.8

2024-10-15

Free download

Password/
Contact us

MKLINUXIMG User's Manual

Data sheet and user's manual

2.0.18

2024-10-15

Free download

Password/
Contact us

LEON Linux 4.9 release

Software package

4.9-2.2

2022-07-07

Free download

Password/
Contact us

GRLIB Driver Package Manual

Data sheet and user's manual

1.2.1

2024-10-15

Free download

Password/
Contact us

GRLIB Linux Driver Package

Software package

1.2.1

2024-06-06

Free download

Password/
Contact us

MKLINUXIMG

Software package

2.0.18

2024-10-15

Free download

Password/
Contact us

GNU toolchains directory for LEON and NOEL

Software package

See directory

2024-10-31

Free download

Password/
Contact us

Frequently asked questions

No items found.