public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: renan.moraes2@fit-tecnologia.org.br
To: devel@edk2.groups.io
Subject: Questions/doubts about UFS device on UEFI
Date: Tue, 26 Jan 2021 09:23:30 -0800	[thread overview]
Message-ID: <L2Fd.1611681810399785355.JEvM@groups.io> (raw)

[-- Attachment #1: Type: text/plain, Size: 1110 bytes --]

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 device).

We tried to identify the UFS device in three ways:

1 - Specific UEFI protocols (UFS_DEVICE_CONFIG_PROTOCOL / UFS_HOST_CONTROLLER_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 detect the UFS device.

2 - Device Path -> Tried to identify by its type (Type 3 – Messaging 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 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.

[-- Attachment #2: Type: text/html, Size: 1334 bytes --]

             reply	other threads:[~2021-01-26 17:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-26 17:23 renan.moraes2 [this message]
2021-01-27  0:28 ` [edk2-devel] Questions/doubts about UFS device on UEFI Andrew Fish
2021-01-27  1:19 ` Nate DeSimone
2021-01-28 16:36   ` renan.moraes2

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=L2Fd.1611681810399785355.JEvM@groups.io \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox