This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VMXEVM: TDA4VM EVM UFS

Part Number: TDA4VMXEVM


Hello,TI

When viewing the UFS device in Uboot, no relevant device was found. What should we do to scan the UFS device?

=> ufs init

Device at ufs@4e84000 up at:[RX, TX]: gear=[3, 3], lane[2, 2], pwr[FAST MODE, FAST MODE], rate = 2
=> scsi scan
scanning bus for devices...
=>

How does TDA4EVM mount the UFS in Linux?

Thank you !

  • Hi,

    I am seeing exactly what you are seeing on u-boot. Please follow the following steps.

    1) Copy config_desc_data_ind_0 from the zip file attached to rootfs partition say rootfs/home/root.https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/5554.5758.config_5F00_desc_5F00_data_5F00_ind_5F00_0.7z

    2) Boot to kernel prompt.

    3) execute the below command from the kernel command prompt

    "ufs-utils desc -t 1 -w ./config_desc_data_ind_-p /dev/bsg/ufs-bsg0"

    You will see something like:

    Config Descriptor was written to device

    4) Now reboot and halt at  u-boot prompt.

    5) At u-boot promtp:

    •  ufs init
      Device at ufs@4e84000 up at:[RX, TX]: gear=[3, 3], lane[2, 2],wr[FAST MODE, FAST MODE], rate = 2
    • scsi scan
      scanning bus for devices...
      Device 0: (0:0) Vendor: TOSHI Prod.: THGAF8G8T23BAILB Rev: 0300

      Type: Hard Dis

                                         Capacity: 31.9 MB = 0.0 GB (8191 x 4096)
               Device 1: (0:1) Vendor: THIBA Prod.: THGAF8G8T23BAILB Rev: 0300
               Type: Hardisk
               Capacity: 30499.9 MB = 29.7 GB (7807999 x 4096)

    This should solve your problem.

    Also you can boot to kernel and execute:

    ufs-utils desc -t 1 -p /dev/bsg/ufs-bsg0

    As  a double check.

    Please resolve this issue if you are unblocked.

    Best Regards,
    Keerthy

  • Keerthy

    Thank you very much for your reply.

    It solved my issue.