Project

General

Profile

GTI9000Bootloader » History » Version 4

Denis 'GNUtoo' Carikli, 03/10/2020 04:24 PM

1 1 Denis 'GNUtoo' Carikli
h1. GTI9000Bootloader
2
3 2 Denis 'GNUtoo' Carikli
h2. Boot log
4
5
<pre>
6
reading nps status file is successfully!.
7
nps status=0x504d4f43
8
PMIC_IRQ1    = 0xc0 
9
PMIC_IRQ2    = 0x0 
10
PMIC_IRQ3    = 0x0 
11
PMIC_IRQ4    = 0x0 
12
PMIC_STATUS1 = 0x80 
13
PMIC_STATUS2 = 0x0 
14
get_debug_level current debug level is 0x574f4c44.
15
aries_process_platform: Debug Level Low
16
keypad_scan: key value ----------------->= 0x40
17
CONFIG_ARIES_REV:48 , CONFIG_ARIES_REV03:48 
18
aries_process_platform: final s1 booting mode = 0
19
DISPLAY_PATH_SEL[MDNIE 0x1]is on
20
MDNIE setting Init start!!
21
vsync interrupt is off
22
video interrupt is off
23
[fb0] turn on
24
MDNIE setting Init end!!
25
26
Autoboot (0 seconds) in progress, press any key to stop 
27
get_debug_level current debug level is 0x574f4c44.
28
get_debug_level current debug level is 0x574f4c44.
29
boot_kernel: Debug Level Low
30
FOTA Check Bit 
31
 Read BML page=, NumPgs=
32
FOTA Check Bit (0xffffffff)
33
Load Partion idx = (6)
34
..............................done
35
Kernel read success from kernel partition no.6, idx.6.
36
setting param.serialnr=0xxxxxxxxx 0xxxxxxxxx
37
setting param.board_rev=0x30
38
setting param.cmdline=console=ttySAC2,115200 loglevel=4
39
40
Starting kernel at 0x32000000...
41
</pre>
42
43 1 Denis 'GNUtoo' Carikli
h2. Available commands
44
45 4 Denis 'GNUtoo' Carikli
Here are the available commands:
46 1 Denis 'GNUtoo' Carikli
<pre>
47
SBL> help  
48
Following commands are supported:
49
* setenv
50
* saveenv
51
* printenv
52
* help
53
* reset
54
* boot
55
* kernel
56
* format
57
* open
58
* close
59
* erasepart
60
* eraseall
61
* loadkernel
62
* showpart
63
* addpart
64
* delpart
65
* savepart
66
* nkernel
67
* nramdisk
68
* nandread
69
* nandwrite
70
* usb
71
* mmctest
72
* keyread
73
* usb_read
74
* usb_write
75
* fuelgauge
76
* pmic_read
77
* pmic_write
78
To get commands help, Type "help <command>"
79 4 Denis 'GNUtoo' Carikli
</pre>
80
81
and their respective help:
82
<pre>
83
SBL> help setenv
84
* Help : setenv
85
* Usage : setenv [name] [value] . .
86
	Modify current environment info on ram
87
88
SBL> help saveenv
89
* Help : saveenv
90
* Usage : saveenv
91
	Save cuurent environment info to flash
92
93
SBL> help printenv
94
* Help : printenv
95
* Usage : printenv
96
	Print current environment info on ram
97
98
SBL> help help
99
* Help : help
100
* Usage : help [command]
101
SBL> help reset
102
* Help : reset
103
* Usage : reboot
104
Reboot system
105
106
SBL> help boot
107
* Help : boot
108
* Usage : boot [kernel options]
109
Boot Linux with optional kernel options
110
111
SBL> help kernel
112
* Help : kernel
113
* Usage : kernel hex_adr
114
Change the Linux kernel base
115
116
SBL> help format
117
* Help : format
118
* Usage : format
119
	format device
