README.bedbug 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. BEDBUG Support for U-Boot
  2. --------------------------
  3. These changes implement the bedbug (emBEDded deBUGger) debugger in U-Boot.
  4. A specific implementation is made for the AMCC 405 processor but other flavors
  5. can be easily implemented.
  6. #####################
  7. ### Modifications ###
  8. #####################
  9. ./common/Makefile
  10. Included cmd_bedbug.c and bedbug.c in the Makefile.
  11. ./common/command.c
  12. Added bedbug commands to command table.
  13. ./common/board.c
  14. Added call to initialize debugger on startup.
  15. ./arch/powerpc/cpu/ppc4xx/Makefile
  16. Added bedbug_405.c to the Makefile.
  17. ./arch/powerpc/cpu/ppc4xx/start.S
  18. Added code to handle the debug exception (0x2000) on the 405.
  19. Also added code to handle critical exceptions since the debug
  20. is treated as critical on the 405.
  21. ./arch/powerpc/cpu/ppc4xx/traps.c
  22. Added more detailed output for the program exception to tell
  23. if it is an illegal instruction, privileged instruction or
  24. a trap. Also added debug trap handler.
  25. ./include/ppc_asm.tmpl
  26. Added code to handle critical exceptions
  27. #################
  28. ### New Stuff ###
  29. #################
  30. ./include/bedbug/ppc.h
  31. ./include/bedbug/regs.h
  32. ./include/bedbug/bedbug.h
  33. ./include/bedbug/elf.h [obsoleted by new include/elf.h]
  34. ./include/bedbug/tables.h
  35. ./include/cmd_bedbug.h
  36. ./common/cmd_bedbug.c
  37. ./common/bedbug.c
  38. Bedbug library includes code for assembling and disassembling
  39. PowerPC instructions to/from memory as well as handling
  40. hardware breakpoints and stepping through code. These
  41. routines are common to all PowerPC processors.
  42. ./arch/powerpc/cpu/ppc4xx/bedbug_405.c
  43. AMCC PPC405 specific debugger routines.
  44. Bedbug support for the MPC860
  45. -----------------------------
  46. Changes:
  47. common/cmd_bedbug.c
  48. Added call to initialize 860 debugger.
  49. arch/powerpc/cpu/mpc8xx/Makefile
  50. Added new file "bedbug_860.c" to the makefile
  51. arch/powerpc/cpu/mpc8xx/start.S
  52. Added handler for InstructionBreakpoint (0xfd00)
  53. arch/powerpc/cpu/mpc8xx/traps.c
  54. Added new routine DebugException()
  55. New Files:
  56. arch/powerpc/cpu/mpc8xx/bedbug_860.c
  57. CPU-specific routines for 860 debug registers.