SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five
Start-up Guide
R01US0556EJ0102 Rev.1.02
Page 34 of 37
Jun. 17, 2022
2.5.4
Setting U-boot and Writing rootfs to eMMC
To set the board to eMMC Boot mode, set the SW11 as below:
SW11
1
2
3
4
ON
OFF
OFF
ON
Note:-
Set the SW1 on SoM module to eMMC mode. Please refer to the section 1.1.3.
and set the u-boot environment variables (please ignore switch settings). Then, turn on the
power of the board by pressing the reset button SW10.
After booting Linux, please login as root and create partitions on eMMC
root@smarc-rzv2l:~#
fdisk /dev/mmcblk0
Welcome to fdisk (util-linux 2.35.1).
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 0xf3d53104.
Command (m for help):
n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p):
(
Push the enter key
)
Partition number (1-4, default 1):
(
Push the enter key
)
First sector (2048-124321791, default 2048):
(
Push the enter key
)
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-124321791, default 1243217
91):
+500M
Created a new partition 1 of type 'Linux' and of size 500 MiB.
Command (m for help):
n
Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p):
(
Push the enter key
)