IOT-GATE-IMX8PLUS and SBC-IOT-IMX8PLUS: Debian Linux: Installation
Overview
This article provides instructions needed to install the Debian Linux live image onto the Compulab IOT-GATE-IMX8PLUS / SBC-IOT-IMX8PLUS internal storage. The recommended installation procedure is using a host PC with a Debian-based operating system.
Preparing Installation Media
Prepare Debian Linux Live Media
Installing Debian images onto the internal storage
- Insert the USB flash drive into one of the USB ports. It's recommended to use USB3.0 port located on the front panel
- Power on the device
- Press a key to prevent a possible autoboot and get into the U-Boot command prompt.
- Run a command below:
run bsp_bootcmd
U-Boot 2021.04-compulab-1.5 version or later runs bsp_bootcmd by default |
- Wait for the Linux login prompt
- Login as compulab user
- Invoke cl-deploy utility
compulab@compulab-imx8mp:~$ sudo cl-deploy
- Select /dev/mmcblk2 as a destination device
Select a destination device ───────────────────────────────────────────────────────────────────────────────────────── ┌─────────────────────────────────────────────────────────────────────┐ │ Available Devices: │ │ ┌─────────────────────────────────────────────────────────────────┐ │ │ │ │ │ │ │ (*) /dev/mmcblk2 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └─────────────────────────────────────────────────────────────────┘ │ │ < OK > <Cancel> │ └─────────────────────────────────────────────────────────────────────┘
- The following warning message will show up.
Start Deployment ───────────────────────────────────────────────────────────────────────────────────────── ┌──────────────────────────── WARNING ────────────────────────────────┐ │ Src: /dev/sda -> Dst: /dev/mmcblk2 │ │ │ │ All data on /dev/mmcblk2 will be destroyed │ │ │ │ │ │ │ │─────────────────────────────────────────────────────────────────────│ │ < Yes > < No > │ └─────────────────────────────────────────────────────────────────────┘
- Confirm installation onto internal media by choosing Yes
- Installation will start
- When installation is complete, the following message will show up:
Finished with success ───────────────────────────────────────────────────────────────────────────────────────── ┌─────────────────────────────────────────────────────────────────────┐ │ Boot media has been deployed on /dev/mmcblk2 │ │ │ │ Would you like to reboot the device now? │ │ │ │ │ │ │ │─────────────────────────────────────────────────────────────────────│ │ < Yes > < No > │ └─────────────────────────────────────────────────────────────────────┘
The Debian Linux release 3.1 requires updating U-Boot to version 2021.04-compulab-1.5 or later |
- Press No if you want to proceed to U-Boot installation
- Alternatively press Yes to reboot the device, unplug installation media