Difference between revisions of "DaCapo benchmarks"

From gem5
Jump to: navigation, search
m
m
Line 1: Line 1:
This page describes how to get the Oracle-Sun JRE working on a disk image for use with gem5. This will allow you to use the DaCapo benchmarks, which are on the [http://www.m5sim.org/dist/current/arm/arm-system-2011-08.tgz Ubuntu image for gem5 ARM].
+
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 [http://www.gem5.org/dist/current/arm/arm-system-2011-08.tgz Ubuntu image for gem5 ARM].
 +
 
 +
* Get the [http://www.gem5.org/dist/current/arm/arm-system-2011-08.tgz ARM full-system files] and untar them.
 +
* Get the headless version of the JRE for ARMv6/7 from [http://www.oracle.com/technetwork/java/embedded/downloads/javase/index.html Oracle]. Once you have this, untar it.
 +
* Create a mount point and mount the Ubuntu image:
 +
** <code>sudo mkdir /mnt/ubuntu-gem5</code>
 +
** <code>sudo mount -o loop,offset=32256 arm-ubuntu-natty-headless.img /mnt/ubuntu-gem5</code>
 +
* Make the Java install directory and copy the Java directory over:
 +
** <code>cd /mnt/ubuntu-gem5/usr/lib</code>
 +
** <code>sudo mkdir jvm</code>
 +
** <code>sudo cp -a /path_to_jre/jre_folder /mnt/ubuntu-gem5/usr/lib/jvm</code>

Revision as of 00:16, 3 July 2012

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