Services - tools - models - for embedded software development
Embecosm divider strip
  Next

The OpenCores OpenRISC 1000 Simulator and Tool Chain

Installation Guide

Jeremy Bennett

Embecosm

Application Note 2. Issue 3

November 2008


Table of Contents

1. Introduction
1.1. About Embecosm
2. About OpenRISC 1000
2.1. Obtaining the OpenRISC 1000 Tool Chain
2.2. Components of the OpenRISC 1000 Tool Chain
2.3. Locations of Source and Patches
3. Building the Components
3.1. GNU binutils Version 2.16.1
3.1.1. Generating the binutils Source Code
3.1.2. Configuring binutils
3.1.3. Building and Installing binutils
3.1.4. Setting up binutils
3.2. GNU C Compiler Version 3.4.4 (Initial Version)
3.2.1. Generating the GCC Source Code
3.2.2. Configuring GCC
3.2.3. Building and Installing GCC
3.3. GNU Debugger Version 6.8
3.3.1. Generating the GDB Source Code
3.3.2. Configuring GDB
3.3.3. Building and Installing GDB
3.4. Linux Kernel Version 2.6.23
3.4.1. Generating the Linux Source Code
3.4.2. Configuring Linux
3.4.3. Building Linux for the OpenRISC 1200
3.5. uClibc Version 0.9.28.3
3.5.1. Generating the uClibc Source
3.5.2. Configuring uClibc
3.5.3. Building and installing uClibc
3.6. GNU C Compiler Version 3.4.4 (Linux and uClibc aware)
3.6.1. Reconfiguring GCC
3.6.2. Rebuilding GCC
3.7. The Or1ksim Simulator
3.7.1. Generating the Or1ksim Source
3.7.2. Configuring Or1ksim
3.7.3. Building and installing Or1ksim
3.7.4. Setting up Or1ksim
4. Getting it All to Work!
4.1. Running the Or1ksim Test Suite
4.1.1. Configuring the Or1ksim Test Suite
4.1.2. Running the Or1ksim Test Suite
4.2. Linux with Or1ksim
4.2.1. Configuring Or1ksim for use with Linux
4.2.2. Running Linux on Or1ksim
5. Debugging Strategies
5.1. Debugging using OpenRISC GDB via RSP and Or1ksim
5.2. Debugging Linux
Bibliography
Index
Embecosm divider strip