ha-operating-system/Documentation/boards/asus
Stefan Agner 2e2f6e893b
Fix Tinker Board S (eMMC) boot (#650) (#845)
* Fix Tinker Board S (eMMC) boot (#650)

Use Tinker Board S U-Boot configuration which is capable to boot from
eMMC as well as from SD card.

Note that this makes U-Boot always claiming to run on Tinker Board S:
..
Model: Rockchip RK3288 Asus Tinker Board S
..

It seems that there is no generic Tinker Board configuration. However,
Tinker Board S configuration really seems to work well with Tinker Board
as well, so just use it.

Also today the U-Boot Makefile seems to generate a working idbloader.img
already. Drop our special handling.

* Use Tinker Board S device tree if booting from eMMC for Linux

Instead of patching the Tinker Board device tree, select the device tree
based on what device we are booting from.

Note: This boots the non-S device tree when booting a Tinker Board S
from SD card! But there is no reliable detection otherwise, so let's
just live with that fact.

* Document how to use our U-Boot to flash eMMC
2020-09-04 21:05:49 +02:00
..
README.md Fix Tinker Board S (eMMC) boot (#650) (#845) 2020-09-04 21:05:49 +02:00

README.md

Tinker Board

Supported Hardware

Device Release Date Support Config
Tinker RK3288 April 2017 yes tinker
Tinker S RK3288 January 2018 yes tinker
Tinker Edge T November 2019 no?
Tinker Edge R November 2019 no?

eMMC

eMMC support is provided with the same image. Just flash the image to the eMMC by connecting your Tinker Board S to your PC via Micro-USB. Refer to the Tinkerboard documentation how-to flash using Micro-USB and UMS.

The Home Assistant OS provided U-Boot does support UMS as well, however manual intervention is necessary:

  1. Set the jumper between Micro-USB and HDMI the maskrom mode
  2. Insert SD card and connect the board via Micro-USB to your PC
  3. Continusly press Ctrl+C to interrupt boot
  4. Set the jumper back to the park position
  5. Start UMS using:
ums 0 mmc 0
  1. A mass storage device should appear. Flash Home Assistant OS to it.

Serial console

To access the terminal over serial console, add console=ttyS2,115200 to cmdline.txt. GPIO pins are: 34 = GND / 32 = UART TXD / 33 = UART RXD.