Project

General

Profile

GTI9100Bootloader » History » Version 1

Denis 'GNUtoo' Carikli, 03/08/2020 02:09 AM

1 1 Denis 'GNUtoo' Carikli
h1. GTI9100Bootloader
2
3
03:06 <@GNUtoo> power the phone off
4
03:06 <@GNUtoo> put a battery in
5
03:06 <@GNUtoo> press the select button
6
03:06 <@GNUtoo> plug the UART
7
03:07 <@GNUtoo> you've then got the logs
8
9
<pre>
10
Thanks for using picocom
11
[gnutoo@primarylaptop ~]$ picocom -b 115200 /dev/ttyUSB0 
12
picocom v3.1
13
14
port is        : /dev/ttyUSB0
15
flowcontrol    : none
16
baudrate is    : 115200
17
parity is      : none
18
databits are   : 8
19
stopbits are   : 1
20
escape is      : C-a
21
local echo is  : no
22
noinit is      : no
23
noreset is     : no
24
hangup is      : no
25
nolock is      : no
26
send_cmd is    : sz -vv
27
receive_cmd is : rz -vv -E
28
imap is        : 
29
omap is        : 
30
emap is        : crcrlf,delbs,
31
logfile is     : none
32
initstring     : none
33
exit_after is  : not set
34
exit is        : no
35
36
Type [C-a] [C-h] to see available commands
37
Terminal ready
38
39
Welcome to Samsung Primitive Bootloader.
40
build time: May  8 2012 19:31:07
41
current time: fe/1f/7 3f:77:31
42
43
[set_mmc_ocr] Sector Mode
44
[hsmmc_init] MMC card is detected
45
Product Name : VYL00M
46
<display_card_info:1009> ext_csd
47
<display_card_info:1011>card_size: 15028
48
 Total Card Size: 15029 MByte
49
50
mmc_init: card initialization completed!
51
pbl found bootable sbl in #53248.
52
jump to sbl 0x4d400000.
53
54
Secondary Bootloader v3.1 version.
55
Copyright (C) 2011 System S/W Group. Samsung Electronics Co., Ltd.
56
Board: C1 REV 02 / May  8 2012 19:31:13
57
current time: fe/1f/7 3f:77:31
58
59
booting code=0xc0c0c0c0
60
[set_mmc_ocr] Sector Mode
61
[hsmmc_init] MMC card is detected
62
Product Name : VYL00M
63
CID:150100 56594c30 304d19da b33abb8e
64
<display_card_info:1046> ext_csd
65
<display_card_info:1048>card_size: 15028
66
 Total Card Size: 15029 MByte
67
68
 Total Sector Count: 30777344
69
70
MoviNand Initialization Complete!
71
===== PARTITION INFORMATION =====
72
 ID         : GANG (0x0)
73
 DEVICE     : MMC
74
 FIRST UNIT : 0
75
 NO. UNITS  : 0
76
=================================
77
 ID         : BOOT (0x1)
78
 DEVICE     : MMC
79
 FIRST UNIT : 0
80
 NO. UNITS  : 0
81
=================================
82
 ID         : EFS (0x4)
83
 DEVICE     : MMC
84
 FIRST UNIT : 8192
85
 NO. UNITS  : 40960
86
=================================
87
 ID         : SBL1 (0x2)
88
 DEVICE     : MMC
89
 FIRST UNIT : 49152
90
 NO. UNITS  : 2560
91
=================================
92
 ID         : SBL2 (0x3)
93
 DEVICE     : MMC
94
 FIRST UNIT : 53248
95
 NO. UNITS  : 2560
96
=================================
97
 ID         : PARAM (0x5)
98
 DEVICE     : MMC
99
 FIRST UNIT : 57344
100
 NO. UNITS  : 16384
101
=================================
102
 ID         : KERNEL (0x6)
103
 DEVICE     : MMC
104
 FIRST UNIT : 73728
105
 NO. UNITS  : 16384
106
=================================
107
 ID         : RECOVERY (0x7)
108
 DEVICE     : MMC
109
 FIRST UNIT : 90112
110
 NO. UNITS  : 16384
111
=================================
112
 ID         : CACHE (0x8)
113
 DEVICE     : MMC
114
 FIRST UNIT : 106496
115
 NO. UNITS  : 204800
116
=================================
117
 ID         : MODEM (0x9)
118
 DEVICE     : MMC
119
 FIRST UNIT : 311296
120
 NO. UNITS  : 32768
121
=================================
122
 ID         : FACTORYFS (0xa)
123
 DEVICE     : MMC
124
 FIRST UNIT : 344064
125
 NO. UNITS  : 1048576
126
=================================
127
 ID         : DATAFS (0xb)
128
 DEVICE     : MMC
129
 FIRST UNIT : 1392640
