Difference between revisions of "IOT-GATE-iMX8 and SBC-IOT-iMX8: Debian Linux: Installation"
imported>Uri.mashiach |
|||
Line 3: | Line 3: | ||
The image includes Linux kernel, device driver modules, and Debian root filesystem. | The image includes Linux kernel, device driver modules, and Debian root filesystem. | ||
− | {{Important|This installation process requires U-Boot version '''2 | + | {{Important|This installation process requires U-Boot version '''3.2''' or above.<br> |
Before proceeding [[IOT-GATE-iMX8 and SBC-IOT-iMX8: U-Boot: Update|check the U-Boot version on your device and update as needed.]] | Before proceeding [[IOT-GATE-iMX8 and SBC-IOT-iMX8: U-Boot: Update|check the U-Boot version on your device and update as needed.]] | ||
}} | }} |
Latest revision as of 15:14, 6 June 2023
Contents
Introduction
This article provides instructions needed to install the Debian Linux live image on the IOT-GATE-iMX8 / SBC-IOT-iMX8 device, using a Linux Host workstation and a USB flash drive. The image includes Linux kernel, device driver modules, and Debian root filesystem.
This installation process requires U-Boot version 3.2 or above. Before proceeding check the U-Boot version on your device and update as needed. |
Preparation steps
- Obtain a Linux PC workstation.
- Obtain a USB flash drive. Any commercially available USB flash drive of 1GB (or larger) may be used for the installation.
- Download the IOT-GATE-iMX8 and SBC-IOT-iMX8 Debian Linux package from CompuLab website.
- Unzip the package to a directory on the host workstation.
- The Debian Linux live image file, mentioned below, can be found in the images subdirectory.
- 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.
Installation
- Flash the image file to the USB flash drive:
xzcat ~/path/to/iot-gate-imx8-debian-linux/images/debian.iot-gate-imx8.live-img.xz | sudo dd of=/dev/sdX bs=1M
Run Debian Linux image
- Insert the USB flash drive into one of the USB ports.
- Connect a standard USB cable (included in the kit) between your host PC and the IOT-GATE-iMX8/SBC-IOT-iMX8 Debug console connector. (see drawing)
- Use a terminal emulator as described here
- Power-on the system.
- The system will automatically boot the live disk image from the USB flash drive.
Installing Debian images onto the internal storage
Please use the `CompuLab Deployment Tool` to install the IOT-GATE-iMX8 / SBC-IOT-iMX8 Debian Linux onto on-board eMMC storage.
The `CompuLab Deployment Tool` is a shell script that allows to deploy a working OS image from USB flash drive to the IOT-GATE-iMX8 / SBC-IOT-iMX8 on-board storage (eMMC).
Follow the step-by-step procedure for a selected image:
- In the terminal window issue, root privilege is needed (sudu):
root@iot-gate-imx8:~# cl-deploy
- Follow the steps below:
Action | Screenshot |
|
Select a destination device
──────────────────────────────────────────────────── ┌────────────────────────────────────────┐ │ Available Devices: │ │ ┌────────────────────────────────────┐ │ │ │ ( ) /dev/mmcblk1 │ │ │ │ (*) /dev/mmcblk2 │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └────────────────────────────────────┘ │ ├────────────────────────────────────────┤ │ < OK > <Cancel> │ └────────────────────────────────────────┘ |
|
Start Deployment
──────────────────────────────────────────────────── ┌─────────────── WARNING ───────────────┐ │ Src: /dev/sda -> Dst: /dev/mmcblk2 │ │ │ │ All data on /dev/mmcblk2 will be │ │ destroyed │ │ │ │ │ │ │ ├────────────────────────────────────────┤ │ < Yes > < No > │ └────────────────────────────────────────┘ |
|
Allocating group tables: done Writing inode tables: done |
|
Finished with success
──────────────────────────────────────────────────── ┌────────────────────────────────────────┐ │ Boot media has been deployed on │ │ /dev/mmcblk2 │ │ │ │ Would you like to reboot the device │ │ now? │ │ │ │ │ ├────────────────────────────────────────┤ │ < Yes > < No > │ └────────────────────────────────────────┘ |
Post installation
- Power-off the system.
- Remove the USB flash drive from the unit.
- Power-on the system.