Transclusion: IOT-GATE-iMX8: cl-deply

From Compulab Mediawiki
Revision as of 07:26, 22 September 2020 by imported>Uri.mashiach
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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
Use the space bar key to select the installation target storage /dev/mmcblk2
Select a destination device

────────────────────────────────────────────────────

    ┌────────────────────────────────────────┐
    │ Available Devices:                     │
    │ ┌────────────────────────────────────┐ │
    │ │          ( ) /dev/mmcblk1          │ │
    │ │          (*) /dev/mmcblk2          │ │
    │ │                                    │ │
    │ │                                    │ │
    │ │                                    │ │
    │ └────────────────────────────────────┘ │
    ├────────────────────────────────────────┤
    │       <  OK  >          <Cancel>       │
    └────────────────────────────────────────┘
Be aware of the fact that all the data on the target storage will be erased
Start Deployment

────────────────────────────────────────────────────

    ┌─────────────── WARNING  ───────────────┐
    │ Src: /dev/sda -> Dst: /dev/mmcblk2     │
    │                                        │
    │ All data on /dev/mmcblk2 will be       │
    │ destroyed                              │
    │                                        │
    │                                        │
    │                                        │
    ├────────────────────────────────────────┤
    │       < Yes >            < No  >       │
    └────────────────────────────────────────┘
While installation process is running the output screen shows the log and progress
Allocating group tables: done

Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information:
done
[ 1074.510952] EXT4-fs (mmcblk2p1): mounted filesystem
with ordered data mode. Opts: (null)
[ 1074.617588] EXT4-fs (sda1): mounted filesystem with
ordered data mode. Opts: (null)
[ /dev/sda1 => /dev/mmcblk2p1 ]:
17.9MiB 0:00:01 [17.8MiB/s] [         <=>         ]

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  >       │
    └────────────────────────────────────────┘