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