S B C X U s e r ' s G u i d e
v . 1 . 0 . 1
5.11.1
Accessing the peripheral
The microSD card is mapped to
/dev/mmcblk0
. The available partitions
are available as
/dev/mmcblk0p1, /dev/mmcblk0p2, …
When the microSD is inserted, the kernel prints the following messages:
root@axel-lite:~# [ 26.729497] mmc0: host does not support
reading read-only switch. assuming write-enable.
[ 26.744428] mmc0: new high speed SDHC card at address 1234
[ 26.751650] mmcblk0: mmc0:1234 SA04G 3.63 GiB
[ 26.761526] mmcblk0: p1 p2
[ 27.422881] EXT4-fs (mmcblk0p2): recovery complete
[ 27.427911] EXT4-fs (mmcblk0p2): mounted filesystem with
ordered data mode. Opts: (null)
Ths card is automatically mounted to the
/media
mount point:
root@axel-lite:~# mount
...
/dev/mmcblk0p1 on /media/mmcblk0p1 type vfat
(rw,relatime,gid=6,fmask=0007,dmask=0007,allow_utime=0020,codepag
e=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
The following command can be used to manually mount the first partition:
mount /dev/mmcblk0p1 /media/mmcblk0p1
5.11.1.1
Linux messages at boot time:
root@axel-lite:~# dmesg | grep sdh
[ 2.436926] sdhci: Secure Digital Host Controller Interface
driver
[ 2.443127] sdhci: Copyright(c) Pierre Ossman
[ 2.447491] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.502239] mmc0: SDHCI controller on 2190000.usdhc
[2190000.usdhc] using ADMA
[ 2.574254] mmc1: SDHCI controller on 2194000.usdhc
[2194000.usdhc] using ADMA
December, 2019
51/139
Summary of Contents for SBC AXEL
Page 2: ...S B C X U s e r s G u i d e v 1 0 1 Page intentionally left blank December 2019 2 139 ...
Page 105: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 105 139 ...
Page 106: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 106 139 ...
Page 107: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 107 139 Fig 44 QtQuick Hello World ...
Page 119: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 119 139 ...
Page 121: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 121 139 ...
Page 139: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 139 139 ...