GithubHelp home page GithubHelp logo

coremark for rasberrypi about coremark HOT 6 CLOSED

eembc avatar eembc commented on September 25, 2024
coremark for rasberrypi

from coremark.

Comments (6)

megha-an avatar megha-an commented on September 25, 2024 1

Its working now ,
Thank you

from coremark.

petertorelli avatar petertorelli commented on September 25, 2024

Which OS version uses aarch64v/8? (latest Buster10 is aarch7)

from coremark.

petertorelli avatar petertorelli commented on September 25, 2024

Any update on this issue, @megha-an ? Where can I download the OS you used?

from coremark.

megha-an avatar megha-an commented on September 25, 2024

Hi

I am using genpi64 os and you can download it in below link:

https://github.com/sakaki-/gentoo-on-rpi-64bit

from coremark.

tommythorn avatar tommythorn commented on September 25, 2024

Do you get the same issue under Ubuntu 18.04 LTS? (see https://www.google.com/amp/s/jamesachambers.com/raspberry-pi-ubuntu-server-18-04-2-installation-guide/%3famp)

from coremark.

petertorelli avatar petertorelli commented on September 25, 2024

@megha-an

You used the wrong PORT_DIR. Pointers are recast in the test, and the linux 32-bit version defines ee_ptr_int as a 32-bit type, then recasts as a pointer. This creates the segfault on 64-bit OSes, but also produces a warning which you overlooked (see below). Note I had to manually force make PORT_DIR=linux to recreate the error (had you not specified PORT_DIR, make would have deduced linux64).

E.g., if I force the make PORT_DIR=linux, I get this error:

demouser@pi64 ~/coremark $ ./coremark.exe 
ERROR! Please define ee_ptr_int to a type that holds a pointer!
Segmentation fault

Issuing make or make PORT_DIR=linux64 works fine:

demouser@pi64 ~/coremark $ cat run1.log 
2K performance run parameters for coremark.
CoreMark Size    : 666
Total ticks      : 13453
Total time (secs): 13.453000
Iterations/Sec   : 8176.614881
Iterations       : 110000
Compiler version : GCC9.2.0
Compiler flags   : -O2 -DPERFORMANCE_RUN=1  -lrt
Memory location  : Please put data memory location here
			(e.g. code in flash, data on heap etc)
seedcrc          : 0xe9f5
[0]crclist       : 0xe714
[0]crcmatrix     : 0x1fd7
[0]crcstate      : 0x8e3a
[0]crcfinal      : 0x33ff
Correct operation validated. See README.md for run and reporting rules.
CoreMark 1.0 : 8176.614881 / GCC9.2.0 -O2 -DPERFORMANCE_RUN=1  -lrt / Heap

from coremark.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.