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.

AM572X: SD Card boot error

Other Parts Discussed in Thread: PMP, DRA752, TMP102, AM5728

Hi

When use my own SD Card to boot the board,I got error log:「mmc0: error -110 whilst initialising SD card」 ,and stopped at「Waiting for root device PARTUUID=00000000-02」.

Since the SD Card in the EVM can boot the board,the creating way and .img file of these 2 Cards are the same,I think the boot file is right.

Now my SD Crad can work on windows/Linux PC well,

so I want to  know why my SD Card cannot boot?

boot log is shown below:
U-Boot SPL 2015.07 (May 31 2016 - 22:30:31)
DRA752-GP ES2.0
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img


U-Boot 2015.07 (May 31 2016 - 22:30:31 -0400)

CPU  : DRA752-GP ES2.0
Board: AM572x EVM REV A.30
I2C:   ready
DRAM:  2 GiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env

** Unable to read "uboot.env" from mmc0:1 **
Using default environment

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
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:   <ethaddr> not set. Validating first E-fuse MAC
cpsw
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
574 bytes read in 3 ms (186.5 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc0 ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
3371480 bytes read in 203 ms (15.8 MiB/s)
101535 bytes read in 38 ms (2.5 MiB/s)
Booting from mmc0 ...
Kernel image @ 0x82000000 [ 0x000000 - 0x3371d8 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffe4000, end 8ffffc9e ... OK

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.1.18-gbbe8cfc  (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) ) #1 SMP PREEMPT Tue May 31 22:18:33 EDT 2016
[    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine model: TI AM572x EVM ES2+
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
[    0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
[    0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
[    0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
[    0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
[    0.000000] cma: Reserved 24 MiB at 0x00000000fe400000
[    0.000000] Forcing write-allocate cache policy for SMP
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] OMAP4: Map 0x00000000ffd00000 to fe600000 for dram barrier
[    0.000000] DRA752 ES2.0
[    0.000000] PERCPU: Embedded 12 pages/cpu @ee52e000 s17088 r8192 d23872 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 472658
[    0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1681220K/1897472K available (6303K kernel code, 287K rwdata, 2196K rodata, 336K init, 258K bss, 27836K reserved, 188416K cma-reserved, 1291264K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0855074   (8501 kB)
[    0.000000]       .init : 0xc0856000 - 0xc08aa000   ( 336 kB)
[    0.000000]       .data : 0xc08aa000 - 0xc08f1ca8   ( 288 kB)
[    0.000000]        .bss : 0xc08f4000 - 0xc09348cc   ( 259 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] OMAP clockevent source: timer1 at 32768 Hz
[    0.000000] clocksource 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65535999984741ns
[    0.000000] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000457] Architected cp15 timer(s) running at 6.14MHz (virt).
[    0.000457] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
[    0.000493] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[    0.000504] Switching to timer-based delay loop, resolution 162ns
[    0.001054] Console: colour dummy device 80x30
[    0.001069] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
[    0.001075] This ensures that you still see kernel messages. Please
[    0.001080] update your kernel commandline.
[    0.001093] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[    0.001106] pid_max: default: 32768 minimum: 301
[    0.001190] Security Framework initialized
[    0.001224] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001234] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001768] Initializing cgroup subsys blkio
[    0.001783] Initializing cgroup subsys memory
[    0.001808] Initializing cgroup subsys devices
[    0.001820] Initializing cgroup subsys freezer
[    0.001832] Initializing cgroup subsys perf_event
[    0.001853] CPU: Testing write buffer coherency: ok
[    0.002105] /cpus/cpu@0 missing clock-frequency property
[    0.002157] /cpus/cpu@1 missing clock-frequency property
[    0.002167] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002201] Setting up static identity map for 0x800082c0 - 0x80008318
[    0.060718] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.060787] Brought up 2 CPUs
[    0.060800] SMP: Total of 2 processors activated (24.59 BogoMIPS).
[    0.060807] CPU: All CPU(s) started in SVC mode.
[    0.061187] devtmpfs: initialized
[    0.086944] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.087720] omap_hwmod: l3_main_2 using broken dt data from ocp
[    0.280252] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.284204] pinctrl core: initialized pinctrl subsystem
[    0.285017] NET: Registered protocol family 16
[    0.285960] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.310641] cpuidle: using governor ladder
[    0.340668] cpuidle: using governor menu
[    0.348738] OMAP GPIO hardware version 0.1
[    0.355093] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
[    0.379395] No ATAGs?
[    0.379427] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.379436] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.379897] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.379906] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.380488] OMAP DMA hardware revision 0.0
[    0.416423] edma 43300000.edma: memcpy is disabled
[    0.421130] edma 43300000.edma: TI EDMA DMA engine driver
[    0.423924] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver
[    0.429299] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[    0.429478] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[    0.429634] omap-iommu 58882000.mmu: 58882000.mmu registered
[    0.429785] omap-iommu 55082000.mmu: 55082000.mmu registered
[    0.430052] omap-iommu 41501000.mmu: 41501000.mmu registered
[    0.430238] omap-iommu 41502000.mmu: 41502000.mmu registered
[    0.430474] vgaarb: loaded
[    0.430842] SCSI subsystem initialized
[    0.431964] palmas 0-0058: Irq flag is 0x00000008
[    0.453059] palmas 0-0058: Muxing GPIO fd, PWM 0, LED 0
[    0.534596] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[    0.535148] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
[    0.535712] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
[    0.535915] media: Linux media interface: v0.10
[    0.535971] Linux video capture interface: v2.00
[    0.536014] pps_core: LinuxPPS API ver. 1 registered
[    0.536021] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.536046] PTP clock support registered
[    0.536647] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
[    0.536932] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
[    0.537202] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[    0.537475] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[    0.537755] Advanced Linux Sound Architecture Driver Initialized.
[    0.538399] Switched to clocksource arch_sys_counter
[    0.548513] NET: Registered protocol family 2
[    0.549067] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.549134] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.549260] TCP: Hash tables configured (established 8192 bind 8192)
[    0.549307] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.549338] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.549487] NET: Registered protocol family 1
[    0.549713] RPC: Registered named UNIX socket transport module.
[    0.549721] RPC: Registered udp transport module.
[    0.549727] RPC: Registered tcp transport module.
[    0.549734] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.550747] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
[    0.550781] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[    0.552561] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.552638] audit: initializing netlink subsys (disabled)
[    0.552667] audit: type=2000 audit(0.530:1): initialized
[    0.559794] VFS: Disk quotas dquot_6.6.0
[    0.559958] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.561939] NFS: Registering the id_resolver key type
[    0.561968] Key type id_resolver registered
[    0.561976] Key type id_legacy registered
[    0.562025] jffs2: version 2.2. (NAND) (SUMMARY)  c 2001-2006 Red Hat, Inc.
[    0.563345] NET: Registered protocol family 38
[    0.563421] bounce: pool size: 64 pages
[    0.563434] io scheduler noop registered
[    0.563446] io scheduler deadline registered
[    0.563483] io scheduler cfq registered (default)
[    0.566951] pinctrl-single 4a003400.pinmux: 281 pins at pa fc003400 size 1124
[    0.600649] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
[    0.600662] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
[    0.600673] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[    0.600683] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.600785] pci 0000:00:00.0: IOMMU is currently not supported for PCI
[    0.601052] PCI: bus0: Fast back to back transfers disabled
[    0.601174] PCI: bus1: Fast back to back transfers enabled
[    0.601265] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
[    0.601280] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
[    0.601292] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.602214] backlight supply power not found, using dummy regulator
[    0.605167] OMAP DSS rev 6.1
[    0.605429] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
[    0.605950] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
[    0.610542] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.613461] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250
[    1.583327] console [ttyS2] enabled
[    1.587446] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 302, base_baud = 3000000) is a 8250
[    1.597477] [drm] Initialized drm 1.1.0 20060810
[    1.610544] brd: module loaded
[    1.617721] loop: module loaded
[    1.621872] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.678415] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
[    1.684538] davinci_mdio 48485000.mdio: detected phy mask fffffff9
[    1.695028] libphy: 48485000.mdio: probed
[    1.699080] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
[    1.708789] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver Micrel KSZ9031 Gigabit PHY
[    1.719069] cpsw 48484000.ethernet: Detected MACID = a0:f6:fd:ad:d9:f4
[    1.726315] cpsw 48484000.ethernet: cpsw: Detected MACID = a0:f6:fd:ad:d9:f5
[    1.734669] mousedev: PS/2 mouse device common for all mice
[    1.740299] i2c /dev entries driver
[    1.746145] gpio-fan gpio_fan: GPIO fan initialized
[    1.751965] tmp102 0-0048: initialized
[    1.757719] omap_hsmmc 4809c000.mmc: Got CD GPIO
[    1.762789] vdd_3v3: supplied by regen1
[    1.799043] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
[    1.805427] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
[    1.838254] omap_hsmmc 4809c000.mmc: card busy
[    1.881869] mmc0: error -110 whilst initialising SD card
[    1.888720] ledtrig-cpu: registered to indicate activity on CPUs
[    1.897540] oprofile: using timer interrupt.
[    1.902057] Initializing XFRM netlink socket
[    1.906360] NET: Registered protocol family 17
[    1.910892] NET: Registered protocol family 15
[    1.915422] Key type dns_resolver registered
[    1.919830] omap_voltage_late_init: Voltage driver support not added
[    1.926438] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.voltdm
[    1.932755] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.voltdm
[    1.939576] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.voltdm
[    1.943012] mmc1: MAN_BKOPS_EN bit is not set
[    1.950267] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.voltdm
[    1.951483] mmc1: new DDR MMC card at address 0001
[    1.951826] mmcblk0: mmc1:0001 S10004 3.56 GiB
[    1.951959] mmcblk0boot0: mmc1:0001 S10004 partition 1 4.00 MiB
[    1.952080] mmcblk0boot1: mmc1:0001 S10004 partition 2 4.00 MiB
[    1.961969]  mmcblk0: p1 p2 p3
[    1.982494] Power Management for TI OMAP4+ devices.
[    1.987568] ThumbEE CPU extension supported.
[    1.991883] Registering SWP/SWPB emulation handler
[    1.997691] dmm 4e000000.dmm: workaround for errata i878 in use
[    2.004883] dmm 4e000000.dmm: initialized all PAT entries
[    2.030253] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.036892] [drm] No driver support for vblank timestamp query.
[    2.044822] [drm] Enabling DMM ywrap scrolling
[    2.090402] Console: switching to colour frame buffer device 100x30
[    2.098577] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
[    2.104518] omapdrm omapdrm.0: registered panic notifier
[    2.138514] omapwb-m2m: Device registered as video10
[    2.143498] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
[    2.149709] hctosys: unable to open rtc device (rtc0)
[    2.162957] ldousb: disabling
[    2.166189] vmmcwl_fixed: disabling
[    2.169708] aic_dvdd_fixed: disabling
[    2.173521] ALSA device list:
[    2.176496]   No soundcards found.
[    2.180473] Waiting for root device PARTUUID=00000000-02...

Looking forward to reply

Thanks