03-29-2018 12:42 PM
I followed this
with System Debugger on Xilinx SDK 2016.4
but I cannot load symbols for kernel module such as virtio_rpmsg_bus.ko
As that last link said, I added to Path Map:
I also added to Symbol Files
Now I can see symbols for kernel routines, for example I can add expression "&printk" and it is displayed correctly, also breakpoint on printk works.
But if I add expression &rpmsg_send_offchannel_raw or set breakpoint on rpmsg_send_offchannel_raw or rpmsg_fini, none of them work.
I also tried adding /home/me/petalinux_kernel/drivers/rpmsg/virtio_rpmsg_bus.ko to Symbol Files - does not work either.
So, the question is: how to add symbols for a .ko module to System Debugger on Xilinx SDK 2016.4?
03-30-2018 01:52 AM
Kernel module debug is supported through OS aware debug. Please see
03-30-2018 11:24 AM
Sorry, these links that you posted missing crucial information.
Click the Path Map tab to set the path mappings for the selected debug configuration.
Click Add to insert the kernel module.
What does this mean? How can you add the module? What values should you specify for various fields in that dialog?
and it is more descriptive,
but still does not work.
So, please, give me exact steps to begin debugging virtio_rpmsg_bus.ko on SDK 2016.4
12-04-2018 10:17 AM
Did you succeed to debug kernel module ?
As you, I tried to follow this post https://www.xilinx.com/support/answers/67325.html but I'm not sure of the path to setup as path mapping.
It doesn't work.
Thanks for your help.
01-30-2019 08:23 PM