IOT-DIN-IMX8PLUS: Debian Linux: Installation

From Compulab Mediawiki
Revision as of 08:22, 11 June 2024 by Igor (talk | contribs) (Created page with "== Overview == This article provides instructions needed to install the Debian Linux live image onto the Compulab IOT-DIN-IMX8PLUS internal storage. The recommended installati...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Overview

This article provides instructions needed to install the Debian Linux live image onto the Compulab IOT-DIN-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 the 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
Admolition note.png 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  >                         │
       └─────────────────────────────────────────────────────────────────────┘
  • Press No if you want to proceed to U-Boot installation
  • Alternatively press Yes to reboot the device, unplug installation media