
3 Jan
2003
3 Jan
'03
1:24 p.m.
In message 3E1575C3.30905@sjtu.edu.cn you wrote:
since after boot all the registers of mpc860( im using mpc860) is initialized by u-boot
U-Boot does not initialize _all_ registers, only those it really needs to.
but bdm4gdb also initialize the register,
BDm4GDB also initializes only the registers you tell it in the init script.
so how to use bdm4gdb to debug the u-boot??
Modify your init script for BDM4GDB to initialize only those registers you really need, and/or those that don't cause conflicts with U-Boot. For a start, just initialize SYPCR (to turn off the watchdog), and nothing else.
Best regards, and a Happy New Year!
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
"One thing they don't tell you about doing experimental physics is
that sometimes you must work under adverse conditions... like a state
of sheer terror." - W. K. Hartmann