02-17-2021 05:38 AM
I took a look to theses following webpage for debugging :
application project : https://www.xilinx.com/html_docs/xilinx2020_2/vitis_doc/debugappproj.html
kernel and application : https://www.xilinx.com/html_docs/xilinx2020_2/vitis_doc/debuggingapplicationskernels.html
Petalinux kernel setup: https://www.xilinx.com/support/answers/66853.html
Here is the question :
Is it possible to debug a kernel driver and step into the driver code ??
So far the best I could achieve is to debug the application but when i want to step into open(), read(), write(), ioctl() function calls (that are defined in my char device driver); it jump into assembly code (for the portion handled by glibc) and then comes back in my C code application.
02-24-2021 09:15 AM
Did you saw this Xilinx forum message?
I did LX kernel debug of static drivers with XSDK 2018.2. It should be same (or better) with newer tools.
However I have no success with loadable LX kernel drivers debug.