README 1.6 KB

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