1. 请先确保安装了Quartus Pro 25.1。(我的测试环境是Ubuntu 24.04.5)
2. 将/home/doreen/DE25_Nano_A5_sdmmc/u-boot-socfpga/spl/u-boot-spl-dtb.hex拷贝到DE25_Nano_SoC_FB/software/u-boot/spl路径下:

3. 执行如下命令生成golden_top_hps.sof文件:
/home/doreen/altera_pro/25.1.1/quartus/bin/quartus_pfg -c output_files/golden_top.sof output_files/golden_top_hps.sof -o hps_path=software/u-boot/spl/u-boot-spl-dtb.hex

4. 执行如下命令生成golden_top_hps.jic文件:
/home/doreen/altera_pro/25.1.1/quartus/bin/quartus_pfg -c output_files/golden_top_hps.sof output_files/golden_top_hps.jic -o device=MT25QU128 -o flash_loader=A5EB013BB23B -o mode=ASX4

将golden_top_hps.jic文件下载到DE25-Nano的QSPI flash当中:
/home/doreen/altera_pro/25.1.1/quartus/bin/quartus_pgm -m jtag -c 1 -o "pvi;output_files/golden_top_hps.jic"

如果遇到如下问题:

请参考UBUNTU系统下USB Blaster III 驱动安装 。
如果遇到如下问题:

无
浙公网安备 33010602011771号