Difference between revisions of "IOT-GATE-IMX8PLUS and SBC-IOT-IMX8PLUS: Debian Linux: Installation"
(Created page with "== 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 re...") |
|||
Line 5: | Line 5: | ||
== Downloading the OS image == | == Downloading the OS image == | ||
* Download [https://www.compulab.com/products/iot-gateways/iot-gate-imx8plus-industrial-arm-iot-gateway/#devres IOT-GATE-IMX8PLUS and SBC-IOT-IMX8PLUS Debian Linux image] archive. | * Download [https://www.compulab.com/products/iot-gateways/iot-gate-imx8plus-industrial-arm-iot-gateway/#devres IOT-GATE-IMX8PLUS and SBC-IOT-IMX8PLUS Debian Linux image] archive. | ||
− | : It's referred to as '' | + | : It's referred to as ''iot-gate-imx8plus_debian-linux_YYYY-MM-DD.zip'' further in the article. |
== Preparing the workstation == | == Preparing the workstation == | ||
Line 16: | Line 16: | ||
* Flash the image file to the USB flash drive: | * Flash the image file to the USB flash drive: | ||
<pre> | <pre> | ||
− | unzip -p ~/path/to/IOT-GATE-IMX8PLUS-debian-linux/images/ | + | unzip -p ~/path/to/IOT-GATE-IMX8PLUS-debian-linux/images/iot-gate-imx8plus_debian-linux_YYYY-MM-DD.zip | sudo dd of=/dev/sdX bs=1M status=progress conv=fsync |
</pre> | </pre> | ||
Revision as of 10:55, 7 September 2022
Contents
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.
Downloading the OS image
- Download IOT-GATE-IMX8PLUS and SBC-IOT-IMX8PLUS Debian Linux image archive.
- It's referred to as iot-gate-imx8plus_debian-linux_YYYY-MM-DD.zip further in the article.
Preparing the workstation
- Obtain a Debian-based workstation with a free USB port.
- Obtain a USB flash drive. Any commercially available USB flash drive of 4GB (or larger) may be used for the installation.
- Plug the USB flash drive into the host PC. From now we assume the device name of the flash drive on your Linux PC is /dev/sdX.
Preparing Installation Media
- Flash the image file to the USB flash drive:
unzip -p ~/path/to/IOT-GATE-IMX8PLUS-debian-linux/images/iot-gate-imx8plus_debian-linux_YYYY-MM-DD.zip | sudo dd of=/dev/sdX bs=1M status=progress conv=fsync
Run Debian Linux image
- Insert the USB flash drive into one of the USB ports. It's recommended to use USB3.0 port
- Power on the device and wait for the GRUB menu
Installing Debian images onto the internal storage
- In the GRUB menu choose Install Linux option
GNU GRUB version 2.04-20 ┌────────────────────────────────────────────────────────────────────────────┐ │ Boot Linux Image-5.15.5-rt22+g070f2e215360 │ │ Boot Linux Image-5.15.5+gb1890f1017e3 │ │*Install Linux │ │ Advanced Boot Options │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────────────────────────────────────────────────────┘ Use the ▲ and ▼ keys to select which entry is highlighted. Press enter to boot the selected OS, `e' to edit the commands before booting or `c' for a command-line.
- The installer will start running automatically:
+--------cl-deploy will get started in 5 seconds-----------+ | Configuration file /etc/cl-auto.conf parameters: | | -------------------------------------------------- | | # Destination is the module inthernal media. | | # Autoinstaller how to: | | ## cp /usr/share/cl-deploy/cl-auto.conf.sample | | /etc/cl-auto.conf | | ## cl-auto -A | | DST=/dev/mmcblk2 | | QUIET=Yes | | UDEV=No | | -------------------------------------------------- | +-----------------------------------------------------91%--+ | <Stop Auto Installer> | +----------------------------------------------------------+
- When installation is complete, the following message will show up:
+-------------------Success----------------------+ | Remove installation media & Press Enter | | | | | +------------------------------------------------+ | <Press Enter> | +------------------------------------------------+
- Remove the USB flash drive from the unit
- Press Enter to reboot thee unit