-
Notifications
You must be signed in to change notification settings - Fork 0
/
boot_table.s
157 lines (146 loc) · 4.74 KB
/
boot_table.s
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
; AT91 boot_table template
GET header.s ; Register definitions etc.
GET link_addresses.s ; Addresses (etc.) of programmes
;ROM_loader_image_start EQU ROM_loader_image_position
;ROM_loader_image_end EQU ROM_loader_image_start + ROM_loader_image_length
;ROM_loader_ROM EQU ROM_loader_image_position - ROM_loader_branch_space
;Mon_RAM_start EQU Mon_ROM + Mon_RAM_image_position
;Mon_RAM_end EQU Mon_RAM_start + Mon_RAM_image_length
;Mon_RAM_start2 EQU Mon_ROM2 + Mon_RAM_image_position
origin &4000
boot_table DCB "CODE" ; Identifier
DCD BtFlg_LCD_message or BtFlg_RAM_boot ; or BtFlg_Icache_en
DCD &1000, &454 ; RAM start and length
DCD &1000, &454 ; ROM start and length
DCD &00000000, &000000D3 ; Start offset and CPSR
DCD 0 ; Spartan config. ROM offset
DCD 0 ; Spartan length
DCD 0, 0 ; Virtex config. & length
DCB cFF,"Flash loader", ttr
DCB "Flash loader", 0
ALIGN boot_table_entry_length
DCB "CODE" ; Identifier
DCD BtFlg_LCD_message or BtFlg_LED_on ; or BtFlg_Icache_en
DCD 0 ; RAM start
DCD 0 ; and length
DCD &0C000 ; ROM start
DCD &2400 ; and length
DCD 0 ; Start offset
DCD &000000D3 ; and CPSR
DCD &10000 ; Spartan config. ROM offset
DCD &20000 ; Spartan length
DCD 0, 0 ; Virtex config. & length
DCB cFF, ttr
DCB "Komodo back-end", 0
ALIGN boot_table_entry_length
DCB "CODE" ; Identifier
DCD BtFlg_LCD_message or BtFlg_LED_on or BtFlg_Icache_en
DCD 0 ; RAM start
DCD 0 ; and length
DCD &30000 ; ROM start
DCD &10000 ; and length
DCD 0 ; Start offset
DCD &000000D3 ; and CPSR
DCD 0, 0 ; Spartan config. & length
DCD 0, 0 ; Virtex config. & length
DCB cFF, ttr ; No Message
DCB "Ackie: back-end ARM host program", 0
; ALIGN boot_table_entry_length
;
; DCB "CODE" ; Identifier
; DCD BtFlg_LCD_message or BtFlg_LED_on or BtFlg_Icache_en
; DCD Mon_RAM_start - Start ; RAM start
; DCD Mon_RAM_end - Mon_RAM_start ; and length
; DCD Mon_ROM, &2400 ; ROM start and length
; DCD &00000000, &000000D3 ; Start offset and CPSR
; DCD test_config - Start ; Spartan config. ROM offset
; DCD &4000 ; Spartan length
;; DCD 0,0
; DCD 0, 0 ; Virtex config. & length
; DCB cFF,"sptn ldr", ttr ; Show sptn ldr
; DCB "Spartan3 loader " ; User's text
; DCB "Version 0.1 "
; DCB 0
;
; ALIGN boot_table_entry_length
;
; DCB "CODE" ; Identifier
; DCD BtFlg_LCD_message or BtFlg_LCD_light or BtFlg_LED_on
; DCD Mon_RAM_start - Start ; RAM start and length
; DCD 0
; DCD ROM_test, &64 ; ROM start and length
; DCD &00000000, &000000D3 ; Start offset and CPSR
; DCD 0,0 ; Spartan config. ROM offset, length
; DCD 0, 0 ; Virtex config. & length
; DCB cFF,"ROM Tester ", ttr ; LCD message
; DCB "ROM tester (prototype)", 0
;
; ALIGN boot_table_entry_length
;
; DCB "CODE" ; Identifier
; DCD BtFlg_LCD_message or BtFlg_LCD_light or BtFlg_LED_on or BtFlg_RAM_boot
; DCD &2000 ; RAM start
; DCD &100 ; and length
; DCD &2000 ; ROM start
; DCD &100 ; and length
; DCD 0 ; Start offset
; DCD &000000D3 ; and CPSR
; DCD 0, 0 ; Spartan config. & length
; DCD 0, 0 ; Virtex config. & length
; DCB cFF,"From RAM ...", ttr
; DCB "Speed tester - from RAM", 0
;
; ALIGN boot_table_entry_length
;
; DCB "CODE" ; Identifier
; DCD BtFlg_LCD_message
; DCD 0 ; RAM start
; DCD 0 ; and length
; DCD &50000, &10000 ; ROM start and length
; DCD &00000000, &000000D3 ; Start offset and CPSR
; DCD 0 ; Spartan config. ROM offset
; DCD 0 ; Spartan length
; DCD 0, 0 ; Virtex config. & length
; DCB cFF, "Hello Michael", cLF, "and Lee", 0
; DCB "PIC/ARM test boot " ; User's text
; DCB "July 2007"
; DCB 0
;
; ALIGN boot_table_entry_length
;
; DCB "CODE" ; Identifier
; DCD BtFlg_LCD_message
; DCD 0 ; RAM start
; DCD 0 ; and length
; DCD &30000, &10000 ; ROM start and length
; DCD &00000000, &000000D3 ; Start offset and CPSR
; DCD 0 ; Spartan config. ROM offset
; DCD 0 ; Spartan length
; DCD 0, 0 ; Virtex config. & length
; DCB cFF, "MMU experiments", 0
; DCB "Gash code to probe at "; User's text
; DCB "MMU/cache operation "
; DCB "August 2007"
; DCB 0
;
;; ALIGN boot_table_entry_length
;
;; DCB "CODE" ; Identifier
;; DCD BtFlg_LCD_message or BtFlg_LED_on
;; DCD Mon_RAM_start2 - Start ; RAM start
;; DCD Mon_RAM_end - Mon_RAM_start ; and length
;; DCD Mon_ROM2, &2400 ; ROM start and length
;; DCD &00000000, &000000D3 ; Start offset and CPSR
;; DCD XPIO_config - Start ; Spartan config. ROM offset
;; DCD &4000 ; Spartan length
;; DCD 0, 0 ; Virtex config. & length
;; DCB cFF, 0 ; Just clear screen
;; DCB "Komodo back end " ; User's text
;; DCB "Version 3 "
;; DCB 0
;;
;; ALIGN boot_table_entry_length
;
;
;;------------------------------------------------------------------------------
;