DaCapo benchmarks

From gem5
Revision as of 19:16, 2 July 2012 by Atgutier (talk | contribs)
Jump to: navigation, search

This page describes how to get the Oracle-Sun JRE version 7 working on a disk image for use with ARM gem5. This will allow you to use the DaCapo benchmarks, which are on the Ubuntu image for gem5 ARM.

  • Get the ARM full-system files and untar them.
  • Get the headless version of the JRE for ARMv6/7 from Oracle. Once you have this, untar it.
  • Create a mount point and mount the Ubuntu image:
    • sudo mkdir /mnt/ubuntu-gem5
    • sudo mount -o loop,offset=32256 arm-ubuntu-natty-headless.img /mnt/ubuntu-gem5
  • Make the Java install directory and copy the Java directory over:
    • cd /mnt/ubuntu-gem5/usr/lib
    • sudo mkdir jvm
    • sudo cp -a /path_to_jre/jre_folder /mnt/ubuntu-gem5/usr/lib/jvm