Skip to main content
The Qualcomm Linux platform supports four primary storage types.
Configure the device to boot from only one storage source. Using both sources for bootable files may cause system crashes or unpredictable behavior.

UFS Storage

Features

Kernel Configuration

Power Management States

Auto-Hibern8 (AH8) — Transitions PHY link to Hibernate after 150 ms of idle time (adjustable).
Clock Gating — Gated after 50 ms (max freq) or 10 ms (scaled freq) of idle time. Enabled by default.
Clock Scaling — Scales up/down based on load threshold. Enabled by default; disabling increases power consumption.
Runtime Suspend/Resume — Enters suspend after 3 seconds of inactivity. Always enabled, not configurable. System Suspend/Resume — Follows system suspend/resume events. Always enabled, not configurable.

Device Parameters

UFS Provisioning

UFS provisioning creates Logical Unit Numbers (LUNs) on a new UFS device. Device Descriptor Parameters:
Set bConfigDescrLock="0" during development. Set to "1" after finalization to prevent reprovisioning.
LUN Parameters: Default Partition Layout:
  • LUN0 — Linux data and filesystem images
  • LUN1 & LUN2 — Boot WLUN (0xB0) alternates for fail-safe XBL backup
  • LUN4 — Rest of boot chain
  • LUN6 & LUN7 — Unused by default

Architecture Diagrams

eMMC Storage

Features

Device Tree Configuration

Add the following to the &sdhc_1 node in the SoC-specific DTSI file:

Power Management

  • Runtime Suspend — After 50 ms of inactivity; always enabled
  • System Suspend — Follows system suspend/resume events; always enabled

SD Card Storage

Features

Kernel Configuration

Power Management

  • Runtime Suspend — After 50 ms of inactivity; always enabled
  • System Suspend — Follows system suspend/resume events; always enabled

NVMe Storage

Configuration Guide

Mount File Systems

Power Management Control

Troubleshooting

Symptoms:
Resolution: Contact UFS device vendor; check device compatibility and power supply stability.
Symptoms:
Resolution: Check physical connections, verify power rails, check PHY initialization.
Diagnosis:
Resolution: Enable clock scaling if disabled; disable WriteBooster if not needed.
Diagnosis:
Resolution: Adjust PM level; disable HPB/WriteBooster if causing issues; verify VCC/VCCQ/VCCQ2 timing.
Symptoms:
Resolution: In the ufshc_mem node in the SoC DTSI file, change:
to:

Command Reference

UFS Commands

SD Card Commands

NVMe Commands

eMMC Commands

For eMMC commands, replace the address with the SoC-specific value: IQ-615 and IQ-9075 use 7c4000; IQ-8275 uses 87c4000.

References