PHYTEC
Page 22
After inserting an SD/MMC card, the kernel will generate new device nodes in
. The full device can be reached via its
device node. SD
/dev
/dev/mmcblk1
/MMC card partitions will show up in the following way:
/dev/mmcblk1p<Y>
<Y> counts as the partition number starting from 1 to the max count of partitions on this device. The partitions can be formatted with any kind of file system
and also handled in a standard manner, e.g. the
and
command work as expected.
mount
umount
DT configuration for the MMC (SD card slot) interface in
:
arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux.dtsi
Tip
These partition device nodes will only be available if the card contains a valid partition table (”hard disk” like handling). If it does not contain one,
the whole device can be used as a file system (”floppy” like handling). In this case,
must be used for formatting and mounting.
/dev/mmcblk1
The cards are always mounted as being writable.