Question about DBCR0 initialization for 440
John.Linn at xilinx.com
Wed Apr 15 06:33:10 EST 2009
The kernel does not initialize the PPC440 DBCR0 register. This prevents
(among other things) the use of software breakpoints with GDB. I
realize that boot loaders probably do initialize this but we run a lot
without a boot loader and so do our customers.
The file, head_fsl_booke.S, does initialize the register for the
freescale specific code (as shown at the end of the message).
We are needing this also for Xilinx. What's the best method to
incorporate this, is it possible to add to head_44x.S?
* The Abatron BDI JTAG debugger does not tolerate others
* mucking with the debug registers.
lis r2,DBCR0_IDM at h
/* clear any residual debug events */
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Linuxppc-dev