130
 NO. UNITS  : 4194304
131
=================================
132
 ID         : UMS (0xc)
133
 DEVICE     : MMC
134
 FIRST UNIT : 5586944
135
 NO. UNITS  : 24133632
136
=================================
137
 ID         : HIDDEN (0xd)
138
 DEVICE     : MMC
139
 FIRST UNIT : 29720576
140
 NO. UNITS  : 1048576
141
=================================
142
loke_init: j4fs_open..success
143
<start_checksum:1033>CHECKSUM_HEADER_SECTOR :42
144
<start_checksum:1035>offset:42, size:1024
145
Not Need Movinand Checksum
146
load_lfs_parameters valid magic code and version.
147
switch_sel_str='1'
148
load_debug_level: read debug level successfully(0x574f4c44)...LOW
149
init_ddi_data: usable ddi data.
150
init_fuel_gauge : not por status
151
fuel_gauge_get_version: [1]=0, [0]=92
152
init_fuel_gauge: vcell = 3846 mV, vfocv = 3877 mV, soc = 62 
153
microusb_get_attached_device: STATUS1:0x3c, 2:0x0
154
microusb_get_attached_device: STATUS1:0x3c, 2:0x0
155
6280 = (382600 - 337808)*14022/100000
156
[3] 388175 = (6280 * 100000) / 11164 + 331923
157
init_microusb_ic: MUIC: CONTROL1:0x1b
158
init_microusb_ic: MUIC: CONTROL1:0x1b
159
init_microusb_ic: MUIC: CONTROL2:0x1a
160
init_microusb_ic: MUIC: CONTROL2:0x3a
161
reading nps status file is successfully!.
162
nps status=0x504d4f43
163
PMIC_IRQSRC  = 0x0 
164
PMIC_IRQ1    = 0xb 
165
PMIC_IRQ2    = 0x1a 
166
PMIC_IRQ3    = 0x0 
167
PMIC_IRQ4    = 0x11 
168
PMIC_STATUS1 = 0x1 
169
PMIC_STATUS2 = 0x10 
170
PMIC_STATUS3 = 0x0 
171
PMIC_STATUS4 = 0x0 
172
bootloader base address=0x4d400000
173
LPDDR0 1st. cached=0x40000000, size=0xe400000
174
LPDDR0 non-cached=0x4e400000, size=0xa00000
175
LPDDR0 2nd. cached=0x4ee00000, size=0x1200000
176
RST_STAT = 0x10000
177
get_hwrev() = 14
178
board_process_platform: MAGIC c0c0c0c0 at 40000000!
179
microusb_get_attached_device: STATUS1:0x3c, 2:0x0
180
microusb_get_attached_device: STATUS1:0x3c, 2:0x0
181
microusb_get_attached_device: STATUS1:0x3c, 2:0x0
182
microusb_get_attached_device: STATUS1:0x3c, 2:0x0
183
hw_pm_status: jig_status = 1, chg_status = 0
184
s5p_set_high_clk: ARM Clock = 800MHz.
185
......kernel is non signed binary.
186
DISPLAY_PATH_SEL[MDNIE 0x1]is on
187
div:2, FB_SOURCE_CLOCK:667000000, FB_PIXEL_CLOCK:25067520
188
MDNIE setting Init start!!
189
vsync interrupt is off
190
video interrupt is off
191
[fb0] turn on
192
MDNIE setting Init end!!
193
194
Autoboot (0 seconds) in progress, press any key to stop 
195
boot_kernel: debug level low!
196
checkbit: find RECOVERY
197
checkbit (0)
198
......kernel is non signed binary.
199
ATAG_CORE: 5 54410001 0 0 0
200
MEMCONFIG: 20e01323 20e01323
201
ATAG_MEM: 4 54410002 10000000 40000000
202
ATAG_MEM: 4 54410002 10000000 50000000
203
ATAG_MEM: 4 54410002 10000000 60000000
204
ATAG_MEM: 4 54410002 10000000 70000000
205
ATAG_SERIAL: 4 54410006 b33abb8e 304d19da
206
ATAG_REVISION: 3 54410007 e
207
hardware_ID : 0019dab33abb8e
208
ATAG_CMDLINE: 40 54410009 'loglevel=4 console=ram androidboot.serialno=[...] sec_debug.enable=0 sec_debug.enable_user=0 c1_watchdog.sec_pet=5 sec_log=0x100000@0x4d900000 s3cfb.bootloaderfb=0x5ec00000 ld9040.get_lcdtype=0x2 consoleblank=0 lpj=3981312 vmalloc=144m'
209
ATAG_NONE: 0 0
210
211
Starting kernel at 0x40008000...
212
213
AST_POWERON
214
215
</pre>
216
217
TODO: https://forum.xda-developers.com/showpost.php?p=10823240&postcount=58