Project

General

Profile

OptimusBlackBootloader » History » Version 1

Paul Kocialkowski, 02/08/2016 07:31 PM

1 1 Paul Kocialkowski
h1. Optimus Black bootloader
2
3
{{>toc}}
4
5
The Optimus Black 
6
7
h2. Boot device priority
8
9
According to the OMAP36xx Technical Reference Manual, section 26.4.4.3 (Booting Device List Setup), the OMAP3630 platform will first choose devices to boot from based on the software booting configuration. If no valid software booting configuration is found, it will read the status of the SYS_BOOT pins to determine the boot device priority order.
10
11
h3. Software booting configuration
12
13
According to the OMAP36xx Technical Reference Manual, section 26.4.4.4 (Software Booting Configuration) the software booting configuration is a data structure stored in scratchpad memory, at address 0x48002910. It is not cleared at reset and can be written with a valid structure before reboot, to take effect.
14
15
h3. CONTROL_STATUS register
16
17
According to the OMAP36xx Technical Reference Manual, table 13-109 (CONTROL_STATUS), the CONTROL_STATUS register provides the values of the SYS_BOOT pins as sampled at reset time. It is located at address: 0x480022f0.
18
The register value can be read using:
19
<pre>
20
$ devmem 0x480022f0 8
21
0x25
22
</pre>
23
24
h3. SYS_BOOT resistors
25
26
According to the OMAP36xx Technical Reference Manual, section 26.2.3 (Boot Configuration), the SYS_BOOT[5:0] pins are used to select the boot device priority. SYS_BOOT[5] indicated whether peripheral booting is preferred.
27
28
According to the Optimus Black (P970) Service Manual:
29
!p970_sys_boot.png!
30
31
32
h2. USB boot
33
34
35
36
h2. Factory bootloaders
37
38
h3. References
39
40
* "Optimus Black (P970) Service Manual and Schematics":http://www.cpkb.org/wiki/LG_P970_Optimus_Black_service_manual
41
* "OMAP36xx Technical Reference Manual":http://www.ti.com/lit/pdf/swpu177
42
43
*These documents are the propriety of LG Electronics and Texas Instruments and are not hosted by the Replicant project.*
44
*However, some excerpts from these documents are provided, for the purpose of providing technical evidence of the facts that are mentioned in this page. We believe that this particular use of the copyrighted work is fair use.*