wiki:GSoC/2015/RaspberryPi2Support

Version 2 (modified by Rohini Kulkarni, on May 28, 2015 at 7:40:41 PM) (diff)

--

Raspberry Pi 2 Support

Improvements to Raspberry Pi 2 board support package.

Mentors

Alan Cudmore, Jeff Mayes, Jennifer Averett

Student

Rohini Kulkarni

Introduction

The BSP improvements broadly focus on:

  • Implementing correct cache configurations
  • Enabling SMP environment

Getting Started

  • Raspberry Pi 2 board is required.
  • Compile the source for bsp=raspberrypi2
  • It helps to run the simple "hello world" first. Next try running the RTEMS Kernel Image(RKI) and then the benchmarks included there.

The RKI package can be obtained from here

Implementing correct cache configurations

Identified that caches were disabled, which is default state after reset.

  • Enable caches with CP15
  • Correct routines to setup mmu/cache
  • Implement cache coherency support
  • Test performance improvements with benchmarks(from the RKI package)

Enable and test SMP environment

  • Adding the necessary BSP hooks
  • Interprocessor interrupts to wake the other three cores
  • Initializations for the other three cores
  • Testing with smptests

References