David Brownell wrote: > On Wednesday 14 October 2009, Michael Schwingen wrote: > >> Have you setup correct Mini-IC entries using the "xscale vector_table" >> command? >> >> Without that, the kernel crashes on the first exception, since the >> mini-IC does not match ram contents. >> > > We should start collecting hints for Linux debugging. :) > > Michael, I noticed that the "Hot-Debug" white paper (now > referenced at the top of target/xscale.c) said that it's > important to invalidate the Branch Target Buffer (BTB) > when updating those vector tables. Quickly glancing at > the source code suggested to me that's not done. Did I > miss something, or is that a lurking bug? > Quite possibly a bug, however, if we only write the vectors once after reset, it might work by accident because the BTB never had a hit.
It is quite some time since I looked in detail at the XScale debug stuff - my last patch only added the frontend to make use of the already-existing code. cu Michael _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
