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.

TDA4VM: Linux failed to boot at low temperature, unable to mount file system

Part Number: TDA4VM

Hi, experts

Recently, we encountered an occasional issue on our customized board while conducting low-temperature testing.

The phenomenon is that when the temperature drops to minus 40 degrees Celsius, Linux gets stuck while mounting the file system.

The log is "Waiting for root device PARTUUID=6065f35f-02... ".

Later, I discovered another log:

"sdhci-am654: probe of 4f80000.mmc failed with error -110"

I studied the driver of EMMC and found in file sdhci_am654.c that there is an IO line calibration step during EMMC initialization, which requires polling the EMMC status with a timeout of 20 microseconds. I tried to change it to 2000 microseconds, and after doing so, I didn't observe this problem again.

My question is, why does this problem occur at low temperatures? Then, is the modification I made appropriate and does it pose any risks?

PS:

My Linux SDK version is: ti-processor-sdk-linux-j7-evm-08_01_00_07 

My RTOS SDK version is: ti-processor-sdk-rtos-j721e-evm-08_01_00_11

Best regards,

Tao

  • Hi Tao 

    The log is "Waiting for root device PARTUUID=6065f35f-02... ".

    Are you not seeing this error any more ?

    Can you share me the more details on this 

    Which emmc part you are using ?

    Help share the full logs .

    Regards
    Diwakar

  • Hi, Diwakar

    Are you not seeing this error any more ?

    Yes, the problem no longer appears after I modified the driver code.

    Which emmc part you are using ?

    The EMMC we use is from Sandisk.

    Help share the full logs .

    This is the complete log, where you can find the two logs I mentioned earlier.

    [    0.000000] Machine model: Texas Instruments K3 J721E SoC                    
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')    
    [    0.000000] printk: bootconsole [ns16550a0] enabled                          
    [    0.000000] efi: UEFI not found.                                             
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, s
    ize 1 MiB                                                                       
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a00
    00000, compatible id shared-dma-pool                                            
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, s
    ize 15 MiB                                                                      
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a010000
    0, compatible id shared-dma-pool                                                
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, s
    ize 1 MiB                                                                       
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a10
    00000, compatible id shared-dma-pool                                            
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, s
    ize 15 MiB                                                                      
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a110000
    0, compatible id shared-dma-pool                                                
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, s
    ize 1 MiB                                                                       
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a20
    00000, compatible id shared-dma-pool                                            
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, s
    ize 31 MiB                                                                      
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a210000
    0, compatible id shared-dma-pool                                                
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, s
    ize 1 MiB                                                                       
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a40
    00000, compatible id shared-dma-pool                                            
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, s
    ize 31 MiB                                                                      
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a410000
    0, compatible id shared-dma-pool                                                
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, s
    ize 1 MiB                                                                       
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a60
    00000, compatible id shared-dma-pool                                            
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, s
    ize 15 MiB                                                                      
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a610000
    0, compatible id shared-dma-pool                                                
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, s
    ize 1 MiB                                                                       
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a70
    00000, compatible id shared-dma-pool                                            
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, s
    ize 15 MiB                                                                      
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a710000
    0, compatible id shared-dma-pool                                                
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, s
    ize 1 MiB                                                                       
    [    0.000000] OF: reserved mem: initialized node vision-apps-c66-dma-memory@a80
    00000, compatible id shared-dma-pool                                            
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, s
    ize 15 MiB                                                                      
    [    0.000000] OF: reserved mem: initialized node vision-apps-c66-memory@a810000
    0, compatible id shared-dma-pool                                                
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a9000000, s
    ize 1 MiB                                                                       
    [    0.000000] OF: reserved mem: initialized node vision-apps-c66-dma-memory@a90
    00000, compatible id shared-dma-pool                                            
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a9100000, s
    ize 15 MiB                                                                      
    [    0.000000] OF: reserved mem: initialized node vision-apps-c66-memory@a910000
    0, compatible id shared-dma-pool                                                
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000aa000000, s
    ize 1 MiB                                                                       
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71-dma-memory@aa0
    00000, compatible id shared-dma-pool                                            
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000aa100000, s
    ize 79 MiB                                                                      
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71-memory@aa10000
    0, compatible id shared-dma-pool                                                
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b0000000, s
    ize 32 MiB                                                                      
    [    0.000000] OF: reserved mem: initialized node vision-apps-ipc-memories@b0000
    000, compatible id shared-dma-pool                                              
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b2000000, s
    ize 96 MiB                                                                      
    [    0.000000] OF: reserved mem: initialized node vision-apps-dma-memory@b200000
    0, compatible id shared-dma-pool                                                
    [    0.000000] OF: reserved mem: initialized node vision_apps_shared-memories, c
    ompatible id dma-heap-carveout                                                  
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000d8000000, s
    ize 256 MiB                                                                     
    [    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-l
    o@d8000000, compatible id shared-dma-pool                                       
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000e8000000, s
    ize 32 MiB                                                                      
    [    0.000000] OF: reserved mem: initialized node intercore-eth-r5f-memory@e8000
    000, compatible id shared-dma-pool                                              
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ea000000, s
    ize 16 MiB                                                                      
    [    0.000000] OF: reserved mem: initialized node eeprom-shadow-r5f-memory@ea000
    000, compatible id shared-dma-pool                                              
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000eb000000, s
    ize 32 MiB                                                                      
    [    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-h
    i@eb000000, compatible id shared-dma-pool                                       
    [    0.000000] Zone ranges:                                                     
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]           
    [    0.000000]   DMA32    empty                                                 
    [    0.000000]   Normal   empty                                                 
    [    0.000000] Movable zone start for each node                                 
    [    0.000000] Early memory node ranges                                         
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]          
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000aeffffff]          
    [    0.000000]   node   0: [mem 0x00000000af000000-0x00000000afffffff]          
    [    0.000000]   node   0: [mem 0x00000000b0000000-0x00000000b7ffffff]          
    [    0.000000]   node   0: [mem 0x00000000b8000000-0x00000000d7ffffff]          
    [    0.000000]   node   0: [mem 0x00000000d8000000-0x00000000ecffffff]          
    [    0.000000]   node   0: [mem 0x00000000ed000000-0x00000000ffffffff]          
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff] 
    [    0.000000] cma: Failed to reserve 512 MiB                                   
    [    0.000000] psci: probing for conduit method from DT.                        
    [    0.000000] psci: PSCIv1.1 detected in firmware.                             
    [    0.000000] psci: Using standard PSCI v0.2 function IDs                      
    [    0.000000] psci: Trusted OS migration not required                          
    [    0.000000] psci: SMC Calling Convention v1.2                                
    [    0.000000] percpu: Embedded 2 pages/cpu s49880 r8192 d73000 u131072         
    [    0.000000] Detected PIPT I-cache on CPU0                                    
    [    0.000000] CPU features: detected: GIC system register CPU interface        
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923  
    [    0.000000] Built 1 zonelists, mobility grouping off.  Total pages: 32736    
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmi
    o32,0x02800000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi
    .u-boot),256k(ospi.env),1m(ospi.sysfw),256k(ospi.env.backup),57088k@8m(ospi.root
    fs),256k(ospi.phypattern);47034000.hyperbus:512k(hbmc.tiboot3),2m(hbmc.tispl),4m
    (hbmc.u-boot),256k(hbmc.env),1m(hbmc.sysfw),-@8m(hbmc.rootfs) root=PARTUUID=6065
    f35f-02 rw rootfstype=ext4 rootwait                                             
    [    0.000000] Dentry cache hash table entries: 262144 (order: 5, 2097152 bytes,
     linear)                                                                        
    [    0.000000] Inode-cache hash table entries: 131072 (order: 4, 1048576 bytes, 
    linear)                                                                         
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off          
    [    0.000000] Memory: 803712K/2097152K available (9472K kernel code, 1292K rwda
    ta, 3648K rodata, 1600K init, 750K bss, 1293440K reserved, 0K cma-reserved)     
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1       
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.                
    [    0.000000] rcu:     RCU event tracing is enabled.                           
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.  
    [    0.000000]  Trampoline variant of Tasks RCU enabled.                        
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jif
    fies.                                                                           
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2     
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0                   
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode                      
    [    0.000000] GICv3: 960 SPIs implemented                                      
    [    0.000000] GICv3: 0 Extended SPIs implemented                               
    [    0.000000] GICv3: Distributor has no Range Selector support                 
    [    0.000000] GICv3: 16 PPIs implemented                                       
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000   
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]                                  
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS    
    [    0.000000] ITS@0x0000000001820000: allocated 1048576 Devices @83800000 (flat
    , esz 8, psz 64K, shr 0)                                                        
    [    0.000000] ITS: using cache flushing for cmd queue                          
    [    0.000000] GICv3: using LPI property table @0x000000008fe30000              
    [    0.000000] GIC: using cache flushing for LPI property table                 
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x000000008fe4000
    0                                                                               
    [    0.000000] random: get_random_bytes called from start_kernel+0x31c/0x4c0 wit
    h crng_init=0                                                                   
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).           
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles:
     0x2e2049d3e8, max_idle_ns: 440795210634 ns                                     
    [    0.000002] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 43980
    46511102ns                                                                      
    [    0.008367] Console: colour dummy device 80x25                               
    [    0.012931] Calibrating delay loop (skipped), value calculated using timer fr
    equency.. 400.00 BogoMIPS (lpj=800000)                                          
    [    0.023601] pid_max: default: 32768 minimum: 301                             
    [    0.028348] LSM: Security Framework initializing                             
    [    0.033095] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes, line
    ar)                                                                             
    [    0.040663] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes,
     linear)                                                                        
    [    0.049599] rcu: Hierarchical SRCU implementation.                           
    [    0.054655] Platform MSI: msi-controller@1820000 domain created              
    [    0.060878] EFI services will not be available.                              
    [    0.065637] smp: Bringing up secondary CPUs ...                              
    [    0.070882] Detected PIPT I-cache on CPU1                                    
    [    0.070905] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000   
    [    0.070916] GICv3: CPU1: using allocated LPI pending table @0x000000008fe5000
    0                                                                               
    [    0.070949] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]       
    [    0.071005] smp: Brought up 1 node, 2 CPUs                                   
    [    0.100350] SMP: Total of 2 processors activated.                            
    [    0.105155] CPU features: detected: 32-bit EL0 Support                       
    [    0.110410] CPU features: detected: CRC32 instructions                       
    [    0.123409] CPU: All CPU(s) started at EL2                                   
    [    0.127603] alternatives: patching kernel code                               
    [    0.132570] devtmpfs: initialized                                            
    [    0.140832] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma
    x_idle_ns: 7645041785100000 ns                                                  
    [    0.150810] futex hash table entries: 512 (order: -1, 32768 bytes, linear)   
    [    0.158096] pinctrl core: initialized pinctrl subsystem                      
    [    0.163673] DMI not present or invalid.                                      
    [    0.167894] NET: Registered protocol family 16                               
    [    0.172651] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations 
    [    0.179889] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allo
    cations                                                                         
    [    0.187835] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic al
    locations                                                                       
    [    0.196076] thermal_sys: Registered thermal governor 'step_wise'             
    [    0.196079] thermal_sys: Registered thermal governor 'power_allocator'       
    [    0.202496] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.    
    [    0.216118] ASID allocator initialised with 65536 entries                    
    [    0.235939] HugeTLB registered 16.0 GiB page size, pre-allocated 0 pages     
    [    0.242798] HugeTLB registered 512 MiB page size, pre-allocated 0 pages      
    [    0.249555] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages     
    [    0.257183] cryptd: max_cpu_qlen set to 1000                                 
    [    0.262993] k3-chipinfo 43000014.chipid: Family:J721E rev:SR2.0 JTAGID[0x1bb6
    402f] Detected                                                                  
    [    0.271780] vsys_3v3: supplied by evm_12v0                                   
    [    0.276139] vsys_5v0: supplied by evm_12v0                                   
    [    0.280828] iommu: Default domain type: Translated                           
    [    0.285958] SCSI subsystem initialized                                       
    [    0.290049] pps_core: LinuxPPS API ver. 1 registered                         
    [    0.295144] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome
    tti <giometti@linux.it>                                                         
    [    0.304486] PTP clock support registered                                     
    [    0.308502] EDAC MC: Ver: 3.0.0                                              
    [    0.312547] clocksource: Switched to clocksource arch_sys_counter            
    [    0.318953] VFS: Disk quotas dquot_6.6.0                                     
    [    0.322998] VFS: Dquot-cache hash table entries: 8192 (order 0, 65536 bytes) 
    [    0.332434] Carveout Heap: Exported 512 MiB at 0x00000000b8000000            
    [    0.338738] NET: Registered protocol family 2                                
    [    0.343275] IP idents hash table entries: 32768 (order: 2, 262144 bytes, line
    ar)                                                                             
    [    0.351478] tcp_listen_portaddr_hash hash table entries: 4096 (order: 0, 6553
    6 bytes, linear)                                                                
    [    0.360242] TCP established hash table entries: 16384 (order: 1, 131072 bytes
    , linear)                                                                       
    [    0.368391] TCP bind hash table entries: 16384 (order: 2, 262144 bytes, linea
    r)                                                                              
    [    0.376079] TCP: Hash tables configured (established 16384 bind 16384)       
    [    0.382804] UDP hash table entries: 2048 (order: 0, 65536 bytes, linear)     
    [    0.389693] UDP-Lite hash table entries: 2048 (order: 0, 65536 bytes, linear)
    [    0.397075] NET: Registered protocol family 1                                
    [    0.401747] RPC: Registered named UNIX socket transport module.              
    [    0.407804] RPC: Registered udp transport module.                            
    [    0.412616] RPC: Registered tcp transport module.                            
    [    0.417419] RPC: Registered tcp NFSv4.1 backchannel transport module.        
    [    0.424328] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counte
    rs available                                                                    
    [    0.434456] Initialise system trusted keyrings                               
    [    0.439062] workingset: timestamp_bits=46 max_order=14 bucket_order=0        
    [    0.447234] squashfs: version 4.0 (2009/01/31) Phillip Lougher               
    [    0.453441] NFS: Registering the id_resolver key type                        
    [    0.458659] Key type id_resolver registered                                  
    [    0.462931] Key type id_legacy registered                                    
    [    0.467048] nfs4filelayout_init: NFSv4 File Layout Driver Registering...     
    [    0.473896] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering
    ...                                                                             
    [    0.500797] Key type asymmetric registered                                   
    [    0.504985] Asymmetric key parser 'x509' registered                          
    [    0.509983] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2
    45)                                                                             
    [    0.517541] io scheduler mq-deadline registered                              
    [    0.522167] io scheduler kyber registered                                    
    [    0.527418] pinctrl-single 4301c000.pinctrl: 94 pins, size 376               
    [    0.533577] pinctrl-single 11c000.pinctrl: 173 pins, size 692                
    [    0.540635] k3-ringacc 2b800000.ringacc: Failed to get MSI domain            
    [    0.546887] k3-ringacc 3c000000.ringacc: Failed to get MSI domain            
    [    0.554573] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled         
    [    0.562537] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00
    001f8f)                                                                         
    [    0.571640] arm-smmu-v3 36600000.iommu: allocated 524288 entries for cmdq    
    [    0.580814] arm-smmu-v3 36600000.iommu: allocated 524288 entries for evtq    
    [    0.588576] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to w
    ired irqs                                                                       
    [    0.599025] sysfs: cannot create duplicate filename '/devices/platform/dma_bu
    f_phys'                                                                         
    [    0.606957] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.10.65+ #1            
    [    0.613179] Hardware name: Texas Instruments K3 J721E SoC (DT)               
    [    0.619134] Call trace:                                                      
    [    0.621634]  dump_backtrace+0x0/0x1a0                                        
    [    0.625370]  show_stack+0x18/0x68                                            
    [    0.628752]  dump_stack+0xd0/0x12c                                           
    [    0.632222]  sysfs_warn_dup+0x60/0x80                                        
    [    0.635957]  sysfs_create_dir_ns+0xe0/0xf8                                   
    [    0.640137]  kobject_add_internal+0x98/0x288                                 
    [    0.644493]  kobject_add+0x94/0x100                                          
    [    0.648052]  device_add+0xe0/0x740                                           
    [    0.651522]  platform_device_add+0x100/0x238                                 
    [    0.655879]  platform_device_register_full+0xcc/0x150                        
    [    0.661037]  dma_buf_phys_init+0x6c/0x9c                                     
    [    0.665038]  do_one_initcall+0x54/0x1b8                                      
    [    0.668951]  kernel_init_freeable+0x220/0x2a0                                
    [    0.673398]  kernel_init+0x14/0x114                                          
    [    0.676954]  ret_from_fork+0x10/0x34                                         
    [    0.680609] kobject_add_internal failed for dma_buf_phys with -EEXIST, don't 
    try to register things with the same name in the same directory.                
    [    0.752674] libphy: Fixed MDIO Bus: probed                                   
    [    0.757333] tun: Universal TUN/TAP device driver, 1.6                        
    [    0.762963] VFIO - User Level meta-driver version: 0.3                       
    [    0.768405] i2c /dev entries driver                                          
    [    0.772238] Error: Driver 'k3-soc-thermal' is already registered, aborting...
    [    0.779684] sdhci: Secure Digital Host Controller Interface driver           
    [    0.785998] sdhci: Copyright(c) Pierre Ossman                                
    [    0.790607] sdhci-pltfm: SDHCI platform and OF driver helper                 
    [    0.796879] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....        
    [    0.803736] optee: probing for conduit method.                               
    [    0.808293] optee: revision 3.12 (3d47a131)                                  
    [    0.808529] optee: initialized driver                                        
    [    0.817282] NET: Registered protocol family 17                               
    [    0.821875] Key type dns_resolver registered                                 
    [    0.826302] Loading compiled-in X.509 certificates                           
    [    0.834348] k3-ringacc 2b800000.ringacc: Failed to get MSI domain            
    [    0.840664] k3-ringacc 3c000000.ringacc: Failed to get MSI domain            
    [    0.848153] ti-sci 44083000.dmsc: ABI: 3.1 (firmware rev 0x0015 '21.9.1--v202
    1.09a (Terrific Lla')                                                           
    [    0.878230] random: fast init done                                           
    [    0.908008] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz                  
    [    0.914095] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz                  
    [    0.920141] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz                  
    [    0.926546] pca953x 3-0020: supply vcc not found, using dummy regulator      
    [    0.933362] pca953x 3-0020: using no AI                                      
    [    0.960587] pca953x 3-0020: failed writing register                          
    [    0.965623] pca953x: probe of 3-0020 failed with error -121                  
    [    0.971650] pca953x 3-0022: supply vcc not found, using dummy regulator      
    [    0.978449] pca953x 3-0022: using AI                                         
    [    0.982148] pca953x 3-0022: failed writing register                          
    [    0.987172] pca953x: probe of 3-0022 failed with error -121                  
    [    0.992907] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz                   
    [    0.999231] pca953x 4-0020: supply vcc not found, using dummy regulator      
    [    1.006040] pca953x 4-0020: using no AI                                      
    [    1.032587] pca953x 4-0020: failed writing register                          
    [    1.037615] pca953x: probe of 4-0020 failed with error -121                  
    [    1.043668] omap_i2c 2030000.i2c: bus 4 rev0.12 at 400 kHz                   
    [    1.049697] omap_i2c 2040000.i2c: bus 5 rev0.12 at 100 kHz                   
    [    1.055663] omap_i2c 2050000.i2c: bus 6 rev0.12 at 100 kHz                   
    [    1.061946] ti-sci-intr bus@100000:bus@28380000:interrupt-controller2: Interr
    upt Router 137 domain created                                                   
    [    1.071926] ti-sci-intr bus@100000:interrupt-controller0: Interrupt Router 13
    1 domain created                                                                
    [    1.080736] ti-sci-intr bus@100000:main-navss:interrupt-controller1: Interrup
    t Router 213 domain created                                                     
    [    1.090579] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator d
    omain 209 created                                                               
    [    1.108894] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, g
    p-rings[96,20] sci-dev-id:235                                                   
    [    1.118772] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled      
    [    1.125533] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:
    64                                                                              
    [    1.134495] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, 
    gp-rings[440,150] sci-dev-id:211                                                
    [    1.144649] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled      
    [    1.151408] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:
    64                                                                              
    [    1.159341] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 15, base_baud = 
    6000000) is a 8250                                                              
    [    1.168702] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 33, base_baud = 30
    00000) is a 8250                                                                
    [    1.177445] printk: console [ttyS2] enabled                                  
    [    1.177445] printk: console [ttyS2] enabled                                  
    [    1.185885] printk: bootconsole [ns16550a0] disabled                         
    [    1.185885] printk: bootconsole [ns16550a0] disabled                         
    [    1.196308] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 34, base_baud = 30
    00000) is a 8250                                                                
    [    1.205213] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 35, base_baud = 30
    00000) is a 8250                                                                
    [    1.214685] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vdd
    -hba-supply regulator, assuming enabled                                         
    [    1.225193] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc
    -supply regulator, assuming enabled                                             
    [    1.235345] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc
    q-supply regulator, assuming enabled                                            
    [    1.245585] cdns-ufshcd 4e84000.ufs: ufshcd_populate_vreg: Unable to find vcc
    q2-supply regulator, assuming enabled                                           
    [    1.256388] scsi host0: ufshcd                                               
    [    1.360552] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1
    000000                                                                          
    [    1.368198] libphy: 46000f00.mdio: probed                                    
    [    1.374395] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driv
    er unknown                                                                      
    [    1.382441] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss ver
    sion 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000               
    [    1.396340] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add
    _val:4 pps:0                                                                    
    [    1.404759] value of fuse 0 is 0x2baecb2a                                    
    [    1.408764] value of fuse 1 is 0x0                                           
    [    1.412152] value of fuse 2 is 0x59592000                                    
    [    1.416148] value of fuse 3 is 0x195919                                      
    [    1.419976] k3_bandgap_probe and count is 5                                  
    [    1.424150] id is 0 and i is 0 and err is -22                                
    [    1.428494] id is 0 and i is 1 and err is -55                                
    [    1.432837] id is 0 and i is 2 and err is 0                                  
    [    1.437006] WORKAROUND NEEDED                                                
    [    1.439961] The errors in adc code for -40C, 30C & 125C 150C respectively:: -
    22 -55 0 0                                                                      
    [    1.447943] slope m1::-7 and const c1::-132                                  
    [    1.452115] slope m2::8 and const c2::730                                    
    [    1.456116] Enters the inifinte slope path x2 = x1                           
    [    1.460930] id is 1 and i is 0 and err is -20                                
    [    1.465274] id is 1 and i is 1 and err is -54                                
    [    1.469616] id is 1 and i is 2 and err is 0                                  
    [    1.473801] id is 2 and i is 0 and err is -20                                
    [    1.478145] id is 2 and i is 1 and err is -54                                
    [    1.482490] id is 2 and i is 2 and err is 0                                  
    [    1.486675] id is 3 and i is 0 and err is -21                                
    [    1.491018] id is 3 and i is 1 and err is -56                                
    [    1.495361] id is 3 and i is 2 and err is 0                                  
    [    1.499545] id is 4 and i is 0 and err is -21                                
    [    1.503888] id is 4 and i is 1 and err is -54                                
    [    1.508231] id is 4 and i is 2 and err is 0                                  
    [    1.512419] Value of CTRLMMR_WKUP_RESET_SRC_STAT Register is 0x0             
    [    1.519080] sdhci-am654: probe of 4f80000.mmc failed with error -110         
    [    1.531363] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100       
    [    1.538205] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100       
    [    1.545032] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100       
    [    1.551862] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100       
    [    1.558664] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100       
    [    1.568429] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 
    13, gp-rflow: 8)                                                                
    [    1.578870] ti-udma 31150000.dma-controller: Channels: 122 (tchan: 61, rchan:
     61, gp-rflow: 16)                                                              
    [    1.667356] cdns-ufshcd 4e84000.ufs: link startup failed 1                   
    [    1.672839] cdns-ufshcd 4e84000.ufs: UFS Host state=0                        
    [    1.677877] cdns-ufshcd 4e84000.ufs: outstanding reqs=0x0 tasks=0x0          
    [    1.684128] cdns-ufshcd 4e84000.ufs: saved_err=0x0, saved_uic_err=0x0        
    [    1.688548] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1
    000000                                                                          
    [    1.690552] cdns-ufshcd 4e84000.ufs: Device power mode=1, UIC link state=0   
    [    1.698188] libphy: 46000f00.mdio: probed                                    
    [    1.705040] cdns-ufshcd 4e84000.ufs: PM in progress=0, sys. suspended=0      
    [    1.711937] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driv
    er Broadcom BCM89881                                                            
    [    1.715631] cdns-ufshcd 4e84000.ufs: Auto BKOPS=0, Host self-block=0         
    [    1.715633] cdns-ufshcd 4e84000.ufs: Clk gate=1                              
    [    1.715636] cdns-ufshcd 4e84000.ufs: last_hibern8_exit_tstamp at 0 us, hibern
    8_exit_cnt=0                                                                    
    [    1.715638] cdns-ufshcd 4e84000.ufs: last intr at 1601697 us, last intr statu
    s=0x404                                                                         
    [    1.715641] cdns-ufshcd 4e84000.ufs: error handling flags=0x0, req. abort cou
    nt=0                                                                            
    [    1.715645] cdns-ufshcd 4e84000.ufs: hba->ufs_version=0x210, Host capabilitie
    s=0x1587031f, caps=0x0                                                          
    [    1.724550] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss ver
    sion 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000               
    [    1.730829] cdns-ufshcd 4e84000.ufs: quirks=0x0, dev. quirks=0x0             
    [    1.730832] cdns-ufshcd 4e84000.ufs: clk: core_clk, rate: 250000000          
    [    1.767764] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48        
    [    1.780487] cdns-ufshcd 4e84000.ufs: clk: phy_clk, rate: 19200000            
    [    1.780489] cdns-ufshcd 4e84000.ufs: clk: ref_clk, rate: 19200000            
    [    1.780494] cdns-ufshcd 4e84000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[0,
     0], lane[0, 0], pwr[INVALID MODE, INVALID MODE], rate = 0                      
    [    1.805352] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.
    4                                                                               
    [    1.811345] host_regs: 00000000: 1587031f 00000000 00000210 00000000         
    [    1.823481] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64              
    [    1.830678] host_regs: 00000010: 00000000 00000000 00000000 00000000         
    [    1.830681] host_regs: 00000020: 00000000 00000470 00000000 00000000         
    [    1.830683] host_regs: 00000030: 00000008 00000001 00000000 00000000         
    [    1.830685] host_regs: 00000040: 00000000 00000000 00000000 00000000         
    [    1.830689] host_regs: 00000050: 00000000 00000000 00000000 00000000         
    [    1.849502] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:50000
    0000, add_val:1 pps:0                                                           
    [    1.855613] host_regs: 00000060: 00000000 00000000 00000000 00000000         
    [    1.884883] debugfs: Directory 'pd:27' with parent 'pm_genpd' already present
    !                                                                               
    [    1.889928] host_regs: 00000070: 00000000 00000000 00000000 00000000         
    [    1.897189] debugfs: Directory 'pd:26' with parent 'pm_genpd' already present
    !                                                                               
    [    1.903454] host_regs: 00000080: 00000000 00000000 00000000 00000000         
    [    1.903456] host_regs: 00000090: 00000000 00000000 00000000 00000000         
    [    1.903462] cdns-ufshcd 4e84000.ufs: No record of pa_err                     
    [    1.911642] debugfs: Directory 'pd:242' with parent 'pm_genpd' already presen
    t!                                                                              
    [    1.917008] cdns-ufshcd 4e84000.ufs: No record of dl_err                     
    [    1.923353] debugfs: Directory 'pd:241' with parent 'pm_genpd' already presen
    t!                                                                              
    [    1.928635] cdns-ufshcd 4e84000.ufs: No record of nl_err                     
    [    1.935934] debugfs: Directory 'pd:240' with parent 'pm_genpd' already presen
    t!                                                                              
    [    1.941218] cdns-ufshcd 4e84000.ufs: No record of tl_err                     
    [    1.948517] debugfs: Directory 'pd:239' with parent 'pm_genpd' already presen
    t!                                                                              
    [    1.953799] cdns-ufshcd 4e84000.ufs: No record of dme_err                    
    [    1.961860] input: gpio-keys as /devices/platform/gpio-keys/input/input0     
    [    1.966386] cdns-ufshcd 4e84000.ufs: No record of auto_hibern8_err           
    [    1.966387] cdns-ufshcd 4e84000.ufs: No record of fatal_err                  
    [    1.966391] cdns-ufshcd 4e84000.ufs: link_startup_fail[0] = 0x1 at 1602814 us
    [    1.966394] cdns-ufshcd 4e84000.ufs: No record of resume_fail                
    [    2.010354] cdns-ufshcd 4e84000.ufs: No record of suspend_fail               
    [    2.016180] cdns-ufshcd 4e84000.ufs: No record of dev_reset                  
    [    2.021743] cdns-ufshcd 4e84000.ufs: No record of host_reset                 
    [    2.027395] cdns-ufshcd 4e84000.ufs: No record of task_abort                 
    [    2.044667] Waiting for root device PARTUUID=6065f35f-02...         

    Best regards,

    Tao

  • Hi Tao 

    1. How many units are showing this failure? 
    2. Is failure only happening at -40C or do you see it across a range of temperature?
    3. If you boot up the failing device at RT and then bring it down to CT does it function properly?
    4. Please read out SS_PHY_CTRL_1_REG and SS_PHY_STAT_1_REG when hang happened
    5. Please check the resistor value on the MMC0_CALPAD pin is still 10 kohms +/-1% as mentioned in DM under the failure condition

    Regards
    Diwakar

  • Hi, Diwakar

    1. Three samples have experienced this issue.

    2. The lower the temperature, the higher the frequency of recurrence of this problem. After the temperature rises, this problem no longer occurs.

    3. No, this problem occurs during the startup process, and once the startup is completed, there will be no problem.

    4. How can I read the values of these two registers? I couldn't find the relevant fields in the SDK. Do I need to look up the EMMC chip manual? At present, I only have the data manual, which does not include these two fields.

    5. I will notify our hardware colleagues to confirm this matter.

    Best regards,

    Tao

  • Hi Tao, 

    4. How can I read the values of these two registers? I couldn't find the relevant fields in the SDK. Do I need to look up the EMMC chip manual? At present, I only have the data manual, which does not include these two fields.

    Regarding this question. I have attached in a screenshot the addresses where you read the registers that Diwakar recommended which I found in the MMCSD registers doc. 

    Regards,

    Matt

  • Hi, Diwakar

    When the hang occurs, the value of SS_PHY_CTRL_1_REG is 0x00010000, and the value of SS_PHY_STAT_1_REG is 0x000000e0.

    From the value of SS_PHY_STAT_1_REG, it can be seen that calibration was not completed when the problem occurred.

    Additionally, I have found that if I shorten the timeout time, such as setting it to 5us, I can also reproduce this issue at room temperature. From this perspective, we need to give enough time for calibration.

    As for the measurement of the resistor value on the MMC0_CALPAD pin, our hardware engineer said it is currently a bit troublesome and we will conduct measurements in the future.

    Best regards,

    Tao