Difference between revisions of "IOT-GATE-IMX8PLUS and SBC-IOT-IMX8PLUS: Debian Linux: Installation"
Line 2: | Line 2: | ||
This article provides instructions needed to install the Debian Linux live image onto the Compulab IOT-GATE-IMX8PLUS / SBC-IOT-IMX8PLUS internal storage. | 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. | The recommended installation procedure is using a host PC with a Debian-based operating system. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Preparing Installation Media == | == Preparing Installation Media == | ||
− | + | Prepare [[IOT-GATE-IMX8PLUS and SBC-IOT-IMX8PLUS: Debian Linux: Preparing Live Media|Debian Linux Live Media]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Installing Debian images onto the internal storage == | == Installing Debian images onto the internal storage == | ||
− | * | + | * Insert the USB flash drive into one of the USB ports. It's recommended to use [[IOT-GATE-IMX8PLUS: Getting Started#Front_panel|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: | ||
+ | :<pre>run bsp_bootcmd</pre> | ||
+ | {{Note|''U-Boot 2021.04-compulab-1.5'' version or later runs ''bsp_bootcmd'' by default}} | ||
+ | * Wait for the Linux login prompt | ||
+ | * [[IOT-GATE-IMX8PLUS_and_SBC-IOT-IMX8PLUS:_Debian_Linux:_How-To_Guide#Connection_and_Login|Login]] as '''compulab''' user | ||
+ | * Invoke '''cl-deploy''' utility | ||
+ | :<pre>compulab@compulab-imx8mp:~$ sudo cl-deploy</pre> | ||
+ | * Select '''/dev/mmcblk2''' as a destination device | ||
<pre> | <pre> | ||
− | + | Select a destination device | |
+ | ───────────────────────────────────────────────────────────────────────────────────────── | ||
− | + | ┌─────────────────────────────────────────────────────────────────────┐ | |
− | + | │ Available Devices: │ | |
− | + | │ ┌─────────────────────────────────────────────────────────────────┐ │ | |
− | + | │ │ │ │ | |
− | + | │ │ (*) /dev/mmcblk2 │ │ | |
− | + | │ │ │ │ | |
− | + | │ │ │ │ | |
− | + | │ │ │ │ | |
− | + | │ └─────────────────────────────────────────────────────────────────┘ │ | |
− | + | │ < OK > <Cancel> │ | |
− | + | └─────────────────────────────────────────────────────────────────────┘ | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> | ||
− | * The | + | * The following warning message will show up. |
<pre> | <pre> | ||
− | + | Start Deployment | |
− | + | ───────────────────────────────────────────────────────────────────────────────────────── | |
− | + | ||
− | + | ┌──────────────────────────── WARNING ────────────────────────────────┐ | |
− | + | │ Src: /dev/sda -> Dst: /dev/mmcblk2 │ | |
− | + | │ │ | |
− | + | │ All data on /dev/mmcblk2 will be destroyed │ | |
− | + | │ │ | |
− | + | │ │ | |
− | + | │ │ | |
− | + | │─────────────────────────────────────────────────────────────────────│ | |
− | + | │ < Yes > < No > │ | |
− | + | └─────────────────────────────────────────────────────────────────────┘ | |
− | |||
− | |||
</pre> | </pre> | ||
+ | * Confirm installation onto internal media by choosing '''Yes''' | ||
+ | * Installation will start | ||
* When installation is complete, the following message will show up: | * When installation is complete, the following message will show up: | ||
<pre> | <pre> | ||
− | + | Finished with success | |
− | + | ───────────────────────────────────────────────────────────────────────────────────────── | |
− | + | ||
− | + | ┌─────────────────────────────────────────────────────────────────────┐ | |
− | + | │ Boot media has been deployed on /dev/mmcblk2 │ | |
− | + | │ │ | |
− | + | │ Would you like to reboot the device now? │ | |
+ | │ │ | ||
+ | │ │ | ||
+ | │ │ | ||
+ | │─────────────────────────────────────────────────────────────────────│ | ||
+ | │ < Yes > < No > │ | ||
+ | └─────────────────────────────────────────────────────────────────────┘ | ||
</pre> | </pre> | ||
− | * | + | {{Note|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 [[IOT-GATE-IMX8PLUS_and_SBC-IOT-IMX8PLUS:_U-Boot:_Installation#Running_U-Boot_Firmware_installation| U-Boot installation]] |
+ | * Alternatively press '''Yes''' to reboot the device, unplug installation media | ||
+ | |||
[[Category:Linux]] | [[Category:Linux]] |
Latest revision as of 10:44, 6 March 2024
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