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.

AM335x kernal3.2 SD boot up

Other Parts Discussed in Thread: DA8XX, TPS65910

   I change uImage which is unzipped from 335xevm_sk.tar.gz , the borad-am335x.c has been modified as follow:

static struct omap2_hsmmc_info am335x_mmc[] __initdata = {
 {
 .mmc = 1,
 .caps = MMC_CAP_4_BIT_DATA,
 .gpio_cd = GPIO_TO_PIN(1, 12),
 .gpio_wp = /*GPIO_TO_PIN(1,13)*/-EINVAL,
 .ocr_mask = MMC_VDD_32_33 | MMC_VDD_33_34, /* 3V3 */
 },
 {
 .mmc = 0, /* will be set at runtime */
 },

But it cant boot up from SD card.  I was puzzled that it is ok in kernal 3.1. So what do you think ?


Uncompressing Linux... done, booting the kernel.
[ 0.000000] Linux version 3.2.0 (root@ubuntu) (gcc version 4.4.3 (GCC) ) #24 Mon Apr 1 01:52:43 PDT 2013
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / 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 (sgx neon )
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttyO0,115200n8 androidboot.console=ttyO0 mem=256M root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait init=/init ip=off
[ 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: 251540k/251540k available, 10604k 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] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc065f000 (6492 kB)
[ 0.000000] .init : 0xc065f000 - 0xc0698000 ( 228 kB)
[ 0.000000] .data : 0xc0698000 - 0xc06eebe0 ( 347 kB)
[ 0.000000] .bss : 0xc06eec04 - 0xc081e408 (1215 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: GPTIMER2 at 24000000 Hz
[ 0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[ 0.000000] Console: colour dummy device 80x30
[ 0.000152] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
[ 0.058929] pid_max: default: 32768 minimum: 301
[ 0.059051] Security Framework initialized
[ 0.059112] Mount-cache hash table entries: 512
[ 0.059509] CPU: Testing write buffer coherency: ok
[ 0.079437] omap_hwmod: gfx: failed to hardreset
[ 0.095703] omap_hwmod: pruss: failed to hardreset
[ 0.096466] print_constraints: dummy:
[ 0.096710] NET: Registered protocol family 16
[ 0.097778] OMAP GPIO hardware version 0.1
[ 0.098815] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.100433] _omap_mux_get_by_name: Could not find signal gpmc_ad14.gpio1_14
[ 0.100463] _omap_mux_get_by_name: Could not find signal gpmc_ad15.gpio1_15
[ 0.100616] da8xx_lcdc.0: alias fck already exists
[ 0.100799] omap_hsmmc.0: alias fck already exists
[ 0.100952] davinci-mcasp.0: alias fck already exists
[ 0.101074] TSC connected to beta GP EVM
[ 0.101257] d_can.1: alias fck already exists
[ 0.101379] d_can.0: alias fck already exists
[ 0.101531] _omap_mux_get_by_name: Could not find signal gpmc_ad10.gpio0_26
[ 0.102081] omap_i2c.1: alias fck already exists
[ 0.102569] omap2_mcspi.1: alias fck already exists
[ 0.102691] omap2_mcspi.2: alias fck already exists
[ 0.102844] edma.0: alias fck already exists
[ 0.102874] edma.0: alias fck already exists
[ 0.102905] edma.0: alias fck already exists
[ 0.111907] bio: create slab <bio-0> at 0
[ 0.112915] SCSI subsystem initialized
[ 0.113769] usbcore: registered new interface driver usbfs
[ 0.113891] usbcore: registered new interface driver hub
[ 0.114044] usbcore: registered new device driver usb
[ 0.114196] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
[ 0.114349] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
[ 0.128997] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[ 0.130249] tps65910 1-002d: JTAGREVNUM 0x0
[ 0.132446] print_constraints: VRTC:
[ 0.133789] print_constraints: VIO: at 1800 mV
[ 0.136016] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal
[ 0.138244] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal
[ 0.139160] print_constraints: VDD3: 5000 mV
[ 0.140472] print_constraints: VDIG1: at 1800 mV
[ 0.141815] print_constraints: VDIG2: at 1800 mV
[ 0.143127] print_constraints: VPLL: at 1800 mV
[ 0.144439] print_constraints: VDAC: at 1800 mV
[ 0.145782] print_constraints: VAUX1: at 1800 mV
[ 0.147094] print_constraints: VAUX2: at 3300 mV
[ 0.148437] print_constraints: VAUX33: at 3300 mV
[ 0.149749] print_constraints: VMMC: at 3300 mV
[ 0.150054] tps65910 1-002d: No interrupt support, no core IRQ
[ 0.150543] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.151123] Bluetooth: Core ver 2.16
[ 0.151184] NET: Registered protocol family 31
[ 0.151184] Bluetooth: HCI device and connection manager initialized
[ 0.151214] Bluetooth: HCI socket layer initialized
[ 0.151214] Bluetooth: L2CAP socket layer initialized
[ 0.151275] Bluetooth: SCO socket layer initialized
[ 0.151458] Switching to clocksource gp timer
[ 0.159088] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.159301] musb-hdrc musb-hdrc.0: dma type: pio
[ 0.159912] musb-hdrc musb-hdrc.0: USB OTG mode controller at d081c000 using PIO, IRQ 18
[ 0.160156] musb-hdrc musb-hdrc.1: dma type: pio
[ 0.160400] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.160461] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[ 0.160614] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.160614] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.160644] usb usb1: Product: MUSB HDRC host driver
[ 0.160644] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
[ 0.160644] usb usb1: SerialNumber: musb-hdrc.1
[ 0.161163] hub 1-0:1.0: USB hub found
[ 0.161163] hub 1-0:1.0: 1 port detected
[ 0.161651] musb-hdrc musb-hdrc.1: USB Host mode controller at d081e800 using PIO, IRQ 19
[ 0.161987] NET: Registered protocol family 2
[ 0.162200] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.162567] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.162719] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.162811] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.162841] TCP reno registered
[ 0.162841] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.162872] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.163085] NET: Registered protocol family 1
[ 0.163360] RPC: Registered named UNIX socket transport module.
[ 0.163360] RPC: Registered udp transport module.
[ 0.163391] RPC: Registered tcp transport module.
[ 0.163391] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.163635] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.163848] omap-gpmc omap-gpmc: GPMC revision 6.0
[ 0.163879] Registering NAND on CS0
[ 0.290283] ashmem: initialized
[ 0.290557] VFS: Disk quotas dquot_6.5.2
[ 0.290618] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.291503] msgmni has been set to 491
[ 0.292541] io scheduler noop registered
[ 0.292572] io scheduler deadline registered
[ 0.292633] io scheduler cfq registered (default)
[ 0.293273] Could not set LED4 to fully on
[ 0.294097] da8xx_lcdc da8xx_lcdc.0: GLCD: Found QY_LCD panel
[ 0.303924] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
[ 1.013183] console [ttyO0] enabled
[ 1.017242] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
[ 1.024932] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
[ 1.032592] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
[ 1.040252] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
[ 1.048065] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
[ 1.061676] brd: module loaded
[ 1.067901] loop: module loaded
[ 1.071380] i2c-core: driver [tsl2550] using legacy suspend method
[ 1.077880] i2c-core: driver [tsl2550] using legacy resume method
[ 1.085205] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.092254] omap2-nand driver initializing
[ 1.096618] pdata->ecc_opt is 4
[ 1.100250] NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
[ 1.109649] Creating 8 MTD partitions on "omap2-nand.0":
[ 1.115234] 0x000000000000-0x000000020000 : "SPL"
[ 1.121154] 0x000000020000-0x000000040000 : "SPL.backup1"
[ 1.127746] 0x000000040000-0x000000060000 : "SPL.backup2"
[ 1.134246] 0x000000060000-0x000000080000 : "SPL.backup3"
[ 1.140686] 0x000000080000-0x000000260000 : "U-Boot"
[ 1.147460] 0x000000260000-0x000000280000 : "U-Boot Env"
[ 1.153839] 0x000000280000-0x000000780000 : "Kernel"
[ 1.161865] 0x000000780000-0x000040000000 : "File System"
[ 1.592559] OneNAND driver initializing
[ 1.597167] CAN device driver interface
[ 1.601165] CAN bus driver for Bosch D_CAN controller 1.0
[ 1.607543] d_can d_can.1: device registered (irq=55, irq_obj=56)
[ 1.614471] d_can d_can.0: device registered (irq=52, irq_obj=53)
[ 1.662109] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
[ 1.668579] davinci_mdio davinci_mdio.0: detected phy mask fffffff8
[ 1.676910] davinci_mdio.0: probed
[ 1.680480] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
[ 1.687866] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
[ 1.695220] davinci_mdio davinci_mdio.0: phy[2]: device 0:02, driver unknown
[ 1.702667] PPP generic driver version 2.4.2
[ 1.707305] PPP BSD Compression module registered
[ 1.712219] PPP Deflate Compression module registered
[ 1.717620] usbcore: registered new interface driver cdc_ether
[ 1.723785] usbcore: registered new interface driver cdc_eem
[ 1.729736] usbcore: registered new interface driver dm9601
[ 1.735595] usbcore: registered new interface driver cdc_subset
[ 1.741821] cdc_ncm: 04-Aug-2011
[ 1.745269] usbcore: registered new interface driver cdc_ncm
[ 1.751251] usbcore: registered new interface driver cdc_acm
[ 1.757141] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1.765502] Initializing USB Mass Storage driver...
[ 1.770721] usbcore: registered new interface driver usb-storage
[ 1.777008] USB Mass Storage support registered.
[ 1.781982] usbcore: registered new interface driver usbserial
[ 1.788116] USB Serial support registered for generic
[ 1.793457] usbcore: registered new interface driver usbserial_generic
[ 1.800262] usbserial: USB Serial Driver core
[ 1.804870] USB Serial support registered for opticon
[ 1.810180] usbcore: registered new interface driver opticon
[ 1.816162] USB Serial support registered for GSM modem (1-port)
[ 1.822570] usbcore: registered new interface driver option
[ 1.828369] option: v0.7.2:USB Driver for GSM modems
[ 1.835327] gadget: Mass Storage Function, version: 2009/09/11
[ 1.841491] gadget: Number of LUNs=1
[ 1.845367] lun0: LUN: removable file: (no medium)
[ 1.850677] gadget: android_usb ready
[ 1.854644] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[ 1.860229] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
[ 1.868072] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.875183] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.882720] usb usb2: Product: MUSB HDRC host driver
[ 1.887878] usb usb2: Manufacturer: Linux 3.2.0 musb-hcd
[ 1.893432] usb usb2: SerialNumber: musb-hdrc.0
[ 1.898651] hub 2-0:1.0: USB hub found
[ 1.902587] hub 2-0:1.0: 1 port detected
[ 1.907287] mousedev: PS/2 mouse device common for all mice
[ 1.913970] input: ti-tsc-adcc as /devices/platform/omap/tsc/input/input0
[ 1.922485] using rtc device, omap_rtc, for alarms
[ 1.927337] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
[ 1.934234] i2c /dev entries driver
[ 1.938079] Linux video capture interface: v2.00
[ 1.943054] usbcore: registered new interface driver uvcvideo
[ 1.949035] USB Video Class driver (1.1.1)
[ 1.955108] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.961608] device-mapper: uevent: version 1.0.3
[ 1.966674] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[ 1.975494] Bluetooth: HCI UART driver ver 2.2
[ 1.980133] Bluetooth: HCI H4 protocol initialized
[ 1.985137] Bluetooth: HCILL protocol initialized
[ 1.990020] Bluetooth: Bluetooth Driver for TI WiLink - Version 1.0
[ 1.998382] cpuidle: using governor ladder
[ 2.002838] cpuidle: using governor menu
[ 2.009063] usbcore: registered new interface driver usbhid
[ 2.014923] usbhid: USB HID core driver
[ 2.019439] logger: created 256K log 'log_main'
[ 2.024291] logger: created 256K log 'log_events'
[ 2.029296] logger: created 256K log 'log_radio'
[ 2.034240] logger: created 256K log 'log_system'
[ 2.039672] usbcore: registered new interface driver snd-usb-audio
[ 2.047180] _regulator_get: 1-0018 supply IOVDD not found, using dummy regulator
[ 2.054992] _regulator_get: 1-0018 supply DVDD not found, using dummy regulator
[ 2.062683] _regulator_get: 1-0018 supply AVDD not found, using dummy regulator
[ 2.070343] _regulator_get: 1-0018 supply DRVDD not found, using dummy regulator
[ 2.081329] asoc: tlv320aic3x-hifi <-> davinci-mcasp.0 mapping ok
[ 2.088531] ALSA device list:
[ 2.091613] #0: AM335X EVM
[ 2.094665] oprofile: hardware counters not available
[ 2.099914] oprofile: using timer interrupt.
[ 2.104583] nf_conntrack version 0.5.0 (3930 buckets, 15720 max)
[ 2.111267] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 2.117004] TCP cubic registered
[ 2.120513] NET: Registered protocol family 10
[ 2.125885] IPv6 over IPv4 tunneling driver
[ 2.130889] NET: Registered protocol family 17
[ 2.135589] can: controller area network core (rev 20090105 abi 8)
[ 2.142150] NET: Registered protocol family 29
[ 2.146850] can: raw protocol (rev 20090105)
[ 2.151306] can: broadcast manager protocol (rev 20090105 t)
[ 2.157409] Bluetooth: RFCOMM TTY layer initialized
[ 2.162597] Bluetooth: RFCOMM socket layer initialized
[ 2.167938] Bluetooth: RFCOMM ver 1.11
[ 2.171844] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 2.177398] Bluetooth: BNEP filters: protocol multicast
[ 2.182861] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.189178] Registering the dns_resolver key type
[ 2.194152] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 2.202178] ThumbEE CPU extension supported.
[ 2.206695] mux: Failed to setup hwmod io irq -22
[ 2.212310] Power Management for AM33XX family
[ 2.217163] Trying to load am335x-pm-firmware.bin (60 secs timeout)
[ 2.223815] Copied the M3 firmware to UMEM
[ 2.228118] omap_hwmod: wkup_m3: wkup_m3: hwmod data error: OMAP4 does not support st_shift
[ 2.240753] clock: disabling unused clocks to save power
[ 2.247802] Detected MACID=0:17:ea:9d:73:f3
[ 2.253387] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
[ 2.262695] Waiting for root device /dev/mmcblk0p2...
[ 2.303161] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 2.314117] mmc0: new high speed SDHC card at address 1234
[ 2.320343] mmcblk0: mmc0:1234 SA04G 3.63 GiB

  • Hi,

    The information you have provided is insufficient. Please answer the following:

    From your log I can see that the board you are using is the AM335x EVM. Is this correct? Why are you trying to use StarterKit kernel with it?
    Where did you get the file 335xevm_sk.tar.gz from?
    Which SDK/PSP version are you using?

    Please provide answers to those questions.

    Best regards,
    Miroslav

  • Hi Miroslav,

       Sorry, I make a mistake with 335xevm_sk.tar.gz instead of am335xevm_sk.tar.gz. I compiled the anroid kernal 3.2 which came from TI-Android-ICS-4.0.3_AM335x_3.0.1.

    I modified mmc driver  in the arch/arm/mach-omap2/board-am335xevm.c But it stuck there .so why?

      Please give me some help.

       Best regards

       Eason

  • Hi Eason,

    The only changes you have done are inside the board file, right? Please post your board file here, so that I can take a look at it.

    Best regards,
    Miroslav

  • Hi Miroslav,

    My board file is modified as follow:

      Please give me quickliy response, thanks;


    5773.board-am335xevm.c

  • Hi eason,

    I still didn't catch what platform is that? My actual question is: which dev_cfg structure is used for initialization?

    Best regards,
    Miroslav

  • No direct experience with the AMR335x. Some guesses. Looks like you short-circuited around all that complicated EEPROM dependent board configuration code and used hard-coded initialization calls. Noticed that some pins have moved from the LCD to the SD Card. Perhaps some other code is grabbing your SD pins. Maybe try commenting out initialization of other modules like LCD to see it SD can progress farther. I assume your SD card has 2 partitions on it and it properly formatted and initialized.

  • Hi Miroslav,

      The platform is  TI-Android-ICS-4.0.3_AM335x_3.0.1 .I didnt choose any dev_cfg . I just set  mmc0_init(0 ,0)  to initialize mmc . You can see it in boardfile. I am a newer .

    Sorry, I appreciate your help.

       Best regards

       Eason

  •   Yes , the SD card indeed has three partitions on it . Some boot files is placed in first partion,because it boots from SD.Others are filesystem and video .There are  no problem in pins configure. Beacause I could boot from nandflash.The LCD works well. SD Card could be detected. Thanks  for you response.

  • The bootload does show the card being detected with size, speed, etc being read out. The next line should be something like "p1 p2 p3". Stateing the obvious, the MMC driver is hung up reading out data. The driver seems have gotten past the initial handshaking.

    Is this a custom board? Did you get better results with other versions of the kernel? You mention NAND boot. In NAND boot, can the SD Card be mounted after boot?

  •      In NAND boot,  it can detecte the SD Card., but cant  mount.  

        The vold.fatab is that 

        dev_mount sdcard /mnt/sdcard 3 /devices/platform/omap/omap_hsmmc.0/mmc_host/mmc0

        dev_mount usb /mnt/usb2 auto /devices/platform/omap/musb-ti81xx/musb-hdrc.1/usb1

      The bootload log  show the SD boot .So you cant see the "p1 p2 p3 " .It just  stop when it mount the filesystem.

  • Hi Eason,

    I noticed something that seems to be wrong in your mmc0_pin_mux:

        {"gpmc_ad13.gpmc_ad13", OMAP_MUX_MODE7 | AM33XX_PIN_INPUT_PULLUP},
        {"gpmc_ad12.gpmc_ad12",  OMAP_MUX_MODE7 | AM33XX_PIN_INPUT_PULLUP},

    Pins gpmc_ad12 and gpmc_ad13 can be pinmuxed to signals gpmc_ad12 and gpmc_ad13 respectively, but these signals should be set using OMAP_MUX_MODE0, not 7. I suppose you wanted to use signals gpio1_12 and gpio1_13 respectively, which are set using OMAP_MUX_MODE7. For more information please refer to Table 2-7. Ball Characteristics of the AM335x datasheet (page 27).

    These strings are later used by the mux code to determine the corresponding signal. I can't tell for sure if the second part of the string is really important as I didn't over-inspect the code, but please try to correct this and report the results.

    Best regards,
    Miroslav

  • Miroslav, I believe the Linux MMC driver operates using GPIOs for CD and WP. It does not use the MMC controller's SDCD and SDWP. The DVSDK board-am335xevm.c used mcasp0_aclkr.mmc0_sdwp and spi0_cs1.mmc0_sdcd in MODE7 or GPIO mode. That said, the mmc0_no_cd_pin_mux uses mcasp0_aclkr.mmc0_sdwp in MODE4 or SDWP. These bootlogs lines

    [ 2.303161] mmc0: host does not support reading read-only switch. assuming write-enable.
    [ 2.314117] mmc0: new high speed SDHC card at address 1234
    [ 2.320343] mmcblk0: mmc0:1234 SA04G 3.63 GiB

    would indicate that MMC driver has detected the card and communicated enough to get identification. The next line should be something like:

    [ x.xxxxxx] mmcblk0: p1 p2 p3

    It appears to be hanging reading out the partition table.

    I think it would be easier to debug the SD problems while in NAND boot. At least the system isn't hung. From the sounds of it, the SD card can't mount.

    Eason, what happens with the mount? Any messages? Is the card inserted after NAND boot? If it's a custom board, maybe one of the upper data lines is not connected properly.

  • Hi Miroslav,

             I have change mmc0_pin_mux :

            {"gpmc_ad13.gpio1_13", OMAP_MUX_MODE7 | AM33XX_PIN_INPUT_PULLUP},

            {"gpmc_ad12.gpio1_12", OMAP_MUX_MODE7 | AM33XX_PIN_INPUT_PULLUP},

            But the problem is still the same :

    Uncompressing Linux... done, booting the kernel.
    [ 0.000000] Linux version 3.2.0 (root@ubuntu) (gcc version 4.4.3 (GCC) ) #42 Sun Apr 14 18:17:51 PDT 2013
    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [ 0.000000] CPU: PIPT / 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 (sgx neon )
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 androidboot.console=ttyO0 mem=256M root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait init=/init ip=off
    [ 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: 251532k/251532k available, 10612k 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] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
    [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc0660000 (6496 kB)
    [ 0.000000] .init : 0xc0660000 - 0xc0699000 ( 228 kB)
    [ 0.000000] .data : 0xc069a000 - 0xc06f0be0 ( 347 kB)
    [ 0.000000] .bss : 0xc06f0c04 - 0xc0820408 (1215 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: GPTIMER2 at 24000000 Hz
    [ 0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
    [ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
    [ 0.000000] Console: colour dummy device 80x30
    [ 0.000213] Calibrating delay loop... 498.89 BogoMIPS (lpj=2494464)
    [ 0.058563] pid_max: default: 32768 minimum: 301
    [ 0.058715] Security Framework initialized
    [ 0.058807] Mount-cache hash table entries: 512
    [ 0.059265] CPU: Testing write buffer coherency: ok
    [ 0.080718] omap_hwmod: gfx: failed to hardreset
    [ 0.097473] omap_hwmod: pruss: failed to hardreset
    [ 0.098449] print_constraints: dummy:
    [ 0.098785] NET: Registered protocol family 16
    [ 0.100219] OMAP GPIO hardware version 0.1
    [ 0.101623] omap_mux_init: Add partition: #1: core, flags: 0
    [ 0.103942] da8xx_lcdc.0: alias fck already exists
    [ 0.104217] omap_hsmmc.0: alias fck already exists
    [ 0.104431] davinci-mcasp.0: alias fck already exists
    [ 0.104553] TSC connected to beta GP EVM
    [ 0.104827] d_can.1: alias fck already exists
    [ 0.104980] d_can.0: alias fck already exists
    [ 0.105194] _omap_mux_get_by_name: Could not find signal gpmc_ad10.gpio0_26
    [ 0.105957] omap_i2c.1: alias fck already exists
    [ 0.106628] omap2_mcspi.1: alias fck already exists
    [ 0.106811] omap2_mcspi.2: alias fck already exists
    [ 0.107025] edma.0: alias fck already exists
    [ 0.107055] edma.0: alias fck already exists
    [ 0.107086] edma.0: alias fck already exists
    [ 0.119567] bio: create slab <bio-0> at 0
    [ 0.120880] SCSI subsystem initialized
    [ 0.121978] usbcore: registered new interface driver usbfs
    [ 0.122131] usbcore: registered new interface driver hub
    [ 0.122344] usbcore: registered new device driver usb
    [ 0.122497] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
    [ 0.122680] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
    [ 0.123291] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [ 0.124816] tps65910 1-002d: JTAGREVNUM 0x0
    [ 0.127166] print_constraints: VRTC:
    [ 0.128601] print_constraints: VIO: at 1800 mV
    [ 0.130950] print_constraints: VDD1: 600 <--> 1500 mV at 1100 mV normal
    [ 0.133300] print_constraints: VDD2: 600 <--> 1500 mV at 1100 mV normal
    [ 0.134307] print_constraints: VDD3: 5000 mV
    [ 0.135681] print_constraints: VDIG1: at 1800 mV
    [ 0.137115] print_constraints: VDIG2: at 1800 mV
    [ 0.138519] print_constraints: VPLL: at 1800 mV
    [ 0.139953] print_constraints: VDAC: at 1800 mV
    [ 0.141357] print_constraints: VAUX1: at 1800 mV
    [ 0.142791] print_constraints: VAUX2: at 3300 mV
    [ 0.144195] print_constraints: VAUX33: at 3300 mV
    [ 0.145599] print_constraints: VMMC: at 3300 mV
    [ 0.146026] tps65910 1-002d: No interrupt support, no core IRQ
    [ 0.146820] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [ 0.147583] Bluetooth: Core ver 2.16
    [ 0.147674] NET: Registered protocol family 31
    [ 0.147674] Bluetooth: HCI device and connection manager initialized
    [ 0.147705] Bluetooth: HCI socket layer initialized
    [ 0.147735] Bluetooth: L2CAP socket layer initialized
    [ 0.147766] Bluetooth: SCO socket layer initialized
    [ 0.148010] Switching to clocksource gp timer
    [ 0.158813] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [ 0.159057] musb-hdrc musb-hdrc.0: dma type: pio
    [ 0.159851] musb-hdrc musb-hdrc.0: USB OTG mode controller at d081c000 using PIO, IRQ 18
    [ 0.160156] musb-hdrc musb-hdrc.1: dma type: pio
    [ 0.160522] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [ 0.160614] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [ 0.160797] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 0.160797] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 0.160827] usb usb1: Product: MUSB HDRC host driver
    [ 0.160827] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
    [ 0.160858] usb usb1: SerialNumber: musb-hdrc.1
    [ 0.161529] hub 1-0:1.0: USB hub found
    [ 0.161590] hub 1-0:1.0: 1 port detected
    [ 0.162139] musb-hdrc musb-hdrc.1: USB Host mode controller at d081e800 using PIO, IRQ 19
    [ 0.162597] NET: Registered protocol family 2
    [ 0.162811] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.163299] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [ 0.163543] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.163665] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.163665] TCP reno registered
    [ 0.163696] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.163726] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.164001] NET: Registered protocol family 1
    [ 0.164367] RPC: Registered named UNIX socket transport module.
    [ 0.164367] RPC: Registered udp transport module.
    [ 0.164398] RPC: Registered tcp transport module.
    [ 0.164398] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.164733] NetWinder Floating Point Emulator V0.97 (double precision)
    [ 0.164978] omap-gpmc omap-gpmc: GPMC revision 6.0
    [ 0.165008] Registering NAND on CS0
    [ 0.340972] ashmem: initialized
    [ 0.341308] VFS: Disk quotas dquot_6.5.2
    [ 0.341400] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.342590] msgmni has been set to 491
    [ 0.343872] io scheduler noop registered
    [ 0.343902] io scheduler deadline registered
    [ 0.343994] io scheduler cfq registered (default)
    [ 0.344787] Could not set LED4 to fully on
    [ 0.345733] da8xx_lcdc da8xx_lcdc.0: GLCD: Found QY_LCD panel
    [ 0.357208] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [ 1.058959] console [ttyO0] enabled
    [ 1.063201] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [ 1.071075] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [ 1.078948] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [ 1.086761] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [ 1.094635] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [ 1.110931] brd: module loaded
    [ 1.118316] loop: module loaded
    [ 1.121948] i2c-core: driver [tsl2550] using legacy suspend method
    [ 1.128448] i2c-core: driver [tsl2550] using legacy resume method
    [ 1.136199] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 1.143371] omap2-nand driver initializing
    [ 1.147796] pdata->ecc_opt is 4
    [ 1.151458] ONFI flash detected
    [ 1.154907] ONFI param page 0 valid
    [ 1.158599] NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix H27U4G8F2DTR-BC)
    [ 1.167510] Creating 8 MTD partitions on "omap2-nand.0":
    [ 1.173187] 0x000000000000-0x000000020000 : "SPL"
    [ 1.179565] 0x000000020000-0x000000040000 : "SPL.backup1"
    [ 1.186462] 0x000000040000-0x000000060000 : "SPL.backup2"
    [ 1.193328] 0x000000060000-0x000000080000 : "SPL.backup3"
    [ 1.200103] 0x000000080000-0x000000260000 : "U-Boot"
    [ 1.207183] 0x000000260000-0x000000280000 : "U-Boot Env"
    [ 1.213958] 0x000000280000-0x000000780000 : "Kernel"
    [ 1.222412] 0x000000780000-0x000020000000 : "File System"
    [ 1.443176] OneNAND driver initializing
    [ 1.448028] CAN device driver interface
    [ 1.452117] CAN bus driver for Bosch D_CAN controller 1.0
    [ 1.458740] d_can d_can.1: device registered (irq=55, irq_obj=56)
    [ 1.465850] d_can d_can.0: device registered (irq=52, irq_obj=53)
    [ 1.518707] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [ 1.525207] davinci_mdio davinci_mdio.0: detected phy mask fffffff8
    [ 1.533935] davinci_mdio.0: probed
    [ 1.537536] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    [ 1.545013] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    [ 1.552459] davinci_mdio davinci_mdio.0: phy[2]: device 0:02, driver unknown
    [ 1.559997] PPP generic driver version 2.4.2
    [ 1.564758] PPP BSD Compression module registered
    [ 1.569732] PPP Deflate Compression module registered
    [ 1.575225] usbcore: registered new interface driver cdc_ether
    [ 1.581451] usbcore: registered new interface driver cdc_eem
    [ 1.587493] usbcore: registered new interface driver dm9601
    [ 1.593475] usbcore: registered new interface driver cdc_subset
    [ 1.599761] cdc_ncm: 04-Aug-2011
    [ 1.603240] usbcore: registered new interface driver cdc_ncm
    [ 1.609344] usbcore: registered new interface driver cdc_acm
    [ 1.615295] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [ 1.623748] Initializing USB Mass Storage driver...
    [ 1.629089] usbcore: registered new interface driver usb-storage
    [ 1.635406] USB Mass Storage support registered.
    [ 1.640502] usbcore: registered new interface driver usbserial
    [ 1.646728] USB Serial support registered for generic
    [ 1.652130] usbcore: registered new interface driver usbserial_generic
    [ 1.659057] usbserial: USB Serial Driver core
    [ 1.663696] USB Serial support registered for opticon
    [ 1.669128] usbcore: registered new interface driver opticon
    [ 1.675140] USB Serial support registered for GSM modem (1-port)
    [ 1.681701] usbcore: registered new interface driver option
    [ 1.687561] option: v0.7.2:USB Driver for GSM modems
    [ 1.695220] gadget: Mass Storage Function, version: 2009/09/11
    [ 1.701507] gadget: Number of LUNs=1
    [ 1.705383] lun0: LUN: removable file: (no medium)
    [ 1.710845] gadget: android_usb ready
    [ 1.714874] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [ 1.720550] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
    [ 1.728485] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [ 1.735656] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.743286] usb usb2: Product: MUSB HDRC host driver
    [ 1.748504] usb usb2: Manufacturer: Linux 3.2.0 musb-hcd
    [ 1.754119] usb usb2: SerialNumber: musb-hdrc.0
    [ 1.759582] hub 2-0:1.0: USB hub found
    [ 1.763549] hub 2-0:1.0: 1 port detected
    [ 1.768524] mousedev: PS/2 mouse device common for all mice
    [ 1.775451] input: ti-tsc-adcc as /devices/platform/omap/tsc/input/input0
    [ 1.784088] using rtc device, omap_rtc, for alarms
    [ 1.789062] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    [ 1.796051] i2c /dev entries driver
    [ 1.800018] Linux video capture interface: v2.00
    [ 1.805084] usbcore: registered new interface driver uvcvideo
    [ 1.811157] USB Video Class driver (1.1.1)
    [ 1.817443] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 1.824127] device-mapper: uevent: version 1.0.3
    [ 1.829284] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
    [ 1.838165] Bluetooth: HCI UART driver ver 2.2
    [ 1.842864] Bluetooth: HCI H4 protocol initialized
    [ 1.847900] Bluetooth: HCILL protocol initialized
    [ 1.852874] Bluetooth: Bluetooth Driver for TI WiLink - Version 1.0
    [ 1.861541] cpuidle: using governor ladder
    [ 1.866058] cpuidle: using governor menu
    [ 1.872589] usbcore: registered new interface driver usbhid
    [ 1.878448] usbhid: USB HID core driver
    [ 1.883209] logger: created 256K log 'log_main'
    [ 1.888122] logger: created 256K log 'log_events'
    [ 1.893310] logger: created 256K log 'log_radio'
    [ 1.898315] logger: created 256K log 'log_system'
    [ 1.903991] usbcore: registered new interface driver snd-usb-audio
    [ 1.911865] _regulator_get: 1-0018 supply IOVDD not found, using dummy regulator
    [ 1.919799] _regulator_get: 1-0018 supply DVDD not found, using dummy regulator
    [ 1.927551] _regulator_get: 1-0018 supply AVDD not found, using dummy regulator
    [ 1.935333] _regulator_get: 1-0018 supply DRVDD not found, using dummy regulator
    [ 1.947296] asoc: tlv320aic3x-hifi <-> davinci-mcasp.0 mapping ok
    [ 1.954833] ALSA device list:
    [ 1.957977] #0: AM335X EVM
    [ 1.961059] oprofile: hardware counters not available
    [ 1.966369] oprofile: using timer interrupt.
    [ 1.971099] nf_conntrack version 0.5.0 (3930 buckets, 15720 max)
    [ 1.977966] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 1.983825] TCP cubic registered
    [ 1.987426] NET: Registered protocol family 10
    [ 1.993072] IPv6 over IPv4 tunneling driver
    [ 1.998291] NET: Registered protocol family 17
    [ 2.003051] can: controller area network core (rev 20090105 abi 8)
    [ 2.009735] NET: Registered protocol family 29
    [ 2.014465] can: raw protocol (rev 20090105)
    [ 2.018981] can: broadcast manager protocol (rev 20090105 t)
    [ 2.025177] Bluetooth: RFCOMM TTY layer initialized
    [ 2.030395] Bluetooth: RFCOMM socket layer initialized
    [ 2.035827] Bluetooth: RFCOMM ver 1.11
    [ 2.039794] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [ 2.045379] Bluetooth: BNEP filters: protocol multicast
    [ 2.050903] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [ 2.057342] Registering the dns_resolver key type
    [ 2.062408] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 2.070495] ThumbEE CPU extension supported.
    [ 2.075073] mux: Failed to setup hwmod io irq -22
    [ 2.080932] Power Management for AM33XX family
    [ 2.085845] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [ 2.092590] Copied the M3 firmware to UMEM
    [ 2.096923] omap_hwmod: wkup_m3: wkup_m3: hwmod data error: OMAP4 does not support st_shift
    [ 2.110839] clock: disabling unused clocks to save power
    [ 2.118225] Detected MACID=0:18:31:e6:e9:31
    [ 2.124176] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    [ 2.133697] Waiting for root device /dev/mmcblk0p2...
    [ 2.179840] mmc0: host does not support reading read-only switch. assuming write-enable.
    [ 2.190460] mmc0: new high speed SDHC card at address 1234
    [ 2.196868] mmcblk0: mmc0:1234 SA16G 14.6 GiB

        So what should I do ? It cant mount filesystem.what is the SD Card the mechanism of mouting filesystem   ?

       

  •  Hi  Norman Wong,

        When I insert SD into the board, It  starts from nand. But It would be stuck when detecting SD. I dont know why?

    Maybe the same problem with sd startsup.

    U-Boot 2011.09 (Mar 23 2013 - 01:03:42)

    I2C: ready
    DRAM: 512 MiB
    WARNING: Caches not enabled
    NAND: HW ECC Hamming Code selected
    512 MiB
    MMC: OMAP SD/MMC: 0
    Net: cpsw
    Hit any key to stop autoboot: 0
    Booting from nand ...
    HW ECC BCH8 Selected

    NAND read: device 0 offset 0x280000, size 0x500000
    5242880 bytes read: OK
    ## Booting kernel from Legacy Image at 81000000 ...
    Image Name: Linux-3.2.0
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 3566856 Bytes = 3.4 MiB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    [ 0.000000] Linux version 3.2.0 (root@ubuntu) (gcc version 4.4.3 (GCC) ) #41 Wed Apr 10 18:48:29 PDT 2013
    [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [ 0.000000] CPU: PIPT / 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 (sgx neon )
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 androidboot.console=ttyO0 mem=256M root=ubi0:rootfs rootfstype=ubifs ubi.mtd=7,2048 rw rootwait init=/init ip=192.168.1.221:192.168.1.222:192.168.1.1:255.255.255.0
    [ 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: 251540k/251540k available, 10604k 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] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
    [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc065f000 (6492 kB)
    [ 0.000000] .init : 0xc065f000 - 0xc0698000 ( 228 kB)
    [ 0.000000] .data : 0xc0698000 - 0xc06eebe0 ( 347 kB)
    [ 0.000000] .bss : 0xc06eec04 - 0xc081e408 (1215 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: GPTIMER2 at 24000000 Hz
    [ 0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
    [ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
    [ 0.000000] Console: colour dummy device 80x30
    [ 0.000183] Calibrating delay loop... 498.89 BogoMIPS (lpj=2494464)
    [ 0.058563] pid_max: default: 32768 minimum: 301
    [ 0.058715] Security Framework initialized
    [ 0.058807] Mount-cache hash table entries: 512
    [ 0.059295] CPU: Testing write buffer coherency: ok
    [ 0.080596] omap_hwmod: gfx: failed to hardreset
    [ 0.097351] omap_hwmod: pruss: failed to hardreset
    [ 0.098297] print_constraints: dummy:
    [ 0.098632] NET: Registered protocol family 16
    [ 0.100036] OMAP GPIO hardware version 0.1
    [ 0.101409] omap_mux_init: Add partition: #1: core, flags: 0
    [ 0.103729] da8xx_lcdc.0: alias fck already exists
    [ 0.104003] omap_hsmmc.0: alias fck already exists
    [ 0.104217] davinci-mcasp.0: alias fck already exists
    [ 0.104339] TSC connected to beta GP EVM
    [ 0.104614] d_can.1: alias fck already exists
    [ 0.104766] d_can.0: alias fck already exists
    [ 0.104980] _omap_mux_get_by_name: Could not find signal gpmc_ad10.gpio0_26
    [ 0.105743] omap_i2c.1: alias fck already exists
    [ 0.106414] omap2_mcspi.1: alias fck already exists
    [ 0.106597] omap2_mcspi.2: alias fck already exists
    [ 0.106781] edma.0: alias fck already exists
    [ 0.106811] edma.0: alias fck already exists
    [ 0.106842] edma.0: alias fck already exists
    [ 0.119201] bio: create slab <bio-0> at 0
    [ 0.120544] SCSI subsystem initialized
    [ 0.121643] usbcore: registered new interface driver usbfs
    [ 0.121795] usbcore: registered new interface driver hub
    [ 0.121978] usbcore: registered new device driver usb
    [ 0.122131] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
    [ 0.122344] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
    [ 0.122924] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [ 0.124450] tps65910 1-002d: JTAGREVNUM 0x0
    [ 0.126770] print_constraints: VRTC:
    [ 0.128204] print_constraints: VIO: at 1800 mV
    [ 0.130554] print_constraints: VDD1: 600 <--> 1500 mV at 1100 mV normal
    [ 0.132904] print_constraints: VDD2: 600 <--> 1500 mV at 1100 mV normal
    [ 0.133880] print_constraints: VDD3: 5000 mV
    [ 0.135284] print_constraints: VDIG1: at 1800 mV
    [ 0.136688] print_constraints: VDIG2: at 1800 mV
    [ 0.138122] print_constraints: VPLL: at 1800 mV
    [ 0.139495] print_constraints: VDAC: at 1800 mV
    [ 0.140930] print_constraints: VAUX1: at 1800 mV
    [ 0.142364] print_constraints: VAUX2: at 3300 mV
    [ 0.143768] print_constraints: VAUX33: at 3300 mV
    [ 0.145172] print_constraints: VMMC: at 3300 mV
    [ 0.145599] tps65910 1-002d: No interrupt support, no core IRQ
    [ 0.146392] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [ 0.147125] Bluetooth: Core ver 2.16
    [ 0.147216] NET: Registered protocol family 31
    [ 0.147247] Bluetooth: HCI device and connection manager initialized
    [ 0.147277] Bluetooth: HCI socket layer initialized
    [ 0.147277] Bluetooth: L2CAP socket layer initialized
    [ 0.147338] Bluetooth: SCO socket layer initialized
    [ 0.147552] Switching to clocksource gp timer
    [ 0.158294] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [ 0.158508] musb-hdrc musb-hdrc.0: dma type: pio
    [ 0.159301] musb-hdrc musb-hdrc.0: USB OTG mode controller at d081c000 using PIO, IRQ 18
    [ 0.159606] musb-hdrc musb-hdrc.1: dma type: pio
    [ 0.159942] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [ 0.160064] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [ 0.160217] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 0.160247] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 0.160247] usb usb1: Product: MUSB HDRC host driver
    [ 0.160278] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
    [ 0.160278] usb usb1: SerialNumber: musb-hdrc.1
    [ 0.160949] hub 1-0:1.0: USB hub found
    [ 0.161010] hub 1-0:1.0: 1 port detected
    [ 0.161560] musb-hdrc musb-hdrc.1: USB Host mode controller at d081e800 using PIO, IRQ 19
    [ 0.161987] NET: Registered protocol family 2
    [ 0.162231] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.162689] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [ 0.162933] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.163055] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.163085] TCP reno registered
    [ 0.163085] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.163116] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.163391] NET: Registered protocol family 1
    [ 0.163757] RPC: Registered named UNIX socket transport module.
    [ 0.163787] RPC: Registered udp transport module.
    [ 0.163787] RPC: Registered tcp transport module.
    [ 0.163787] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.164123] NetWinder Floating Point Emulator V0.97 (double precision)
    [ 0.164367] omap-gpmc omap-gpmc: GPMC revision 6.0
    [ 0.164398] Registering NAND on CS0
    [ 0.340301] ashmem: initialized
    [ 0.340637] VFS: Disk quotas dquot_6.5.2
    [ 0.340698] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.341857] msgmni has been set to 491
    [ 0.343139] io scheduler noop registered
    [ 0.343139] io scheduler deadline registered
    [ 0.343231] io scheduler cfq registered (default)
    [ 0.344024] Could not set LED4 to fully on
    [ 0.344970] da8xx_lcdc da8xx_lcdc.0: GLCD: Found QY_LCD panel
    [ 0.356445] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [ 1.064788] console [ttyO0] enabled
    [ 1.069000] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [ 1.076843] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [ 1.084716] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [ 1.092590] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [ 1.100433] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [ 1.116516] brd: module loaded
    [ 1.123962] loop: module loaded
    [ 1.127532] i2c-core: driver [tsl2550] using legacy suspend method
    [ 1.134124] i2c-core: driver [tsl2550] using legacy resume method
    [ 1.141845] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 1.149017] omap2-nand driver initializing
    [ 1.153472] pdata->ecc_opt is 4
    [ 1.157104] ONFI flash detected
    [ 1.160583] ONFI param page 0 valid
    [ 1.164276] NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix H27U4G8F2DTR-BC)
    [ 1.173126] Creating 8 MTD partitions on "omap2-nand.0":
    [ 1.178833] 0x000000000000-0x000000020000 : "SPL"
    [ 1.185180] 0x000000020000-0x000000040000 : "SPL.backup1"
    [ 1.192138] 0x000000040000-0x000000060000 : "SPL.backup2"
    [ 1.198974] 0x000000060000-0x000000080000 : "SPL.backup3"
    [ 1.205749] 0x000000080000-0x000000260000 : "U-Boot"
    [ 1.212860] 0x000000260000-0x000000280000 : "U-Boot Env"
    [ 1.219604] 0x000000280000-0x000000780000 : "Kernel"
    [ 1.228027] 0x000000780000-0x000020000000 : "File System"
    [ 1.448852] OneNAND driver initializing
    [ 1.453460] UBI: attaching mtd7 to ubi0
    [ 1.457519] UBI: physical eraseblock size: 131072 bytes (128 KiB)
    [ 1.464172] UBI: logical eraseblock size: 126976 bytes
    [ 1.469879] UBI: smallest flash I/O unit: 2048
    [ 1.474822] UBI: VID header offset: 2048 (aligned 2048)
    [ 1.481170] UBI: data offset: 4096
    [ 5.722808] UBI: max. sequence number: 1025
    [ 5.748565] UBI: attached mtd7 to ubi0
    [ 5.752532] UBI: MTD device name: "File System"
    [ 5.758361] UBI: MTD device size: 504 MiB
    [ 5.763610] UBI: number of good PEBs: 4036
    [ 5.768585] UBI: number of bad PEBs: 0
    [ 5.773254] UBI: number of corrupted PEBs: 0
    [ 5.777954] UBI: max. allowed volumes: 128
    [ 5.782806] UBI: wear-leveling threshold: 4096
    [ 5.787780] UBI: number of internal volumes: 1
    [ 5.792480] UBI: number of user volumes: 1
    [ 5.797149] UBI: available PEBs: 0
    [ 5.801849] UBI: total number of reserved PEBs: 4036
    [ 5.807067] UBI: number of PEBs reserved for bad PEB handling: 40
    [ 5.813507] UBI: max/mean erase counter: 2/0
    [ 5.818023] UBI: image sequence number: 1917523970
    [ 5.823516] CAN device driver interface
    [ 5.827575] CAN bus driver for Bosch D_CAN controller 1.0
    [ 5.834228] d_can d_can.1: device registered (irq=55, irq_obj=56)
    [ 5.841400] d_can d_can.0: device registered (irq=52, irq_obj=53)
    [ 5.848480] UBI: background thread "ubi_bgt0d" started, PID 49
    [ 5.898254] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [ 5.904785] davinci_mdio davinci_mdio.0: detected phy mask fffffff8
    [ 5.913482] davinci_mdio.0: probed
    [ 5.917083] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    [ 5.924560] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    [ 5.932037] davinci_mdio davinci_mdio.0: phy[2]: device 0:02, driver unknown
    [ 5.939575] PPP generic driver version 2.4.2
    [ 5.944305] PPP BSD Compression module registered
    [ 5.949310] PPP Deflate Compression module registered
    [ 5.954803] usbcore: registered new interface driver cdc_ether
    [ 5.961059] usbcore: registered new interface driver cdc_eem
    [ 5.967102] usbcore: registered new interface driver dm9601
    [ 5.973052] usbcore: registered new interface driver cdc_subset
    [ 5.979370] cdc_ncm: 04-Aug-2011
    [ 5.982849] usbcore: registered new interface driver cdc_ncm
    [ 5.988952] usbcore: registered new interface driver cdc_acm
    [ 5.994903] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [ 6.003387] Initializing USB Mass Storage driver...
    [ 6.008666] usbcore: registered new interface driver usb-storage
    [ 6.015014] USB Mass Storage support registered.
    [ 6.020111] usbcore: registered new interface driver usbserial
    [ 6.026336] USB Serial support registered for generic
    [ 6.031768] usbcore: registered new interface driver usbserial_generic
    [ 6.038665] usbserial: USB Serial Driver core
    [ 6.043334] USB Serial support registered for opticon
    [ 6.048767] usbcore: registered new interface driver opticon
    [ 6.054779] USB Serial support registered for GSM modem (1-port)
    [ 6.061340] usbcore: registered new interface driver option
    [ 6.067199] option: v0.7.2:USB Driver for GSM modems
    [ 6.075103] gadget: Mass Storage Function, version: 2009/09/11
    [ 6.081420] gadget: Number of LUNs=1
    [ 6.085296] lun0: LUN: removable file: (no medium)
    [ 6.090759] gadget: android_usb ready
    [ 6.094787] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [ 6.100463] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
    [ 6.108428] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [ 6.115600] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 6.123229] usb usb2: Product: MUSB HDRC host driver
    [ 6.128479] usb usb2: Manufacturer: Linux 3.2.0 musb-hcd
    [ 6.134094] usb usb2: SerialNumber: musb-hdrc.0
    [ 6.139556] hub 2-0:1.0: USB hub found
    [ 6.143524] hub 2-0:1.0: 1 port detected
    [ 6.148529] mousedev: PS/2 mouse device common for all mice
    [ 6.155456] input: ti-tsc-adcc as /devices/platform/omap/tsc/input/input0
    [ 6.164428] using rtc device, omap_rtc, for alarms
    [ 6.169403] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    [ 6.176391] i2c /dev entries driver
    [ 6.180358] Linux video capture interface: v2.00
    [ 6.185424] usbcore: registered new interface driver uvcvideo
    [ 6.191497] USB Video Class driver (1.1.1)
    [ 6.197784] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 6.204498] device-mapper: uevent: version 1.0.3
    [ 6.209655] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
    [ 6.218566] Bluetooth: HCI UART driver ver 2.2
    [ 6.223266] Bluetooth: HCI H4 protocol initialized
    [ 6.228332] Bluetooth: HCILL protocol initialized
    [ 6.233306] Bluetooth: Bluetooth Driver for TI WiLink - Version 1.0
    [ 6.241943] cpuidle: using governor ladder
    [ 6.246459] cpuidle: using governor menu
    [ 6.252990] usbcore: registered new interface driver usbhid
    [ 6.258941] usbhid: USB HID core driver
    [ 6.263641] logger: created 256K log 'log_main'
    [ 6.268615] logger: created 256K log 'log_events'
    [ 6.273712] logger: created 256K log 'log_radio'
    [ 6.278778] logger: created 256K log 'log_system'
    [ 6.284393] usbcore: registered new interface driver snd-usb-audio
    [ 6.292236] _regulator_get: 1-0018 supply IOVDD not found, using dummy regulator
    [ 6.300170] _regulator_get: 1-0018 supply DVDD not found, using dummy regulator
    [ 6.307952] _regulator_get: 1-0018 supply AVDD not found, using dummy regulator
    [ 6.315734] _regulator_get: 1-0018 supply DRVDD not found, using dummy regulator
    [ 6.327667] asoc: tlv320aic3x-hifi <-> davinci-mcasp.0 mapping ok
    [ 6.335235] ALSA device list:
    [ 6.338409] #0: AM335X EVM
    [ 6.341430] oprofile: hardware counters not available
    [ 6.346771] oprofile: using timer interrupt.
    [ 6.351501] nf_conntrack version 0.5.0 (3930 buckets, 15720 max)
    [ 6.358398] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 6.364227] TCP cubic registered
    [ 6.367828] NET: Registered protocol family 10
    [ 6.373504] IPv6 over IPv4 tunneling driver
    [ 6.378784] NET: Registered protocol family 17
    [ 6.383483] can: controller area network core (rev 20090105 abi 8)
    [ 6.390197] NET: Registered protocol family 29
    [ 6.394927] can: raw protocol (rev 20090105)
    [ 6.399475] can: broadcast manager protocol (rev 20090105 t)
    [ 6.405670] Bluetooth: RFCOMM TTY layer initialized
    [ 6.410919] Bluetooth: RFCOMM socket layer initialized
    [ 6.416320] Bluetooth: RFCOMM ver 1.11
    [ 6.420288] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [ 6.425903] Bluetooth: BNEP filters: protocol multicast
    [ 6.431427] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [ 6.437835] Registering the dns_resolver key type
    [ 6.442932] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 6.451049] ThumbEE CPU extension supported.
    [ 6.455627] mux: Failed to setup hwmod io irq -22
    [ 6.461486] Power Management for AM33XX family
    [ 6.466430] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [ 6.473175] Copied the M3 firmware to UMEM
    [ 6.477539] omap_hwmod: wkup_m3: wkup_m3: hwmod data error: OMAP4 does not support st_shift
    [ 6.491394] clock: disabling unused clocks to save power
    [ 6.498901] Detected MACID=0:17:ea:9f:11:e2
    [ 6.504760] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    [ 6.517059]
    [ 6.517059] CPSW phy found : id is : 0x1cc915
    [ 6.524261]
    [ 6.524261] CPSW phy found : id is : 0x1cc915
    [ 6.535217] ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 6.692199] mmc0: host does not support reading read-only switch. assuming write-enable.
    [ 6.706207] mmc0: new high speed SDHC card at address aaaa
    [ 6.712615] mmcblk0: mmc0:aaaa SU04G 3.69 GiB

  • Not much more to add. I think you'll have to probe out all the MMC/SD lines. The SD Card inteface start up in phases. First low frequency, one-bit data. After some handshaking, high frequency 4-bit data. My guess that it's getting past the first part but the second part is failing. Perhaps a shorted or open DAT line.

    Another test would be to NAND boot with no card inserted. After fully booted and logged in, insert a SD Card. If you can probe the SD Card signals as you insert the SD Card. That's all I got. Good luck.