When writing the necessary files for the board, microSD card needs to have appropriate format.
Note that you need to run this procedure only once as long as you use the same microSD card.
Follow the instruction below to format the microSD card partitions.
Preparation
Click the button
This section contains both eSD and eMMC Bootloader explanation.
Please click the button below to update the explanation according to your bootloader interface.
eSD BootloadereMMC Bootloader
For eSD
eSD explanation will be shown in this style if you click "eSD Bootloader" button above.
For eMMC
eMMC explanation will be shown in this style if you click "eMMC Bootloader" button above.
Check the SD card connection
Before inserting the microSD card to your Linux PC, open the terinal on Linux PC and run the following command to check the devices without microSD card.
Following is the example output.
Insert the microSD card to your Linux PC and run the following command again.
Check the output and confirm the name appeared.
This would be your microSD card device name.
Following is the example output.
In this case, followings are your microSD card configuration.
/dev/sdb: The device name for the entire microSD card.
/dev/sdb1: The paritition name in microSD card. There may be multiple sdb* depending on the microSD card.
Warning
Be careful not to use the name of other device since it may destruct your computer filesystem.
Run the following command to check the automatically mounted microSD card partitions.
Check the output and find the mount point, which is "/media/user/A8D3-393D" in the following example.
Unmount the automatically mounted partitions.
If there are more than one partitions on microSD card, unmount all partitions.
Create SD card partition
Run fdisk command as shown below to change the partition table according to the following table.
For eSD
Type/Number
Size
Filesystem
Contents
Primary #1
500MB (minimum 128MB)
Ext4
Linux kernel Device tree
Primary #2
All remaining
Ext4
Root filesystem
Note"File system" of "Primary #1 Linux kernel and Device tree" Contents is Ext4.
For eMMC
Type/Number
Size
Filesystem
Contents
Primary #1
500MB (minimum 128MB)
FAT32
Linux kernel Device tree
Primary #2
All remaining
Ext4
Root filesystem
Note"File system" of "Primary #1 Linux kernel and Device tree" Contents is FAT32.
Warning
Use device name. Do NOT use partition name such as /dev/sdb1.
Following log will be shown.
Type "o" to console. The log continues.
Type "n" to console. The log continues.
Type "p" to console. The log continues.
Press ENTER key. The log continues.
Press ENTER key. The log continues.
Type "+500M" to console. The log continues.
Type "Y" to console. The log continues.
Type "n" to console. The log continues.
Type "p" to console. The log continues.
Press ENTER key. The log continues.
Press ENTER key. The log continues.
Press ENTER key. The log continues.
Type "p" to console. The log continues.
For eMMC
Additionally, run the following procedures to set the partition as FAT32.
Type "t" to console. The log continues.
Type "1" to console. The log continues.
Type "b" to console. The log continues.
Type "w" to console. The fdisk interface will end.
Check the partition table with the command below.
Output would be as follows. Note that there are two partitions.
For eSD
For eMMC
Run the command below to format and mount the partitions 1.
Note
If the partitions were automatically mounted after the procedure 6 of "Check the SD card connection", please unmount them again.
For eSD
Following log will be shown.
For eMMC
Following log will be shown.
Run the command below to format and mount the partitions 2.
Following log will be shown.
Eject the microSD card and insert it again to remount the partitions.