Перейти к основному содержимому

TRIK controller firmware

Instructions for Windows, Linux and Ubuntu.

Choose your operating system:

​

Windows​

  1. Download the latest firmware image.
  2. Download and install DiskImager.

Installing DiskImager

warning

Attention! You will need administrator permissions to install and use DiskImager.

  1. Remove the microSD card from the TRIK controller.
  2. Insert it into your computer using a card reader.
  3. Start DiskImager. To change the language, select About → Language in the menu.

To change the language, select "About" → "Language" in the menu

  1. Select the disk to write.

Selecting the disk to write

  1. Click the «Restore drives from» button.

The "Restore drive(s) from image" button

  1. In the window that appears, filter the files by type .xz and select the downloaded file.

Selecting the firmware image and the XZ file filter

  1. Click "Open".

Writing the image to the SD card

  1. Wait for the operation to complete.

Operation complete

First startup of the controller after flashing

  1. Press and hold the "Left", "Right" and "Enter" buttons.
  2. Without releasing them, briefly press the power button.
  3. Wait for the system to start.

First startup of the controller after flashing

​

Linux​

  1. Download the latest firmware image.
  2. Remove the microSD card from the TRIK controller.
  3. Insert it into your computer using a card reader.
  4. If the SD card has the correct partition table (the first partition is at least 2 GB, ext4 file system), then go to step 18.
  5. Get superuser (root) rights:
sudo -i
  1. Look at the devices that are currently connected to the computer:
fdisk -l
  1. Unmount all SD card partitions using the umount command.
umount /dev/{first SD card partition}
umount /dev/{second SD card partition}
...

Example:

umount /dev/sdb1
  1. Select the inserted microSD card:
fdisk /dev/{device}

Example:

sudo fdisk /dev/sdb
  1. View the current partition table using the p command.
p
  1. Remove all existing partitions using the d command.
d
  1. Make sure that all partitions are removed:
p
  1. Create a new partition using the n command.
n
  1. Leave all parameters, except the size, by default — press Enter. For the request "Last sector, +sectors or +size{K, M, G}" specify +2G.
Command (m for help): n
Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p):
Partition number (1-4, default 1):
First sector (4096-784932712):
Last sector, +sectors or +size{K,M,G}: +2G
  1. Create a partition on the remaining part of the SD card using the n command. Leave all parameters by default.
Command (m for help): n
Partition type:
p primary (0 primary, 0 extended, 4 free)
e extended
Select (default p):
Partition number (1-4, default 1):
First sector (4096-784932712):
Last sector, +sectors or +size{K,M,G}:
  1. Check with the p command what happened.
p
  1. Apply the changes using the w command.
w
  1. Format the partitions using the sudo mkfs.ext4 commands.
sudo mkfs.ext4 /dev/{partition}

Example:

sudo mkfs.ext4 /dev/sdb1
sudo mkfs.ext4 /dev/sdb2
  1. Unmount the first partition using the umount command.
umount /dev/{first SD card partition}

Example:

umount /dev/sdb1
  1. Unpack the downloaded firmware image using the Archive Manager.
  2. Copy the unpacked image to the SD card using the dd command.
sudo dd bs=4M if=trik-base-v2-trikboard.ext4 of=/dev/{first partition}

Example:

sudo dd bs=4M if=trik-base-v2-trikboard.ext4 of=/dev/sdb1
​

Ubuntu​

к сведению

Instructions for version 14.04 and older.

  1. Download the latest firmware image.
  2. Remove the microSD card from the TRIK controller.
  3. Insert it into your computer using a card reader.
  4. Open the location of the downloaded firmware image in the file manager.
  5. Call the context menu by right-clicking on the archive and select the first item "Open in 'Create bootable disk'".
  6. From the drop-down menu, select the drive to which you want to burn the firmware. Then click "Start Restoring…".

Restoring the firmware image to the SD card in GNOME Disks