Tinker Edge T - Installation Process

Document writer <olivier.nicolas@insa-lyon.fr> v1.0, 2022-05-02

Flash sdcard_arm64.img to microSD card

Example:

$ sudo dd if=sdcard_arm64.img of=/dev/sdX bs=4M conv=fsync

Change boot mode switches

  • Set the boot mode switches to boot from microSD card (ON: Switch 1/Switch 3/Switch 4; OFF: Switch 2)

tinkerEdgeT switches SDcard

Login to device

  • Insert card into tinkerEdgeT device and power it up.

  • Login as <user/password> = <mendel/mendel>

Flash sdcard_arm64.img to eMMC

  • Insert a USB stick with sdcard_arm64.img on it into the device.

  • Flash said image to /dev/mmcblk0 (/dev/mmcblk1 is the microSD card)

Example:

$ sudo dd if=/dev/sda/sdcard_arm64.img of=/dev/mmcblk0 bs=4M conv=fsync

Mount eMMC’s boot partition

$ sudo mount /dev/mmcblk0p1 /mnt

Prepare device to boot on eMMC

  • Edit (with nano for example) /mnt/boot.txt and change the line "mmc_root=…​" to "mmc_root=/dev/mmcblk0p2"

  • Regenerate /mnt/boot.scr

$ sudo apt install u-boot-tools
$ mkimage -c none -T script -d /mnt/boot.txt /mnt/boot.scr
$ sudo umount /dev/mnt
$ sudo mount /dev/mmcblk0p2 /mnt
  • Edit /mnt/etc/fstab and change mmcblk1p1 to mmcblk0p1 and mmcblk1p2 to mmcblk0p2

Reboot

  • Power device off

  • Set the boot mode switches to boot from eMMC (ON: Switch 1; OFF: Switch 2/Switch 3/Switch 4)

tinkerEdgeT switches eMMC
  • Remove microSD card

  • Power device on

Profit