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.

Linux: Sometimes will hangs on Waiting for root device PARTUUID=6179c7ef-02...

Tool/software: Linux

Now I meet a problem::When our custom board boot from EMMC(TDA2Ex17),sometimes it will hangs on Waiting for root device PARTUUID=6179c7ef-02...as following(the failure is about 50%)

[ 5.966323] asoc-simple-card sound@0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
[ 5.987419] omapdss_dss 58000000.dss: master bind failed: -517
[ 5.993702] cpsw 48484000.ethernet: gpio request failed, ret -517
[ 6.000411] hctosys: unable to open rtc device (rtc0)
[ 6.017358] aic_dvdd: disabling
[ 6.020604] vddshv8: disabling
[ 6.023701] mmc1: MAN_BKOPS_EN bit is not set
[ 6.028308] ALSA device list:
[ 6.031350] #0: DRA7xx-EVM
[ 6.035253] Waiting for root device PARTUUID=6179c7ef-02...

Can you provide some advice to me?

  • Is there TI engineer who can help me?
  • Hi
    Can you attach complete boot log. also, when you mention it fails 50% of the time , does it imply failure on the same board. Can you confirm if the failure is seen on just one board/sample or on multiple boards
  • Hi Sriram:

    I have tried two boards,they both failed.The complete log is attached

    U-Boot SPL 2016.05-00008-g1fbee98-dirty (Jun 28 2018 - 11:24:54)
    DRA722-GP ES2.1
    no pinctrl for hs200_1_8v
    no pinctrl for ddr_1_8v
    i2c_write: error waiting for data ACK (status=0x0)
    i2c_write: error waiting for data ACK (status=0x0)
    i2c_write: error waiting for data ACK (status=0x0)
    i2c_write: error waiting for data ACK (status=0x0)
    i2c_write: error waiting for data ACK (status=0x0)
    i2c_write: error waiting for data ACK (status=0x0)
    Trying to boot from MMC2_2
    reading dra7-ipu2-fw.lzop
    spl_load_file_fat: error reading file dra7-ipu2-fw.lzop, err - -1
    spl: error reading image dra7-ipu2-fw.lzop, err - -1
    Error loading remotecore IPU2!,Continuing with boot ...
    reading dra7-dsp1-fw.lzop
    spl_load_file_fat: error reading file dra7-dsp1-fw.lzop, err - -1
    spl: error reading image dra7-dsp1-fw.lzop, err - -1
    Error loading remotecore DSP1!,Continuing with boot ...
    reading dra7-dsp2-fw.lzop
    spl_load_file_fat: error reading file dra7-dsp2-fw.lzop, err - -1
    spl: error reading image dra7-dsp2-fw.lzop, err - -1
    Error loading remotecore DSP2!,Continuing with boot ...
    reading dra7-ipu1-fw.lzop
    spl_load_file_fat: error reading file dra7-ipu1-fw.lzop, err - -1
    spl: error reading image dra7-ipu1-fw.lzop, err - -1
    Error loading remotecore IPU1!,Continuing with boot ...
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2016.05-00008-g1fbee98-dirty (Jun 28 2018 - 11:24:54 +0800)
    
    CPU  : DRA722-GP ES2.1
    Model: TI DRA722
    Board: DRA72x EVM REV 
    DRAM:  512 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Warning: fastboot.cpu: unknown cpu type
    Warning: fastboot.board_rev: unknown board revision
    GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
    part_get_info_efi: *** ERROR: Invalid GPT ***
    GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
    part_get_info_efi: *** ERROR: Invalid Backup GPT ***
    ERROR: cannot find partition: 'userdata'
    
    at arch/arm/cpu/armv7/omap-common/utils.c:195/mmc_get_part_size()
    Warning: fastboot.userdata_size: unable to calc
    SCSI:  SATA link 0 timeout.
    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst 
    scanning bus for devices...
    Found 0 device(s).
    Net:   Could not get PHY for ethernet@48484000: addr 3
    eth0: ethernet@48484000
    Hit any key to stop autoboot:  0 
    switch to partitions #0, OK
    mmc1(part 0) is current device
    SD/MMC found on device 1
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    177 bytes read in 2 ms (85.9 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    switch to partitions #0, OK
    mmc1(part 0) is current device
    SD/MMC found on device 1
    3549664 bytes read in 100 ms (33.9 MiB/s)
    101251 bytes read in 10 ms (9.7 MiB/s)
    Booting from mmc1 ...
    Kernel image @ 0x82000000 [ 0x000000 - 0x3629e0 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffe4000, end 8ffffb82 ... OK
    Using machid 0xfe6 from environment
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.84-00018-gd326d64-dirty (kyle@kyle) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #22 SMP PREEMPT Wed Jun 27 09:58:01 CST 2018
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine model: TI DRA718 EVM
    [    0.000000] bootconsole [earlycon0] enabled
    [    0.000000] Reserved memory: created DMA memory pool at 0x40300000, size 3 MiB
    [    0.000000] Reserved memory: initialized node cmem@40300000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: regions without no-map are not yet supported
    [    0.000000] Reserved memory: created CMA memory pool at 0x99000000, size 32 MiB
    [    0.000000] Reserved memory: initialized node ipu2_cma@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x9b000000, size 16 MiB
    [    0.000000] Reserved memory: initialized node dsp1_cma@9B000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: incorrect alignment of CMA region
    [    0.000000] Reserved memory: created DMA memory pool at 0x9d200000, size 32 MiB
    [    0.000000] Reserved memory: initialized node cmem@9D200000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: regions without no-map are not yet supported
    [    0.000000] cma: Reserved 24 MiB at 0x97800000
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] OMAP4: Map 0x9fe00000 to fe600000 for dram barrier
    [    0.000000] DRA722 ES2.1
    [    0.000000] PERCPU: Embedded 11 pages/cpu @df5e9000 s14912 r8192 d21952 u45056
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 121216
    [    0.000000] Kernel command line: console=ttyO0,115200n8 vram=16M root=PARTUUID=6179c7ef-02 rw rootwait ip=none mem=512M earlyprintk
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 183316K/489472K available (6643K kernel code, 317K rwdata, 2388K rodata, 332K init, 286K bss, 232428K reserved, 73728K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc08da00c   (9033 kB)
    [    0.000000]       .init : 0xc08db000 - 0xc092e000   ( 332 kB)
    [    0.000000]       .data : 0xc092e000 - 0xc097d620   ( 318 kB)
    [    0.000000]        .bss : 0xc097f000 - 0xc09c6980   ( 287 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	Build-time adjustment of leaf fanout to 32.
    [    0.000000] 	RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] Architected cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.008312] Switching to timer-based delay loop, resolution 162ns
    [    0.014956] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.025222] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.030941] Console: colour dummy device 80x30
    [    0.035594] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.042390] This ensures that you still see kernel messages. Please
    [    0.048905] update your kernel commandline.
    [    0.053291] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.063921] pid_max: default: 32768 minimum: 301
    [    0.068828] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.075720] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.083548] Initializing cgroup subsys io
    [    0.087777] Initializing cgroup subsys memory
    [    0.092352] Initializing cgroup subsys devices
    [    0.097004] Initializing cgroup subsys freezer
    [    0.101664] Initializing cgroup subsys perf_event
    [    0.106583] Initializing cgroup subsys pids
    [    0.110985] CPU: Testing write buffer coherency: ok
    [    0.116277] /cpus/cpu@0 missing clock-frequency property
    [    0.121823] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.127766] Setting up static identity map for 0x80008340 - 0x800083a0
    [    0.177994] Brought up 1 CPUs
    [    0.181128] SMP: Total of 1 processors activated (12.29 BogoMIPS).
    [    0.187555] CPU: All CPU(s) started in HYP mode.
    [    0.192389] CPU: Virtualization extensions available.
    [    0.198618] devtmpfs: initialized
    [    0.232604] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.241539] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.428947] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.439152] futex hash table entries: 256 (order: 2, 16384 bytes)
    [    0.450642] pinctrl core: initialized pinctrl subsystem
    [    0.456931] NET: Registered protocol family 16
    [    0.462602] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.491667] cpuidle: using governor ladder
    [    0.521690] cpuidle: using governor menu
    [    0.534515] OMAP GPIO hardware version 0.1
    [    0.545142] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.574395] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.582700] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.589266] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.596950] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.605129] OMAP DMA hardware revision 0.0
    [    0.695465] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.706367] edma 43300000.edma: memcpy is disabled
    [    0.716219] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.726473] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.732542] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.738626] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.744671] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    1.771447] omap_i2c 48070000.i2c: timeout waiting for bus ready
    [    1.777712] pcf857x: probe of 0-0020 failed with error -110
    [    2.804384] omap_i2c 48070000.i2c: timeout waiting for bus ready
    [    2.810645] pcf857x: probe of 0-0021 failed with error -110
    [    2.816829] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    2.823071] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    2.829073] media: Linux media interface: v0.10
    [    2.833862] Linux video capture interface: v2.00
    [    2.838719] pps_core: LinuxPPS API ver. 1 registered
    [    2.843919] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    2.853400] PTP clock support registered
    [    2.857563] EDAC MC: Ver: 3.0.0
    [    2.868107] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    2.874637] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    2.881338] Advanced Linux Sound Architecture Driver Initialized.
    [    2.888519] clocksource: Switched to clocksource arch_sys_counter
    [    2.904781] NET: Registered protocol family 2
    [    2.909847] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    2.917195] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    [    2.923973] TCP: Hash tables configured (established 4096 bind 4096)
    [    2.930627] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    2.936711] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    2.943419] NET: Registered protocol family 1
    [    2.958247] RPC: Registered named UNIX socket transport module.
    [    2.964449] RPC: Registered udp transport module.
    [    2.969380] RPC: Registered tcp transport module.
    [    2.974296] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    2.981998] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    3.009343] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    3.026062] NFS: Registering the id_resolver key type
    [    3.031390] Key type id_resolver registered
    [    3.035774] Key type id_legacy registered
    [    3.040036] ntfs: driver 2.1.32 [Flags: R/O].
    [    3.046163] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    3.053924] io scheduler noop registered
    [    3.058039] io scheduler deadline registered
    [    3.062571] io scheduler cfq registered (default)
    [    3.071590] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    3.079179] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
    [    3.089334] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges:
    [    3.095499]   No bus range found for /ocp/axi@0/pcie_rc@51000000, using [bus 00-ff]
    [    3.103523]    IO 0x20003000..0x20012fff -> 0x00000000
    [    3.108914]   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    3.146889] dra7-pcie 51000000.pcie_rc: link is not up
    [    3.152432] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00
    [    3.159244] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    3.164967] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    3.171418] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    3.178971] PCI: bus0: Fast back to back transfers disabled
    [    3.184892] PCI: bus1: Fast back to back transfers enabled
    [    3.190706] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [    3.197771] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [    3.204848] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    3.210255] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    3.273001] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    3.283037] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
    [    3.292269] console [ttyS0] enabled
    [    3.292269] console [ttyS0] enabled
    [    3.299472] bootconsole [earlycon0] disabled
    [    3.299472] bootconsole [earlycon0] disabled
    [    3.309183] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 302, base_baud = 3000000) is a 8250
    [    3.319173] [drm] Initialized drm 1.1.0 20060810
    [    3.324758] omapdss_dss 58000000.dss: master bind failed: -517
    [    3.418305] loop: module loaded
    [    4.438531] omap_i2c 48070000.i2c: timeout waiting for bus ready
    [    4.444570] lp873x 0-0060: Failed to read OTP ID
    [    4.449286] lp873x: probe of 0-0060 failed with error -110
    [    5.468529] omap_i2c 48070000.i2c: timeout waiting for bus ready
    [    5.474565] lp873x 0-0061: Failed to read OTP ID
    [    5.479268] lp873x: probe of 0-0061 failed with error -110
    [    5.484951] vmemexp device MAJOR num = 246
    [    5.489120] vmemexp class registered
    [    5.492826] /dev/vmemexp device registered
    [    5.496939] ioctl DBUFIOC_EXPORT_VIRTMEM = -1072899120
    [    5.504546] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00,  0,  0
    [    5.512129] libphy: Fixed MDIO Bus: probed
    [    5.517907] cpsw 48484000.ethernet: gpio request failed, ret -517
    [    5.525089] mousedev: PS/2 mouse device common for all mice
    [    5.541390] i2c /dev entries driver
    [    5.550035] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    5.555059] vsys_3v3: supplied by evm_12v0
    [    5.559241] evm_3v3: supplied by vsys_3v3
    [    5.608971] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    5.615357] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    5.668870] omap_hsmmc 480d1000.mmc: no pinctrl state for sdr25 mode
    [    5.675254] omap_hsmmc 480d1000.mmc: no pinctrl state for sdr12 mode
    [    5.698524] omap_hsmmc 480d1000.mmc: no pinctrl state for hs mode
    [    5.739237] ledtrig-cpu: registered to indicate activity on CPUs
    [    5.759422] aic_dvdd: supplied by evm_3v3
    [    5.770025] NET: Registered protocol family 10
    [    5.778802] sit: IPv6 over IPv4 tunneling driver
    [    5.783987] NET: Registered protocol family 17
    [    5.798697] Key type dns_resolver registered
    [    5.803109] omap_voltage_late_init: Voltage driver support not added
    [    5.819064] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    5.825273] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    5.848542] cpu0 supply vdd not found, using dummy regulator
    [    5.854476] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    5.878557] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    5.884777] cpu0 supply vdd not found, using dummy regulator
    [    5.899373] Power Management for TI OMAP4+ devices.
    [    5.904478] Registering SWP/SWPB emulation handler
    [    5.921109] dmm 4e000000.dmm: initialized all PAT entries
    [    5.948881] omapdss_dss 58000000.dss: master bind failed: -517
    [    5.955107] cpsw 48484000.ethernet: gpio request failed, ret -517
    [    5.966323] asoc-simple-card sound@0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
    [    5.987419] omapdss_dss 58000000.dss: master bind failed: -517
    [    5.993702] cpsw 48484000.ethernet: gpio request failed, ret -517
    [    6.000411] hctosys: unable to open rtc device (rtc0)
    [    6.017358] aic_dvdd: disabling
    [    6.020604] vddshv8: disabling
    [    6.023701] mmc1: MAN_BKOPS_EN bit is not set
    [    6.028308] ALSA device list:
    [    6.031350]   #0: DRA7xx-EVM
    [    6.035253] Waiting for root device PARTUUID=6179c7ef-02...
    

  • Hi
    Can you confirm HW differences(with respect to MMC) between the custom board and TI EVM
    The bootup process is stuck waiting for the MMC device to be initialized
  • 1.There‘s no HW difference between custom board and TI EVM besides that our emmc support EMMC 5.0;
    2.Because our custom board only used emmc and no NOR Flash ,so we don't need SN74CBTLV16212GR to multiplex
  • Hi,

    - What mode are you using for eMMC?
    - Also, please share your dts configuration for MMC.

    Regards,
    Vishal
  • 4212.dts.rarHi Vishal:

    I'm using HS200 mode,but i'm not very sure.And dts is attached.

  • Hi Vishal:

    1.I find that it hangs on CMD21 command by debugging, maybe in the function omap_hsmmc_execute_tuning;
    2.When I changed the max- frenquency from 192MHz to 96MHz in dts,the problem will don't happen.But I don't konw the reason.
    Do you have some ideas about this ?
  • Which SDK version are you using?

    -1-

    If the Kernel doesn't have the below patch, please try with taking this patch
    http://git.omapzoom.org/?p=kernel/omap.git;a=commit;h=3147f76e8bc83d3e3fae6a0c49069858e77816e8


    -2-

    If the issue still exists with above patch.
    Share the Kernel log with CONFIG_MMC_DEBUG option enabled in Kernel and add extra traces as shown in below patch.
    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/4670.0001_2D00_MMC_5F00_TUNING_5F00_DEBUG.PATCH


    Regards,
    Vishal

  • The sdk I'm using is PROCESSOR_SDK_VISION_03_02_00_00.Should I use the patch what you have provided?
  • You can check git log of Kernel to see if this change is present, if not please try adding it.
  • I add the patch into my sdk,but it still can hang on sometimes.
  • Hi,

    Was there any improvement in behavior after taking the patch?

    Could you try reproducing the issue with debug patch shared in point #2 and share the logs?
    e2e.ti.com/.../2601611


    Regards,
    Vishal
  • Hi Kyle,

    Were you able to get the requested logs?

    Regards,
    Vishal
  • Hi,

    I'm sorry for having not give you the requested log as soon as possible.The log is attched:

    U-Boot SPL 2016.05-00008-g1fbee98-dirty (Jul 30 2018 - 19:51:54)
    DRA722-GP ES2.1
    i2c_write: error waiting for data ACK (status=0x0)
    i2c_write: error waiting for data ACK (status=0x0)
    i2c_write: error waiting for data ACK (status=0x0)
    i2c_write: error waiting for data ACK (status=0x0)
    i2c_write: error waiting for data ACK (status=0x0)
    i2c_write: error waiting for data ACK (status=0x0)
    Trying to boot from MMC2_2
    no pinctrl for hs200_1_8v
    no pinctrl for ddr_1_8v
    reading dra7-ipu2-fw.lzop
    spl_load_file_fat: error reading file dra7-ipu2-fw.lzop, err - -1
    spl: error reading image dra7-ipu2-fw.lzop, err - -1
    Error loading remotecore IPU2!,Continuing with boot ...
    reading dra7-dsp1-fw.lzop
    spl_load_file_fat: error reading file dra7-dsp1-fw.lzop, err - -1
    spl: error reading image dra7-dsp1-fw.lzop, err - -1
    Error loading remotecore DSP1!,Continuing with boot ...
    reading dra7-dsp2-fw.lzop
    spl_load_file_fat: error reading file dra7-dsp2-fw.lzop, err - -1
    spl: error reading image dra7-dsp2-fw.lzop, err - -1
    Error loading remotecore DSP2!,Continuing with boot ...
    reading dra7-ipu1-fw.lzop
    spl_load_file_fat: error reading file dra7-ipu1-fw.lzop, err - -1
    spl: error reading image dra7-ipu1-fw.lzop, err - -1
    Error loading remotecore IPU1!,Continuing with boot ...
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2016.05-00008-g1fbee98-dirty (Jul 30 2018 - 19:51:54 +0800)
    
    CPU  : DRA722-GP ES2.1
    Model: TI DRA722
    Board: DRA72x EVM REV 
    DRAM:  512 MiB
    MMC:   i2c_write: error waiting for data ACK (status=0x0)
    pcf8575_i2c_write_le16 i2c write failed to addr 21
    OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Warning: fastboot.cpu: unknown cpu type
    Warning: fastboot.board_rev: unknown board revision
    GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
    part_get_info_efi: *** ERROR: Invalid GPT ***
    GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
    part_get_info_efi: *** ERROR: Invalid Backup GPT ***
    ERROR: cannot find partition: 'userdata'
    
    at arch/arm/cpu/armv7/omap-common/utils.c:195/mmc_get_part_size()
    Warning: fastboot.userdata_size: unable to calc
    SCSI:  SATA link 0 timeout.
    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst 
    scanning bus for devices...
    Found 0 device(s).
    Net:   i2c_write: error waiting for data ACK (status=0x0)
    pcf8575_i2c_write_le16 i2c write failed to addr 21
    Could not get PHY for ethernet@48484000: addr 3
    eth0: ethernet@48484000
    Hit any key to stop autoboot:  0 
    switch to partitions #0, OK
    mmc1(part 0) is current device
    SD/MMC found on device 1
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    165 bytes read in 2 ms (80.1 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    switch to partitions #0, OK
    mmc1(part 0) is current device
    SD/MMC found on device 1
    3550688 bytes read in 90 ms (37.6 MiB/s)
    101251 bytes read in 24 ms (4 MiB/s)
    Booting from mmc1 ...
    Kernel image @ 0x82000000 [ 0x000000 - 0x362de0 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffe4000, end 8ffffb82 ... OK
    Using machid 0xfe6 from environment
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.84-00018-gd326d64-dirty (kyle@kyle) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #54 SMP PREEMPT Thu Aug 2 16:04:32 CST 2018
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine model: TI DRA718 EVM
    [    0.000000] Reserved memory: created DMA memory pool at 0x40300000, size 3 MiB
    [    0.000000] Reserved memory: initialized node cmem@40300000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: regions without no-map are not yet supported
    [    0.000000] Reserved memory: created CMA memory pool at 0x99000000, size 32 MiB
    [    0.000000] Reserved memory: initialized node ipu2_cma@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x9b000000, size 16 MiB
    [    0.000000] Reserved memory: initialized node dsp1_cma@9B000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: incorrect alignment of CMA region
    [    0.000000] Reserved memory: created DMA memory pool at 0x9d200000, size 32 MiB
    [    0.000000] Reserved memory: initialized node cmem@9D200000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: regions without no-map are not yet supported
    [    0.000000] cma: Reserved 24 MiB at 0x97800000
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] OMAP4: Map 0x9fe00000 to fe600000 for dram barrier
    [    0.000000] DRA722 ES2.1
    [    0.000000] PERCPU: Embedded 11 pages/cpu @df5e9000 s14912 r8192 d21952 u45056
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 121216
    [    0.000000] Kernel command line: console=ttyO0,115200n8 vram=16M root=PARTUUID=8155e4fa-02 rw rootwait ip=none mem=512M
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 183316K/489472K available (6643K kernel code, 317K rwdata, 2388K rodata, 332K init, 286K bss, 232428K reserved, 73728K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc08da00c   (9033 kB)
    [    0.000000]       .init : 0xc08db000 - 0xc092e000   ( 332 kB)
    [    0.000000]       .data : 0xc092e000 - 0xc097d620   ( 318 kB)
    [    0.000000]        .bss : 0xc097f000 - 0xc09c6980   ( 287 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	Build-time adjustment of leaf fanout to 32.
    [    0.000000] 	RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] Architected cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000015] Switching to timer-based delay loop, resolution 162ns
    [    0.000327] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000334] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000755] Console: colour dummy device 80x30
    [    0.000771] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000777] This ensures that you still see kernel messages. Please
    [    0.000782] update your kernel commandline.
    [    0.000792] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000805] pid_max: default: 32768 minimum: 301
    [    0.000901] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000910] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.001429] Initializing cgroup subsys io
    [    0.001445] Initializing cgroup subsys memory
    [    0.001470] Initializing cgroup subsys devices
    [    0.001483] Initializing cgroup subsys freezer
    [    0.001493] Initializing cgroup subsys perf_event
    [    0.001505] Initializing cgroup subsys pids
    [    0.001530] CPU: Testing write buffer coherency: ok
    [    0.001726] /cpus/cpu@0 missing clock-frequency property
    [    0.001738] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001773] Setting up static identity map for 0x80008340 - 0x800083a0
    [    0.050025] Brought up 1 CPUs
    [    0.050036] SMP: Total of 1 processors activated (12.29 BogoMIPS).
    [    0.050043] CPU: All CPU(s) started in HYP mode.
    [    0.050049] CPU: Virtualization extensions available.
    [    0.051010] devtmpfs: initialized
    [    0.080061] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.081054] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.262748] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.262771] futex hash table entries: 256 (order: 2, 16384 bytes)
    [    0.271619] pinctrl core: initialized pinctrl subsystem
    [    0.272469] NET: Registered protocol family 16
    [    0.273431] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.300176] cpuidle: using governor ladder
    [    0.330200] cpuidle: using governor menu
    [    0.338935] OMAP GPIO hardware version 0.1
    [    0.345350] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.367114] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.367125] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.367603] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.367613] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.368105] OMAP DMA hardware revision 0.0
    [    0.451195] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.452346] edma 43300000.edma: memcpy is disabled
    [    0.457249] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.461871] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.462049] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.462221] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.462377] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    1.481308] omap_i2c 48070000.i2c: timeout waiting for bus ready
    [    1.481331] pcf857x: probe of 0-0020 failed with error -110
    [    2.502149] omap_i2c 48070000.i2c: timeout waiting for bus ready
    [    2.502167] pcf857x: probe of 0-0021 failed with error -110
    [    2.502540] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    2.502983] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    2.503166] media: Linux media interface: v0.10
    [    2.503224] Linux video capture interface: v2.00
    [    2.503267] pps_core: LinuxPPS API ver. 1 registered
    [    2.503274] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    2.503298] PTP clock support registered
    [    2.503345] EDAC MC: Ver: 3.0.0
    [    2.512727] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    2.512922] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    2.513249] Advanced Linux Sound Architecture Driver Initialized.
    [    2.514104] clocksource: Switched to clocksource arch_sys_counter
    [    2.524233] NET: Registered protocol family 2
    [    2.524725] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    2.524763] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    [    2.524829] TCP: Hash tables configured (established 4096 bind 4096)
    [    2.524868] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    2.524888] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    2.525071] NET: Registered protocol family 1
    [    2.535359] RPC: Registered named UNIX socket transport module.
    [    2.535368] RPC: Registered udp transport module.
    [    2.535375] RPC: Registered tcp transport module.
    [    2.535381] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    2.536370] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    2.555343] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    2.566011] NFS: Registering the id_resolver key type
    [    2.566038] Key type id_resolver registered
    [    2.566046] Key type id_legacy registered
    [    2.566100] ntfs: driver 2.1.32 [Flags: R/O].
    [    2.567704] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    2.567720] io scheduler noop registered
    [    2.567732] io scheduler deadline registered
    [    2.567764] io scheduler cfq registered (default)
    [    2.571791] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    2.571909] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
    [    2.575070] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges:
    [    2.575083]   No bus range found for /ocp/axi@0/pcie_rc@51000000, using [bus 00-ff]
    [    2.575117]    IO 0x20003000..0x20012fff -> 0x00000000
    [    2.575138]   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    2.605307] dra7-pcie 51000000.pcie_rc: link is not up
    [    2.605487] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00
    [    2.605500] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    2.605511] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    2.605520] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    2.605927] PCI: bus0: Fast back to back transfers disabled
    [    2.606054] PCI: bus1: Fast back to back transfers enabled
    [    2.606143] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [    2.606157] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [    2.606170] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    2.606401] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    2.662729] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    2.666133] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
    [    3.617976] console [ttyS0] enabled
    [    3.622388] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 302, base_baud = 3000000) is a 8250
    [    3.632377] [drm] Initialized drm 1.1.0 20060810
    [    3.638015] omapdss_dss 58000000.dss: master bind failed: -517
    [    3.731649] loop: module loaded
    [    4.754117] omap_i2c 48070000.i2c: timeout waiting for bus ready
    [    4.760156] lp873x 0-0060: Failed to read OTP ID
    [    4.764872] lp873x: probe of 0-0060 failed with error -110
    [    5.784115] omap_i2c 48070000.i2c: timeout waiting for bus ready
    [    5.790151] lp873x 0-0061: Failed to read OTP ID
    [    5.794854] lp873x: probe of 0-0061 failed with error -110
    [    5.800542] vmemexp device MAJOR num = 246
    [    5.804710] vmemexp class registered
    [    5.808417] /dev/vmemexp device registered
    [    5.812530] ioctl DBUFIOC_EXPORT_VIRTMEM = -1072899120
    [    5.820134] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00,  0,  0
    [    5.827723] libphy: Fixed MDIO Bus: probed
    [    5.833460] cpsw 48484000.ethernet: gpio request failed, ret -517
    [    5.840640] mousedev: PS/2 mouse device common for all mice
    [    5.856949] i2c /dev entries driver
    [    5.865587] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    5.870614] vsys_3v3: supplied by evm_12v0
    [    5.874794] evm_3v3: supplied by vsys_3v3
    [    5.924569] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    5.930955] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    5.984462] omap_hsmmc 480d1000.mmc: no pinctrl state for sdr25 mode
    [    5.990846] omap_hsmmc 480d1000.mmc: no pinctrl state for sdr12 mode
    [    6.014110] omap_hsmmc 480d1000.mmc: no pinctrl state for hs mode
    [    6.054817] ledtrig-cpu: registered to indicate activity on CPUs
    [    6.075005] aic_dvdd: supplied by evm_3v3
    [    6.085623] NET: Registered protocol family 10
    [    6.094386] sit: IPv6 over IPv4 tunneling driver
    [    6.099579] NET: Registered protocol family 17
    [    6.114276] Key type dns_resolver registered
    [    6.118677] omap_voltage_late_init: Voltage driver support not added
    [    6.134643] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    6.140851] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    6.164126] cpu0 supply vdd not found, using dummy regulator
    [    6.170062] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [    6.194143] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [    6.200360] cpu0 supply vdd not found, using dummy regulator
    [    6.214965] Power Management for TI OMAP4+ devices.
    [    6.220063] Registering SWP/SWPB emulation handler
    [    6.236174] dmm 4e000000.dmm: initialized all PAT entries
    [    6.263518] omapdss_dss 58000000.dss: master bind failed: -517
    [    6.269811] cpsw 48484000.ethernet: gpio request failed, ret -517
    [    6.277859] asoc-simple-card sound@0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
    [    6.297236] mmc1: MAN_BKOPS_EN bit is not set
    [    6.303244] omapdss_dss 58000000.dss: master bind failed: -517
    [    6.309567] cpsw 48484000.ethernet: gpio request failed, ret -517
    [    6.316274] hctosys: unable to open rtc device (rtc0)
    [    6.327894] omap_hsmmc 480b4000.mmc: Printing all DLL values first
    [    6.339944] aic_dvdd: disabling
    [    6.343107] vddshv8: disabling
    [    6.346553] omap_hsmmc 480b4000.mmc: DLL value:0 is !
    [    6.351649] ALSA device list:
    [    6.355359] omap_hsmmc 480b4000.mmc: DLL value:1 is !
    [    6.360459]   #0: DRA7xx-EVM
    [    6.363822] omap_hsmmc 480b4000.mmc: DLL value:2 is !
    [    6.369583] Waiting for root device PARTUUID=8155e4fa-02...
    [    6.375262] omap_hsmmc 480b4000.mmc: DLL value:3 is !
    [    6.380370] kyle:name_to_dev_t error
    [    6.383970] omap_hsmmc 480b4000.mmc: DLL value:4 is !
    [    6.389105] omap_hsmmc 480b4000.mmc: DLL value:5 is !
    [    6.394237] omap_hsmmc 480b4000.mmc: DLL value:6 is !
    [    6.399370] omap_hsmmc 480b4000.mmc: DLL value:7 is *
    [    6.404512] omap_hsmmc 480b4000.mmc: DLL value:8 is *
    [    6.409638] omap_hsmmc 480b4000.mmc: DLL value:9 is *
    [    6.414778] omap_hsmmc 480b4000.mmc: DLL value:10 is *
    [    6.419989] omap_hsmmc 480b4000.mmc: DLL value:11 is *
    [    6.425217] omap_hsmmc 480b4000.mmc: DLL value:12 is *
    [    6.430427] omap_hsmmc 480b4000.mmc: DLL value:13 is *
    [    6.435654] omap_hsmmc 480b4000.mmc: DLL value:14 is *
    [    6.440865] omap_hsmmc 480b4000.mmc: DLL value:15 is *
    [    6.446091] omap_hsmmc 480b4000.mmc: DLL value:16 is *
    [    6.451301] omap_hsmmc 480b4000.mmc: DLL value:17 is *
    [    6.456532] omap_hsmmc 480b4000.mmc: DLL value:18 is *
    [    6.461742] omap_hsmmc 480b4000.mmc: DLL value:19 is *
    [    6.466967] omap_hsmmc 480b4000.mmc: DLL value:20 is *
    [    6.472176] omap_hsmmc 480b4000.mmc: DLL value:21 is *
    [    6.477399] omap_hsmmc 480b4000.mmc: DLL value:22 is *
    [    6.482605] omap_hsmmc 480b4000.mmc: DLL value:23 is *
    [    6.487796] kyle:name_to_dev_t error
    [    6.491446] omap_hsmmc 480b4000.mmc: DLL value:24 is *
    [    6.496672] omap_hsmmc 480b4000.mmc: DLL value:25 is *
    [    6.501884] omap_hsmmc 480b4000.mmc: DLL value:26 is *
    [    6.507110] omap_hsmmc 480b4000.mmc: DLL value:27 is *
    [    6.512321] omap_hsmmc 480b4000.mmc: DLL value:28 is *
    [    6.517569] omap_hsmmc 480b4000.mmc: DLL value:29 is *
    [    6.522781] omap_hsmmc 480b4000.mmc: DLL value:30 is *
    [    6.528007] omap_hsmmc 480b4000.mmc: DLL value:31 is *
    [    6.533218] omap_hsmmc 480b4000.mmc: DLL value:32 is *
    [    6.538445] omap_hsmmc 480b4000.mmc: DLL value:33 is *
    [    6.543656] omap_hsmmc 480b4000.mmc: DLL value:34 is *
    [    6.548882] omap_hsmmc 480b4000.mmc: DLL value:35 is *
    [    6.554112] omap_hsmmc 480b4000.mmc: DLL value:36 is *
    [    6.559323] omap_hsmmc 480b4000.mmc: DLL value:37 is *
    [    6.564548] omap_hsmmc 480b4000.mmc: DLL value:38 is *
    [    6.569759] omap_hsmmc 480b4000.mmc: DLL value:39 is *
    [    6.574987] omap_hsmmc 480b4000.mmc: DLL value:40 is *
    [    6.580197] omap_hsmmc 480b4000.mmc: DLL value:41 is *
    [    6.585419] omap_hsmmc 480b4000.mmc: DLL value:42 is *
    [    6.590627] omap_hsmmc 480b4000.mmc: DLL value:43 is *
    [    6.595817] kyle:name_to_dev_t error
    [    6.599466] omap_hsmmc 480b4000.mmc: DLL value:44 is *
    [    6.604692] omap_hsmmc 480b4000.mmc: DLL value:45 is *
    [    6.609902] omap_hsmmc 480b4000.mmc: DLL value:46 is *
    [    6.615128] omap_hsmmc 480b4000.mmc: DLL value:47 is *
    [    6.620339] omap_hsmmc 480b4000.mmc: DLL value:48 is *
    [    6.625565] omap_hsmmc 480b4000.mmc: DLL value:49 is *
    [    6.630776] omap_hsmmc 480b4000.mmc: DLL value:50 is *
    [    6.636003] omap_hsmmc 480b4000.mmc: DLL value:51 is *
    [    6.641213] omap_hsmmc 480b4000.mmc: DLL value:52 is *
    [    6.646437] omap_hsmmc 480b4000.mmc: DLL value:53 is *
    [    6.651647] omap_hsmmc 480b4000.mmc: DLL value:54 is *
    [    6.656873] omap_hsmmc 480b4000.mmc: DLL value:55 is *
    [    6.662083] omap_hsmmc 480b4000.mmc: DLL value:56 is *
    [    6.667308] omap_hsmmc 480b4000.mmc: DLL value:57 is *
    [    6.672520] omap_hsmmc 480b4000.mmc: DLL value:58 is *
    [    6.677744] omap_hsmmc 480b4000.mmc: DLL value:59 is *
    [    6.682955] omap_hsmmc 480b4000.mmc: DLL value:60 is *
    [    6.688179] omap_hsmmc 480b4000.mmc: DLL value:61 is *
    [    6.693390] omap_hsmmc 480b4000.mmc: DLL value:62 is *
    [    6.698611] omap_hsmmc 480b4000.mmc: DLL value:63 is *
    [    6.703818] omap_hsmmc 480b4000.mmc: DLL value:64 is *
    [    6.709008] kyle:name_to_dev_t error
    [    6.712654] omap_hsmmc 480b4000.mmc: DLL value:65 is *
    [    6.718140] omap_hsmmc 480b4000.mmc: DLL value:66 is *
    [    6.723351] omap_hsmmc 480b4000.mmc: DLL value:67 is *
    [    6.728577] omap_hsmmc 480b4000.mmc: DLL value:68 is *
    [    6.733788] omap_hsmmc 480b4000.mmc: DLL value:69 is *
    [    6.739018] omap_hsmmc 480b4000.mmc: DLL value:70 is *
    [    6.744244] omap_hsmmc 480b4000.mmc: DLL value:71 is *
    [    6.749455] omap_hsmmc 480b4000.mmc: DLL value:72 is *
    [    6.754680] omap_hsmmc 480b4000.mmc: DLL value:73 is *
    [    6.759892] omap_hsmmc 480b4000.mmc: DLL value:74 is *
    [    6.765117] omap_hsmmc 480b4000.mmc: DLL value:75 is *
    [    6.770327] omap_hsmmc 480b4000.mmc: DLL value:76 is *
    [    6.775551] omap_hsmmc 480b4000.mmc: DLL value:77 is *
    [    6.780761] omap_hsmmc 480b4000.mmc: DLL value:78 is *
    [    6.785986] omap_hsmmc 480b4000.mmc: DLL value:79 is *
    [    6.791196] omap_hsmmc 480b4000.mmc: DLL value:80 is *
    [    6.796422] omap_hsmmc 480b4000.mmc: DLL value:81 is *
    [    6.801633] omap_hsmmc 480b4000.mmc: DLL value:82 is *
    [    6.806854] omap_hsmmc 480b4000.mmc: DLL value:83 is *
    [    6.812062] omap_hsmmc 480b4000.mmc: DLL value:84 is *
    [    6.817256] kyle:name_to_dev_t error
    [    6.820917] omap_hsmmc 480b4000.mmc: DLL value:85 is *
    [    6.826143] omap_hsmmc 480b4000.mmc: DLL value:86 is *
    [    6.831353] omap_hsmmc 480b4000.mmc: DLL value:87 is *
    [    6.836583] omap_hsmmc 480b4000.mmc: DLL value:88 is *
    [    6.841794] omap_hsmmc 480b4000.mmc: DLL value:89 is *
    [    6.847017] omap_hsmmc 480b4000.mmc: DLL value:90 is *
    [    6.852225] omap_hsmmc 480b4000.mmc: DLL value:91 is *
    [    6.858125] omap_hsmmc 480b4000.mmc: DLL value:92 is *
    [    6.863333] omap_hsmmc 480b4000.mmc: DLL value:93 is *
    [    6.868770] omap_hsmmc 480b4000.mmc: DLL value:94 is *
    [    6.873980] omap_hsmmc 480b4000.mmc: DLL value:95 is *
    [    6.879205] omap_hsmmc 480b4000.mmc: DLL value:96 is *
    [    6.884431] omap_hsmmc 480b4000.mmc: DLL value:97 is *
    [    6.889640] omap_hsmmc 480b4000.mmc: DLL value:98 is !
    [    6.894866] omap_hsmmc 480b4000.mmc: DLL value:99 is *
    [    6.900077] omap_hsmmc 480b4000.mmc: DLL value:100 is *
    [    6.905390] omap_hsmmc 480b4000.mmc: DLL value:101 is !
    [    6.910687] omap_hsmmc 480b4000.mmc: DLL value:102 is !
    [    6.915995] omap_hsmmc 480b4000.mmc: DLL value:103 is !
    [    6.921289] omap_hsmmc 480b4000.mmc: DLL value:104 is !
    [    6.926566] kyle:name_to_dev_t error
    [    6.930215] omap_hsmmc 480b4000.mmc: DLL value:105 is !
    [    6.935526] omap_hsmmc 480b4000.mmc: DLL value:106 is !
    [    6.940825] omap_hsmmc 480b4000.mmc: DLL value:107 is !
    [    6.946137] omap_hsmmc 480b4000.mmc: DLL value:108 is !
    [    6.951433] omap_hsmmc 480b4000.mmc: DLL value:109 is !
    [    6.956718] omap_hsmmc 480b4000.mmc: DLL value:110 is !
    [    6.961985] omap_hsmmc 480b4000.mmc: DLL value:111 is !
    [    6.994319] omap_hsmmc 480b4000.mmc: DLL value:112 is !
    [    6.999588] omap_hsmmc 480b4000.mmc: DLL value:113 is !
    [    7.004875] omap_hsmmc 480b4000.mmc: DLL value:114 is !
    [    7.010153] omap_hsmmc 480b4000.mmc: DLL value:115 is !
    [    7.015445] omap_hsmmc 480b4000.mmc: DLL value:116 is !
    [    7.020722] omap_hsmmc 480b4000.mmc: DLL value:117 is !
    

  • Hi,

    The log is as above message.Please help me to check it.
  • Hi Kyle,

    The log is not complete, it just stops, expecting more in the log.
    Did the board just hang for some other reason?

    Also, there are other errors in the log (not related to mmc) are these expected? (DSS, CPSW, i2c)

    Check if your power supply is stable.

    Regards,
    Vishal
  • Hi Vishal,

    1. The log is complete,exectpt that I delete many logs "kyle:name_to_dev_t error".Because they are added by myself,so I delete them.And its location is here(void __init prepare_namespace(void)----->init/do_mounts.c):

    /* wait for any asynchronous scanning to complete */
    if ((ROOT_DEV == 0) && root_wait) {
    printk(KERN_INFO "Waiting for root device %s...\n",
    saved_root_name);
    while (driver_probe_done() != 0 ||
    (ROOT_DEV = name_to_dev_t(saved_root_name)) == 0)
    {
    if(driver_probe_done() != 0)
    printk("kyle:driver_probe happens error\n");
    if(name_to_dev_t(saved_root_name) == 0)
    printk("kyle:name_to_dev_t error\n");
    msleep(100);

    }

    async_synchronize_full();
    }
    It just hangs there suddenly,then it will print "kyle:name_to_dev_t error" continuously and no other logs not related to mmc .

    2. Just as I have mentioned before,when I modified the max-frequency from 192MHz to 96MHz in DTS,error will not happen.Why?

    I'm looking forward to your relpy!Thanks!

    Kyle
  • Hi Kyle,

    The reason I am saying log is not complete is because the tuning debug patch ends abruptly, there should be more prints. The loop should go on till 124.

    [ 6.999588] omap_hsmmc 480b4000.mmc: DLL value:113 is !
    [ 7.004875] omap_hsmmc 480b4000.mmc: DLL value:114 is !
    [ 7.010153] omap_hsmmc 480b4000.mmc: DLL value:115 is !
    [ 7.015445] omap_hsmmc 480b4000.mmc: DLL value:116 is !
    [ 7.020722] omap_hsmmc 480b4000.mmc: DLL value:117 is !


    Do you have HS200 mode IODELAY configurations applied in Kernel dts?

    Regards,
    Vishal
  • Hi Vishal,

    Maybe you don't understand what I have expressed,in fact it may stop in different position,I catch another two logs as attached.And the dfs is also attached.

    log&dts.rar

  • Hi Kyle,

    Could you share the default Linux Kernel commit HEAD that was part of vision sdk 3.02?

    The new logs you shared, are they with below patch included?
    http://git.omapzoom.org/?p=kernel/omap.git;a=commit;h=3147f76e8bc83d3e3fae6a0c49069858e77816e8


    Regards,
    Vishal

  • Hi Vishal:

    The SDK I'm using is PROCESSOR_SDK_VISION_03_02_00_00_setuplinux.bin,and commit HEAD is commit d326d64851af540831d36600ff8a919b79e9b301.
    Also I have add the patch you provide into kernel.
  • Thanks Kyle.

    Could you please generate another set of logs with CONFIG_MMC_DEBUG=y enabled in Kernel config? also, append loglevel=9 to Kernel bootargs for MMC_DEBUG to show up in kernel log.
  • Hi Vishal,

    The log is attched with CONFIG_MMC_DEBUG=y enabled in Kernel config and loglevel=9 appended to Kernel bootargs.

    log_MMC_Debug.rar

  • Hi Vishal,

    Could you provide some advise about this problem?
  • Hi,

    For some reason the interrupt to the latest tuning command doesn't come.
    Or
    If it comes then the code is getting stuck somewhere b/w the interrupt and a call to omap_hsmmc_req_done() which prints req done.

    Can you enable debug in omap_hsmmc_do_irq() to see whether the command complete interrupt comes in or not? Then we can debug this further.

    Regards,
    Vishal
  • Hi,

    Do you mean that add debug information which is located in function omap_hsmmc_do_irq but before function omap_hsmmc_cmd_done?
  • Between omap_hsmmc_do_irq and omap_hsmmc_xfer_done.
    Try putting it in multiple places to see how far it reaches.