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: TDA4 UFS device scan fail

Part Number: TDA4VMXEVM

HI.master    

We have executed: UFS utils desc - t 1 - W config_ desc_ data_ ind_ 0 -p /dev/bsg/ufs-bsg0

However, the UFS device has not been scanned, and the detailed log is in the file.

SDK:ti-processor-sdk-linux-automotive-j7-evm-07_00_00

[11:04:12]Hit any key to stop autoboot: 0 
[11:04:13]=> 
[11:04:13]=> 
[11:04:19]=> 
[11:04:20]=> 
[11:04:24]=> ufs init
[11:04:24]Device at ufs@4e84000 up at:[RX, TX]: gear=[3, 3], lane[2, 2], pwr[FAST MODE, FAST MODE], rate = 2
[11:04:29]=> scsi scan
[11:04:29]scanning bus for devices...
[11:04:31]=> 
[11:04:31]scanning bus for devices...
[11:04:31]=>

....

]root@j7-evm:~# ufs-utils desc -t 1 -w config_desc_data_ind_0 -p /dev/bsg/ufs-bsg0 
[11:06:36]Config Descriptor was written to device
[11:06:44]root@j7-evm:~# [ 129.093570] Initializing XFRM netlink socket
[11:06:47][ 132.610765] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[11:06:47][ 132.629016] Bridge firewalling registered

[11:08:02]root@j7-evm:~# 
[11:08:05]root@j7-evm:~# ls /dev/s
[11:08:05]shm/ snapshot snd/ stderr stdin stdout 
[11:08:07]root@j7-evm:~# ls /dev/s

ufs scan .log

  • Hello,

    Please follow: 

    That should solve your issue.

    Please resolve the issue if your issue is solved.

    Best Regards,
    Keerthy

  • We've read this post, and I've followed it. You can see the attached log file. UFS devices that still cannot be scanned.

  • Hi,

    If you look carefully:

    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 need to first write but you are doing a read in your sequence which overwrites
    the ./config_desc_data_ind_-p file. So just follow the exact
    sequence as given in the before mentioned e2e.

    Freshly download and do not read:

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


    Do not do the above step.

    Also hard reboot the system before checking u-boot.

    If the above works then please resolve.

    Best Regards,
    Keerthy