SamsungSerial » History » Version 26
Denis 'GNUtoo' Carikli, 03/16/2013 04:00 PM
1 | 16 | Paul Kocialkowski | h2. Introduction |
---|---|---|---|
2 | |||
3 | 26 | Denis 'GNUtoo' Carikli | This page contains information on to get serial on, at least, the following phones: |
4 | * Nexus S |
||
5 | * Galaxy Nexus |
||
6 | 1 | Denis 'GNUtoo' Carikli | |
7 | |||
8 | 16 | Paul Kocialkowski | h2. Informations |
9 | 1 | Denis 'GNUtoo' Carikli | |
10 | 16 | Paul Kocialkowski | * The "official u-boot source code":http://git.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=summary already has support for the S5PC110 SOC(system on a chip) that the Nexus S uses |
11 | * The S5PC110 has a bootrom |
||
12 | * The Nexus S has an usb port with an FSA9480 behind it |
||
13 | 1 | Denis 'GNUtoo' Carikli | |
14 | |||
15 | 16 | Paul Kocialkowski | h2. Links of interest |
16 | |||
17 | |||
18 | * "Create your own I9000/S8500 (& all S5PC110 based devices) bootloader&ultimate unbrick - XDA-Developers Forums":http://forum.xda-developers.com/showthread.php?t=1233273 |
||
19 | * "HOW-TO [[UnBrick]] the [[UnBrickable]] Vibrant - xda-developers":http://forum.xda-developers.com/showthread.php?t=1277056 |
||
20 | * "Boot sequence interception/redirection for Hummingbird processors":http://code.google.com/p/hummingbird-hibl/ |
||
21 | * "source code for hummingbird-hibl":http://code.google.com/p/hummingbird-hibl/source/browse/trunk/HummingBirdInterceptorBootloader/ |
||
22 | 23 | Paul Kocialkowski | * "Unbrick Your Hummingbird-Powered Device by Creating Your Own Bootloader":http://www.xda-developers.com/android/unbrick-your-hummingbird-powered-device-by-creating-your-own-bootloader/ |
23 | * "Create your own I9000/S8500 (& all S5PC110 based devices) bootloader&ultimate unbrick":http://forum.xda-developers.com/showthread.php?t=1233273 |
||
24 | 16 | Paul Kocialkowski | |
25 | h3. Partitioning informations |
||
26 | |||
27 | |||
28 | <pre> |
||
29 | 8 | Paul Kocialkowski | Entry Count: 16 |
30 | Unknown 1: 0 |
||
31 | Unknown 2: 0 |
||
32 | Unknown 3: 0 |
||
33 | Unknown 4: 0 |
||
34 | Unknown 5: 0 |
||
35 | Unknown 6: 0 |
||
36 | Unknown 7: 0 |
||
37 | Unknown 8: 0 |
||
38 | |||
39 | |||
40 | --- Entry #0 --- |
||
41 | Unused: No |
||
42 | Partition Type: 0 (RFS) |
||
43 | Partition Identifier: 0 |
||
44 | Partition Flags: 0 (R) |
||
45 | Unknown 1: 0 |
||
46 | Partition Block Size: 256 |
||
47 | Partition Block Count: 1 |
||
48 | Unknown 2: 0 |
||
49 | Unknown 3: 0 |
||
50 | Partition Name: IPBL |
||
51 | Filename: bootloader.img |
||
52 | |||
53 | |||
54 | --- Entry #1 --- |
||
55 | Unused: No |
||
56 | Partition Type: 0 (RFS) |
||
57 | Partition Identifier: 1 |
||
58 | Partition Flags: 0 (R) |
||
59 | Unknown 1: 0 |
||
60 | Partition Block Size: 256 |
||
61 | Partition Block Count: 7 |
||
62 | Unknown 2: 0 |
||
63 | Unknown 3: 0 |
||
64 | Partition Name: SBL |
||
65 | Filename: |
||
66 | |||
67 | |||
68 | --- Entry #2 --- |
||
69 | Unused: No |
||
70 | Partition Type: 0 (RFS) |
||
71 | Partition Identifier: 2 |
||
72 | Partition Flags: 0 (R) |
||
73 | Unknown 1: 0 |
||
74 | Partition Block Size: 256 |
||
75 | Partition Block Count: 7 |
||
76 | Unknown 2: 0 |
||
77 | Unknown 3: 0 |
||
78 | Partition Name: SBL2 |
||
79 | Filename: |
||
80 | |||
81 | |||
82 | --- Entry #3 --- |
||
83 | Unused: No |
||
84 | Partition Type: 0 (RFS) |
||
85 | Partition Identifier: 3 |
||
86 | Partition Flags: 0 (R) |
||
87 | Unknown 1: 0 |
||
88 | Partition Block Size: 256 |
||
89 | Partition Block Count: 4 |
||
90 | Unknown 2: 0 |
||
91 | Unknown 3: 0 |
||
92 | Partition Name: PARAM |
||
93 | Filename: |
||
94 | |||
95 | |||
96 | --- Entry #4 --- |
||
97 | Unused: No |
||
98 | Partition Type: 0 (RFS) |
||
99 | Partition Identifier: 4 |
||
100 | Partition Flags: 0 (R) |
||
101 | Unknown 1: 0 |
||
102 | Partition Block Size: 256 |
||
103 | Partition Block Count: 5 |
||
104 | Unknown 2: 0 |
||
105 | Unknown 3: 0 |
||
106 | Partition Name: MISC |
||
107 | Filename: |
||
108 | |||
109 | |||
110 | --- Entry #5 --- |
||
111 | Unused: No |
||
112 | Partition Type: 0 (RFS) |
||
113 | Partition Identifier: 5 |
||
114 | Partition Flags: 0 (R) |
||
115 | Unknown 1: 0 |
||
116 | Partition Block Size: 256 |
||
117 | Partition Block Count: 32 |
||
118 | Unknown 2: 0 |
||
119 | Unknown 3: 0 |
||
120 | Partition Name: BOOT |
||
121 | Filename: boot.img |
||
122 | |||
123 | |||
124 | --- Entry #6 --- |
||
125 | Unused: No |
||
126 | Partition Type: 0 (RFS) |
||
127 | Partition Identifier: 6 |
||
128 | Partition Flags: 0 (R) |
||
129 | Unknown 1: 0 |
||
130 | Partition Block Size: 256 |
||
131 | Partition Block Count: 32 |
||
132 | Unknown 2: 0 |
||
133 | Unknown 3: 0 |
||
134 | Partition Name: RECOVERY |
||
135 | Filename: recovery.img |
||
136 | |||
137 | |||
138 | --- Entry #7 --- |
||
139 | Unused: No |
||
140 | Partition Type: 0 (RFS) |
||
141 | Partition Identifier: 7 |
||
142 | Partition Flags: 1 (R) |
||
143 | Unknown 1: 0 |
||
144 | Partition Block Size: 256 |
||
145 | Partition Block Count: 1878 |
||
146 | Unknown 2: 0 |
||
147 | Unknown 3: 0 |
||
148 | Partition Name: CACHE |
||
149 | Filename: cache.img |
||
150 | |||
151 | |||
152 | --- Entry #8 --- |
||
153 | Unused: Yes |
||
154 | Partition Type: 0 (RFS) |
||
155 | Partition Identifier: 8 |
||
156 | Partition Flags: 0 (R) |
||
157 | Unknown 1: 0 |
||
158 | Partition Block Size: 256 |
||
159 | Partition Block Count: 54 |
||
160 | Unknown 2: 0 |
||
161 | Unknown 3: 0 |
||
162 | Partition Name: RADIO |
||
163 | Filename: radio.img |
||
164 | |||
165 | |||
166 | --- Entry #9 --- |
||
167 | Unused: No |
||
168 | Partition Type: 0 (RFS) |
||
169 | Partition Identifier: 9 |
||
170 | Partition Flags: 1 (R) |
||
171 | Unknown 1: 0 |
||
172 | Partition Block Size: 256 |
||
173 | Partition Block Count: 27 |
||
174 | Unknown 2: 0 |
||
175 | Unknown 3: 0 |
||
176 | Partition Name: EFS |
||
177 | Filename: |
||
178 | |||
179 | |||
180 | --- Entry #10 --- |
||
181 | Unused: No |
||
182 | Partition Type: 0 (RFS) |
||
183 | Partition Identifier: 10 |
||
184 | Partition Flags: 0 (R) |
||
185 | Unknown 1: 0 |
||
186 | Partition Block Size: 256 |
||
187 | Partition Block Count: 1 |
||
188 | Unknown 2: 0 |
||
189 | Unknown 3: 0 |
||
190 | Partition Name: DGS |
||
191 | Filename: dgs.img |
||
192 | |||
193 | |||
194 | --- Entry #11 --- |
||
195 | Unused: No |
||
196 | Partition Type: 2 (EXT4) |
||
197 | Partition Identifier: 0 |
||
198 | Partition Flags: 2 (R/W) |
||
199 | Unknown 1: 0 |
||
200 | Partition Block Size: 512 |
||
201 | Partition Block Count: 2048 |
||
202 | Unknown 2: 0 |
||
203 | Unknown 3: 0 |
||
204 | Partition Name: PGPT |
||
205 | Filename: emmc.img |
||
206 | |||
207 | |||
208 | --- Entry #12 --- |
||
209 | Unused: No |
||
210 | Partition Type: 2 (EXT4) |
||
211 | Partition Identifier: 1 |
||
212 | Partition Flags: 2 (R/W) |
||
213 | Unknown 1: 0 |
||
214 | Partition Block Size: 512 |
||
215 | Partition Block Count: 1048576 |
||
216 | Unknown 2: 0 |
||
217 | Unknown 3: 0 |
||
218 | Partition Name: SYSTEM |
||
219 | Filename: system.img |
||
220 | |||
221 | |||
222 | --- Entry #13 --- |
||
223 | Unused: No |
||
224 | Partition Type: 2 (EXT4) |
||
225 | Partition Identifier: 2 |
||
226 | Partition Flags: 2 (R/W) |
||
227 | Unknown 1: 0 |
||
228 | Partition Block Size: 512 |
||
229 | Partition Block Count: 2097152 |
||
230 | Unknown 2: 0 |
||
231 | Unknown 3: 0 |
||
232 | Partition Name: USERDATA |
||
233 | Filename: userdata.img |
||
234 | |||
235 | |||
236 | --- Entry #14 --- |
||
237 | Unused: No |
||
238 | Partition Type: 2 (EXT4) |
||
239 | Partition Identifier: 3 |
||
240 | Partition Flags: 2 (R/W) |
||
241 | Unknown 1: 0 |
||
242 | Partition Block Size: 512 |
||
243 | Partition Block Count: 33554432 |
||
244 | Unknown 2: 0 |
||
245 | Unknown 3: 0 |
||
246 | Partition Name: MEDIA |
||
247 | Filename: media.img |
||
248 | 1 | Denis 'GNUtoo' Carikli | |
249 | |||
250 | --- Entry #15 --- |
||
251 | Unused: No |
||
252 | Partition Type: 2 (EXT4) |
||
253 | Partition Identifier: 4 |
||
254 | Partition Flags: 2 (R/W) |
||
255 | Unknown 1: 0 |
||
256 | Partition Block Size: 512 |
||
257 | Partition Block Count: 33 |
||
258 | 9 | Paul Kocialkowski | Unknown 2: 0 |
259 | Unknown 3: 0 |
||
260 | Partition Name: SGPT |
||
261 | 10 | Paul Kocialkowski | Filename: |
262 | 16 | Paul Kocialkowski | </pre> |
263 | 10 | Paul Kocialkowski | |
264 | 16 | Paul Kocialkowski | h2. Serial Console |
265 | |||
266 | 10 | Paul Kocialkowski | It is possible to setup a serial console on the Nexus S. It will show: |
267 | 16 | Paul Kocialkowski | * the 1st bootloader output |
268 | * the 2nd bootloader output |
||
269 | * the 2nd bootloader #2 output |
||
270 | * the fiq debugger |
||
271 | * (the kernel output if enabled) |
||
272 | 10 | Paul Kocialkowski | |
273 | 9 | Paul Kocialkowski | |
274 | 16 | Paul Kocialkowski | h3. How to enable serial console |
275 | |||
276 | * completely turn off the Nexus S |
||
277 | 1 | Denis 'GNUtoo' Carikli | * attach the microUSB connector to the Nexus S |
278 | * wire GND and ID (from the microUSB connector) to a 150K resistor |
||
279 | * get an UART to USB module like this one: http://www.dealextreme.com/p/usb-to-uart-5-pin-cp2102-module-serial-converter-81872 |
||
280 | * wire it following this table: |
||
281 | 16 | Paul Kocialkowski | |
282 | 17 | Paul Kocialkowski | |_. UART to USB board output |_. Resistor |_. microUSB connector(s) name(s) |_. microUSB wire color | |
283 | | N/A | 150K Ohm | ID and GND | ID not wired (the 5th connector that is unused), GND is black | |
||
284 | | 3.3V | N/A | V+ | red | |
||
285 | | GND | N/A | GND | black | |
||
286 | | Rx | N/A | D- | white | |
||
287 | | Tx | N/A | D+ | green | |
||
288 | |||
289 | 13 | Paul Kocialkowski | *Warning: the voltage to use is 3.3V and not 5V! Using 5V can cause serious damages to the UART component.* |
290 | 1 | Denis 'GNUtoo' Carikli | |
291 | 16 | Paul Kocialkowski | To read/write on the serial, you can use screen (or picocomm, or any other software that deals with serial consoles): |
292 | 115200 is the baud rate to use (certainly with most UART to USB board). |
||
293 | 1 | Denis 'GNUtoo' Carikli | |
294 | 13 | Paul Kocialkowski | Then, do a regular boot. You should see the second bootloader #2 output. To get the 1st and 2nd bootloaders output, press <enter> to get in fiq debugger and write "reboot" then <enter>. |
295 | |||
296 | Photos: here's what it looks like when all setup: |
||
297 | 22 | Denis 'GNUtoo' Carikli | !http://redmine.replicant.us/attachments/93/serial_1145.jpeg! |
298 | !http://redmine.replicant.us/attachments/99/serial_1150.JPG! |
||
299 | !http://redmine.replicant.us/attachments/105/serial_1151.jpeg! |
||
300 | 13 | Paul Kocialkowski | |
301 | 17 | Paul Kocialkowski | !http://download.paulk.fr/replicant/crespo/uart/uart_board.jpg! |
302 | 13 | Paul Kocialkowski | |
303 | The UART to USB board. USB is connected to the host PC, UART pins to the microUSB connector. |
||
304 | |||
305 | 17 | Paul Kocialkowski | !http://download.paulk.fr/replicant/crespo/uart/nexuss_resistor.jpg! |
306 | 1 | Denis 'GNUtoo' Carikli | |
307 | The 150K resistor (two resistors here that make 150K together) soldered to the microUSB connector, that is attached to the Nexus S. |
||
308 | 16 | Paul Kocialkowski | |
309 | 9 | Paul Kocialkowski | _Note: it was done the quick and dirty way here, it's better to use a protoboard (prototyping board)._ |
310 | |||
311 | 17 | Paul Kocialkowski | !http://download.paulk.fr/replicant/crespo/uart/nexuss_global_text.jpg! |
312 | 9 | Paul Kocialkowski | |
313 | 16 | Paul Kocialkowski | The USB cable that is connected to the Nexus S ends on the connectors attached to the UART to USB board. |
314 | 9 | Paul Kocialkowski | |
315 | _Note: it was done the quick and dirty way here, it's better to use a protoboard (prototyping board)._ |
||
316 | 16 | Paul Kocialkowski | |
317 | h3. Bootloaders outputs |
||
318 | |||
319 | 24 | Paul Kocialkowski | h4. Nexus S |
320 | |||
321 | 9 | Paul Kocialkowski | first bootloader: |
322 | 16 | Paul Kocialkowski | <pre> |
323 | 9 | Paul Kocialkowski | ----------------------------------------------------------- |
324 | Samsung Primitive Bootloader (PBL) v3.0 |
||
325 | 1 | Denis 'GNUtoo' Carikli | Copyright (C) Samsung Electronics Co., Ltd. 2006-2010 |
326 | 9 | Paul Kocialkowski | ----------------------------------------------------------- |
327 | |||
328 | Muxed [[OneNAND]] 512MB (0x50) Sync |
||
329 | 16 | Paul Kocialkowski | Scanning Bad Block ....... |
330 | 9 | Paul Kocialkowski | Bad Block 77 (5) |
331 | Bad Block 295 (5) |
||
332 | Bad Block 1232 (5) |
||
333 | Bad Block 1646 (5) |
||
334 | Bad Block 1831 (5) |
||
335 | Bad Block 2047 (0) |
||
336 | SBL loadding success |
||
337 | |||
338 | Set cpu clk. from 400MHz to 800MHz. |
||
339 | OM=0x9, device=OnenandMux(Audi) |
||
340 | IROM e-fused - Secure Boot Version. |
||
341 | 16 | Paul Kocialkowski | </pre> |
342 | 9 | Paul Kocialkowski | |
343 | 17 | Paul Kocialkowski | second bootloader:51ea3aaa63e65b74b7386fe1365d7b52f4495c43 |
344 | 16 | Paul Kocialkowski | <pre> |
345 | 1 | Denis 'GNUtoo' Carikli | ----------------------------------------------------------- |
346 | 9 | Paul Kocialkowski | Samsung Secondary Bootloader (SBL) v3.0 |
347 | Copyright (C) Samsung Electronics Co., Ltd. 2006-2010 |
||
348 | |||
349 | Board Name: HERRING REV 52 |
||
350 | Build On: Jan 20 2011 17:19:41 |
||
351 | ----------------------------------------------------------- |
||
352 | 1 | Denis 'GNUtoo' Carikli | |
353 | MMC SEM16G 15188 MB |
||
354 | Re_partition: magic code(0x0) |
||
355 | 16 | Paul Kocialkowski | Muxed [[OneNAND]] 512MB (0x50) Sync |
356 | 1 | Denis 'GNUtoo' Carikli | Scanning Bad Block ....... |
357 | Bad Block 77 (5) |
||
358 | Bad Block 295 (5) |
||
359 | Bad Block 1232 (5) |
||
360 | Bad Block 1646 (5) |
||
361 | Bad Block 1831 (5) |
||
362 | Bad Block 2047 (0) |
||
363 | Partitions loading success |
||
364 | 9 | Paul Kocialkowski | Read image(PARAM) from flash ....... |
365 | Done |
||
366 | init_fuel_gauge: vcell = 4083mV, soc = 94 |
||
367 | PMIC_IRQ1 = 0xc0 |
||
368 | PMIC_IRQ2 = 0x0 |
||
369 | PMIC_IRQ3 = 0x0 |
||
370 | PMIC_IRQ4 = 0x0 |
||
371 | PMIC_STATUS1 = 0x0 |
||
372 | PMIC_STATUS2 = 0x0 |
||
373 | PMIC_STATUS3 = 0x0 |
||
374 | PMIC_STATUS4 = 0x0 |
||
375 | PMIC_STATUS5 = 0x0 |
||
376 | PMIC_SMPL = 0x0 |
||
377 | Key scan = 0x0 |
||
378 | message.command = |
||
379 | message.status = |
||
380 | message.recovery = |
||
381 | 16 | Paul Kocialkowski | </pre> |
382 | 9 | Paul Kocialkowski | |
383 | second bootloader #2: |
||
384 | 16 | Paul Kocialkowski | <pre> |
385 | 9 | Paul Kocialkowski | BOOT_MODE_NORMAL (SW_RST(0x00000004), INFORM(0x000000ee)) |
386 | LCD ID = 0x0060a953 |
||
387 | Done |
||
388 | Kernel(boot.img) read success from partition no.5 |
||
389 | Setting param.serialnr = 0x3733bab6 0x6de200ec |
||
390 | Setting param.board_rev = 0x34 |
||
391 | Setting param.cmdline = console=ttyFIQ0 no_console_suspend androidboot.serialno=3733BAB66DE200EC androidboot.bootloader=I9020XXKA3 androidboot.baseband=I9020XXKB3 androidboot.info=0x4,0xee,1 androidboot.carrier=EUR gain_code=3 s3cfb.bootloaderfb=0x34a00000 mach-herring.lcd_type=0x00000000 oem_state=unlocked |
||
392 | Setting param.initrd_start = 0x31000000, param.initrd_size = 0x23265 |
||
393 | |||
394 | Starting kernel at 0x30008000... |
||
395 | |||
396 | 4 | Denis 'GNUtoo' Carikli | Uncompressing Linux... done, booting the kernel. |
397 | 16 | Paul Kocialkowski | </pre> |
398 | 4 | Denis 'GNUtoo' Carikli | |
399 | kernel |
||
400 | 16 | Paul Kocialkowski | <pre> |
401 | 4 | Denis 'GNUtoo' Carikli | <hit enter to activate fiq debugger> |
402 | 24 | Paul Kocialkowski | </pre> |
403 | |||
404 | 25 | Paul Kocialkowski | h4. Galaxy S |
405 | |||
406 | <pre> |
||
407 | ----------------------------------------------------------- |
||
408 | Samsung Primitive Bootloader (PBL) v3.0 |
||
409 | Copyright (C) Samsung Electronics Co., Ltd. 2006-2010 |
||
410 | ----------------------------------------------------------- |
||
411 | |||
412 | +n1stVPN 2688 |
||
413 | +nPgsPerBlk 64 |
||
414 | PBL found bootable SBL: Partition(3). |
||
415 | |||
416 | Set cpu clk. from 400MHz to 800MHz. |
||
417 | OM=0x9, device=OnenandMux(Audi) |
||
418 | IROM e-fused - Non Secure Boot Version. |
||
419 | |||
420 | ----------------------------------------------------------- |
||
421 | Samsung Secondary Bootloader (SBL) v3.0 |
||
422 | Copyright (C) Samsung Electronics Co., Ltd. 2006-2010 |
||
423 | |||
424 | Board Name: ARIES REV 03 |
||
425 | Build On: Dec 29 2011 16:57:09 |
||
426 | ----------------------------------------------------------- |
||
427 | |||
428 | Re_partition: magic code(0x0) |
||
429 | [PAM: ] ++FSR_PAM_Init |
||
430 | [PAM: ] OneNAND physical base address : 0xb0000000 |
||
431 | [PAM: ] OneNAND virtual base address : 0xb0000000 |
||
432 | [PAM: ] OneNAND nMID=0xec : nDID=0x50 |
||
433 | [PAM: ] --FSR_PAM_Init |
||
434 | fsr_bml_load_partition: pi->nNumOfPartEntry = 12 |
||
435 | partitions loading success |
||
436 | board partition information update.. source: 0x0 |
||
437 | .Done. |
||
438 | read 1 units. |
||
439 | ==== PARTITION INFORMATION ==== |
||
440 | ID : IBL+PBL (0x0) |
||
441 | ATTR : RO SLC (0x1002) |
||
442 | FIRST_UNIT : 0 |
||
443 | NO_UNITS : 1 |
||
444 | =============================== |
||
445 | ID : PIT (0x1) |
||
446 | ATTR : RO SLC (0x1002) |
||
447 | FIRST_UNIT : 1 |
||
448 | NO_UNITS : 1 |
||
449 | =============================== |
||
450 | ID : EFS (0x14) |
||
451 | ATTR : RW STL SLC (0x1101) |
||
452 | FIRST_UNIT : 2 |
||
453 | NO_UNITS : 40 |
||
454 | =============================== |
||
455 | ID : SBL (0x3) |
||
456 | ATTR : RO SLC (0x1002) |
||
457 | FIRST_UNIT : 42 |
||
458 | NO_UNITS : 5 |
||
459 | =============================== |
||
460 | ID : SBL2 (0x4) |
||
461 | ATTR : RO SLC (0x1002) |
||
462 | FIRST_UNIT : 47 |
||
463 | NO_UNITS : 5 |
||
464 | =============================== |
||
465 | ID : PARAM (0x15) |
||
466 | ATTR : RW STL SLC (0x1101) |
||
467 | FIRST_UNIT : 52 |
||
468 | NO_UNITS : 20 |
||
469 | =============================== |
||
470 | ID : KERNEL (0x6) |
||
471 | ATTR : RO SLC (0x1002) |
||
472 | FIRST_UNIT : 72 |
||
473 | NO_UNITS : 30 |
||
474 | =============================== |
||
475 | ID : RECOVERY (0x7) |
||
476 | ATTR : RO SLC (0x1002) |
||
477 | FIRST_UNIT : 102 |
||
478 | NO_UNITS : 30 |
||
479 | =============================== |
||
480 | ID : FACTORYFS (0x16) |
||
481 | ATTR : RW STL SLC (0x1101) |
||
482 | FIRST_UNIT : 132 |
||
483 | NO_UNITS : 1146 |
||
484 | =============================== |
||
485 | ID : DBDATAFS (0x17) |
||
486 | ATTR : RW STL SLC (0x1101) |
||
487 | FIRST_UNIT : 1278 |
||
488 | NO_UNITS : 536 |
||
489 | =============================== |
||
490 | ID : CACHE (0x18) |
||
491 | ATTR : RW STL SLC (0x1101) |
||
492 | FIRST_UNIT : 1814 |
||
493 | NO_UNITS : 140 |
||
494 | =============================== |
||
495 | ID : MODEM (0xb) |
||
496 | ATTR : RO SLC (0x1002) |
||
497 | FIRST_UNIT : 1954 |
||
498 | NO_UNITS : 50 |
||
499 | =============================== |
||
500 | loke_init: j4fs_open success.. |
||
501 | load_lfs_parameters valid magic code and version. |
||
502 | load_debug_level reading debug level from file successfully(0x574f4c44). |
||
503 | init_fuel_gauge: vcell = 4062mV, soc = 95 |
||
504 | reading nps status file is successfully!. |
||
505 | nps status=0x504d4f43 |
||
506 | PMIC_IRQ1 = 0x0 |
||
507 | PMIC_IRQ2 = 0x0 |
||
508 | PMIC_IRQ3 = 0x0 |
||
509 | PMIC_IRQ4 = 0x0 |
||
510 | PMIC_STATUS1 = 0x0 |
||
511 | PMIC_STATUS2 = 0x0 |
||
512 | get_debug_level current debug level is 0x574f4c44. |
||
513 | aries_process_platform: Debug Level Low |
||
514 | keypad_scan: key value ----------------->= 0x0 |
||
515 | CONFIG_ARIES_REV:48 , CONFIG_ARIES_REV03:48 |
||
516 | aries_process_platform: final s1 booting mode = 0 |
||
517 | DISPLAY_PATH_SEL[MDNIE 0x1]is on |
||
518 | MDNIE setting Init start!! |
||
519 | vsync interrupt is off |
||
520 | video interrupt is off |
||
521 | [fb0] turn on |
||
522 | MDNIE setting Init end!! |
||
523 | |||
524 | Autoboot (0 seconds) in progress, press any key to stop |
||
525 | get_debug_level current debug level is 0x574f4c44. |
||
526 | get_debug_level current debug level is 0x574f4c44. |
||
527 | boot_kernel: Debug Level Low |
||
528 | FOTA Check Bit |
||
529 | Read BML page=, NumPgs= |
||
530 | FOTA Check Bit (0xffffffff) |
||
531 | Load Partion idx = (6) |
||
532 | ..............................done |
||
533 | Kernel read success from kernel partition no.6, idx.6. |
||
534 | setting param.serialnr=0x38301804 0xb3e900ec |
||
535 | setting param.board_rev=0x30 |
||
536 | setting param.cmdline=console=ttySAC2,115200 loglevel=4 |
||
537 | |||
538 | Starting kernel at 0x32000000... |
||
539 | </pre> |
||
540 | |||
541 | 24 | Paul Kocialkowski | h4. Galaxy Nexus |
542 | |||
543 | <pre> |
||
544 | reading nps status file is successfully!. |
||
545 | nps status=0x504d4f43 |
||
546 | PMIC_IRQ1 = 0x80 |
||
547 | PMIC_IRQ2 = 0x0 |
||
548 | PMIC_IRQ3 = 0x1 |
||
549 | PMIC_IRQ4 = 0x0 |
||
550 | PMIC_STATUS1 = 0x80 |
||
551 | PMIC_STATUS2 = 0x0 |
||
552 | get_debug_level current debug level is 0x574f4c44. |
||
553 | aries_process_platform: Debug Level Low |
||
554 | keypad_scan: key value ----------------->= 0x40 |
||
555 | CONFIG_ARIES_REV:48 , CONFIG_ARIES_REV03:48 |
||
556 | aries_process_platform: final s1 booting mode = 0 |
||
557 | DISPLAY_PATH_SEL[MDNIE 0x1]is on |
||
558 | MDNIE setting Init start!! |
||
559 | vsync interrupt is off |
||
560 | video interrupt is off |
||
561 | [fb0] turn on |
||
562 | MDNIE setting Init end!! |
||
563 | |||
564 | Autoboot (0 seconds) in progress, press any key to stop |
||
565 | get_debug_level current debug level is 0x574f4c44. |
||
566 | get_debug_level current debug level is 0x574f4c44. |
||
567 | boot_kernel: Debug Level Low |
||
568 | FOTA Check Bit |
||
569 | Read BML page=, NumPgs= |
||
570 | FOTA Check Bit (0xffffffff) |
||
571 | Load Partion idx = (6) |
||
572 | ..............................done |
||
573 | Kernel read success from kernel partition no.6, idx.6. |
||
574 | setting param.serialnr=0x38301804 0xb3e900ec |
||
575 | setting param.board_rev=0x30 |
||
576 | setting param.cmdline=console=ttySAC2,115200 loglevel=4 |
||
577 | |||
578 | Starting kernel at 0x32000000... |
||
579 | 16 | Paul Kocialkowski | </pre> |
580 | 1 | Denis 'GNUtoo' Carikli | |
581 | 18 | Paul Kocialkowski | h2. JTAG |
582 | 16 | Paul Kocialkowski | |
583 | 18 | Paul Kocialkowski | Here is the location and the description of the JTAG pins on the Nexus S board: |
584 | 16 | Paul Kocialkowski | |
585 | 19 | Paul Kocialkowski | !http://redmine.replicant.us/attachments/3/jtag-pins.png! |
586 | 20 | Paul Kocialkowski | !http://redmine.replicant.us/attachments/9/jtag-pins-desc.png! |
587 | 18 | Paul Kocialkowski | |
588 | 19 | Paul Kocialkowski | JTAG was untested on the device so far. |
589 | 1 | Denis 'GNUtoo' Carikli | |
590 | 19 | Paul Kocialkowski | h2. Conclusions |
591 | 1 | Denis 'GNUtoo' Carikli | |
592 | 19 | Paul Kocialkowski | * Heimdall mode is accessible but we didn't try to flash images with heimdall |
593 | * Serial can be set up and works |
||
594 | * The bootrom(IROM) seems signed: <pre>IROM e-fused</pre> |
||
595 | * JTAG is there but we didn't try it |
||
596 | |||
597 | *As the IROM is apparently signed, porting a free bootloader will most likely fail as Primary Boot Loader (PBL).* |