RZ/V2M Linux Package Start-Up Guide
R01US0527EJ0110 Rev.1.10
Page 38 of 39
Oct.8.2021
Enter>
Created a new partition 2 of type 'Linux' and of size 14.6 GiB.
Command (m for help):
w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
Step 4. Confirm eMMC partitions
Confirm eMMC partition information by the following commands. Check each size partition is the value set by
the above step.
root@rzv2m:~# fdisk -l /dev/mmcblk1
Disk /dev/mmcblk1: 14.7 GiB, 15758000128 bytes, 30777344 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0e5afecc
Device Boot Start End Sectors Size Id Type
/dev/mmcblk1p1 2048 264191 262144 128M 83 Linux
/dev/mmcblk1p2 264192 30777343 30513152 14.6G 83 Linux
Step 5. Format eMMC partitions
Format each eMMC partition by the following commands.
root@rzv2m:~# mkfs.ext3 -L rootfs /dev/mmcblk1p2
mke2fs 1.43.5 (04-Aug-2017)
Creating filesystem with 3814144 4k blocks and 954720 inodes
Filesystem UUID: 6e5dc895-8778-4525-88ac-661ccf01ca29
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208
Allocating group tables: 0/117 done
Writing inode tables: 0/117 39/117 53/117 66/117 79/117 92/117106/117 done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: 0/117 done
Step 6. Write required files to each eMMC partition
(1) Mount the 1st partition (FAT32 area) of eMMC as follows.
root@rzv2m:~# mkdir /mnt/image
root@rzv2m:~# mount -t vfat /dev/mmcblk1p1 /mnt/image/