[meta-xilinx] PMUFW debugging with debug flags
Giordon Stark
kratsg at gmail.com
Thu Jul 19 05:58:35 PDT 2018
Hi all,
I'm trying to debug a PLL hang on a custom board (ultrascale+ chip) that
Xilinx believes is related to the PMUFW. To aid in debugging the issue,
they asked for two flags to be turned on:
https://github.com/kratsg/meta-l1calo/commit/ca4ce190f69f89bc3da4d39bcf32d00329264351#diff-0740188d1d09f1293bb14f19f19be79a
*file: recipes-bsp/pmu-firmware/pmu-firmware_2017.3.bbappend*
# Please enable debug logs in pmufw by defining XPFW_DEBUG_DETAILED and
DEBUG_MODE macros in pmufw source code.
# See http://www.wiki.xilinx.com/PMU+Firmware for more flags.
EXTRA_COMPILER_FLAGS_append = " -DXPFW_DEBUG_DETAILED -DDEBUG_MODE"
However, when recompiling and re-running -- I do not see extra debug
information from the PMUFW -- so I'm patching the kernel
drivers/clk/zynqmp/pll.c to get more information about the PLL hang itself
in the meantime.
Any ideas? Did I do something wrong in enabling the debug flags?
Giordon
--
Giordon Stark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20180719/a7dde1be/attachment.html>
More information about the meta-xilinx
mailing list