From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Questions/doubts about UFS device on UEFI To: devel@edk2.groups.io From: renan.moraes2@fit-tecnologia.org.br X-Originating-Location: Vargem Grande Paulista, Sao Paulo, BR (177.86.126.77) X-Originating-Platform: Windows Chrome 87 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Tue, 26 Jan 2021 09:23:30 -0800 Message-ID: Content-Type: multipart/alternative; boundary="o81rhfu5QLVfMIXP5YZ3" --o81rhfu5QLVfMIXP5YZ3 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Good afternoon, We are studying how to communicate with Universal Flash Storage (UFS) devi= ce on UEFI environment. The first step is identify the UFS device, we are u= sing the system Lenovo Flex 5G (It has Snapdragon processor + UFS device). We tried to identify the UFS device in three ways: 1 - Specific UEFI protocols (UFS_DEVICE_CONFIG_PROTOCOL / UFS_HOST_CONTROL= LER_PROTOCOL) -> None of these protocols could be found on our test systems= , we compiled the EDK II 2020 (edk2-stable202005) available drivers (UfsPas= sThru and UfsPciHc) and loaded them. However, these drivers can't detect th= e UFS device. 2 - Device Path -> Tried to identify by its type (Type 3 =E2=80=93 Messagi= ng Device Path) and subtype (Sub-Type 25 =E2=80=93 UFS), but could not find= any matches. 3 - Pci bus -> Tried to identify by its class (01h - Mass Storage Controll= er) and subclass (09h - Universal Flash Storage controller), but could not = find any matches. We would like to know if there is an alternative UEFI UFS driver or other = methods to identify and communicate with this type of storage device. Thank you in advance. --o81rhfu5QLVfMIXP5YZ3 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Good afternoon,
 
We are studying how to communicate with Universal Flash Storage (UFS)= device on UEFI environment. The first step is identify the UFS device, we = are using the system Lenovo Flex 5G (It has Snapdragon processor + UFS devi= ce).
 
We tried to identify the UFS device in three ways:
 
1 - Specific UEFI protocols (UFS_DEVICE_CONFIG_PROTOCOL / UFS_HOST_CO= NTROLLER_PROTOCOL) -> None of these protocols could be found on our test= systems, we compiled the EDK II 2020 (edk2-stable202005) available drivers= (UfsPassThru and UfsPciHc) and loaded them. However, these drivers can't d= etect the UFS device.
 
2 - Device Path -> Tried to identify by its type (Type 3 – M= essaging Device Path) and subtype (Sub-Type 25 – UFS), but could not = find any matches.
 
3 - Pci bus -> Tried to identify by its class (01h - Mass Storage = Controller) and subclass (09h - Universal Flash Storage controller), but co= uld not find any matches.
 
We would like to know if there is an alternative UEFI UFS driver or o= ther methods to identify and communicate with this type of storage device.<= /div>
 
Thank you in advance.
--o81rhfu5QLVfMIXP5YZ3--