SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five
Start-up Guide
R01US0556EJ0102 Rev.1.02
Page 17 of 37
Jun. 17, 2022
(5)
Change the partition table
microSD card needs two partitions as listed in Table 5.
Table 5. Partitions of microSD card
Type/Number
Size
Filesystem
Contents
Primary #1
500MB (minimum 128MB) FAT32
Linux kernel
Device tree
Primary #2
All remaining
Ext4
root filesystem
Set the partition table using the fdisk command like this.
$ sudo fdisk /dev/sdb
Welcome to fdisk (util-linux 2.34).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help):
o
Created a new DOS disklabel with disk identifier 0x6b6aac6e.
Command (m for help):
n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p):
p
Partition number (1-4, default 1):
First sector (2048-62333951, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-62333951, default 6233395
1):
+500M
Created a new partition 1 of type 'Linux' and of size 500 MiB.
Partition #1 contains a vfat signature.
Do you want to remove the signature? [Y]es/[N]o:
Y
The signature will be removed by a write command.
Command (m for help):
n
Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p):
p
Partition number (2-4, default 2):
(
Push the enter key
)
First sector (1026048-62333951, default 1026048):
(
Push the enter key
)
Last sector, +/-sectors or +/-size{K,M,G,T,P} (1026048-62333951, default 62333
951):
(
Push the enter key
)
Created a new partition 2 of type 'Linux' and of size 29.2 GiB.
Command (m for help):
p
Disk /dev/sdb: 29.74 GiB, 31914983424 bytes, 62333952 sectors
Disk model: Transcend
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes