Unable to make preloader in Windows 10
Description
This issue comes when using SOC EDS tool to generate the preloader. After creating the new HPS and BSP settings file, make command is giving a failure:
tar zxf /cygdrive/c/intelFPGA/18.0/embedded/host_tools/altera/preloader/uboot-socfpga.tar.gz
tar: Error opening archive: Failed to open '/cygdrive/c/intelFPGA/18.0/embedded/host_tools/altera/preloader/uboot-socfpga.tar.gz'
make: *** [uboot-socfpga/.untar] Error 1
该故障在使用SoC EDS生成preloader的时候出现。当创建了新的HPS和BSP设置文件,make命令会报如下失败:
tar zxf /cygdrive/c/intelFPGA/18.0/embedded/host_tools/altera/preloader/uboot-socfpga.tar.gz
tar: Error opening archive: Failed to open '/cygdrive/c/intelFPGA/18.0/embedded/host_tools/altera/preloader/uboot-socfpga.tar.gz'
make: *** [uboot-socfpga/.untar] Error 1
Workaround/Fix
维修方法:
In order to workaround this issue, two files need to be modifed before executing the make command.
为了维修该故障,在make命令之前需要修改两个文件。
1. C:\\embedded\ip\altera\preloader\src\Makefile.template
1、C:\\embedded\ip\altera\preloader\src\Makefile.template文件
Change the current file with the attached one in this link (make sure to unzip file before you copy)
使用本帖子附件中的文件中的对应文件替换该“Makefile.template”文件 Makefile.zip(2.36 KB, 下载次数: 245)
2019-1-29 11:24 上传
点击文件名下载附件
2. C:\\embedded\host_tools\cygwin\etc\fstabin
in fstab file:comment this line:
在fstab文件中,注释掉如下行内容
#non /cygdrive cygdrive binary,posix=0,user 0 0
and add this line instead:
并添加如下行内容以作为替换:
none /cygdrive cygdrive binary,posix=0,user,noacl 0 0
This issue is scheduled to be fixed in future release of Intel® Quartus Prime software.
该故障会在未来的新版本软件中修复。