RZ/V2M Linux Package Start-Up Guide
R01US0527EJ0110 Rev.1.10
Page 37 of 39
Oct.8.2021
8.2.2
eMMC booting procedure
Step 1. Run bitbake
Run bitbake following the description in 2. Building Instructions.
Step 2. Store required files for eMMC boot to an SD card.
(1) Prepare an SD card for SD card boot. *Refer to 3.1 SD Card Setting for this procedure.
(2) Make an
“eMMC_Image” directory in /home/root of rootfs extracted to the ext3 area in the made SD card.
(3) S
tore the following files in the “eMMC_Image” directory.
⎯
Image
⎯
r9a09g011gbg-evaluation-board.dtb
⎯
core-image-bsp-rzv2m.tar.gz
*Use .gz file generated by bitbake
⎯
rdk_shutdown
Step 3. Making a partition in eMMC
(1) Boot Linux from SD card.
(2) After booting, make eMMC partitions by the following commands in red.
root@rzv2m:~#
fdisk /dev/mmcblk1
Welcome to fdisk (util-linux 2.30).
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 0x0e5afecc.
Command (m for help):
n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p):
<Press Enter>
Using default response p.
Partition number (1-4, default 1):
<Press Enter>
First sector (2048-30375935, default 2048):
<Press Enter>
Last sector, +sectors or +size{K,M,G,T,P} (2048-30777343, default 30777343):
+128M
Created a new partition 1 of type 'Linux' and of size 128 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):
<Press Enter>
Using default response p.
Partition number (2-4, default 2):
<Press Enter>
First sector (264192-30777343, default 264192):
<Press Enter>
Last sector, +sectors or +size{K,M,G,T,P} (264192-30777343, default 30777343):
<Press