EEMBC & CoreMark Blog

July 30, 2009

Running Coremark

Filed under: Coremark — shay@eembc.org @ 09:34

For those who don’t like reading the readme

Running on a Linux platform with a native toolchain:

Open up linux/core_portme.h (or linux64/core_portme.h on a 64b platform), and check all predefined macros (for example endianness) for your platform.

Make Results are in run1.log and run2.log.

For a cross hosted toolchain, edit the file linux/core_portme.mak. You need to define how to load the binary to the target and how to run it. If the target supports ssh, just un-comment the LOAD and RUN sample using ssh.

What if there is no OS running on the board?

1. Create a new folder.

2. Copy the barebones content to the new folder.

3. Edit the 3 files in the new folder, adding functionality for timing and output, and setting toolchain options.

* You may want to use basic sample code for UART (or debugger output) and timer for your board. Sample code is usually available with your embedded toolchain or kit.

> make

No Comments »

No comments yet.

RSS feed for comments on this post.

Leave a comment

Powered by WordPress