0
|
1 |
|
|
2 |
screen.always
|
|
3 |
SYStem.CPU OMAP3530
|
|
4 |
SYStem.JtagClock 10.0MHz
|
|
5 |
|
|
6 |
Break.Delete
|
|
7 |
MAP.RESet
|
|
8 |
TASK.RESet
|
|
9 |
sYmbol.RESet
|
|
10 |
Data.PROLOG.RESet
|
|
11 |
Data.EPILOG.RESet
|
|
12 |
sYmbol.AutoLoad.CHECK OFF ; disable dynamic autoloader
|
|
13 |
sYmbol.AutoLoad.RESet ; reset autoloader list
|
|
14 |
|
|
15 |
TrOnchip.Set FIQ OFF ; FIQ be handled by Symbian OS
|
|
16 |
TrOnchip.Set IRQ OFF ; IRQ be handled by Symbian OS
|
|
17 |
TrOnchip.Set DABORT ON
|
|
18 |
TrOnchip.Set PABORT ON
|
|
19 |
TrOnchip.Set SWI OFF ; SWI be handled by Symbian OS
|
|
20 |
TrOnchip.Set UNDEF ON
|
|
21 |
TrOnchip.Set RESET ON
|
|
22 |
|
|
23 |
MAP.RESet
|
|
24 |
TASK.RESet
|
|
25 |
sYmbol.RESet
|
|
26 |
Data.PROLOG.RESet
|
|
27 |
Data.EPILOG.RESet
|
|
28 |
sYmbol.AutoLoad.CHECK OFF ; disable dynamic autoloader
|
|
29 |
sYmbol.AutoLoad.RESet ; reset autoloader list
|
|
30 |
|
|
31 |
SYStem.Mode Attach
|
|
32 |
|
|
33 |
Break
|
|
34 |
|
|
35 |
&drive="P:"
|
|
36 |
|
|
37 |
d.load.b "&drive\sf\os\kernelhwsrv\kernel\eka\rombuild\BEAGLEARMV5D.IMG" 0x81000000
|
|
38 |
|
|
39 |
; Before mmu enabled
|
|
40 |
d.load.elf "&drive\epoc32\release\armv5\_beagle_bootrom.sym" /nocode /rvct /reloc ER_RO at 0x81000000
|
|
41 |
; After MMU enabled
|
|
42 |
;d.load.elf "&drive\epoc32\release\armv5\_beagle_bootrom.sym" /nocode /rvct /reloc ER_RO at 0x80000000
|
|
43 |
|
|
44 |
&_SYMBOL_FILE="&drive\sf\os\kernelhwsrv\kernel\eka\rombuild\ROMBUILD.LOG"
|
|
45 |
&basepath="&drive\"
|
|
46 |
if "&_SYMBOL_FILE"!=""
|
|
47 |
(
|
|
48 |
; Search paths for symbol files:
|
|
49 |
symbol.SourcePATH.setrecursedir &drive\sf\os\boardsupport\omap3530
|
|
50 |
symbol.SourcePATH.setrecursedir &drive\sf\os\kernelhwsrv\kernel\eka\e32
|
|
51 |
symbol.SourcePATH.setrecursedir &drive\sf\os\kernelhwsrv\kerneltest\e32test
|
|
52 |
symbol.SourcePATH.setrecursedir &drive\sf\os\kernelhwsrv\kerneltest\e32utils
|
|
53 |
|
|
54 |
print "Selected symbol file: &_SYMBOL_FILE"
|
|
55 |
symbol.AutoLoad.LOADEPOC &_SYMBOL_FILE "do "+os.ppd()+"/autoload "
|
|
56 |
; define dynamic autoloader
|
|
57 |
symbol.AutoLoad.CHECKEPOC "do "+os.ppd()+"/autoload "
|
|
58 |
|
|
59 |
; switch off automatic process detection (slows down debugger execution)
|
|
60 |
symbol.AutoLoad.CHECK OFF
|
|
61 |
|
|
62 |
; Load symbols for following:
|
|
63 |
symbol.AutoLoad.TOUCH "*kaomap3530.dll"
|
|
64 |
symbol.AutoLoad.TOUCH "*ekern.exe"
|
|
65 |
symbol.AutoLoad.TOUCH "*btracex.ldd"
|
|
66 |
symbol.AutoLoad.TOUCH "*ecust.dll"
|
|
67 |
symbol.AutoLoad.TOUCH "*exmoncommon.dll"
|
|
68 |
symbol.AutoLoad.TOUCH "*exmondebug.dll"
|
|
69 |
symbol.AutoLoad.TOUCH "*power.dll"
|
|
70 |
symbol.AutoLoad.TOUCH "*dma.dll"
|
|
71 |
symbol.AutoLoad.TOUCH "*lcd.dll"
|
|
72 |
symbol.AutoLoad.TOUCH "*ekeyb.dll"
|
|
73 |
symbol.AutoLoad.TOUCH "*ekdata.dll"
|
|
74 |
symbol.AutoLoad.TOUCH "*exyin.dll"
|
|
75 |
symbol.AutoLoad.TOUCH "*euart.pdd"
|
|
76 |
symbol.AutoLoad.TOUCH "*esdrv.pdd"
|
|
77 |
symbol.AutoLoad.TOUCH "*soundsc.pdd"
|
|
78 |
; symbol.AutoLoad.TOUCH "*elocd.ldd"
|
|
79 |
symbol.AutoLoad.TOUCH "*medint.pdd"
|
|
80 |
; symbol.AutoLoad.TOUCH "*ecomm.ldd"
|
|
81 |
; symbol.AutoLoad.TOUCH "*esound.ldd"
|
|
82 |
; symbol.AutoLoad.TOUCH "*pipelib.ldd"
|
|
83 |
; symbol.AutoLoad.TOUCH "*esoundsc.ldd"
|
|
84 |
; symbol.AutoLoad.TOUCH "*exstart.dll"
|
|
85 |
; symbol.AutoLoad.TOUCH "*usbc.ldd"
|
|
86 |
symbol.AutoLoad.TOUCH "*exyin.dll"
|
|
87 |
symbol.AutoLoad.TOUCH "*i2c.dll"
|
|
88 |
symbol.AutoLoad.TOUCH "*usbcc.dll"
|
|
89 |
symbol.AutoLoad.TOUCH "*prcm.dll"
|
|
90 |
symbol.AutoLoad.TOUCH "*gpio.dll"
|
|
91 |
symbol.AutoLoad.TOUCH "*led.dll"
|
|
92 |
|
|
93 |
; symbol.CLEANUP
|
|
94 |
)
|
|
95 |
else
|
|
96 |
(
|
|
97 |
print "No symbol file selected, symbols not loaded"
|
|
98 |
)
|
|
99 |
|
|
100 |
|
|
101 |
|
|
102 |
R.S PC 0x81000000
|
|
103 |
|
|
104 |
b.s Fault /p /onchip
|
|
105 |
b.s NKCrashHandler /p /onchip
|
|
106 |
; b.s I2c::Open /p /onchip
|
|
107 |
; b.s \\t_i2c\t_i2c\InitExtension /p /onchip
|
|
108 |
; b.s I2c::TheDfc /p /onchip
|
|
109 |
; b.s I2c::TI2c::Isr /p /onchip
|
|
110 |
; b.s \\t_prcm\t_prcm\InitExtension /p /onchip
|
|
111 |
; b.s Prcm::Init3 /p /onchip
|
|
112 |
; b.s DLcdPowerHandler::PowerUpLcd /p /onchip
|
|
113 |
; b.s \\_BEAGLE_LED\led\InitExtension /p /onchip
|
|
114 |
|
|
115 |
m.h
|
|
116 |
d.l
|
|
117 |
|
|
118 |
enddo
|