Stephan Gerhold | 3f1d3e4 | 2020-01-04 18:45:19 +0100 | [diff] [blame] | 1 | ST-Ericsson U8500 Samsung "stemmy" board |
| 2 | ======================================== |
| 3 | |
| 4 | The "stemmy" board supports Samsung smartphones released with |
| 5 | the 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 Gerhold | aee9df3 | 2021-07-07 12:58:54 +0200 | [diff] [blame] | 10 | - Samsung Galaxy Ace 2 (GT-I8160) "codina" |
Stephan Gerhold | 3f1d3e4 | 2020-01-04 18:45:19 +0100 | [diff] [blame] | 11 | |
| 12 | and likely others as well (untested). |
| 13 | |
| 14 | At the moment, U-Boot is intended to be chain-loaded from |
| 15 | the original Samsung bootloader, not replacing it entirely. |
| 16 | |
| 17 | Installation |
| 18 | ------------ |
| 19 | |
| 20 | 1. Setup cross compiler, e.g. export CROSS_COMPILE=arm-none-eabi- |
| 21 | 2. make stemmy_defconfig |
| 22 | 3. make |
| 23 | |
| 24 | For newer devices (golden and skomer), the U-Boot binary has to be packed into |
| 25 | an Android boot image. janice boots the raw U-Boot binary from the boot partition. |
| 26 | |
| 27 | 4. Obtain mkbootimg, e.g. https://android.googlesource.com/platform/system/core/+/refs/tags/android-7.1.2_r37/mkbootimg/mkbootimg |
| 28 | 5. 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 | |
| 36 | 6. Enter Samsung download mode (press Power + Home + Volume Down) |
| 37 | 7. 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 | |
| 42 | 8. After reboot U-Boot prompt should appear via UART. |
| 43 | |
| 44 | UART |
| 45 | ---- |
| 46 | |
| 47 | UART is available through the micro USB port, similar to the Carkit standard. |
| 48 | With a ~619kOhm resistor between ID and GND, 1.8V RX/TX is available at D+/D-. |
| 49 | |
| 50 | Make sure to connect the UART cable *before* turning on the phone. |