SMARC EVK of RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/V2L, and RZ/Five
Start-up Guide
R01US0556EJ0102 Rev.1.02
Page 16 of 37
Jun. 17, 2022
1.5
Create a microSD card to boot Linux
To boot from SD card, over 4GB capacity of blank SD card is needed. You can use Linux Host PC to expand the kernel
and the rootfs using USB card reader or other equipment.
Please format the card according to the following steps before using the card:
(1)
Non-connect microSD card to Linux Host PC
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 30.9G 0 disk
├─
sda1 8:1 0 512M 0 part /boot/efi
├─
sda2 8:2 0 1K 0 part
└─
sda5 8:5 0 30.3G 0 part /
sr0 11:0 1 1024M 0 rom
(2)
Connect microSD card to Linux Host PC with USB adapter
(3)
Check the device name which is associated to the microSD card.
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 30.9G 0 disk
├─
sda1 8:1 0 512M 0 part /boot/efi
├─
sda2 8:2 0 1K 0 part
└─
sda5 8:5 0 30.3G 0 part /
sdb 8:16 1 29.7G 0 disk
└─
sdb1 8:17 1 29.7G 0 part
sr0 11:0 1 1024M 0 rom
The message above shows the card associated with the
/dev/sdb
.
Be careful not to use the other device names in the
following steps
.
(4)
Unmount automatically mounted microSD card partitions
If necessary, unmount all mounted microSD card partitions.
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 745652 0 745652 0% /dev
:
snip
:
/dev/sdb1 511720 4904 506816 1% /media/user/A8D3-393B
$ sudo umount /media/user/A8D3-393B
If more than one partition has already been created on microSD card, unmount all partitions.