User:Brendlefly62/Rockchip RK3288 Asus Tinker Board S/See what Debian has under the hood

From Gentoo Wiki
Jump to:navigation Jump to:search

Download a Debian image

Choose the target device for OS image installation

The TinkerBoard S has an integrated 16GB eMMC, or an SD Card may be used.

The board also has a micro SD Card reader.

For modern Gentoo, without too much binary package support, a larger SD card may be helpful, particularly if a "dual boot" scenario is desired, using the "boot selector switch alternative to "maskrom jumper" setting described above. This will allow allocation of space for a large swapfile on the SD card, to augment the 2G RAM on this board, and thus provide support for memory-intensive compile jobs (like gcc, rust, etc.)

Download an image to your PC

Install the downloaded image

  • SD Card: put the micro SD card in a card reader and connect the reader to a USB port on the PC.
  • eMMC: First, connect a micro USB cable to the TinkerBoard S. Then connect the USB-A connector to a USB port on the PC.
  • Flash the downloaded image file to the target media with something like
  • The sites above also have general instructions for those who have not done this before.


  • Configure the "maskrom" jumper or boot device selection switch (see discussion at parent page)
  • Put the micro SD card into the slot on the bottom of the board and/or connect the power supply to the micro USB connector
  • Connect keyboard, mouse, HDMI , and (optional) Ethernet cables
  • Switch-on or plug in the power supply
  • Follow on-screen instructions, including connection to wifi, etc.

secure the setup; set up and log in via ssh

  • Default user credentials (username/password) are linaro/linaro
  • Click on the icon in the lower left panel and select applications --> System Tools --> LX Terminalc
  • Change your root and user password at the command line
  • User linaro is a member of the sudo group and can change the root password
  • The serial console will also boot to a root prompt, and the passwords can be changed there
user $passwd
user $sudo cat /etc/shadow
user $sudo grep linaro /etc/gshadow
user $sudo passwd root
user $su -
If network is not already connected, it can be set up interactively by clicking on the network icon in the system tray (lower right)
  • Now, still on the TinkerBoard S Debian system, set up ssh... and log in from your build-project/cross-compiling machine and save valuable data there
root #apt-get update; apt-get upgrade
root #apt install openssh-server openssh-client
root #rm /etc/ssh/ssh_host*
root #mount /dev/sda /mnt/thumb
root #cp -r /mnt/thumb/etc-ssh/{sshd_config,sshd_config.d,sshd_banner} /etc/ssh/
root #service ssh start
user $mkdir /home/<myusername>/.ssh
user $cp /mnt/thumb/<myusername>-ssh /home/<myusername>/.ssh
user $chmod 600 /home/<myusername>/.ssh/*
user $chmod 640 /home/<myusername>/.ssh/*.pub
user $chmod 640 /home/<myusername>/.ssh/known_hosts
user $# from remote system: $ ssh <myusername>@tinkerboard
user $# from remote system, <myusername> should also be able to use scp to transfer files