how to debug u-boot with bdm4gdb
since after boot all the registers of mpc860( im using mpc860) is initialized by u-boot
but bdm4gdb also initialize the register,
so how to use bdm4gdb to debug the u-boot??
Quoted 2 lines · In message <[email protected]> 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.
Quoted 1 line
but bdm4gdb also initialize the register,
BDm4GDB also initializes only the registers you tell it in the init script.
Quoted 1 line
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
Signature · 5 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at 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