ZCU104 vivado chipscope problem

Hi, I’m currently working on ZCU104 board for TVM, VTA.

I use vivado 2018.3 and faced problem with debugging.

While I used Pynq-Z1 for debugging, programming device with bit, ltx didn’t freeze the board so I could run an application.

However, in the case of ZCU104, whenever I open the target, the board just freezes.

With some googling someone says that turning off CPU idle, so I fixed the following file.

" *<plnx- proj- root>/project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi* "

CPU idle off

I checked that the kernel that CPU idle was off and rebuilt the image.

But, still freezes when trying to program the device.

Have anyone know how to solve this problem?

Thank you for reading.

Turning the CPU idle off is the correct solution to the problem so for some reason the way you are configuring the device tree isn’t propagating through properly. The way I’ve found to get this to work is to create a file on the boot partition called uEnv.txt with the following line

bootargs=root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwait devtmpfs.mount=1 uio_pdrv_genirq.of_id="generic-uio" clk_ignore_unused cpuidle.off=1

Hopefully that will work for you

Peter

1 Like

Thank you for advice! I’ll give it a shot.