RISCV 生成报错-易灵思(Elitestek)社区-FPGA CPLD-ChipDebug

RISCV 生成报错

现象1:

[GENERATE_PICKLE-DONE] Pickle generation success!
[GENERATE_IP-DONE] Done Generate IP
[GENERATE-AFTER] Generated external script generator successfully
[GENERATE-AFTER] Generated external source source successfully
[GENERATE-AFTER] Generated external script script successfully
[GENERATE-AFTER] Generated external script embedded sw successfully
PermissionError: [WinError 5] 拒绝访问。: ‘C:\\Users\\admin\\AppData\\Local\\Temp\\tmpuo7pojt8\\embedded_sw\\sapphire_soc\\software\\freeRTOS\\ti60_ta640_yuv\\.git\\objects\\00\\070948d0039e8c4c91ef869396201c09b22516’
[IP-CONFIG-GENERATE-ERROR] Exception caught from GenerateIpRunnable..
Traceback (most recent call last):
File “C:\Efinity\2023.2\ipm\bin\gui\..\gui\api_wrapper.py”, line 483, in generate_ip
shutil.rmtree(embedded_dir_tmp)
File “C:\Efinity\2023.2\python311\Lib\shutil.py”, line 759, in rmtree
return _rmtree_unsafe(path, onerror)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Efinity\2023.2\python311\Lib\shutil.py”, line 617, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File “C:\Efinity\2023.2\python311\Lib\shutil.py”, line 617, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File “C:\Efinity\2023.2\python311\Lib\shutil.py”, line 617, in _rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
[Previous line repeated 5 more times]
File “C:\Efinity\2023.2\python311\Lib\shutil.py”, line 622, in _rmtree_unsafe
onerror(os.unlink, fullname, sys.exc_info())
File “C:\Efinity\2023.2\python311\Lib\shutil.py”, line 620, in _rmtree_unsafe
os.unlink(fullname)
PermissionError: [WinError 5] 拒绝访问。: ‘C:\\Users\\admin\\AppData\\Local\\Temp\\tmpuo7pojt8\\embedded_sw\\sapphire_soc\\software\\freeRTOS\\ti60_ta640_yuv\\.git\\objects\\00\\070948d0039e8c4c91ef869396201c09b22516’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Efinity\2023.2\ipm\bin\gui\..\gui\ip_config_window.py”, line 123, in run
gen_result = wrapper.generate_ip(
^^^^^^^^^^^^^^^^^^^^
File “C:\Efinity\2023.2\ipm\bi

说明:客户把把自己的工程创建在和demo相同的目录下面了。修改生成的路径

现象2:

[BUILDER_INVOKE_BUILD_COMMAND] stderr: Traceback (most recent call last): File “C:\Efinity\2023.2\ipm\ip/efx_soc/efx_soc/embedded_sw/sw_script.py”, line 677, in main() File “C:\Efinity\2023.2\ipm\ip/efx_soc/efx_soc/embedded_sw/sw_script.py”, line 121, in main shutil.copytree(Path(src_dir, f), dst=Path(loc, f), dirs_exist_ok=True) File “C:\Efinity\2023.2\python311\Lib\shutil.py”, line 561, in copytree return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “C:\Efinity\2023.2\python311\Lib\shutil.py”, line 515, in _copytree raise Error(errors) shutil.Error: [(‘C:\\Efinity\\2023.2\\ipm\\ip\\efx_soc\\efx_soc\\embedded_sw\\software\\freeRTOS\\freertosUartInterruptDemo\\src\\freertos_risc_v_chip_specific_extensions.h’, ‘C:\\Users\\86137\\Desktop\\file\\glink_t20f256_ip_test_240111SPIok\\glink_t20f256_ip_test_240111SPIok1\\glink_t20f256_ip_test_240111SPIok\\glink_t20f256_ip_test_soc\\embedded_sw\\my_soc\\software\\freeRTOS\\freertosUartInterruptDemo\\src\\freertos_risc_v_chip_specific_extensions.h’, “[Errno 2] No such file or directory: ‘C:\\\\Users\\\\86137\\\\Desktop\\\\file\\\\glink_t20f256_ip_test_240111SPIok\\\\glink_t20f256_ip_test_240111SPIok1\\\\glink_t20f256_ip_test_240111SPIok\\\\glink_t20f256_ip_test_soc\\\\embedded_sw\\\\my_soc\\\\software\\\\freeRTOS\\\\freertosUartInterruptDemo\\\\src\\\\freertos_risc_v_chip_specific_extensions.h'”)]
[BUILDER_INVOKE_BUILD_COMMAND-DONE] Build Command Execution: Failure
IPGenerateFilesetException: [GENERATE_IP-ERROR] Build script failed in build_command, Traceback (most recent call last): File “C:\Efinity\2023.2\ipm\ip/efx_soc/efx_soc/embedded_sw/sw_script.py”, line 677, in main() File “C:\Efinity\2023.2\ipm\ip/efx_soc/efx_soc/embedded_sw/sw_script.py”, line 121, in main shutil.copytree(Path(src_dir, f), dst=Path(loc, f), dirs_exist_ok=True) File “C:\Efinity\2023.2\python311\Lib\shutil.py”, line 561, in copytree return _copytree(entries=entries, src=src, dst=dst, symlinks=symlinks, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “C:\Efinity\2023.2\python311\Lib\shutil.py”, line 515, in _copytree raise Error(errors) shutil.Error: [(‘C:\\Efinity\\2023.2\\ipm\\ip\\efx_soc\\efx_soc\\embedded_sw\\software\\freeRTOS\\freertosUartInterruptDemo\\src\\freertos_risc_v_chip_specific_extensions.h’, ‘C:\\Users\\86137\\Desktop\\file\\glink_t20f256_ip_test_240111SPIok\\glink_t20f256_ip_test_240111SPIok1\\glink_t20f256_ip_test_240111SPIok\\glink_t20f256_ip_test_soc\\embedded_sw\\my_soc\\software\\freeRTOS\\freertosUartInterruptDemo\\src\\freertos_risc_v_chip_specific_extensions.h’, “[Errno 2] No such file or directory: ‘C:\\\\Users\\\\86137\\\\Desktop\\\\file\\\\glink_t20f256_ip_test_240111SPIok\\\\glink_t20f256_ip_test_240111SPIok1\\\\glink_t20f256_ip_test_240111SPIok\\\\glink_t20f256_ip_test_soc\\\\embedded_sw\\\\my_soc\\\\software\\\\freeRTOS\\\\freertosUartInterruptDemo\\\\src\\\\freertos_risc_v_chip_specific_extensions.h'”)]

 

工程的路径可能比较深。

 

请登录后发表评论

    没有回复内容