在STM32MP157 DK1上跑了个Coremark. 把过程分享下.
我的开发机是Ubuntu 18.04
第一步,下载Coremark代码.
ubuntu@VM-0-6-ubuntu:~/c_prj/$git clone https://github.com/eembc/coremark.git
Cloning into 'coremark'...
remote: Enumerating objects: 15, done.
remote: Counting objects: 100% (15/15), done.
remote: Compressing objects: 100% (13/13), done.
Receiving objects: 100% (219/219), 440.44 KiB | 4.00 KiB/s, done.
remote: Total 219 (delta 3), reused 10 (delta 2), pack-reused 204
Resolving deltas: 100% (130/130), done.
第二步, 建立STM32MP157的移植文件夹:
ubuntu@VM-0-6-ubuntu:~/c_prj/$cd coremark
ubuntu@VM-0-6-ubuntu:~/c_prj/coremark$ mkdir stm32mp157
ubuntu@VM-0-6-ubuntu:~/c_prj/coremark$ cd stm32mp157/
ubuntu@VM-0-6-ubuntu:~/c_prj/coremark/stm32mp157$ cp ../linux/* .
ubuntu@VM-0-6-ubuntu:~/c_prj/coremark/stm32mp157$ ls
core_portme.c core_portme.h core_portme.mak
|