NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
JakeSays has quit [Ping timeout: 246 seconds]
JakeSays has joined #openocd
Hawk777 has joined #openocd
tsal has quit [Ping timeout: 250 seconds]
tsal has joined #openocd
crabbedhaloablut has joined #openocd
crabbedhaloablut has quit []
Haohmaru has joined #openocd
damex has quit [Ping timeout: 246 seconds]
damex has joined #openocd
Hawk777 has quit [Quit: Leaving.]
tsal has quit [Ping timeout: 248 seconds]
tsal has joined #openocd
nerozero has joined #openocd
nerozero_ has joined #openocd
dreamcat4_ has joined #openocd
dreamcat4 has quit [*.net *.split]
zear has quit [*.net *.split]
dreamcat4_ is now known as dreamcat4
zear has joined #openocd
nerozero has quit [Quit: Leaving]
nerozero_ has quit [Quit: Leaving]
nerozero has joined #openocd
vfazio has joined #openocd
<NishanthMenon> just adding to my query yesterday: adding -c "gdb_breakpoint_override hard" to openocd commandline helped me with kernel debug
<PaulFertser> Oh, so software breakpoints were not a necessity.
<NishanthMenon> PaulFertser: not really, i was not aware of gdb_breakpoint_override and was wondering what was going on..
<zear> alternatively, you can tell gdb to treat the entire addressable memory as read-only, which will force hw breakpoints: `mem 0x0 0xffffffff ro`
<NishanthMenon> zear: aah. did'nt know of that either. thanks
<zear> (or just narrow it down to the area that's problematic)
<NishanthMenon> zear: yeah - we were looking at centos kernel - two things that kicked us initially was coresight driver (takes control of coresight registers and that messes with openocd control) and KASLR (symbols were ofcourse not valid).. once we got past that looks like mmu protection is next in line. h/w breakpoints do the job well enough..
<zear> How did you solve the coresight issue? I was once debugging an ARM board and JTAG connection would get lost at early Linux boot, around the time it touches coresight. Never managed to reliably get around that.
<NishanthMenon> zear: just disabled coresight driver ;) -> I need to see further if there is a kernel cmdline option to set it up
<zear> ah, that didn't help for my case IIRC
<NishanthMenon> yeah - it should probably have a kernel cmdline that folks can set to not enable it
slobodan has joined #openocd
Haohmaru has quit [Ping timeout: 256 seconds]
Guest66 has joined #openocd
Guest66 has quit [Quit: Client closed]
nerozero has quit [Ping timeout: 240 seconds]
shibboleth has joined #openocd
shibboleth has quit [Quit: shibboleth]
damex has quit [Ping timeout: 245 seconds]
damex has joined #openocd
Guest52 has joined #openocd
slobodan has quit [Ping timeout: 246 seconds]