I9250Bootloader » History » Version 9
Denis 'GNUtoo' Carikli, 01/29/2020 10:57 PM
1 | 1 | Denis 'GNUtoo' Carikli | h1. I9250Bootloader |
---|---|---|---|
2 | |||
3 | 8 | Denis 'GNUtoo' Carikli | When connected on the serial port, during boot, if you press the volume down button and press enter on the serial console, you can get a shell: |
4 | 1 | Denis 'GNUtoo' Carikli | <pre> |
5 | 2 | Denis 'GNUtoo' Carikli | ====== VCELL : 409625, SOC : 100, nType : 4 ====== |
6 | 1 | Denis 'GNUtoo' Carikli | [Charger] nScaledVCELL : 409625000, nDesriedSOC, : 98, nMaxSOC : 118, nMinSOC : 78 |
7 | * FB base addr = 0xbea70000! |
||
8 | * PANEL_S6E8AA0_ID_READ : 0x12, 0x8e, 0x9b. |
||
9 | [ omap_power_get_reset_source :47] PRM_RSTST : 0x2 |
||
10 | |||
11 | Autoboot (1 seconds) in progress, press any key to stop . |
||
12 | |||
13 | Autoboot aborted.. |
||
14 | SBL> |
||
15 | SBL> |
||
16 | SBL> |
||
17 | SBL> help |
||
18 | Following commands are supported: |
||
19 | * setenv |
||
20 | * saveenv |
||
21 | * printenv |
||
22 | * help |
||
23 | * reset |
||
24 | * boot |
||
25 | * kernel |
||
26 | * loadpart |
||
27 | * loadkernel |
||
28 | * erasepart |
||
29 | * omap_upload_rdx |
||
30 | * omap_test_button |
||
31 | * omap_test_hwinfo |
||
32 | * omap_set_gpio_level |
||
33 | * omap_get_gpio_level |
||
34 | * omap_test_twl6030 |
||
35 | * omap_test_power |
||
36 | * omap_reboot |
||
37 | * omap_halt |
||
38 | * omap_cmdline_power |
||
39 | * omap_test_kbd |
||
40 | * omap_test_usbacc |
||
41 | * usb |
||
42 | * omap_test_max17043 |
||
43 | * omap_test_fsa9480 |
||
44 | * omap_dump_sec_log_buf |
||
45 | * omap_test_sud |
||
46 | To get commands help, Type "help <command>" |
||
47 | SBL> |
||
48 | |||
49 | 2 | Denis 'GNUtoo' Carikli | </pre> |
50 | |||
51 | <pre> |
||
52 | SBL> help setenv |
||
53 | * Help : setenv |
||
54 | * Usage : setenv [name] [value] . . |
||
55 | Modify current environment info on ram |
||
56 | |||
57 | SBL> help saveenv |
||
58 | * Help : saveenv |
||
59 | * Usage : saveenv |
||
60 | Save cuurent environment info to flash |
||
61 | |||
62 | SBL> help printenv |
||
63 | * Help : printenv |
||
64 | * Usage : printenv |
||
65 | Print current environment info on ram |
||
66 | |||
67 | SBL> help help |
||
68 | * Help : help |
||
69 | * Usage : help [command] |
||
70 | SBL> help reset |
||
71 | * Help : reset |
||
72 | * Usage : reboot |
||
73 | Reboot system |
||
74 | |||
75 | SBL> help boot |
||
76 | * Help : boot |
||
77 | * Usage : boot [kernel options] |
||
78 | Boot Linux with optional kernel options |
||
79 | |||
80 | SBL> help kernel |
||
81 | * Help : kernel |
||
82 | * Usage : kernel hex_adr |
||
83 | Change the Linux kernel base |
||
84 | |||
85 | SBL> help loadpart |
||
86 | * Help : loadpart |
||
87 | * Usage : load partition from storage device. |
||
88 | SBL> help loadkernel |
||
89 | * Help : loadkernel |
||
90 | * Usage : load kernel from storage device. |
||
91 | SBL> help erasepart |
||
92 | * Help : erasepart |
||
93 | * Usage : erase partition. |
||
94 | SBL> help omap_upload_rdx |
||
95 | * Help : omap_upload_rdx |
||
96 | * Usage : [OMAP] upload RDX |
||
97 | omap_upload_rdx |
||
98 | SBL> help omap_test_button |
||
99 | * Help : omap_test_button |
||
100 | * Usage : [OMAP] test OMAP buttons |
||
101 | omap_test_button |
||
102 | SBL> help omap_test_hwinfo |
||
103 | * Help : omap_test_hwinfo |
||
104 | * Usage : [OMAP] test OMAP HW Information |
||
105 | omap_test_hwinfo |
||
106 | SBL> help omap_set_gpio_level |
||
107 | * Help : omap_set_gpio_level |
||
108 | * Usage : [OMAP] set GPIO level |
||
109 | omap_set_gpio_level {GPIO} {VALUE} |
||
110 | SBL> help omap_get_gpio_level |
||
111 | * Help : omap_get_gpio_level |
||
112 | * Usage : [OMAP] get GPIO level |
||
113 | omap_get_gpio_level {GPIO} |
||
114 | SBL> help omap_test_twl6030 |
||
115 | * Help : omap_test_twl6030 |
||
116 | * Usage : [OMAP] test twl6030 device |
||
117 | omap_test_twl6030 |
||
118 | SBL> help omap_test_power |
||
119 | * Help : omap_test_power |
||
120 | * Usage : [OMAP] test power function |
||
121 | omap_test_power |
||
122 | SBL> help omap_reboot |
||
123 | * Help : omap_reboot |
||
124 | * Usage : [OMAP] system reboot command |
||
125 | omap_reboot |
||
126 | SBL> help omap_halt |
||
127 | * Help : omap_halt |
||
128 | * Usage : [OMAP] system halt command |
||
129 | omap_halt |
||
130 | SBL> help omap_cmdline_power |
||
131 | * Help : omap_cmdline_power |
||
132 | * Usage : [OMAP] check kernel-cmdline by power |
||
133 | omap_cmdline_power |
||
134 | SBL> help omap_test_kbd |
||
135 | * Help : omap_test_kbd |
||
136 | * Usage : [OMAP] test power function |
||
137 | omap_test_kbd |
||
138 | SBL> help omap_test_usbacc |
||
139 | * Help : omap_test_usbacc |
||
140 | * Usage : [OMAP] test OMAP usb-accessary |
||
141 | omap_test_usbacc |
||
142 | SBL> help usb |
||
143 | * Help : usb |
||
144 | * Usage : usb download command |
||
145 | SBL> help omap_test_max17043 |
||
146 | * Help : omap_test_max17043 |
||
147 | * Usage : [OMAP] test max17043 device |
||
148 | omap_test_max17043 |
||
149 | SBL> help omap_test_fsa9480 |
||
150 | * Help : omap_test_fsa9480 |
||
151 | * Usage : [OMAP] test fsa9480 device |
||
152 | omap_test_fsa9480 |
||
153 | SBL> help omap_dump_sec_log_buf |
||
154 | * Help : omap_dump_sec_log_buf |
||
155 | * Usage : [OMAP] dump sec-log-buf |
||
156 | omap_dump_sec_log_buf |
||
157 | SBL> help omap_test_sud |
||
158 | * Help : omap_test_sud |
||
159 | * Usage : [OMAP] test SUD image |
||
160 | omap_test_sud {NUMBER} |
||
161 | SBL> |
||
162 | 1 | Denis 'GNUtoo' Carikli | </pre> |
163 | 3 | Denis 'GNUtoo' Carikli | |
164 | <pre> |
||
165 | SBL> printenv |
||
166 | PARAM Rev 1.6 |
||
167 | SERIAL_SPEED : 7 |
||
168 | LOAD_RAMDISK : 0 |
||
169 | BOOT_DELAY : 1 |
||
170 | LCD_LEVEL : 6 |
||
171 | SWITCH_SEL : 3 |
||
172 | PHONE_DEBUG_ON : 0 |
||
173 | LCD_DIM_LEVEL : 0 |
||
174 | LCD_DIM_TIME : 6 |
||
175 | MELODY_MODE : 1 |
||
176 | REBOOT_MODE : 0 |
||
177 | NATION_SEL : 0 |
||
178 | LANGUAGE_SEL : 0 |
||
179 | SET_DEFAULT_PARAM : 0 |
||
180 | OFF_MODE_CHARGE : 1 |
||
181 | FLASH_LOCK_STATUS : 0 |
||
182 | VERSION : |
||
183 | CMDLINE : |
||
184 | DELTA_LOCATION : /mnt/rsv |
||
185 | WIFI_MAC_LINE : |
||
186 | PARAM_STR_4 : DCM |
||
187 | </pre> |
||
188 | 4 | Denis 'GNUtoo' Carikli | |
189 | 9 | Denis 'GNUtoo' Carikli | I've tried to modify the CMDLINE: |
190 | 4 | Denis 'GNUtoo' Carikli | <pre> |
191 | 6 | Denis 'GNUtoo' Carikli | SBL> setenv CMDLINE loglevel=8 console=ttyFIQ0 androidboot.console=ttyFIQ0 |
192 | 4 | Denis 'GNUtoo' Carikli | argv[0] : setenv |
193 | argv[1] : CMDLINE |
||
194 | 6 | Denis 'GNUtoo' Carikli | argv[2] : loglevel=8 console=ttyFIQ0 androidboot.console=ttyFIQ0 |
195 | value : 656175548 |
||
196 | SBL> saveenv |
||
197 | save_param start block=49152, no.blocks=16384 |
||
198 | 4 | Denis 'GNUtoo' Carikli | </pre> |
199 | 9 | Denis 'GNUtoo' Carikli | But once booted, "loglevel=8" wasn't found in /proc/cmdline on Replicant 6.0 0003 so it doesn't seem to have an impact. Though, on this bootloader, the commandline can also be modified by modifying the boot.img commandline parameters. |
200 | 5 | Denis 'GNUtoo' Carikli | |
201 | <pre> |
||
202 | SBL> omap_test_hwinfo |
||
203 | ----------------------------------------------------------- |
||
204 | OMAP-Samsung HW Information |
||
205 | |||
206 | Board Name : tuna REV 9 |
||
207 | Board Rev : HSPA - 9 |
||
208 | Boot Type : USB MMC1 |
||
209 | Device Type : HS |
||
210 | Build Date : Jan 24 2012 18:27:20 |
||
211 | ----------------------------------------------------------- |
||
212 | </pre> |