README 1.6 KB

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