08-25-2014 12:05 AM
I am trying to debug linux kernel using xilinx XMD, for that first i am loading u-boot and vmlinux using XMD using dow command and i tried to set a breakpoint using bps command of xmd. But when i tried to run breakpoint is not hitting. Please help me how to debug Linux using Xilinx XMD
08-25-2014 07:37 AM
08-25-2014 10:43 PM
Thank you Very much John. I will try this way.
Also I tried another way, in which I tried to detect the processors of zc702 through SDK's run->debug configurations options, but unluckily processors are not getting detected, it is invoking some hw_server and thats all. I am not getting any Idea how to proceed from here on. I followed the below link to debug kernel through TCF:
05-09-2016 01:24 PM
I would like to debug the kernel, linux-xilinx through xmd or xilinx SDK , can you please provide me clear steps,
My understnding of the above discussion is " dow uboot to xmd" , "dow uImage to xmd", later start debugging using break points .
xmd# bps drivers/tty/serial/xilinx_uartps.c :1226
is that right?
if not please provide me, exact steps for debugging linux kernel.
Thanks in advance
05-17-2016 09:07 AM
I got partial answer and waiting for ur support.
I got to know how to debug Linux kernel using XMD
boot zed board through SD card and stop booting the board at zed-uboot>
connect xmd debugger through uart and
xmd#connect arm hw
xmd#bps start_kernel hw
<hitting breakpoint 0 at 0x12345 address>
stp is working here, but if we want to see the source code, what will be next step?
if we are not able to see the code through xmd , how it will connect to GDB debugger
thanks in advance
05-24-2016 07:14 AM
Can you guys, plerase reply to my post.
I am waiting for positive answer
Thanks & Regards
11-15-2016 12:56 AM
Hi, I come up with very basic question. The discussion shows that Xilinx XMD is a Linux Kernel which can be used for debugging purpose. Does it means that we can run all Linux commands in Xilinx XMD ?
The board need to be connected all the time with Vivado. How about running full embedded Linux on Zynq with keyboard and mouse ?
11-15-2016 08:05 AM
You can use the AR#67767 as a reference point. When debugging kernel from xsdk (or xsct) you need to enable kernel awareness and load the symbols.
You misunderstood the topic of the post. The discussed feature is about running the linux kernel in the target machine and be able to debug the kernel as it was an standalone application within the Xilinx tools.
11-15-2016 08:48 AM
12-09-2017 08:46 AM
so this support debugging of Peta-linux
If we want to test linux-xilinx
support is provided for linux-xilinx ?