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.

AM3517 not seeing SD card

Other Parts Discussed in Thread: AM3517, TCA6416, TSC2004, TVP5146, AM3359

I'm trying to get AM3517 board booting from microSD card. u-boot loads the uImage from the first partion without a problem, but the kernel itself doesn't see the card. I'm trying the 2.6.37 kernel, cause 2.6.38 seems to be completely broken and 2.6.39 crashes due to hwmod issues. Here is my log:

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.37.6 () (gcc version 4.5.2 (Buildroot 2011.05-git-00157-gf4c06f4-dirty) ) #1 Thu May 5 14:29:40 CEST 2011
CPU: ARMv7 Processor [411fc087] revision 7 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP3517/AM3517 EVM
Ignoring unrecognised tag 0x54410009
Memory policy: ECC disabled, Data cache writeback
AM3517 ES1.1 (l2cache iva sgx neon isp )
SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
Kernel command line: root=/dev/mmcblk0p2 rootwait console=ttyO2,115200
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 248740k/248740k available, 13404k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)
    lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc003e000   ( 216 kB)
      .text : 0xc003e000 - 0xc054d25c   (5181 kB)
      .data : 0xc054e000 - 0xc05a9440   ( 366 kB)
NR_IRQS:402
Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
Reprogramming SDRC clock to 332000000 Hz
dpll3_m2_clk rate change failed: -22
GPMC revision 5.0
IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
Total of 96 interrupts on 1 active controller
OMAP GPIO hardware version 2.5
OMAP clockevent source: GPTIMER1 at 32768 Hz
Console: colour dummy device 80x30
Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
... MAX_LOCKDEP_SUBCLASSES:  8
... MAX_LOCK_DEPTH:          48
... MAX_LOCKDEP_KEYS:        8191
... CLASSHASH_SIZE:          4096
... MAX_LOCKDEP_ENTRIES:     16384
... MAX_LOCKDEP_CHAINS:      32768
... CHAINHASH_SIZE:          16384
 memory used by lock dependency info: 3695 kB
 per task-struct memory footprint: 1152 bytes
