wiki:Projects/Open/SimulatorUpdates

Simulator Updates

Mentors:

Past, Present, and Potential Mentors

Students:

Past, Present, and Potential Students

Status:

Current status of project.

Introduction:

This is a new idea for a project and has not been described beyond what is here. Ask on the rtems-devel mailing list for more advice. The RTEMS Project relies heavily on multiple FOSS simulators including qemu and skyeye. We have multiple BSPs which are tested on simulators. Each BSP will need to be tested against the current release and development version of each simulator. If there is a problem, then the issue will have to be identified (possibly using something like git bisect) and the student will have to fix it in the simulator. As an example of this, we believe some ARM BSPs which worked on older versions of Skyeye no longer work on the current version. In some cases, the RTEMS Project is carrying unmerged patches for a simulator (at least qemu m68k and arm) which need to be updated to their development head and submitted. You will try to get the simulator developers to include RTEMS hello world and ticker executables for BSPs their simulator supports in their simulator tests to avoid future breakage. And you will ensure that the scripts in rtems-testing/sim-scripts are working for the latest version of the simulator. We would also like instructions on running the leon BSPs on qemu. Please ask questions. This is a broad project.

The RTEMS Project relies heavily on multiple FOSS simulators including qemu and skyeye. We have multiple BSPs which are tested on simulators, but not on the latest versions of the simulator. For example: believe some ARM BSPs which worked on older versions of Skyeye no longer work on the current version. In some cases, the RTEMS Project is carrying unmerged patches for a simulator (at least qemu m68k and arm) which need to be updated to their development head and submitted.

Goal:

Each BSP will need to be tested against the current release and development version of each simulator.

Project Deliverables (code, docs, testing)

# If there is a problem, then the issue will have to be identified (possibly using something like git bisect) and the student will have to fix it in the simulator.

# You will try to get the simulator developers to include RTEMS hello world and ticker executables for BSPs their simulator supports in their simulator tests to avoid future breakage.

# We would also like instructions on running the leon BSPs on qemu and/or skyeye

# spec files for qemu and/or skyeye for the RTEMS Source Builder

Required/Suggested? Methodology

# Look through past years Google Summer of Code downloads for the outdated patches # Research how to use the simulator with RTEMS # Try to get the old version of the simulator working to understand what's going on # For the Leon tutorial, research RTEMS qemu tutorials, and try to find a grub image for the LEON

Standards of quality

# Ticker.exe and Hello.exe work in the patched simulator # The upstreamed patches were submitted to the upstream maintainer # Copying the lines of code in the tutorial resulted in a working Ticker.exe in Qemu-Leon and/or Skyeye-Leon

Possible Goal Extensions Beyond the Main Objective

# Add gcc-testing support # Add the simulator to the rtems-source-builder # Try additional targets/simulators # Port a new BSP to RTEMS that runs on the simulator

Skill Level of the Coder:

# Shell script: moderate # C: moderate # Patching: moderate # Documentation: moderate

Resources:

Current RTEMS developers, papers, etc that may help you in this project.

Acknowledgements

Xi Yang: did RTEMS BSP, Automatic Testing Framework And Nano-X For Skyeye PXA255 Target as part of Google Summer of Code 2009 Gedare Bloom: consolidated the simulator updates into one open project

Miscellaneous Sections

As the project progresses, you will need to add build instructions, etc and this page will evolve from a project description into a HOWTO.

References

# http://rtems.org/wiki/index.php/Emulator : current state of simulators # http://code.google.com/p/google-summer-of-code-2009-rtems/downloads/list : old Sky-eye patches # http://sourceforge.net/apps/trac/skyeye/wiki/RTEMS : using RTEMS on Sky Eye= LEON Specific References =

# http://wiki.debian.org/qemubuilder : has a link to an openbios for SPARC # ftp://ftp.gaisler.com/gaisler.com/u-boot/README : bootloader instructions for the LEON3 # https://github.com/shmele/leon3/tree/master/leon3-buildroot-2011.02 : possible resource for bootloader # http://code.google.com/p/embox/wiki/SimulationQemuSparc : simulating the LEON3 with Qemu # https://devel.rtems.org/wiki/Developer/Simulators/Qemu/Preparation : Template for writing the Leon tutorial

Other sections: If you have more to say about the project that doesn't fit in the proposed sections of this template, feel free to add other sections at will.

Last modified on Mar 10, 2015 at 7:40:27 PM Last modified on Mar 10, 2015, 7:40:27 PM