【SETUP】To debug the Neoverse N2 reference firmware
## Install FVP (Fixed virtual platform)
1. 下载FVP安装包
https://developer.arm.com/Tools%20and%20Software/Fixed%20Virtual%20Platforms/Arm%20Architecture%20FVPs
- Infrastructure FVPs Downloads
The Neoverse Infrastructure compute subsystems are targeted at cloud-to-edge infrastructure markets.
https://developer.arm.com/Tools%20and%20Software/Fixed%20Virtual%20Platforms/Infrastructure%20FVPs
2. 下载后解压
tar
3. 安装
$ ./FVP_RD_N2.sh --i-agree-to-the-contained-eula --no-interactive
4. 输出环境变量
$ export MODEL=/home/ubuntu/FVP_RD_N2/models/Linux64_GCC-9.3/FVP_RD_N2
or
$ echo "export MODEL=/home/ubuntu/FVP_RD_N2/models/Linux64_GCC-9.3/FVP_RD_N2" >> ~/.bashrc
$ source ~/.bashrc
4. check if it works
$ $MODEL --version
Fast Models [11.25.23 (Apr 10 2024)]
Copyright 2000-2024 ARM Limited.
All Rights Reserved.
Info: /OSCI/SystemC: Simulation stopped by user.
## Install ARM rd-infra
### 1. Install repo tools
google repo tool not avaliable in domestic, so should turn-to domestic mirror
针对这个问题,解决方案如下:
https://mirrors.tuna.tsinghua.edu.cn/help/git-repo/
1. 获取repo
$ cd ~
$ mkdir ./git-repo
$ cd ./git-repo
$ curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo > ~/git-repo/repo
$ sudo mv ./git-repo /opt/
$ sudo chmod a+x /opt/git-repo/repo
$ export PATH=${PATH}:~/bin
2. 修改repo文件
打开~/bin/repo文件并修改google地址
sudo vi /opt/git-repo/repo
From
REPO_URL = 'https://gerrit.googlesource.com/git-repo'
To
REPO_URL = 'https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/'
### 2. FVP getting started
https://developer.arm.com/documentation/100966/1128/Getting-Started-with-Fixed-Virtual-Platforms?lang=en
https://developer.arm.com/documentation/100966/1128/?lang=en
### 3. Ref to debug guide with FVP
https://learn.arm.com/learning-paths/servers-and-cloud-computing/refinfra-quick-start/test-with-fvp-3/
### About FVP
https://developer.arm.com/Tools%20and%20Software/Fixed%20Virtual%20Platforms#Downloads
posted on 2025-10-09 16:35 ENGINEER-F 阅读(15) 评论(0) 收藏 举报
浙公网安备 33010602011771号