120
SBL> help open
121
* Help : open
122
* Usage : open
123
	open device
124
SBL> help close
125
* Help : close
126
* Usage : close
127
	close device
128
SBL> help erasepart
129
* Help : erasepart
130
* Usage : erasepart partition_id
131
	erase part of units
132
       - ex) erase 0x9(temp partition)
133
SBL> help eraseall
134
* Help : eraseall
135
* Usage : eraseall
136
	erase all units
137
SBL> help loadkernel
138
* Help : loadkernel
139
* Usage : loadkernel
140
	load kernel image
141
       - loadkernel 0x80A00000 from kernel partition
142
SBL> help showpart
143
* Help : showpart
144
* Usage : showpart
145
	show partition information
146
SBL> help addpart
147
* Help : addpart
148
* Usage : addpart <id> <attr> <unit>
149
	add partition information
150
       - ex) addpart 0x(id) 0x1(attr) 0x10(units)
151
SBL> help delpart
152
* Help : delpart
153
* Usage : delpart
154
	delete last partition information
155
SBL> help savepart
156
* Help : savepart
157
* Usage : savepart
158
	save partition information
159
SBL> help nkernel
160
* Help : nkernel
161
* Usage : nkernel command
162
* Usage : nkernel
163
	read kernel from flash to DDR
164
165
SBL> help nramdisk
166
* Help : nramdisk
167
* Usage : nramdisk command
168
* Usage : nramdisk
169
	read ramdisk from flash to DDR
170
171
SBL> help nandread
172
* Help : nandread
173
* Usage : * Usage : nandread <PARTID> <SIZE>
174
	read partition from flash to SDRAM(0x80000000)
175
176
SBL> help nandwrite
177
* Help : nandwrite
178
* Usage : * Usage: nandwrite <PARTID> <SIZE>
179
	write partition from SDRAM(0x80000000) to flash
180
181
SBL> help usb
182
* Help : usb
183
* Usage : usb download command
184
SBL> help mmctest
185
* Help : mmctest
186
* Usage : *Usage : mmctest 
187
188
SBL> help keyread
189
* Help : keyread
190
* Usage : *Usage : keyread 
191
192
SBL> help usb_read
193
* Help : usb_read
194
* Usage : usb_read reg
195
Read the usb ic register
196
197
SBL> help usb_write
198
* Help : usb_write
199
* Usage : usb_write reg, val
200
Read the usb ic register
201
202
SBL> help fuelgauge
203
* Help : fuelgauge
204
* Usage : *usage : fuelgauge
205
206
SBL> help pmic_read
207
* Help : pmic_read
208
* Usage : pmic_read reg
209
Read the pmic register
210
211
SBL> help pmic_write
212
* Help : pmic_write
213
* Usage : pmic_write reg, val
214
Read the pmic register
215
216
SBL> 
217
218 1 Denis 'GNUtoo' Carikli
</pre>
219 3 Denis 'GNUtoo' Carikli
220
h2. Environment
221
222
<pre>
223
SBL> printenv
224
PARAM Rev 1.3
225
SERIAL_SPEED : 7
226
LOAD_RAMDISK : 0
227
BOOT_DELAY : 0
228
LCD_LEVEL : 97
229
SWITCH_SEL : 1
230
PHONE_DEBUG_ON : 0
231
LCD_DIM_LEVEL : 0
232
LCD_DIM_TIME : 6
233
MELODY_MODE : 1
234
REBOOT_MODE : 3
235
NATION_SEL : 0
236
LANGUAGE_SEL : 0
237
SET_DEFAULT_PARAM : 0
238
PARAM_INT_13 : 0
239
PARAM_INT_14 : 0
240
VERSION : I9000XXIL
241
CMDLINE : console=ttySAC2,115200 loglevel=4
242
DELTA_LOCATION : /mnt/rsv
243
PARAM_STR_3 : 
244
PARAM_STR_4 : 
245
</pre>