修改时间 11-19-2020 11:34 AM
RFSOC根据wiki加载PL:https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841847/Solution+ZynqMP+PL+Programming#x-Programming%20the%20PL%20through%20Linux
但第一步的配置就对不上,找不到 Xilinx Zynq UltraScale+ MPSoC FPGA 选项。(尝试过2018.2和2020.1都没有)。
Select: Device Drivers → FPGA Configuration Framework → Xilinx Zynq UltraScale+ MPSoC FPGA
修改时间 11-19-2020 03:30 PM
wiki页面下面有一个petalinux flow内容。
首先要在petalinux-config中打开fpga manager,这个你打开了吗?
修改时间 11-19-2020 07:31 PM
1、先配置内核(除了Device Drivers → FPGA Configuration Framework → Xilinx Zynq UltraScale+ MPSoC FPGA),再打开fpga manager,编译错误如下
ERROR: linux-xlnx-5.4+gitAUTOINC+22b71b4162-r0 do_compile_kernelmodules: oe_runmake failed
ERROR: linux-xlnx-5.4+gitAUTOINC+22b71b4162-r0 do_compile_kernelmodules: Execution of '/opt/xilinx/p201/zynqMP_prj/build/tmp/work/zynqmp_generic-xilinx-linux/linux-xlnx/5.4+gitAUTOINC+22b71b4162-r0/temp/run.do_compile_kernelmodules.76793' failed with exit code 1:
make: Entering directory '/opt/xilinx/p201/zynqMP_prj/build/tmp/work/zynqmp_generic-xilinx-linux/linux-xlnx/5.4+gitAUTOINC+22b71b4162-r0/linux-zynqmp_generic-standard-build'
***
*** The source tree is not clean, please run 'make mrproper'
*** in /opt/xilinx/p201/zynqMP_prj/build/tmp/work-shared/zynqmp-generic/kernel-source
***
make[2]: *** [/opt/xilinx/p201/zynqMP_prj/build/tmp/work-shared/zynqmp-generic/kernel-source/Makefile:512: outputmakefile] Error 1
make[1]: *** [/opt/xilinx/p201/zynqMP_prj/build/tmp/work-shared/zynqmp-generic/kernel-source/Makefile:678: include/config/auto.conf.cmd] Error 2
make: *** [/opt/xilinx/p201/zynqMP_prj/build/tmp/work-shared/zynqmp-generic/kernel-source/Makefile:179: sub-make] Error 2
make: Leaving directory '/opt/xilinx/p201/zynqMP_prj/build/tmp/work/zynqmp_generic-xilinx-linux/linux-xlnx/5.4+gitAUTOINC+22b71b4162-r0/linux-zynqmp_generic-standard-build'
WARNING: /opt/xilinx/p201/zynqMP_prj/build/tmp/work/zynqmp_generic-xilinx-linux/linux-xlnx/5.4+gitAUTOINC+22b71b4162-r0/temp/run.do_compile_kernelmodules.76793:1 exit 1 from 'exit 1'
2:执行make mrproper后,再打开fpga manager,编译错误如下
ERROR: fpga-manager-util-xilinx+gitAUTOINC+bc84458333-r0 do_install: Execution of '/opt/xilinx/p201/zynqMP_prj/build/tmp/work/zynqmp_generic-xilinx-linux/fpga-manager-util/xilinx+gitAUTOINC+bc84458333-r0/temp/run.do_install.54385' failed with exit code 1:
install: cannot stat 'led_test_21dr.dtbo': No such file or directory
WARNING: /opt/xilinx/p201/zynqMP_prj/build/tmp/work/zynqmp_generic-xilinx-linux/fpga-manager-util/xilinx+gitAUTOINC+bc84458333-r0/temp/run.do_install.54385:1 exit 1 from 'install -Dm 0644 ${hdf}.dtbo /opt/xilinx/p201/zynqMP_prj/build/tmp/work/zynqmp_generic-xilinx-linux/fpga-manager-util/xilinx+gitAUTOINC+bc84458333-r0/image/lib/firmware/${hdf}/${hdf}.dtbo'
修改时间 11-20-2020 09:57 AM
你用的是petalinux tool的编译流程吗?
修改时间 11-20-2020 12:13 PM
petalinux-build的时候,能连上网吗?有些组件可能需要下载一下的。