Calibrating delay loop... 332.93 BogoMIPS (lpj=1298432)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
regulator: dummy:
NET: Registered protocol family 16
hw-breakpoint: debug architecture 0x4 unsupported.
OMAP DMA hardware revision 4.0
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c_omap i2c_omap.1: bus 1 rev3.12 at 400 kHz
i2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHz
i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz
Advanced Linux Sound Architecture Driver Version 1.0.23.
Bluetooth: Core ver 2.15
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource 32k_counter
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 6, 294912 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 128 (order: 1, 10240 bytes)
UDP-Lite hash table entries: 128 (order: 1, 10240 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 485
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
omap-hsuart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
omap-hsuart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
omap-hsuart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
console [ttyO2] enabled
brd: module loaded
loop: module loaded
mtdoops: mtd device (mtddev=name/number) must be supplied
omap2-nand driver initializing
OneNAND driver initializing
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver net1080
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
usbcore: registered new interface driver usb8xxx
libertas_sdio: Libertas SDIO driver
libertas_sdio: Copyright Pierre Ossman
usbcore: registered new interface driver cdc_wdm
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
usbcore: registered new interface driver usbtest
udc: OMAP UDC driver, version: 4 October 2004 (iso) (dma)
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
Driver for 1-wire Dallas network protocol.
omap_device: omap_wdt.-1: new worst case activate latency 0: 152587
OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
omap_device: omap_wdt.-1: new worst case deactivate latency 0: 30517
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCI BCSP protocol initialized
Bluetooth: HCILL protocol initialized
Bluetooth: Broadcom Blutonium firmware driver ver 1.2
usbcore: registered new interface driver bcm203x
Bluetooth: Digianswer Bluetooth USB driver ver 0.10
usbcore: registered new interface driver bpa10x
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
usbcore: registered new interface driver snd-usb-audio
ALSA device list:
  No soundcards found.
oprofile: hardware counters not available
oprofile: using timer interrupt.
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
Bluetooth: L2CAP ver 2.15
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.6
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
lib80211: common routines for IEEE802.11 drivers
Registering the dns_resolver key type
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
ThumbEE CPU extension supported.
Power Management for TI OMAP3.
clock: disabling unused clocks to save power
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Waiting for root device /dev/mmcblk0p2...

As for my configuration I used omap2plus_defconfig and made some minor changes. 4621.config.txt

Is it working at all for 2.6.37 kernel? Are there patches that allow to boot am3517 with 2.6.39?

Regards,

Yegor

  • If you are referring to main-line 2.6.37 kernel version then I believe MMC hook part is missing from am3517 board file, so it won't work. Recently we have made official PSP release on top  of 2.6.37 supporting AM3517EVM with most of the features and also fully system tested.

    Direct git repo - http://arago-project.org/git/projects/?p=linux-omap3.git;a=summary, use release tag "v2.6.37_OMAPPSP_04.02.00.07"

    Download page - http://software-dl.ti.com/dsps/dsps_public_sw/psp/LinuxPSP/OMAP_04_02/04_02_00_07/index_FDS.html

     

    Thanks,

    Vaibhav

  • Hi Vaibhav,

    thank you very much for your answer. I've compiled 2.6.37 kernel from the newest PSP using am3517_evm_defconfig. Here is my bootlog. Still no MMC and hwmod errors. Any ideas?

    Linux version 2.6.37 () (gcc version 4.5.2 (Buildroot
    2011.05-git-00157-gf4c06f4-dirty) ) #4 Mon May 9 10:38:51 CEST 2011
    CPU: ARMv7 Processor [411fc087] revision 7 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
    Machine: OMAP3517/AM3517 EVM
    Ignoring unrecognised tag 0x54410009
    Reserving 4194304 bytes SDRAM for VRAM
    Memory policy: ECC disabled, Data cache writeback
    AM3517 ES1.1 (l2cache iva sgx neon isp )
    SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64000
    Kernel command line: root=/dev/mmcblk0p2 rootwait console=ttyO2,115200
    PID hash table entries: 1024 (order: 0, 4096 bytes)
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 252MB = 252MB total
    Memory: 242488k/242488k available, 19656k reserved, 0K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
        vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)
        lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
        modules : 0xbf000000 - 0xc0000000   (  16 MB)
          .init : 0xc0008000 - 0xc003a000   ( 200 kB)
          .text : 0xc003a000 - 0xc05a510c   (5549 kB)
          .data : 0xc05a6000 - 0xc075ce20   (1756 kB)
    NR_IRQS:375
    Clocking rate (Crystal/Core/MPU): 26.0/332/500 MHz
    omap_hwmod: i2c1: softreset failed (waited 10000 usec)
    omap_hwmod: i2c2: softreset failed (waited 10000 usec)
    omap_hwmod: i2c3: softreset failed (waited 10000 usec)
    Reprogramming SDRC clock to 332000000 Hz
    dpll3_m2_clk rate change failed: -22
    IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
    Total of 96 interrupts on 1 active controller
    GPMC revision 5.0
    Trying to install interrupt handler for IRQ368
    Trying to install interrupt handler for IRQ369
    Trying to install interrupt handler for IRQ370
    Trying to install interrupt handler for IRQ371
    Trying to install interrupt handler for IRQ372
    Trying to install interrupt handler for IRQ373
    Trying to install interrupt handler for IRQ374
    Trying to install type control for IRQ375
    Trying to set irq flags for IRQ375
    OMAP clockevent source: GPTIMER1 at 32768 Hz
    Console: colour dummy device 80x30
    Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
    ... MAX_LOCKDEP_SUBCLASSES:  8
    ... MAX_LOCK_DEPTH:          48
    ... MAX_LOCKDEP_KEYS:        8191
    ... CLASSHASH_SIZE:          4096
    ... MAX_LOCKDEP_ENTRIES:     16384
    ... MAX_LOCKDEP_CHAINS:      32768
    ... CHAINHASH_SIZE:          16384
     memory used by lock dependency info: 3951 kB
     per task-struct memory footprint: 2304 bytes
    Calibrating delay loop... 498.87 BogoMIPS (lpj=1945600)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    regulator: core version 0.5
    regulator: dummy:
    NET: Registered protocol family 16
    ------------[ cut here ]------------
    WARNING: at arch/arm/mach-omap2/pm.c:94 _init_omap_device+0x80/0xa0()
    _init_omap_device: could not find omap_hwmod for iva
    Modules linked in:
    [<c0049ad0>] (unwind_backtrace+0x0/0xe4) from [<c006fcbc>] (warn_slowpath_common+0x4c/0x64)
    [<c006fcbc>] (warn_slowpath_common+0x4c/0x64) from [<c006fd54>] (warn_slowpath_fmt+0x2c/0x3c)
    [<c006fd54>] (warn_slowpath_fmt+0x2c/0x3c) from [<c0051144>] (_init_omap_device+0x80/0xa0)
    [<c0051144>] (_init_omap_device+0x80/0xa0) from [<c000ffb0>] (omap2_common_pm_init+0x2c/0x108)
    [<c000ffb0>] (omap2_common_pm_init+0x2c/0x108) from [<c003a47c>] (do_one_initcall+0xbc/0x194)
    [<c003a47c>] (do_one_initcall+0xbc/0x194) from [<c0008c30>] (kernel_init+0x98/0x14c)
    [<c0008c30>] (kernel_init+0x98/0x14c) from [<c0044e78>] (kernel_thread_exit+0x0/0x8)
    ---[ end trace 1b75b31a2719ed1c ]---
    OMAP GPIO hardware version 2.5
    OMAP GPIO hardware version 2.5
    OMAP GPIO hardware version 2.5
    OMAP GPIO hardware version 2.5
    OMAP GPIO hardware version 2.5
    OMAP GPIO hardware version 2.5
    omap_mux_init: Add partition: #1: core, flags: 0
    Display initialized successfully
    _omap_mux_init_gpio: Multiple gpio paths (2) for gpio126
    Found NOR on CS1
    Registering NOR on CS1
    hw-breakpoint: debug architecture 0x4 unsupported.
    OMAP DMA hardware revision 4.0
    bio: create slab <bio-0> at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    omap_device: omap_i2c.1: new worst case activate latency 0: 30517
    omap_i2c omap_i2c.1: bus 1 rev3.12 at 400 kHz
    omap_device: omap_i2c.1: new worst case deactivate latency 0: 30517
    omap_i2c omap_i2c.2: bus 2 rev3.12 at 400 kHz
    omap_i2c omap_i2c.2: timeout waiting for bus ready
    pca953x 2-0021: failed reading register
    pca953x: probe of 2-0021 failed with error -110
    omap_i2c omap_i2c.3: bus 3 rev3.12 at 400 kHz
    omap_i2c omap_i2c.3: controller timed out
    tca6416-keypad 3-0020: tca6416_read_reg failed, reg: 1, error: -110
    tca6416-keypad: probe of 3-0020 failed with error -110
    omap_i2c omap_i2c.3: controller timed out
    pca953x 3-0021: failed reading register
    pca953x: probe of 3-0021 failed with error -110
    Advanced Linux Sound Architecture Driver Version 1.0.23.
    Switching to clocksource 32k_counter
    musb-hdrc: version 6.0, otg (peripheral+host), debug=0
    musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    <6>Waiting for PHY clock good...
    musb-hdrc musb-hdrc.0: USB OTG mode controller at d0810000 using DMA, IRQ 71
    NET: Registered protocol family 2
    IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    TCP bind hash table entries: 8192 (order: 6, 360448 bytes)
    TCP: Hash tables configured (established 8192 bind 8192)
    TCP reno registered
    UDP hash table entries: 128 (order: 1, 12288 bytes)
    UDP-Lite hash table entries: 128 (order: 1, 12288 bytes)
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    NetWinder Floating Point Emulator V0.97 (double precision)
    omap_init_opp_table: no hwmod or odev for iva, [9] cannot add OPPs.
    AM3517  Linux PSP version 04.02.00.07 (AM3517EVM)
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
    msgmni has been set to 473
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    OMAP DSS rev 2.0
    omapdss supply vdds_dsi not found, using dummy regulator
    OMAP DISPC rev 3.0
    omapdss supply vdda_dac not found, using dummy regulator
    OMAP VENC rev 2
    OMAP DSI rev 1.0
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
    omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
    omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
    console [ttyO2] enabled
    brd: module loaded
    loop: module loaded
    mtdoops: mtd device (mtddev=name/number) must be supplied
    physmap platform flash device: 08000000 at 08000000
    physmap-flash physmap-flash.0: map_probe failed
    omap2-nand driver initializing
    No NAND device found.
    No NAND device found.
    davinci_mdio davinci_mdio: davinci mdio revision 1.5
    davinci_mdio davinci_mdio: detected phy mask fffffffd
    davinci_mdio: probed
    davinci_mdio davinci_mdio: phy[1]: device ffffffff:01, driver unknown
    vcan: Virtual CAN interface driver
    CAN device driver interface
    TI High End CAN Controller Driver 0.7
    ti_hecc ti_hecc: device registered (reg_base=d0890000, irq=24)
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    usbcore: registered new interface driver smsc95xx
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ehci-omap.0 supply hsusb0 not found, using dummy regulator
    ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
    ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
    ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
    ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: OMAP-EHCI Host Controller
    usb usb1: Manufacturer: Linux 2.6.37 ehci_hcd
    usb usb1: SerialNumber: ehci-omap.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 3 ports detected
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    usbcore: registered new interface driver usbtest
    g_ether gadget: using random self ethernet address
    g_ether gadget: using random host ethernet address
    usb0: MAC f2:a0:6c:de:8a:8f
    usb0: HOST MAC 1a:2b:c5:53:a9:e1
    g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
    g_ether gadget: g_ether ready
    musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: MUSB HDRC host driver
    usb usb2: Manufacturer: Linux 2.6.37 musb-hcd
    usb usb2: SerialNumber: musb-hdrc.0
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    mice: PS/2 mouse device common for all mice
    tsc2004: probe of 1-004b failed with error -121
    rtc-s35390a 1-0030: rtc core: registered rtc-s35390a as rtc0
    i2c /dev entries driver
    Linux video capture interface: v2.00
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v1.0.0)
    vpfe_init
    vpfe-capture vpfe-capture: v4l2 device registered
    vpfe-capture vpfe-capture: video device registered
    tvp514x 3-005c: tvp514x 3-005c decoder driver registered !!
    omap_device: omap_i2c.3: new worst case activate latency 0: 91552
    omap_i2c omap_i2c.3: controller timed out
    tvp514x 3-005c: Write: retry ... 0
    omap_i2c omap_i2c.3: controller timed out
    tvp514x 3-005c: Write: retry ... 1
    omap_i2c omap_i2c.3: controller timed out
    tvp514x 3-005c: Write: retry ... 2
    omap_i2c omap_i2c.3: controller timed out
    tvp514x 3-005c: Write: retry ... 3
    omap_i2c omap_i2c.3: controller timed out
    tvp514x 3-005c: Write: retry ... 4
    omap_i2c omap_i2c.3: controller timed out
    tvp514x 3-005c: Write: retry ... 5
    omap_i2c omap_i2c.3: controller timed out
    tvp514x 3-005c: Write failed. Err[-110]
    tvp514x 3-005c: Unable to turn on decoder
    omap_i2c omap_i2c.3: controller timed out
    tvp514x 3-005c: Read: retry ... 0
    omap_i2c omap_i2c.3: controller timed out
    tvp514x 3-005c: Read: retry ... 1
    omap_i2c omap_i2c.3: controller timed out
    tvp514x 3-005c: Read: retry ... 2
    omap_i2c omap_i2c.3: controller timed out
    tvp514x 3-005c: Read: retry ... 3
    omap_i2c omap_i2c.3: controller timed out
    tvp514x 3-005c: Read: retry ... 4
    omap_i2c omap_i2c.3: controller timed out
    tvp514x 3-005c: Read: retry ... 5
    omap_i2c omap_i2c.3: controller timed out
    vpfe-capture vpfe-capture: v4l2 sub device tvp5146 registered
    vpfe_register_ccdc_device: DM6446 CCDC
    DM6446 CCDC is registered with vpfe.
    omap_device: omap_wdt.-1: new worst case activate latency 0: 30517
    OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    usbcore: registered new interface driver snd-usb-audio
    OMAP3517 / AM3517 EVM SoC init
    AIC23 Audio Codec 0.1
    omap_device: omap_i2c.2: new worst case activate latency 0: 122070
    omap_i2c omap_i2c.2: timeout waiting for bus ready
    tlv320aic23_write cannot write 000 to register R15
    omap_i2c omap_i2c.2: timeout waiting for bus ready
    tlv320aic23_write cannot write 047 to register R6
    omap_i2c omap_i2c.2: controller timed out waiting for start condition to finish
    omap_i2c omap_i2c.2: timeout waiting for bus ready
    tlv320aic23_write cannot write 004 to register R5
    omap_i2c omap_i2c.2: controller timed out waiting for start condition to finish
    omap_i2c omap_i2c.2: timeout waiting for bus ready
    tlv320aic23_write cannot write 117 to register R0
    omap_i2c omap_i2c.2: timeout waiting for bus ready
    tlv320aic23_write cannot write 117 to register R1
    omap_i2c omap_i2c.2: controller timed out waiting for start condition to finish
    omap_i2c omap_i2c.2: timeout waiting for bus ready
    tlv320aic23_write cannot write 010 to register R4
    omap_i2c omap_i2c.2: controller timed out waiting for start condition to finish
    omap_i2c omap_i2c.2: timeout waiting for bus ready
    tlv320aic23_write cannot write 070 to register R2
    omap_i2c omap_i2c.2: controller timed out waiting for start condition to finish
    omap_i2c omap_i2c.2: timeout waiting for bus ready
    tlv320aic23_write cannot write 070 to register R3
    omap_i2c omap_i2c.2: timeout waiting for bus ready
    tlv320aic23_write cannot write 001 to register R9
    asoc: tlv320aic23-hifi <-> omap-mcbsp-dai.0 mapping ok
    ALSA device list:
      #0: am3517evm
    oprofile: hardware counters not available
    oprofile: using timer interrupt.
    TCP cubic registered
    Initializing XFRM netlink socket
    NET: Registered protocol family 17
    NET: Registered protocol family 15
    can: controller area network core (rev 20090105 abi 8)
    NET: Registered protocol family 29
    can: raw protocol (rev 20090105)
    can: broadcast manager protocol (rev 20090105 t)
    Registering the dns_resolver key type
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
    ThumbEE CPU extension supported.
    Power Management for TI OMAP3.
    clock: disabling unused clocks to save power
    rtc-s35390a 1-0030: setting system clock to 2000-01-19 01:07:50 UTC (948244070)
    omap_vout omap_vout: Buffer Size = 3686400
    omap_vout omap_vout: : registered and initialized video device 1
    omap_vout omap_vout: Buffer Size = 3686400
    omap_vout omap_vout: : registered and initialized video device 2
    Waiting for root device /dev/mmcblk0p2...

  • First of all, your bootargs doesn't seems to correct, can you try following options -

    - Try booting the kernel using ramdisk or nfs  and see whether you are able to get MMC working from Linux prompt.

    - Try following option (which I usually use) -

    setenv bootargs console=ttyO2,115200n8 mem=256M root=/dev/mmcblk0p2 rw noinitrd rootfstype=ext3 rootwait

     

    Thanks,

    Vaibhav

  • O.K. I'll try it later. At first I want get my custom am3517 based board using networking in u-boot.

  • I've got MMC card working via applying linux-2.6.32-am3517evm-Logic-01-add_wl127x_wireless.patch to 2.6.32. I still haven't found the related piece of code in the patch, that's responsible for this, but it works. There was another issue with microSD card and WP pin, but it could be solved just by marking the pin as unavailable.

  • hello,i have the same problem when use sd card to boot am3359 processer:

    how can i do it?

    U-Boot SPL 2011.09 (Feb 09 2012 - 15:38:59)

    Texas Instruments Revision detection unimplemented

    Could not probe the EEPROM; something fundamentally wrong on the I2C bus.

    read_eeprom() failure

    OMAP SD/MMC: 0

    reading u-boot.img

    reading u-boot.img

     

     

    U-Boot 2011.09 (Feb 09 2012 - 15:11:31)

     

    I2C:   ready

    DRAM:  256 MiB

    WARNING: Caches not enabled

    Could not probe the EEPROM; something fundamentally wrong on the I2C bus.

    NAND:  HW ECC Hamming Code selected

    256 MiB

    MMC:   OMAP SD/MMC: 0

    *** Warning - bad CRC, using default environment

     

    Net:   cpsw

    Hit any key to stop autoboot:  0

    SD/MMC found on device 0

    reading uEnv.txt

     

    ** Unable to read "uEnv.txt" from mmc 0:1 **

    reading uImage

     

    2922160 bytes read

    ## Booting kernel from Legacy Image at 80007fc0 ...

       Image Name:   Arago/3.1.0-psp04.06.00.03.sdk/a

       Image Type:   ARM Linux Kernel Image (uncompressed)

       Data Size:    2922096 Bytes = 2.8 MiB

       Load Address: 80008000

       Entry Point:  80008000

       Verifying Checksum ... OK

       XIP Kernel Image ... OK

    OK

     

    Starting kernel ...

     

    Uncompressing Linux... done, booting the kernel.

    [    0.000000] Linux version 3.1.0 (jenkins@sdit-build01) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #1 Thu Feb 9 14:58:49 CST 2012

    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f

    [    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache

    [    0.000000] Machine: am335xevm

    [    0.000000] Memory policy: ECC disabled, Data cache writeback

    [    0.000000] AM335X ES1.0 (neon )

    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024

    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait ip=none

    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)

    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)

    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)

    [    0.000000] Memory: 256MB = 256MB total

    [    0.000000] Memory: 253724k/253724k available, 8420k reserved, 0K highmem

    [    0.000000] Virtual kernel memory layout:

    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

    [    0.000000]     DMA     : 0xffa00000 - 0xffe00000   (   4 MB)

    [    0.000000]     vmalloc : 0xd0800000 - 0xf8000000   ( 632 MB)

    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)

    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)

    [    0.000000]       .text : 0xc0008000 - 0xc0534000   (5296 kB)

    [    0.000000]       .init : 0xc0534000 - 0xc056d000   ( 228 kB)

    [    0.000000]       .data : 0xc056e000 - 0xc05c2d80   ( 340 kB)

    [    0.000000]        .bss : 0xc05c2da4 - 0xc05fd320   ( 234 kB)

    [    0.000000] NR_IRQS:396

    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts

    [    0.000000] Total of 128 interrupts on 1 active controller

    [    0.000000] OMAP clockevent source: GPTIMER1 at 24000000 Hz

    [    0.000000] OMAP clocksource: GPTIMER2 at 24000000 Hz

    [    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms

    [    0.000000] Console: colour dummy device 80x30

    [    0.000252] Calibrating delay loop... 498.89 BogoMIPS (lpj=2494464)

    [    0.058632] pid_max: default: 32768 minimum: 301

    [    0.058787] Security Framework initialized

    [    0.058911] Mount-cache hash table entries: 512

    [    0.059364] CPU: Testing write buffer coherency: ok

    [    0.064943] print_constraints: dummy:

    [    0.065416] NET: Registered protocol family 16

    [    0.065839] GPMC revision 6.0

    [    0.068434] OMAP GPIO hardware version 0.1

    [    0.071351] omap_l3_smx omap_l3_smx.0: couldn't find resource

    [    0.071983] omap_mux_init: Add partition: #1: core, flags: 0

    [    0.075915]  omap_i2c.1: alias fck already exists

    [    0.077914]  omap2_mcspi.1: alias fck already exists

    [    0.078202]  omap2_mcspi.2: alias fck already exists

    [    0.108230] bio: create slab <bio-0> at 0

    [    0.111092] SCSI subsystem initialized

    [    0.113178] usbcore: registered new interface driver usbfs

    [    0.113610] usbcore: registered new interface driver hub

    [    0.113876] usbcore: registered new device driver usb

    [    0.128784] omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz

    [    0.131430] Advanced Linux Sound Architecture Driver Version 1.0.24.

    [    0.132799] Switching to clocksource gp timer

    [    0.138702] Switched to NOHz mode on CPU #0

    [    0.153967] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)

    [    0.154198] musb-hdrc musb-hdrc.0: dma type: pio

    [    0.155266] musb-hdrc musb-hdrc.0: USB OTG mode controller at d080a000 using PIO, IRQ 18

    [    0.155481] musb-hdrc musb-hdrc.1: dma type: pio

    [    0.156394] musb-hdrc musb-hdrc.1: USB OTG mode controller at d080c800 using PIO, IRQ 19

    [    0.156892] NET: Registered protocol family 2

    [    0.157131] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)

    [    0.157488] TCP established hash table entries: 8192 (order: 4, 65536 bytes)

    [    0.157712] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)

    [    0.157848] TCP: Hash tables configured (established 8192 bind 8192)

    [    0.157864] TCP reno registered

    [    0.157882] UDP hash table entries: 256 (order: 0, 4096 bytes)

    [    0.157914] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

    [    0.158159] NET: Registered protocol family 1

    [    0.158508] RPC: Registered named UNIX socket transport module.

    [    0.158527] RPC: Registered udp transport module.

    [    0.158540] RPC: Registered tcp transport module.

    [    0.158553] RPC: Registered tcp NFSv4.1 backchannel transport module.

    [    0.158828] NetWinder Floating Point Emulator V0.97 (double precision)

    [    0.172829] VFS: Disk quotas dquot_6.5.2

    [    0.172974] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

    [    0.173738] JFFS2 version 2.2. (NAND) (SUMMARY)  漏 2001-2006 Red Hat, Inc.

    [    0.174130] msgmni has been set to 495

    [    0.175096] io scheduler noop registered

    [    0.175115] io scheduler deadline registered

    [    0.175212] io scheduler cfq registered (default)

    [    0.176327] Could not set LED4 to fully on

    [    0.178344] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

    [    0.180531] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0

    [    0.659948] console [ttyO0] enabled

    [    0.664342] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1

    [    0.672205] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2

    [    0.680152] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3

    [    0.688026] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4

    [    0.695892] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5

    [    0.715574] brd: module loaded

    [    0.725348] loop: module loaded

    [    0.728881] i2c-core: driver [tsl2550] using legacy suspend method

    [    0.735432] i2c-core: driver [tsl2550] using legacy resume method

    [    0.741921] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write

    [    0.802852] No daughter card found

    [    0.806486] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write

    [    0.872853] AM335X: EVM Config read fail: -110

    [    0.879593] mtdoops: mtd device (mtddev=name/number) must be supplied

    [    0.886727] omap2-nand driver initializing

    [    0.891289] OneNAND driver initializing

    [    0.897234] CAN device driver interface

    [    0.901246] CAN bus driver for Bosch D_CAN controller 1.0

    [    0.907891] usbcore: registered new interface driver cdc_ether

    [    0.914313] usbcore: registered new interface driver cdc_subset

    [    0.920593] Initializing USB Mass Storage driver...

    [    0.925999] usbcore: registered new interface driver usb-storage

    [    0.932316] USB Mass Storage support registered.

    [    0.937259] musb-hdrc musb-hdrc.1: MUSB HDRC host driver

    [    0.942944] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1

    [    0.950863] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

    [    0.958033] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

    [    0.965645] usb usb1: Product: MUSB HDRC host driver

    [    0.970865] usb usb1: Manufacturer: Linux 3.1.0 musb-hcd

    [    0.976461] usb usb1: SerialNumber: musb-hdrc.1

    [    0.982217] hub 1-0:1.0: USB hub found

    [    0.986231] hub 1-0:1.0: 1 port detected

    [    0.991672] mousedev: PS/2 mouse device common for all mice

    [    0.998981] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0

    [    1.006021] i2c /dev entries driver

    [    1.012538] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec

    [    1.019577] cpuidle: using governor ladder

    [    1.024586] cpuidle: using governor menu

    [    1.032424] usbcore: registered new interface driver usbhid

    [    1.038347] usbhid: USB HID core driver

    [    1.043631] usbcore: registered new interface driver snd-usb-audio

    [    1.052162] ALSA device list:

    [    1.055352]   No soundcards found.

    [    1.058926] oprofile: hardware counters not available

    [    1.064248] oprofile: using timer interrupt.

    [    1.068767] nf_conntrack version 0.5.0 (3964 buckets, 15856 max)

    [    1.075696] ip_tables: (C) 2000-2006 Netfilter Core Team

    [    1.081426] TCP cubic registered

    [    1.084872] NET: Registered protocol family 17

    [    1.089558] can: controller area network core (rev 20090105 abi 8)

    [    1.096188] NET: Registered protocol family 29

    [    1.100864] can: raw protocol (rev 20090105)

    [    1.105372] can: broadcast manager protocol (rev 20090105 t)

    [    1.111369] Registering the dns_resolver key type

    [    1.116414] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3

    [    1.124499] ThumbEE CPU extension supported.

    [    1.129898] _regulator_get: mpu.0 supply mpu not found, using dummy regulator

    [    1.137559] omap2_set_init_voltage: Fail set voltage-dpll_mpu_ck(f=500000000 v=1100000)on vddmpu

    [    1.146822] omap2_set_init_voltage: unable to set vdd_mpu

    [    1.155345] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)

    [    1.164733] Waiting for root device /dev/mmcblk0p2...