<build root/common/config/ufs/provision.
The provision XML files for the various UFS device versions are as follows:
provision_ufs22.xml- This is for UFS device 2.2 partprovision_ufs31.xml- This is for UFS device 3.1 part
- To reprovision the UFS device, set
bConfigDescrLock="0". This parameter is part of the provision XML file. - To prevent reprovisioning, set
bConfigDescrLock="1"after the UFS device configuration and provisioning is finalized.
UFS device partition layout
The default UFS device provisioning creates eight LUNs (LUN0 to LUN7).- The Linux data and all Linux file system images are stored in LUN0.
- Boot well-known LUN (WLUN) 0xB0 alternates between LUN1 and LUN2 to provide a fail-safe backup for the XBL.
- The rest of the boot chain is stored in LUN4.
- The LUN6 and LUN7 are unused by default.

