GTIN7000Bootloader » History » Version 2
Denis 'GNUtoo' Carikli, 03/08/2020 04:01 AM
1 | 1 | Denis 'GNUtoo' Carikli | h1. GTIN7000Bootloader |
---|---|---|---|
2 | |||
3 | h2. Boot log |
||
4 | |||
5 | <pre> |
||
6 | � |
||
7 | Welcome to Samsung Primitive Bootloader. |
||
8 | build time: Nov 11 2011 15:10:05 |
||
9 | current time: ff/1f/3 3f:7f:70 |
||
10 | |||
11 | [set_mmc_ocr] Sector Mode |
||
12 | [hsmmc_init] MMC card is detected |
||
13 | Product Name : VYL00M |
||
14 | <display_card_info:1009> ext_csd |
||
15 | <display_card_info:1011>card_size: 15028 |
||
16 | Total Card Size: 15029 MByte |
||
17 | |||
18 | mmc_init: card initialization completed! |
||
19 | pbl found bootable sbl in #53248. |
||
20 | jump to sbl 0x4d400000. |
||
21 | |||
22 | Secondary Bootloader v3.1 version. |
||
23 | Copyright (C) 2011 System S/W Group. Samsung Electronics Co., Ltd. |
||
24 | Board: C1 REV 02 / Apr 25 2012 00:55:25 |
||
25 | current time: ff/1f/3 3f:7f:71 |
||
26 | |||
27 | booting code=0xc0c0c0c0 |
||
28 | [set_mmc_ocr] Sector Mode |
||
29 | [hsmmc_init] MMC card is detected |
||
30 | Product Name : VYL00M |
||
31 | CID:150100 56594c30 304d1999 c829381f |
||
32 | <display_card_info:1046> ext_csd |
||
33 | <display_card_info:1048>card_size: 15028 |
||
34 | Total Card Size: 15029 MByte |
||
35 | |||
36 | Total Sector Count: 30777344 |
||
37 | |||
38 | MoviNand Initialization Complete! |
||
39 | ===== PARTITION INFORMATION ===== |
||
40 | ID DEVICE FIRST UNIT NO. UNITS |
||
41 | GANG (0x0) MMC 0 0 |
||
42 | BOOT (0x1) MMC 0 0 |
||
43 | EFS (0x4) MMC 8192 40960 |
||
44 | SBL1 (0x2) MMC 49152 2560 |
||
45 | SBL2 (0x3) MMC 53248 2560 |
||
46 | PARAM (0x5) MMC 57344 16384 |
||
47 | KERNEL (0x6) MMC 73728 16384 |
||
48 | RECOVERY (0x7) MMC 90112 16384 |
||
49 | CACHE (0x8) MMC 106496 409600 |
||
50 | MODEM (0x9) MMC 516096 32768 |
||
51 | FACTORYFS (0xa) MMC 548864 1744896 |
||
52 | DATAFS (0xb) MMC 2293760 4194304 |
||
53 | UMS (0xc) MMC 6488064 23232512 |
||
54 | HIDDEN (0xd) MMC 29720576 1048576 |
||
55 | loke_init: j4fs_open..success |
||
56 | <start_checksum:1031>CHECKSUM_HEADER_SECTOR :42 |
||
57 | <start_checksum:1033>offset:42, size:1024 |
||
58 | Not Need Movinand Checksum |
||
59 | load_lfs_parameters valid magic code and version. |
||
60 | switch_sel_str='1' |
||
61 | load_debug_level: read debug level successfully(0x574f4c44)...LOW |
||
62 | init_ddi_data: usable ddi data. |
||
63 | init_fuel_gauge : not por status |
||
64 | fuel_gauge_get_version: [1]=19, [0]=d3 |
||
65 | init_fuel_gauge: vcell = 4058 mV, vfocv = 4131 mV, soc = 96 |
||
66 | microusb_get_attached_device: STATUS1:0x3c, 2:0x0 |
||
67 | microusb_get_attached_device: STATUS1:0x3c, 2:0x0 |
||
68 | 9172 = (403800 - 329011)*12264/100000 |
||
69 | [1] 409450 = (9172 * 100000) / 10936 + 325581 |
||
70 | 0x0|0h,0xff|0h,0x7f|80h,0xff|1h,0x0|0h,0x7|91h,0x60|abh,0x64|0h,0x1c|0h,0xcb|16h,0xff|70h,0xff|73h,0x0|2h,0x60|b1h,0x60|d6h,0x7|91h,0x7|d0h,0x6d|c9h,0xa0|5ah,0x0|0h,0x2|90h,0x1|48h,0x16|e5h,0x0|1h,0x7|d0h,0xc9|6ah,0x1c|16h,0xcf|c2h,0x0|feh,0x23|14h,0x2|80h,0x7|8fh,0x4d|78h,0x0|92h,0x1|0h,0x7|d0h,0x14|0h,0x23|5h,0x16|0h,0x7f|ceh,0x0|7h,0x8e|84h,0x10|3bh,0x8|10h,0xe3|e1h,0x29|eh,0x40|0h,0x0|0h,0x4|0h,0x6|40h,0x8|0h,0x0|0h,0x5|52h,0x7|d4h,0x1|0h,0x5|e0h,0x0|78h,0x10|25h,0x50|30h,0x6|0h,0x16|80h,0x14|0h,0x5|deh,0xe0|0h,0x10|0h,0x4|10h,0x7f|ffh,0x0|0h,0xcf|0h,0x1|f4h,0x32|0h,0x0|0h,0x60|abh,0xe2|cfh,0x7|91h,0xf3|0h,0xff|fch,0xff|fch,0xba|cfh,0x23|c5h, |
||
71 | 0xc|47h,0xb|c2h,0x0|1h,0x16|7dh,0x0|3h,0x0|6h,0xff|90h,0xff|ffh,0x4c|10h,0x0|0h,0x4c|30h,0xff|c0h,0x40|0h,0x0|0h,0xce|a0h,0x9|10h,0x0|0h,0x0|0h,0x0|0h,0x0|0h,0x0|0h,0x0|0h,0x60|b1h,0xff|47h,0x3f|e7h,0x55|71h,0xff|f3h,0xce|9bh,0x0|76h,0x39|10h,0xcb|16h,0x60|abh, |
||
72 | init_microusb_ic: MUIC: CONTROL1:0x1b |
||
73 | init_microusb_ic: MUIC: CONTROL1:0x1b |
||
74 | init_microusb_ic: MUIC: CONTROL2:0x1a |
||
75 | init_microusb_ic: MUIC: CONTROL2:0x3a |
||
76 | reading nps status file is successfully!. |
||
77 | nps status=0x504d4f43 |
||
78 | PMIC_IRQSRC = 0x0 |
||
79 | PMIC_IRQ1 = 0xb |
||
80 | PMIC_IRQ2 = 0x1b |
||
81 | PMIC_IRQ3 = 0x0 |
||
82 | PMIC_IRQ4 = 0x11 |
||
83 | PMIC_STATUS1 = 0x1 |
||
84 | PMIC_STATUS2 = 0x10 |
||
85 | PMIC_STATUS3 = 0x0 |
||
86 | PMIC_STATUS4 = 0x0 |
||
87 | bootloader base address=0x4d400000 |
||
88 | LPDDR0 1st. cached=0x40000000, size=0xe400000 |
||
89 | LPDDR0 non-cached=0x4e400000, size=0xa00000 |
||
90 | LPDDR0 2nd. cached=0x4ee00000, size=0x1200000 |
||
91 | RST_STAT = 0x10000 |
||
92 | get_hwrev() = 8 |
||
93 | board_process_platform: MAGIC c0c0c0c0 at 40000000! |
||
94 | board_process_platform: debug level is 574f4c44! |
||
95 | microusb_get_attached_device: STATUS1:0x3c, 2:0x0 |
||
96 | microusb_get_attached_device: STATUS1:0x3c, 2:0x0 |
||
97 | microusb_get_attached_device: STATUS1:0x3c, 2:0x0 |
||
98 | microusb_get_attached_device: STATUS1:0x3c, 2:0x0 |
||
99 | hw_pm_status: jig_status = 1, chg_status = 0 |
||
100 | s5p_set_high_clk: ARM Clock = 800MHz. |
||
101 | ......kernel is non signed binary. |
||
102 | a2, 83, 1f, lcdtype = 0 |
||
103 | |||
104 | Autoboot (0 seconds) in progress, press any key to stop |
||
105 | boot_kernel: debug level low! |
||
106 | checkbit: find RECOVERY |
||
107 | checkbit (0) |
||
108 | ......kernel is non signed binary. |
||
109 | ATAG_CORE: 5 54410001 0 0 0 |
||
110 | MEMCONFIG: 20e01323 20e01323 |
||
111 | ATAG_MEM: 4 54410002 10000000 40000000 |
||
112 | ATAG_MEM: 4 54410002 10000000 50000000 |
||
113 | ATAG_MEM: 4 54410002 10000000 60000000 |
||
114 | ATAG_MEM: 4 54410002 10000000 70000000 |
||
115 | ATAG_SERIAL: 4 XXXXXXXX XXXXXXXX XXXXXXXX |
||
116 | ATAG_REVISION: 3 54410007 8 |
||
117 | ATAG_CMDLINE: 33 54410009 'loglevel=4 console=ram sec_debug.enable=0 sec_debug.enable_user=0 c1_watchdog.sec_pet=5 sec_log=0x100000@0x5ea00000 s3cfb.bootloaderfb=0x5ec00000 lcdtype=3 consoleblank=0 lpj=3981312 vmalloc=144m' |
||
118 | ATAG_NONE: 0 0 |
||
119 | |||
120 | Starting kernel at 0x40008000... |
||
121 | |||
122 | </pre> |
||
123 | 2 | Denis 'GNUtoo' Carikli | |
124 | h2. Available commands |
||
125 | |||
126 | <pre> |
||
127 | SBL> help |
||
128 | Following commands are supported: |
||
129 | * movichk |
||
130 | * setenv |
||
131 | * saveenv |
||
132 | * printenv |
||
133 | * help |
||
134 | * reset |
||
135 | * boot |
||
136 | * kernel |
||
137 | * loadpart |
||
138 | * loadkernel |
||
139 | * erasepart |
||
140 | * format |
||
141 | * open |
||
142 | * close |
||
143 | * eraseall |
||
144 | * showpart |
||
145 | * addpart |
||
146 | * delpart |
||
147 | * savepart |
||
148 | * nkernel |
||
149 | * nandread |
||
150 | * nandwrite |
||
151 | * usb |
||
152 | * crc |
||
153 | * log |
||
154 | * sud |
||
155 | * upload |
||
156 | * emmc |
||
157 | * smartreport |
||
158 | * keyread |
||
159 | * readadc |
||
160 | * mmctest |
||
161 | * usb_read |
||
162 | * usb_write |
||
163 | * fuelgauge |
||
164 | * wdt |
||
165 | To get commands help, Type "help <command>" |
||
166 | </pre> |
||
167 | |||
168 | And their respective help |
||
169 | <pre> |
||
170 | SBL> help movichk |
||
171 | * Help : movichk |
||
172 | * Usage : |
||
173 | SBL> help setenv |
||
174 | * Help : setenv |
||
175 | * Usage : setenv [name] [value] . . |
||
176 | Modify current environment info on ram |
||
177 | |||
178 | SBL> help saveenv |
||
179 | * Help : saveenv |
||
180 | * Usage : saveenv |
||
181 | Save cuurent environment info to flash |
||
182 | |||
183 | SBL> help printenv |
||
184 | * Help : printenv |
||
185 | * Usage : printenv |
||
186 | Print current environment info on ram |
||
187 | |||
188 | SBL> help help |
||
189 | * Help : help |
||
190 | * Usage : help [command] |
||
191 | SBL> help reset |
||
192 | * Help : reset |
||
193 | * Usage : reboot |
||
194 | Reboot system |
||
195 | |||
196 | SBL> help boot |
||
197 | * Help : boot |
||
198 | * Usage : boot [kernel options] |
||
199 | Boot Linux with optional kernel options |
||
200 | |||
201 | SBL> help kernel |
||
202 | * Help : kernel |
||
203 | * Usage : kernel hex_adr |
||
204 | Change the Linux kernel base |
||
205 | |||
206 | SBL> help loadpart |
||
207 | * Help : loadpart |
||
208 | * Usage : load partition from storage device. |
||
209 | SBL> help loadkernel |
||
210 | * Help : loadkernel |
||
211 | * Usage : load kernel from storage device. |
||
212 | SBL> help erasepart |
||
213 | * Help : erasepart |
||
214 | * Usage : erase partition. |
||
215 | SBL> help format |
||
216 | * Help : format |
||
217 | * Usage : format |
||
218 | format device |
||
219 | SBL> help open |
||
220 | * Help : open |
||
221 | * Usage : open |
||
222 | open device |
||
223 | SBL> help close |
||
224 | * Help : close |
||
225 | * Usage : close |
||
226 | close device |
||
227 | SBL> help eraseall |
||
228 | * Help : eraseall |
||
229 | * Usage : eraseall |
||
230 | erase all units |
||
231 | SBL> help showpart |
||
232 | * Help : showpart |
||
233 | * Usage : showpart |
||
234 | show partition information |
||
235 | SBL> help addpart |
||
236 | * Help : addpart |
||
237 | * Usage : addpart <id> <attr> <unit> |
||
238 | add partition information |
||
239 | - ex) addpart 0x(id) 0x1(attr) 0x10(units) |
||
240 | SBL> help delpart |
||
241 | * Help : delpart |
||
242 | * Usage : delpart |
||
243 | delete last partition information |
||
244 | SBL> help savepart |
||
245 | * Help : savepart |
||
246 | * Usage : savepart |
||
247 | save partition information |
||
248 | SBL> help nkernel |
||
249 | * Help : nkernel |
||
250 | * Usage : nkernel command |
||
251 | * Usage : nkernel |
||
252 | read kernel from flash to DDR |
||
253 | |||
254 | SBL> help nandread |
||
255 | * Help : nandread |
||
256 | * Usage : * Usage : nandread <PARTID> <SIZE> |
||
257 | read partition from flash to SDRAM(0x80000000) |
||
258 | |||
259 | SBL> help nandwrite |
||
260 | * Help : nandwrite |
||
261 | * Usage : * Usage: nandwrite <PARTID> <SIZE> |
||
262 | write partition from SDRAM(0x80000000) to flash |
||
263 | |||
264 | SBL> help usb |
||
265 | * Help : usb |
||
266 | * Usage : usb download command |
||
267 | SBL> help crc |
||
268 | * Help : crc |
||
269 | * Usage : crc <crc> <addr> <len> |
||
270 | SBL> help log |
||
271 | * Help : log |
||
272 | * Usage : print log |
||
273 | SBL> help sud |
||
274 | * Help : sud |
||
275 | * Usage : sud command |
||
276 | SBL> help upload |
||
277 | * Help : upload |
||
278 | * Usage : upload |
||
279 | SBL> help emmc |
||
280 | * Help : emmc |
||
281 | * Usage : emmc <addr> |
||
282 | SBL> help smartreport |
||
283 | * Help : smartreport |
||
284 | * Usage : smartreport [mode] |
||
285 | SBL> help keyread |
||
286 | * Help : keyread |
||
287 | * Usage : *Usage : keyread |
||
288 | |||
289 | SBL> help readadc |
||
290 | * Help : readadc |
||
291 | * Usage : *Usage : readadc <channel> |
||
292 | |||
293 | SBL> help mmctest |
||
294 | * Help : mmctest |
||
295 | * Usage : mmctest <addr> <start block> <number of blocks> |
||
296 | SBL> help usb_read |
||
297 | * Help : usb_read |
||
298 | * Usage : usb_read reg |
||
299 | Read the usb ic register |
||
300 | |||
301 | SBL> help usb_write |
||
302 | * Help : usb_write |
||
303 | * Usage : usb_write reg, val |
||
304 | Read the usb ic register |
||
305 | |||
306 | SBL> help fuelgauge |
||
307 | * Help : fuelgauge |
||
308 | * Usage : *usage : fuelgauge |
||
309 | |||
310 | SBL> help wdt |
||
311 | * Help : wdt |
||
312 | * Usage : wdt |
||
313 | </pre> |