This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: TDA4VM: For running CPU2006 benchmark on EVM in Linux+RTOS mode

Part Number: TDA4VM

Hello, I'm David Na. 

I'm trying to execute SPEC CPU 2006 benchmark on EVM with Linux+RTOS mode

(SDK 7.1 full build)

However I have a problem with installing toolset. And I have a few other qeustions.

My questions are:

1. Could you please let me know how to install toolset? Unlike cpu2017, in 2006 there is no precompiled toolset for arm core architecture(aarch64) platforms
     in the default installation file(.iso). So I got linux-apm-arm64-118.tar from the SPEC site, unpacked it, copied it to CPU2006/tools/bin and use ./install.sh
     However, even though there are files and directories exist, I get an error saying there are no files and directories as follows. I attach the full error log file. 
     2364.error.txt
     Could you please let me know how to install toolset? Or could you provide pre-compiled toolset for the evm?

2. I did a full sdk build, but evm's /usr/bin doesn't have binary files for the fortran compiler. But some benchmarks are written in the fortran language.
    Could you please let me know how to install fortran compiler(ex. gfortran)?

Please help to solve my errors.  

Thank you for taking the time

Best regards.

David Na.

  • Hi David Na,

    We have used cross compiled SpecInt2K6 binaries on our EVM and used offline tool for parsing the results, never tried native compilation with Linux SDK.

    Can you please try cross compilation?

    Thanks & Regards,

    Sunita.

  • Hi Sunita,

    Thank you for your reply.

    Could you please let me know how you cross-compiled it?

    I would want to know about the environment or method.

    Best regards.

    David Na.

  • Hi David Na,

    We have cross compiled it using Linaro gcc, and with support from ARM.

    There is nothing specific to TI HW/SW for these industry standard benchmarks, the binaries are generic for any aarch-64 architecture.

    Can you please post the queries in ARM forum?

    Thanks & Regards,

    Sunita.

  • Hi Sunita,

    Thank you for your reply.

    I have one additional question before post the queries in ARM forum.

    1. Did you cross-compile not only SPECINT but also SPECFP when cross compiled?

    Because among the floating point benchmark(SPECFP), there are benchmarks written in the Fortran language.

    I built full SDK , but no compiler for fortran(ex.gfortran) installed on the evm.

    So I'm wondering if you cross-compiled SPECFP as well, and if so, how do you run it in evm without a compiler for fortran?

    Best regards.

    David Na.

  • Hi David Na,

    No, we haven't used SPECFP benchmark so far, we benchmarked only SPECINT2K6.

    But I assume even SPECFP needs to be cross compiled to be able to execute in the SDK.

    Thanks & Regards,

    Sunita.