Mixtile Edge 2 Kit comes with Debian 11 pre-installed. Sometimes, you may want to upgrade/downgrade it to another version or install a different operating system. This tutorial describes how to install an operating system to Mixtile Edge 2 Kit on the platforms below:
- Linux distribution
- macOS
- Windows
The installation process varies depending on the platform you use. You can follow the platform-specific installation guide to install an OS.
Preparations
To install an OS, you’ll need to:
- Have a computer.
- Have a cable to connect your computer to Mixtile Edge 2 Kit.
- Download the target OS image you need and unzip it. Here are some of the available images:
- Debian 11 (username:
mixtile
, password:mixtile
; root password:root
) - Android 11
- Home Assistant
- Debian 11 (username:
Important: Before you start, make sure you have backed up all important data.
Installing the OS on different platforms
Installing an OS on a Linux distribution
If you are using a Linux distribution, such as Debian and Ubuntu, follow the instructions below:
-
Download the upgrade_tool_v2.22_for_linux package and unzip it.
-
Move
upgrade_tool
to thebin
directory and make it executable:cd upgrade_tool_v2.22_for_linux sudo mv upgrade_tool /usr/local/bin sudo chown root:root /usr/local/bin/upgrade_tool sudo chmod a+x /usr/local/bin/upgrade_tool
-
Enter a boot mode as needed:
-
Loader (recommended for regular updates):
-
If you can enter the terminal of Mixtile Edge 2 Kit (e.g., through a monitor, SSH or adb), run:
reboot loader
-
If you cannot enter the terminal of Mixtile Edge 2 Kit:
- Open the shell of Mixtile Edge 2 Kit.
- Press and hold the Recovery button, power on Mixtile Edge 2 Kit by connecting it to a PC via a USB-C cable, and then wait about 2 seconds before releasing the Recovery button.
-
-
MaskRom (for bootloader failure):
-
If you can enter the terminal of Mixtile Edge 2 Kit (e.g., through a monitor, SSH or adb), run:
sudo dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=32
Warning: This command removes all files from your device. Make sure you have backed up all important data.
-
If you cannot enter the terminal of Mixtile Edge 2 Kit:
- Open the shell of Mixtile Edge 2 Kit.
- Press and hold the MaskRom button, power on Mixtile Edge 2 Kit by connecting it to a PC via a USB-C cable, and then wait about 2 seconds before releasing the MaskRom button.
-
Note: If the connection fails, try another cable or add a 12V power adapter.
-
-
Verify if Mixtile Edge 2 Kit is connected to the computer:
ugprade_tool ld
If a message similar to the one below is displayed, your Mixtile Edge 2 Kit has been connected to the computer successfully:
-
(Optional) Download rk356x_spl_loader_v1.13.112.bin and then run the command below to flash it to Mixtile Edge 2 Kit (replace
rk356x_spl_loader_v1.13.112.bin
with its actual path). This step is only required for installing a raw image in the MaskRom mode. If you install in Loader mode or use a Rockchip image, skip this step.sudo upgrade_tool db rk356x_spl_loader_v1.13.112.bin
-
Install the image (replace
update.img
with the actual path of your target image file). The installation command varies depending on the image type (rockchip
orraw
) you use. You can find the image type from the image’s filename.- Rockchip image:
sudo upgrade_tool uf update.img
- Raw image:
sudo upgrade_tool wl 0 update.img
It may take several minutes for the installation to complete. If
Upgrade firmware ok
(RockChip images) orWrite LBA from file (100%)
(Raw images) is displayed, the installation is done.
Installing an OS on macOS
-
Download the upgrade_tool_v2.13_for_mac package and unzip it.
-
Go to the
upgrade_tool_v2.13_for_mac
directory and makeupgrade_tool
executable. Enter your admin password if prompted.cd upgrade_tool_v2.13_for_mac sudo chmod u+x upgrade_tool
If you are alerted that the app developer cannot be verified:
- Open System Settings.
- Click Privacy & Security, scroll down, and click the Open Anyway button to confirm your intent to open or install the app.
-
Enter a boot mode as needed:
-
Loader (recommended for regular updates):
-
If you can enter the terminal of Mixtile Edge 2 Kit (e.g., through a monitor, SSH or adb), run:
reboot loader
-
If you cannot enter the terminal of Mixtile Edge 2 Kit:
- Open the shell of Mixtile Edge 2 Kit.
- Press and hold the Recovery button, power on Mixtile Edge 2 Kit by connecting it to a PC via a USB-C cable, and then wait about 2 seconds before releasing the Recovery button.
-
-
MaskRom (for bootloader failure):
-
If you can enter the terminal of Mixtile Edge 2 Kit (e.g., through a monitor, SSH or adb), run:
sudo dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=32
Warning: This command removes all files from your device. Make sure you have backed up all important data.
-
If you cannot enter the terminal of Mixtile Edge 2 Kit:
- Open the shell of Mixtile Edge 2 Kit.
- Press and hold the MaskRom button, power on Mixtile Edge 2 Kit by connecting it to a PC via a USB-C cable, and then wait about 2 seconds before releasing the MaskRom button.
-
Note: If the connection fails, try another cable or add a 12V power adapter.
-
-
Verify if Mixtile Edge 2 Kit is connected to the computer:
./upgrade_tool ld
If a message similar to the one below is displayed, your Mixtile Edge 2 Kit has been connected to the computer successfully:
-
(Optional) Download rk356x_spl_loader_v1.13.112.bin and then run the command below to flash it to Mixtile Edge 2 Kit (replace
rk356x_spl_loader_v1.13.112.bin
with its actual path). This step is only required for installing a raw image in the MaskRom mode. If you install in Loader mode or use a Rockchip image, skip this step../upgrade_tool db rk356x_spl_loader_v1.13.112.bin
-
Install the image (replace
update.img
with the actual path of your target image file). The installation command varies depending on the image type (rockchip
orraw
), which can be found in the image’s filename.- Rockchip image:
./upgrade_tool uf update.img
- Raw image:
./upgrade_tool wl 0 update.img
It may take several minutes for the installation to complete. If
Upgrade firmware ok
(RockChip images) orWrite LBA from file (100%)
(Raw images) is displayed, the installation is done.
Installing an OS on Windows
Unlike macOS and Linux distributions, Windows has an intuitive UI for you to install an OS:
-
Download DriverAssistant_v5.12, unzip it, and click DriverInstall.exe to install the driver.
If you have installed an older driver version, uninstall it first before installing the latest one.
-
Download RKDevTool_v3.19_for_windows and unzip it. Then, find RKDevTool, right-click the file, and click Run as administrator.
-
Enter a boot mode as needed:
-
Loader (recommended for regular updates):
-
If you can enter the terminal of Mixtile Edge 2 Kit (e.g., through a monitor, SSH or adb), run:
reboot loader
-
If you cannot enter the terminal of Mixtile Edge 2 Kit:
- Open the shell of Mixtile Edge 2 Kit.
- Press and hold the Recovery button, power on Mixtile Edge 2 Kit by connecting it to a PC via a USB-C cable, and then wait about 2 seconds before releasing the Recovery button.
-
-
MaskRom (for bootloader failure):
-
If you can enter the terminal of Mixtile Edge 2 Kit (e.g., through a monitor, SSH or adb), run:
sudo dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=32
Warning: This command removes all files from your device. Make sure you have backed up all important data.
-
If you cannot enter the terminal of Mixtile Edge 2 Kit:
- Open the shell of Mixtile Edge 2 Kit.
- Press and hold the MaskRom button, power on Mixtile Edge 2 Kit by connecting it to a PC via a USB-C cable, and then wait about 2 seconds before releasing the MaskRom button.
-
Note: If the connection fails, try another cable or add a 12V power adapter.
-
-
Open RKDevTool, and you can see that Mixtile Edge 2 Kit is now found as a Loader/MaskRom device:
-
Install the image to Mixtile Edge 2 Kit in RKDevTool. The installation process varies depending on the image type (
rockchip
orraw
) you use. You can find the image type from the image’s filename.-
RockChip image:
-
Choose the Upgrade Firmware tab and click Firmware. In the dialog box that is displayed, choose the image file you downloaded.
-
Click Upgrade to start installing the image:
The installation may take several minutes to complete. If you see the message below, the installation is done.
-
-
Raw image:
-
Download rk356x_spl_loader_v1.13.112.bin.
-
Choose the Download Image tab, right-click an item and choose Clear Items from the short-cut menu to clear unnecessary items.
-
Click the blank cell of Loader on the right. In the dialog box that is displayed, select the
rk356x_spl_loader_v1.13.112.bin
file. -
Right-click an item, choose Add Item from the short-cut menu, and set its Name to
image
. -
Click the blank cell of the
image
item, select the raw image in the displayed dialog box, and then set Storage toEMMC
for this item. -
Select the two items Loader and image, click Write by Address, and click Run to start installing the image.
The installation may take several minutes to complete. If you see the message below, the installation is done.
-
-
Booting up the OS
Once the installation is complete, boot up the new system as follows:
- Power on Mixtile Edge 2 Kit by connecting the USB-C cable to the device’s USB-C port and to a compatible power adapter. Then plug the adapter into a wall outlet.
- (Optional) Connect Mixtile Edge 2 Kit to the Internet via an Ethernet cable.
- (Optional) Connect Mixtile Edge 2 Kit to a monitor via an HDMI cable.
If your Mixtile Edge 2 Kit is connected to a monitor, you should see the OS interface (take Debian 11 as an example):