|
@@ -2,8 +2,6 @@ BEDBUG Support for U-Boot
|
|
|
--------------------------
|
|
|
|
|
|
These changes implement the bedbug (emBEDded deBUGger) debugger in U-Boot.
|
|
|
-A specific implementation is made for the AMCC 405 processor but other flavors
|
|
|
-can be easily implemented.
|
|
|
|
|
|
#####################
|
|
|
### Modifications ###
|
|
@@ -12,25 +10,9 @@ can be easily implemented.
|
|
|
./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.
|
|
|
|
|
|
-./arch/powerpc/cpu/ppc4xx/Makefile
|
|
|
- Added bedbug_405.c to the Makefile.
|
|
|
-
|
|
|
-./arch/powerpc/cpu/ppc4xx/start.S
|
|
|
- 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.
|
|
|
-
|
|
|
-./arch/powerpc/cpu/ppc4xx/traps.c
|
|
|
- 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.
|
|
|
-
|
|
|
./include/ppc_asm.tmpl
|
|
|
Added code to handle critical exceptions
|
|
|
|
|
@@ -51,10 +33,6 @@ can be easily implemented.
|
|
|
hardware breakpoints and stepping through code. These
|
|
|
routines are common to all PowerPC processors.
|
|
|
|
|
|
-./arch/powerpc/cpu/ppc4xx/bedbug_405.c
|
|
|
- AMCC PPC405 specific debugger routines.
|
|
|
-
|
|
|
-
|
|
|
Bedbug support for the MPC860
|
|
|
-----------------------------
|
|
|
|