blob: 1b83b833c048f99ebd78a1e07a8a82c481a44e54 [file] [log] [blame]
Stephan Gerhold3f1d3e42020-01-04 18:45:19 +01001ST-Ericsson U8500 Samsung "stemmy" board
2========================================
3
4The "stemmy" board supports Samsung smartphones released with
5the ST-Ericsson NovaThor U8500 SoC, e.g.
6
7 - Samsung Galaxy S III mini (GT-I8190) "golden"
8 - Samsung Galaxy S Advance (GT-I9070) "janice"
9 - Samsung Galaxy Xcover 2 (GT-S7710) "skomer"
Stephan Gerholdaee9df32021-07-07 12:58:54 +020010 - Samsung Galaxy Ace 2 (GT-I8160) "codina"
Stephan Gerhold3f1d3e42020-01-04 18:45:19 +010011
12and likely others as well (untested).
13
14At the moment, U-Boot is intended to be chain-loaded from
15the original Samsung bootloader, not replacing it entirely.
16
17Installation
18------------
19
201. Setup cross compiler, e.g. export CROSS_COMPILE=arm-none-eabi-
212. make stemmy_defconfig
223. make
23
24For newer devices (golden and skomer), the U-Boot binary has to be packed into
25an Android boot image. janice boots the raw U-Boot binary from the boot partition.
26
274. Obtain mkbootimg, e.g. https://android.googlesource.com/platform/system/core/+/refs/tags/android-7.1.2_r37/mkbootimg/mkbootimg
285. mkbootimg \
29 --kernel=u-boot.bin \
30 --base=0x00000000 \
31 --kernel_offset=0x00100000 \
32 --ramdisk_offset=0x02000000 \
33 --tags_offset=0x00000100 \
34 --output=u-boot.img
35
366. Enter Samsung download mode (press Power + Home + Volume Down)
377. Flash U-Boot image to Android boot partition using Heimdall:
38 https://gitlab.com/BenjaminDobell/Heimdall
39
40 heimdall flash --Kernel u-boot.(bin|img)
41
428. After reboot U-Boot prompt should appear via UART.
43
44UART
45----
46
47UART is available through the micro USB port, similar to the Carkit standard.
48With a ~619kOhm resistor between ID and GND, 1.8V RX/TX is available at D+/D-.
49
50Make sure to connect the UART cable *before* turning on the phone.