Skip to main content

v2n-emmc-block-stat

Read the on-module eMMC geometry — block size, block count, total capacity — and print it. Useful as a smoke test that the eMMC is enumerated and the storage stack is wired.

Source: examples/v2n/v2n-emmc-block-stat/.

board.yaml

schema_version: 2

som:
sku: E1M-V2N101

carrier:
name: E1M-X-EVK

cores:
a55_cluster:
os: yocto
app: ./linux
image: alp-image-edge
peripherals: [storage]

diagnostics:
log_level: info

eMMC is exposed under <alp/storage.h> on Yocto; the example shells out to the block-device geometry via the kernel's standard ioctl(BLKGETSIZE64) path.

See also

Questions about this page? Discuss in Community Forum