DESK-XZU-L/Peripherals/eMMC

From DAVE Developer's Wiki
Jump to: navigation, search
History
Issue Date Notes
2026/06/25 DESK-XZU-L 2.x.x release


Peripheral eMMC[edit | edit source]

The eMMC device, if present, will be associated by the Linux kernel to the mmcblk1 device:

Accessing the peripheral[edit | edit source]

Linux messages at boot time[edit | edit source]

[    2.637808] mmc1: SDHCI controller on ff160000.mmc [ff160000.mmc] using ADMA 64-bit
[    2.708067] mmc1: new HS200 MMC card at address 0001
[    2.714397] mmcblk1: mmc1:0001 IS128G 116 GiB
[    2.724386] mmcblk1boot0: mmc1:0001 IS128G 4.00 MiB
[    2.730795] mmcblk1boot1: mmc1:0001 IS128G 4.00 MiB
[    2.737055] mmcblk1rpmb: mmc1:0001 IS128G 4.00 MiB, chardev (239:0)

Additional information[edit | edit source]

Once detected, it can be mounted and accessed via usual Linux commands:

root@onda:~# mkdir -p /mnt/mmcblk1p1
root@onda:~# mkdir -p /mnt/mmcblk1p2
root@onda:~# mount /dev/mmcblk1p1 /mnt/mmcblk1p1
root@onda:~# mount /dev/mmcblk1p2 /mnt/mmcblk1p2
root@onda:~# ls /mnt/mmcblk1p1
BOOT.BIN  Image  boot.scr  image.ub.err  system.dtb  uboot-redund.env
root@onda:~# ls /mnt/mmcblk1p2
bin  boot  dev  etc  home  lib  lost+found  media  mnt  proc  root  run  sbin  srv  sys  tmp  usr  var
root@onda:~#
root@onda:~# dd if=/dev/zero of=test_file_100MB bs=1M count=100
100+0 records in
100+0 records out
104857600 bytes (105 MB, 100 MiB) copied, 6.16073 s, 17.0 MB/s
root@onda:~# time cp test_file_100MB /mnt/mmcblk1p1

real    0m1.267s
user    0m0.005s
sys     0m1.248s