取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
Highlighted
Visitor
Visitor
1,266 次查看
注册日期: ‎01-16-2019

ZCU106 2018.3TRD DM3 SDIRXTX 简单修改以后petalinux编译不过

跳至解决方案

Hi,

    我参考ZCU106 TRD里面的sdirxtx democode,把一进一出的sdi简单改为2进2出,vivado已经编译通过,得到了bitstream。但是导进去sdk,用petalinux build的时候报错,附件是我的sdk压缩包,还有design框图,跟报错log。请帮忙看一下是怎么一回事,哪里出错了。要怎么修改,劳烦告知一下,感谢!

 

以下是log:

ERROR: device-tree-xilinx+gitAUTOINC+b7466bbeee-r0 do_configure: Function failed: do_configure (log file is located at /home/william/Work/demo_code/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2018.3-final/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/temp/log.do_configure.74379)
ERROR: Logfile of failure stored in: /home/william/Work/demo_code/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2018.3-final/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/temp/log.do_configure.74379
Log data follows:
| DEBUG: Executing shell function do_configure
| MISC_ARG is -hdf_type hdf -yamlconf /home/william/Work/demo_code/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2018.3-final/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/device-tree.yaml
| APP_ARG is -app "device-tree"
| Using xsct from: /opt/Xilinx/Petalinux/tools/xsct/SDK/2018.3/bin/xsct
| cmd is: xsct -sdx -nodisp /home/william/Work/demo_code/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2018.3-final/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/dtgen.tcl -ws /home/william/Work/demo_code/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2018.3-final/build/../components/plnx_workspace/device-tree -pname device-tree -rp /home/william/Work/demo_code/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2018.3-final/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/git -processor psu_cortexa53_0 -hdf /home/william/Work/demo_code/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2018.3-final/build/tmp/deploy/images/plnx-zynqmp/Xilinx-plnx-zynqmp.hdf -arch 64 -app "device-tree" -hdf_type hdf -yamlconf /home/william/Work/demo_code/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2018.3-final/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/device-tree.yaml
| INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
| hsi::open_hw_design: Time (s): cpu = 00:00:15 ; elapsed = 00:00:16 . Memory (MB): peak = 724.816 ; gain = 184.254 ; free physical = 1020 ; free virtual = 19141
| WARNING: not supported pl_clk:
| WARNING: not supported pl_clk:
| WARNING: Interrupt pin "vtc_irq" of IP block: "sdi_tx_output0_v_smpte_uhdsdi_tx_ss" is not connected to any interrupt controller
|
| WARNING: not supported pl_clk:
| WARNING: Interrupt pin "vtc_irq" of IP block: "sdi_tx_output1_v_smpte_uhdsdi_tx_ss" is not connected to any interrupt controller
|
| WARNING: not supported pl_clk:
| WARNING: quotes to be removed or use 2018.1 version for &sata params param0..param7
| WARNING: quotes to be removed or use 2018.1 version for &sata params param0..param7
| WARNING: quotes to be removed or use 2018.1 version for &sata params param0..param7
| WARNING: quotes to be removed or use 2018.1 version for &sata params param0..param7
| WARNING: quotes to be removed or use 2018.1 version for &sata params param0..param7
| WARNING: quotes to be removed or use 2018.1 version for &sata params param0..param7
| WARNING: quotes to be removed or use 2018.1 version for &sata params param0..param7
| WARNING: quotes to be removed or use 2018.1 version for &sata params param0..param7
| WARNING: Frequency 33.330 used instead of 33.333
| WARNING: psu_usb_xhci_0: No reset found
| ERROR: [Hsi 55-1982] amba_pl is not a valid node
| ERROR: [Common 17-39] 'set_property' failed due to earlier errors.
| ERROR: [Hsi 55-1545] Problem running tcl command ::sw_vproc_ss::generate : ERROR: [Common 17-39] 'set_property' failed due to earlier errors.
|
| while executing
| "rdi::set_property PARENT amba_pl vcap_sdi"
| invoked from within
| "set_property PARENT "${new_parent}" $node"
| (procedure "update_dt_parent" line 32)
| invoked from within
| "update_dt_parent ${node} ${parent_obj} ${dts_file}"
| ("foreach" body line 4)
| invoked from within
| "foreach node ${dts_nodes} {
| if {[regexp $pattern $node match]} {
| set_cur_working_dts ${dts_file}
| set node [update_dt_parent ${node} ${paren..."
| ("foreach" body line 2)
| invoked from within
| "foreach pattern "^${node_name}$" {
| foreach node ${dts_nodes} {
| if {[regexp $pattern $node match]} {
| set_cur_working_dts ${dts_file}
| set n..."
| (procedure "add_or_get_dt_node" line 120)
| invoked from within
| "add_or_get_dt_node -n "vcap_sdi" -d $dts_file -p $bus_node"
| (procedure "::sw_vproc_ss::generate" line 173)
| invoked from within
| "::sw_vproc_ss::generate sdi_rx_input1_v_proc_ss_0"
| ERROR: [Hsi 55-1442] Error(s) while running TCL procedure generate()
| hsi::generate_target: Time (s): cpu = 00:00:13 ; elapsed = 00:00:15 . Memory (MB): peak = 743.699 ; gain = 18.883 ; free physical = 1841 ; free virtual = 18629
| generate_target failed
| while executing
| "error "generate_target failed""
| invoked from within
| "if {[catch {hsi generate_target -dir $project} res]} {
| error "generate_target failed"
| }"
| (file "/home/william/Work/demo_code/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2018.3-final/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitA..." line 38)
| WARNING: /home/william/Work/demo_code/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2018.3-final/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/temp/run.do_configure.74379:1 exit 1 from 'eval xsct -sdx -nodisp /home/william/Work/demo_code/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2018.3-final/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/dtgen.tcl -ws /home/william/Work/demo_code/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2018.3-final/build/../components/plnx_workspace/device-tree -pname device-tree -rp /home/william/Work/demo_code/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2018.3-final/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/git -processor psu_cortexa53_0 -hdf /home/william/Work/demo_code/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2018.3-final/build/tmp/deploy/images/plnx-zynqmp/Xilinx-plnx-zynqmp.hdf -arch 64 ${APP_ARG} ${MISC_ARG}'
| ERROR: Function failed: do_configure (log file is located at /home/william/Work/demo_code/apu/vcu_petalinux_bsp/xilinx-vcu-trd-zcu106-v2018.3-final/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/temp/log.do_configure.74379)
ERROR: Task (/opt/Xilinx/Petalinux/components/yocto/source/aarch64/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5048 tasks of which 4928 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/opt/Xilinx/Petalinux/components/yocto/source/aarch64/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb:do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
ERROR: Failed to build project

0 项奖励
1 解答

已接受的解答
Highlighted
Xilinx Employee
Xilinx Employee
729 次查看
注册日期: ‎04-15-2011

@williamxie 

你可以用附件里的patch,把错误降为warning,然后按照下面的链接手动修改dts。

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/128024605/DTG+limitation+for+multimedia+IPs

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

在原帖中查看解决方案

9 回复数
Highlighted
Moderator
Moderator
1,244 次查看
注册日期: ‎05-23-2018

Hi, @williamxie 

Vivado和petalinux用的都是什么版本的呢?

-------------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------
0 项奖励
Highlighted
Visitor
Visitor
1,215 次查看
注册日期: ‎01-16-2019

vivado跟petalinux两个都是2018.3的版本。

0 项奖励
Highlighted
Visitor
Visitor
1,192 次查看
注册日期: ‎01-16-2019
hi, weiyil
vivado跟petalinux两个都是2018.3的版本。
0 项奖励
Highlighted
Xilinx Employee
Xilinx Employee
849 次查看
注册日期: ‎04-15-2011

@williamxie 

这里面可能会有bug,你可以试试下面两个patch。

https://www.xilinx.com/support/answers/72007.html

https://www.xilinx.com/support/answers/72032.html

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 项奖励
Highlighted
Visitor
Visitor
808 次查看
注册日期: ‎01-16-2019

我试一下,感谢!

0 项奖励
Highlighted
Visitor
Visitor
785 次查看
注册日期: ‎01-16-2019
@longley
我按照patch(72007跟72032)里面说的办法试了一下,
device-tree.bbpend已经改为:
SRC_URI_append ="\

file://0001-vproc_ss-Fix-the-error-when-the-topology-is-not-vali.patch \

file://0001-vproc_ss-Add-the-ports_node-if-it-is-not-NULL.patch \

file://0001-vproc_ss-Updated-node-name-for-SDI.patch \

file://system-conf.dtsi \

file://system-user.dtsi \

file://vcap-hdmi_2.dtsi \

file://vcap-hdmi_3.dtsi \

file://vcap-hdmi_4.dtsi \

file://vcap-hdmi_5.dtsi \

file://vcap-hdmi_6.dtsi \

file://vcap-hdmi_7.dtsi \

file://apm.dtsi \

file://hdmi-misc.dtsi \

file://li-imx274mipi-fmc.dtsi \

file://design-fixes.dtsi \

file://xlnk.dtsi \

"

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"



petalinux-build还是不行,报错还是那样子的!
0 项奖励
Highlighted
Xilinx Employee
Xilinx Employee
774 次查看
注册日期: ‎04-15-2011

@williamxie 

我确认了,DTG目前不支持两路SDI RX TX,这个问题目前在2019.1也不会修复的。

 

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 项奖励
Highlighted
Xilinx Employee
Xilinx Employee
730 次查看
注册日期: ‎04-15-2011

@williamxie 

你可以用附件里的patch,把错误降为warning,然后按照下面的链接手动修改dts。

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/128024605/DTG+limitation+for+multimedia+IPs

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------

在原帖中查看解决方案

Highlighted
Visitor
Visitor
704 次查看
注册日期: ‎01-16-2019

@longley 

    非常感谢!

0 项奖励