Project

General

Profile

GTI9100GBootloaderInterface » History » Version 6

Denis 'GNUtoo' Carikli, 03/27/2020 01:46 AM

1 1 Denis 'GNUtoo' Carikli
h1. GTI9100GBootloader
2
3 4 Denis 'GNUtoo' Carikli
h2. Software
4
5
On the devices we looked at, the first stage is a signed xloader, and there is some source code for it, so we might manage to find full and corresponding source code for some versions of the xloader having been shipped on the devices.
6
7
It most probably go fetch the second stages from the SBL1 / SBL2 partitions.
8
9
Here's the output of the bootloader on UART at boot:
10
<pre>
11
Texas Instruments X-Loader 1.41 (Mar 20 2012 - 11:20:26)
12
Uboot-loading from Emmc
13
Starting OS Bootloader from EMMC ...
14
</pre>
15
16
Note that all the strings here are from xloader, and that we didn't find any traces of u-boot anywhere yet.
17
As xloader is typically used to boot u-boot, Samsung probably didn't bother to change the "Uboot-loading from Emmc" string when using it with another second stage.
18
19 5 Denis 'GNUtoo' Carikli
We didn't manage to find how to get a shell in this bootloader yet.
20
21 2 Denis 'GNUtoo' Carikli
h2. Issues with heimdall with the Android 2.3.6 bootloader on I9100G_CNH_CHN
22
23
On some laptops or desktops, heimdall works fine, while on some other it doesn't. The issue is that if heimdall doesn't work, your device could be stuck in "pc screen" mode, and you might not be able to recover from it.
24
25
On the following laptop it worked fine:
26
* Thinkpad X200 which has USB2
27
* Coreboot 4.9 without any nonfree firmware or microcode
28
* Parabola i686 with linux-x86_64 kernel
29
30
On the following desktop heimdall didn't work, which made the device stuck in "pc screen" mode:
31
* Asus F2A85M PRO
32
* That mainboard has USB3 but is seen as USB2 due to not using nonfree firmwares for it in Coreboot.
33
* Coreboot 4.10 without nonfree firmwares or microcode beside the builtin SMU firmware or the GPU video BIOS that comes from the GPU.
34
* Parabola x86_64
35
36
It might be related to
37
* USB timings
38
* The fact that the coreboot port is unfinished on the F2A85M-PRO
39
* The fact that the nonfree firmware/fpga binary for the USB3 on the F2A85M-PRO weren't used.