由于 SoC EDS 软件版本 16.0 及更高版本出现问题,u-boot-socfPGA 可能无法在以下情况下启动Arria® 10 SoC 设计:
- 外部FPGA配置选择在 BSP-Editor / u-boot-socfPGA 中
- HPS 没有外部内存接口 (EMIF) 连接
要解决 SoC EDS 软件版本 16.0 生成的 u-boot-socfPGA 启动加载器的这一问题,下载并应用 u-boot-socfpga_arria10_sdram.patch。
该补丁对 uboot-socfpga/arch/arm/cpu/armv7/socfpga_arria10/sdram.c 进行了更改,为外部内存接口的不存在添加了#define。
要应用补丁
- 将 .patch 文件复制到在 bsp-editor 生成的 BSP (软件//uboot-socfPGA) 上运行时创建的 uboot-socfPGA目录
- git 应用.patch
- 移到 bsp 目录 :cd .。
- 重建 u-boot:清洁;制造
- 将更新的 uboot_w_dtb-mkpimage.bin 写入您的 sdcard / QSPI