Personal tools

How to check storages contents in Yocto-EBOX-IMX8MM

From ICOP tech wiki

Revision as of 16:16, 17 March 2021 by Joec (talk | contribs)
Jump to: navigation, search

How to use EBOX-IMX8MM storages under Yocto

EBOX-IMX8MM Series support storages include:

eMMC, USB disk, SD/Micro SD (based on different hardware version)


When storages connected with EBOX, Yocto will create a code name for each storage in the directory.

Following content include storages usage:

Check disk space, disk files and copy file between different storages.


Tested storages:

16GB eMMC onboard x1 (Installed with Yocto)

32GB USB disk x1 (Stored with 01.png)

32GB SD card x1 (Stored with 02.png)


To check disk space:

Boot up EBOX-IMX8MM to enter Yocto desktop, click upper-left icon to use weston-terminal.


HOW TO SET UP TIME ZONE-1.png

To check EBOX-IMX8MM system status, execute command as below:

Sh-4.4# df

How to check storages contents in Yocto-2.png                                 

Under /dev/ directory, we found mmcblk1, mmcblk2p1 and sda1 three different storages.

How to check storages contents in Yocto-3.png

To check the files, execute command ls with Mounted on directory:

Sh-4.4# ls /run/media/mmcblk1

How to check storages contents in Yocto-4.png

Sh-4.4# ls /run/media/mmcblk2p1

How to check storages contents in Yocto-5.png

Sh-4.4# ls /run/media/sda1

How to check storages contents in Yocto-6.png

After files checked, we found storage codes:

mmcblk1 = SD card

mmcblk2p1 = eMMC

sda1 = USB disk