RZ/V2M Linux Package Start-Up Guide
R01US0527EJ0110 Rev.1.10
Page 8 of 39
Oct.8.2021
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 264191 262144 128M 83 Linux
/dev/sdb2 264192 30199807 29935616 14.3G 83 Linux
renesas@renesas:~$
sudo mkfs.vfat -F 32 /dev/sdb1
mkfs.fat 3.0.28 (2015-05-16)
renesas@renesas:~$
sudo mkfs.ext3 -L rootfs /dev/sdb2
mke2fs 1.42.13 (17-May-2015)
Creating filesystem with 3741952 4k blocks and 936560 inodes
Filesystem UUID: a0bfb70c-a2f3-4dea-b87a-00c3e80b1f5c
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208
Allocating group tables: 0/115 done
Writing inode tables: 0/115 done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: 0/115 done
renesas@renesas:~$
Step 2. Store system files to the SD Card
•
FAT partition
Store Linux image and device tree binary listed in Table 3-1 under FAT partition on SD card. Linux image
and device tree binary are in ${WORK}/build/tmp/deploy/images/rzv2m.
⎯
Linux kernel image (Image) and Device tree binary (r9a09g011gbg-evaluation-board.dtb)
$ sudo mount /dev/
sdb1
/media/
$ cd /media/
$ sudo cp ${WORK}/build/tmp/deploy/images/rzv2m/Image .
$ sudo cp ${WORK}/build/tmp/deploy/images/rzv2m/r9a09g011gbg-evaluation-board.dtb .
$ cd ${WORK}
$ sudo umount /media/
Note: "
sdb1
" (above in red) may depend on the user system.
•
ext3 partition
Store the root file system image, and shutdown program listed in Table 3-1 under the ext3 partition of the
SD card. Refer to Table 2-2 about the directories stored in each file.
⎯
Root file system image (core-image-bsp-rzv2m.tar.bz2)
$ sudo mount /dev/
sdb2
/media/
$ cd /media/
$ sudo cp ${WORK}/build/tmp/deploy/images/rzv2m/core-image-bsp-rzv2m.tar.bz2 .
$ sudo tar xvf ./core-image-bsp-rzv2m.tar.bz2
Note: "
sdb2
" (above in red) may depend on the user system.