-21-
Document Name
AI7688H
Reference Manual
Version
V 2.0
Date 2019/08/08
4
File Storage
4.1
USB Drive and SD Card
When a USB drive or SD card is inserted into AI7688H, they can be accessed
under /Media/SD* or /Media/USB* (The device name displayed varies depending
on the number of drives you use and the number of partitions available on the
USB drive or SD card).
You can use the following commands to check the contents of the USB drive and
SD card:
In this example, a USB drive named USB-A1 is used:
# ls /Media/USB-A1
In this example, a SD card named SD-P1 is used:
# ls /Media/SD-P1
4.2
How to mount the SD card
The on-board flash is a raw flash. It is with limited write cycles (about 100,000
times) and without wear leveling mechanism and atomic write operation.
So it is not recommended to write user data to the on-board flash frequently.
Besides, its storage is also limited to 32MB, the spare space might not be
sufficient for storing lots of user data and software packages.
As a result, it is recommended to mount the root FS on a SD card for getting
more and reliable storage.
Steps:
Below are the steps for making this work. For details, please refer to
Note: the procedure below assumes there is only
one partition on the SD card.
If there are multiple partitions on the SD card, you
1.
Insert a microSD card into the AI7688H device.
Warning: all the data on the
SD card will be erased in the following steps.
2.
Make sure the device is under Station mode for accessing internet.