GTI9100Bootloader » History » Version 9
Denis 'GNUtoo' Carikli, 06/27/2021 03:34 PM
Add toc
1 | 1 | Denis 'GNUtoo' Carikli | h1. GTI9100Bootloader |
---|---|---|---|
2 | |||
3 | 9 | Denis 'GNUtoo' Carikli | {{toc}} |
4 | |||
5 | 3 | Denis 'GNUtoo' Carikli | h2. Boot log |
6 | 1 | Denis 'GNUtoo' Carikli | |
7 | <pre> |
||
8 | Thanks for using picocom |
||
9 | [gnutoo@primarylaptop ~]$ picocom -b 115200 /dev/ttyUSB0 |
||
10 | picocom v3.1 |
||
11 | |||
12 | port is : /dev/ttyUSB0 |
||
13 | flowcontrol : none |
||
14 | baudrate is : 115200 |
||
15 | parity is : none |
||
16 | databits are : 8 |
||
17 | stopbits are : 1 |
||
18 | escape is : C-a |
||
19 | local echo is : no |
||
20 | noinit is : no |
||
21 | noreset is : no |
||
22 | hangup is : no |
||
23 | nolock is : no |
||
24 | send_cmd is : sz -vv |
||
25 | receive_cmd is : rz -vv -E |
||
26 | imap is : |
||
27 | omap is : |
||
28 | emap is : crcrlf,delbs, |
||
29 | logfile is : none |
||
30 | initstring : none |
||
31 | exit_after is : not set |
||
32 | exit is : no |
||
33 | |||
34 | Type [C-a] [C-h] to see available commands |
||
35 | Terminal ready |
||
36 | |||
37 | Welcome to Samsung Primitive Bootloader. |
||
38 | build time: May 8 2012 19:31:07 |
||
39 | current time: fe/1f/7 3f:77:31 |
||
40 | |||
41 | [set_mmc_ocr] Sector Mode |
||
42 | [hsmmc_init] MMC card is detected |
||
43 | Product Name : VYL00M |
||
44 | <display_card_info:1009> ext_csd |
||
45 | <display_card_info:1011>card_size: 15028 |
||
46 | Total Card Size: 15029 MByte |
||
47 | |||
48 | mmc_init: card initialization completed! |
||
49 | pbl found bootable sbl in #53248. |
||
50 | jump to sbl 0x4d400000. |
||
51 | |||
52 | Secondary Bootloader v3.1 version. |
||
53 | Copyright (C) 2011 System S/W Group. Samsung Electronics Co., Ltd. |
||
54 | Board: C1 REV 02 / May 8 2012 19:31:13 |
||
55 | current time: fe/1f/7 3f:77:31 |
||
56 | |||
57 | booting code=0xc0c0c0c0 |
||
58 | [set_mmc_ocr] Sector Mode |
||
59 | [hsmmc_init] MMC card is detected |
||
60 | Product Name : VYL00M |
||
61 | CID:150100 56594c30 304d19da b33abb8e |
||
62 | <display_card_info:1046> ext_csd |
||
63 | <display_card_info:1048>card_size: 15028 |
||
64 | Total Card Size: 15029 MByte |
||
65 | |||
66 | Total Sector Count: 30777344 |
||
67 | |||
68 | MoviNand Initialization Complete! |
||
69 | ===== PARTITION INFORMATION ===== |
||
70 | ID : GANG (0x0) |
||
71 | DEVICE : MMC |
||
72 | FIRST UNIT : 0 |
||
73 | NO. UNITS : 0 |
||
74 | ================================= |
||
75 | ID : BOOT (0x1) |
||
76 | DEVICE : MMC |
||
77 | FIRST UNIT : 0 |
||
78 | NO. UNITS : 0 |
||
79 | ================================= |
||
80 | ID : EFS (0x4) |
||
81 | DEVICE : MMC |
||
82 | FIRST UNIT : 8192 |
||
83 | NO. UNITS : 40960 |
||
84 | ================================= |
||
85 | ID : SBL1 (0x2) |
||
86 | DEVICE : MMC |
||
87 | FIRST UNIT : 49152 |
||
88 | NO. UNITS : 2560 |
||
89 | ================================= |
||
90 | ID : SBL2 (0x3) |
||
91 | DEVICE : MMC |
||
92 | FIRST UNIT : 53248 |
||
93 | NO. UNITS : 2560 |
||
94 | ================================= |
||
95 | ID : PARAM (0x5) |
||
96 | DEVICE : MMC |
||
97 | FIRST UNIT : 57344 |
||
98 | NO. UNITS : 16384 |
||
99 | ================================= |
||
100 | ID : KERNEL (0x6) |
||
101 | DEVICE : MMC |
||
102 | FIRST UNIT : 73728 |
||
103 | NO. UNITS : 16384 |
||
104 | ================================= |
||
105 | ID : RECOVERY (0x7) |
||
106 | DEVICE : MMC |
||
107 | FIRST UNIT : 90112 |
||
108 | NO. UNITS : 16384 |
||
109 | ================================= |
||
110 | ID : CACHE (0x8) |
||
111 | DEVICE : MMC |
||
112 | FIRST UNIT : 106496 |
||
113 | NO. UNITS : 204800 |
||
114 | ================================= |
||
115 | ID : MODEM (0x9) |
||
116 | DEVICE : MMC |
||
117 | FIRST UNIT : 311296 |
||
118 | NO. UNITS : 32768 |
||
119 | ================================= |
||
120 | ID : FACTORYFS (0xa) |
||
121 | DEVICE : MMC |
||
122 | FIRST UNIT : 344064 |
||
123 | NO. UNITS : 1048576 |
||
124 | ================================= |
||
125 | ID : DATAFS (0xb) |
||
126 | DEVICE : MMC |
||
127 | FIRST UNIT : 1392640 |
||
128 | NO. UNITS : 4194304 |
||
129 | ================================= |
||
130 | ID : UMS (0xc) |
||
131 | DEVICE : MMC |
||
132 | FIRST UNIT : 5586944 |
||
133 | NO. UNITS : 24133632 |
||
134 | ================================= |
||
135 | ID : HIDDEN (0xd) |
||
136 | DEVICE : MMC |
||
137 | FIRST UNIT : 29720576 |
||
138 | NO. UNITS : 1048576 |
||
139 | ================================= |
||
140 | loke_init: j4fs_open..success |
||
141 | <start_checksum:1033>CHECKSUM_HEADER_SECTOR :42 |
||
142 | <start_checksum:1035>offset:42, size:1024 |
||
143 | Not Need Movinand Checksum |
||
144 | load_lfs_parameters valid magic code and version. |
||
145 | switch_sel_str='1' |
||
146 | load_debug_level: read debug level successfully(0x574f4c44)...LOW |
||
147 | init_ddi_data: usable ddi data. |
||
148 | init_fuel_gauge : not por status |
||
149 | fuel_gauge_get_version: [1]=0, [0]=92 |
||
150 | init_fuel_gauge: vcell = 3846 mV, vfocv = 3877 mV, soc = 62 |
||
151 | microusb_get_attached_device: STATUS1:0x3c, 2:0x0 |
||
152 | microusb_get_attached_device: STATUS1:0x3c, 2:0x0 |
||
153 | 6280 = (382600 - 337808)*14022/100000 |
||
154 | [3] 388175 = (6280 * 100000) / 11164 + 331923 |
||
155 | init_microusb_ic: MUIC: CONTROL1:0x1b |
||
156 | init_microusb_ic: MUIC: CONTROL1:0x1b |
||
157 | init_microusb_ic: MUIC: CONTROL2:0x1a |
||
158 | init_microusb_ic: MUIC: CONTROL2:0x3a |
||
159 | reading nps status file is successfully!. |
||
160 | nps status=0x504d4f43 |
||
161 | PMIC_IRQSRC = 0x0 |
||
162 | PMIC_IRQ1 = 0xb |
||
163 | PMIC_IRQ2 = 0x1a |
||
164 | PMIC_IRQ3 = 0x0 |
||
165 | PMIC_IRQ4 = 0x11 |
||
166 | PMIC_STATUS1 = 0x1 |
||
167 | PMIC_STATUS2 = 0x10 |
||
168 | PMIC_STATUS3 = 0x0 |
||
169 | PMIC_STATUS4 = 0x0 |
||
170 | bootloader base address=0x4d400000 |
||
171 | LPDDR0 1st. cached=0x40000000, size=0xe400000 |
||
172 | LPDDR0 non-cached=0x4e400000, size=0xa00000 |
||
173 | LPDDR0 2nd. cached=0x4ee00000, size=0x1200000 |
||
174 | RST_STAT = 0x10000 |
||
175 | get_hwrev() = 14 |
||
176 | board_process_platform: MAGIC c0c0c0c0 at 40000000! |
||
177 | microusb_get_attached_device: STATUS1:0x3c, 2:0x0 |
||
178 | microusb_get_attached_device: STATUS1:0x3c, 2:0x0 |
||
179 | microusb_get_attached_device: STATUS1:0x3c, 2:0x0 |
||
180 | microusb_get_attached_device: STATUS1:0x3c, 2:0x0 |
||
181 | hw_pm_status: jig_status = 1, chg_status = 0 |
||
182 | s5p_set_high_clk: ARM Clock = 800MHz. |
||
183 | ......kernel is non signed binary. |
||
184 | DISPLAY_PATH_SEL[MDNIE 0x1]is on |
||
185 | div:2, FB_SOURCE_CLOCK:667000000, FB_PIXEL_CLOCK:25067520 |
||
186 | MDNIE setting Init start!! |
||
187 | vsync interrupt is off |
||
188 | video interrupt is off |
||
189 | [fb0] turn on |
||
190 | MDNIE setting Init end!! |
||
191 | |||
192 | Autoboot (0 seconds) in progress, press any key to stop |
||
193 | boot_kernel: debug level low! |
||
194 | checkbit: find RECOVERY |
||
195 | checkbit (0) |
||
196 | ......kernel is non signed binary. |
||
197 | ATAG_CORE: 5 54410001 0 0 0 |
||
198 | MEMCONFIG: 20e01323 20e01323 |
||
199 | ATAG_MEM: 4 54410002 10000000 40000000 |
||
200 | ATAG_MEM: 4 54410002 10000000 50000000 |
||
201 | ATAG_MEM: 4 54410002 10000000 60000000 |
||
202 | ATAG_MEM: 4 54410002 10000000 70000000 |
||
203 | ATAG_SERIAL: 4 54410006 b33abb8e 304d19da |
||
204 | ATAG_REVISION: 3 54410007 e |
||
205 | hardware_ID : 0019dab33abb8e |
||
206 | 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' |
||
207 | ATAG_NONE: 0 0 |
||
208 | |||
209 | Starting kernel at 0x40008000... |
||
210 | |||
211 | AST_POWERON |
||
212 | |||
213 | </pre> |
||
214 | |||
215 | 3 | Denis 'GNUtoo' Carikli | h2. Available commands |
216 | |||
217 | <pre> |
||
218 | SBL> help |
||
219 | Following commands are supported: |
||
220 | * movichk |
||
221 | * setenv |
||
222 | * saveenv |
||
223 | * printenv |
||
224 | * help |
||
225 | * reset |
||
226 | * boot |
||
227 | * kernel |
||
228 | * loadpart |
||
229 | * loadkernel |
||
230 | * erasepart |
||
231 | * format |
||
232 | * open |
||
233 | * close |
||
234 | * eraseall |
||
235 | * showpart |
||
236 | * addpart |
||
237 | * delpart |
||
238 | * savepart |
||
239 | * nkernel |
||
240 | * nandread |
||
241 | * nandwrite |
||
242 | * usb |
||
243 | * crc |
||
244 | * log |
||
245 | * sud |
||
246 | * upload |
||
247 | * emmc |
||
248 | * keyread |
||
249 | * mmctest |
||
250 | * usb_read |
||
251 | * usb_write |
||
252 | * fuelgauge |
||
253 | To get commands help, Type "help <command>" |
||
254 | </pre> |
||
255 | |||
256 | And their respective help: |
||
257 | <pre> |
||
258 | SBL> help movichk |
||
259 | * Help : movichk |
||
260 | * Usage : |
||
261 | SBL> help setenv |
||
262 | * Help : setenv |
||
263 | * Usage : setenv [name] [value] . . |
||
264 | Modify current environment info on ram |
||
265 | |||
266 | SBL> help saveenv |
||
267 | * Help : saveenv |
||
268 | * Usage : saveenv |
||
269 | Save cuurent environment info to flash |
||
270 | |||
271 | SBL> help printenv |
||
272 | * Help : printenv |
||
273 | * Usage : printenv |
||
274 | Print current environment info on ram |
||
275 | |||
276 | SBL> help help |
||
277 | * Help : help |
||
278 | * Usage : help [command] |
||
279 | SBL> help reset |
||
280 | * Help : reset |
||
281 | * Usage : reboot |
||
282 | Reboot system |
||
283 | |||
284 | SBL> help boot |
||
285 | * Help : boot |
||
286 | * Usage : boot [kernel options] |
||
287 | Boot Linux with optional kernel options |
||
288 | |||
289 | SBL> help kernel |
||
290 | * Help : kernel |
||
291 | * Usage : kernel hex_adr |
||
292 | Change the Linux kernel base |
||
293 | |||
294 | SBL> help loadpart |
||
295 | * Help : loadpart |
||
296 | * Usage : load partition from storage device. |
||
297 | SBL> help loadkernel |
||
298 | * Help : loadkernel |
||
299 | * Usage : load kernel from storage device. |
||
300 | SBL> help erasepart |
||
301 | * Help : erasepart |
||
302 | * Usage : erase partition. |
||
303 | SBL> help format |
||
304 | * Help : format |
||
305 | * Usage : format |
||
306 | format device |
||
307 | SBL> help open |
||
308 | * Help : open |
||
309 | * Usage : open |
||
310 | open device |
||
311 | SBL> help close |
||
312 | * Help : close |
||
313 | * Usage : close |
||
314 | close device |
||
315 | SBL> help eraseall |
||
316 | * Help : eraseall |
||
317 | * Usage : eraseall |
||
318 | erase all units |
||
319 | SBL> help showpart |
||
320 | * Help : showpart |
||
321 | * Usage : showpart |
||
322 | show partition information |
||
323 | SBL> help addpart |
||
324 | * Help : addpart |
||
325 | * Usage : addpart <id> <attr> <unit> |
||
326 | add partition information |
||
327 | - ex) addpart 0x(id) 0x1(attr) 0x10(units) |
||
328 | SBL> help delpart |
||
329 | * Help : delpart |
||
330 | * Usage : delpart |
||
331 | delete last partition information |
||
332 | SBL> help savepart |
||
333 | * Help : savepart |
||
334 | * Usage : savepart |
||
335 | save partition information |
||
336 | SBL> help nkernel |
||
337 | * Help : nkernel |
||
338 | * Usage : nkernel command |
||
339 | * Usage : nkernel |
||
340 | read kernel from flash to DDR |
||
341 | |||
342 | SBL> help nandread |
||
343 | * Help : nandread |
||
344 | * Usage : * Usage : nandread <PARTID> <SIZE> |
||
345 | read partition from flash to SDRAM(0x80000000) |
||
346 | |||
347 | SBL> help nandwrite |
||
348 | * Help : nandwrite |
||
349 | * Usage : * Usage: nandwrite <PARTID> <SIZE> |
||
350 | write partition from SDRAM(0x80000000) to flash |
||
351 | |||
352 | SBL> help usb |
||
353 | * Help : usb |
||
354 | * Usage : usb download command |
||
355 | SBL> help crc |
||
356 | * Help : crc |
||
357 | * Usage : crc <crc> <addr> <len> |
||
358 | SBL> help log |
||
359 | * Help : log |
||
360 | * Usage : print log |
||
361 | SBL> help sud |
||
362 | * Help : sud |
||
363 | * Usage : sud command |
||
364 | SBL> help upload |
||
365 | * Help : upload |
||
366 | * Usage : upload |
||
367 | SBL> help emmc |
||
368 | * Help : emmc |
||
369 | * Usage : emmc <addr> |
||
370 | SBL> help keyread |
||
371 | * Help : keyread |
||
372 | * Usage : *Usage : keyread |
||
373 | |||
374 | SBL> help mmctest |
||
375 | * Help : mmctest |
||
376 | * Usage : mmctest <addr> <start block> <number of blocks> |
||
377 | SBL> help usb_read |
||
378 | * Help : usb_read |
||
379 | * Usage : usb_read reg |
||
380 | Read the usb ic register |
||
381 | |||
382 | SBL> help usb_write |
||
383 | * Help : usb_write |
||
384 | * Usage : usb_write reg, val |
||
385 | Read the usb ic register |
||
386 | |||
387 | SBL> help fuelgauge |
||
388 | * Help : fuelgauge |
||
389 | * Usage : *usage : fuelgauge |
||
390 | |||
391 | SBL> |
||
392 | </pre> |
||
393 | |||
394 | 6 | Denis 'GNUtoo' Carikli | h2. Printenv |
395 | |||
396 | <pre> |
||
397 | SBL> printenv |
||
398 | PARAM Rev 1.3 |
||
399 | SERIAL_SPEED : 7 |
||
400 | LOAD_RAMDISK : 0 |
||
401 | BOOT_DELAY : 0 |
||
402 | LCD_LEVEL : 97 |
||
403 | SWITCH_SEL : 1 |
||
404 | PHONE_DEBUG_ON : 0 |
||
405 | LCD_DIM_LEVEL : 0 |
||
406 | LCD_DIM_TIME : 6 |
||
407 | MELODY_MODE : 1 |
||
408 | REBOOT_MODE : 0 |
||
409 | NATION_SEL : 0 |
||
410 | LANGUAGE_SEL : 0 |
||
411 | SET_DEFAULT_PARAM : 0 |
||
412 | FLASH_LOCK_STATUS : 1 |
||
413 | PARAM_INT_14 : 0 |
||
414 | VERSION : I9000XXIL |
||
415 | CMDLINE : loglevel=4 console=ram |
||
416 | DELTA_LOCATION : /mnt/rsv |
||
417 | PARAM_STR_3 : |
||
418 | PARAM_STR_4 : |
||
419 | </pre> |
||
420 | |||
421 | 7 | Denis 'GNUtoo' Carikli | h2. How to enable serial console for Replicant 6.0 kernels |
422 | 4 | Denis 'GNUtoo' Carikli | |
423 | 8 | Denis 'GNUtoo' Carikli | To get the UART enabled at boot with the Replicant 6.0 kernel and the stock bootloader, see the "DHylands_SGS2_Console":https://wiki.mozilla.org/DHylands_SGS2_Console page on the mozilla wiki. |
424 | 4 | Denis 'GNUtoo' Carikli | |
425 | 3 | Denis 'GNUtoo' Carikli | h2. TODO |
426 | |||
427 | * TODO: https://forum.xda-developers.com/showpost.php?p=10823240&postcount=58 |