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.

Problem in enabling eMMC in DM8148 custom board

I am using a DM8148 custom board with  linux 2.6.37 which i got in PSP-04.01.00.07.  When I am enabling the eMMC in the kernel, I am stuck up with the following errors, Can you please suggest me how to resolve those things?

INFO: task kmmcd:20 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kmmcd         D c0243974     0    20      2 0x00000000
Backtrace:
[<c0243708>] (schedule+0x0/0x378) from [<c0243acc>] (io_schedule+0x4c/0x74)
[<c0243a80>] (io_schedule+0x0/0x74) from [<c00ad9b4>] (sync_page+0x50/0x7c)
 r7:ca8a5b1c r6:c0506210 r5:00000000 r4:ca8a5b14
[<c00ad964>] (sync_page+0x0/0x7c) from [<c0243ffc>] (__wait_on_bit_lock+0x64/0xb8)
[<c0243f98>] (__wait_on_bit_lock+0x0/0xb8) from [<c00ad944>] (__lock_page+0xb4/0xbc)
[<c00ad890>] (__lock_page+0x0/0xbc) from [<c00ae118>] (do_read_cache_page+0xcc/0x160)
[<c00ae04c>] (do_read_cache_page+0x0/0x160) from [<c00ae204>] (read_cache_page_async+0x24/0x2c)
[<c00ae1e0>] (read_cache_page_async+0x0/0x2c) from [<c00ae21c>] (read_cache_page+0x10/0x18)
[<c00ae20c>] (read_cache_page+0x0/0x18) from [<c01260d8>] (read_dev_sector+0x30/0x6c)
[<c01260a8>] (read_dev_sector+0x0/0x6c) from [<c0126efc>] (msdos_partition+0xb0/0x978)
 r7:c2188000 r6:00000000 r5:00000000 r4:c0126e4c
[<c0126e4c>] (msdos_partition+0x0/0x978) from [<c01269dc>] (rescan_partitions+0x1c0/0x4ac)
[<c012681c>] (rescan_partitions+0x0/0x4ac) from [<c010a288>] (__blkdev_get+0x14c/0x3a8)
[<c010a13c>] (__blkdev_get+0x0/0x3a8) from [<c010a4f8>] (blkdev_get+0x14/0x18)
[<c010a4e4>] (blkdev_get+0x0/0x18) from [<c01263ac>] (register_disk+0x15c/0x174)
[<c0126250>] (register_disk+0x0/0x174) from [<c0190c78>] (add_disk+0x118/0x154)
 r7:00000000 r6:c200c200 r5:c93f5018 r4:c0371e0c
[<c0190b60>] (add_disk+0x0/0x154) from [<c022f3a0>] (mmc_blk_probe+0x2ec/0x2f0)
 r7:ca8a5d9a r6:c2008580 r5:00000000 r4:c02a8c64
[<c022f0b4>] (mmc_blk_probe+0x0/0x2f0) from [<c0227758>] (mmc_bus_probe+0x20/0x24)
[<c0227738>] (mmc_bus_probe+0x0/0x24) from [<c01dcdc0>] (driver_probe_device+0xcc/0x298)
[<c01dccf4>] (driver_probe_device+0x0/0x298) from [<c01dd068>] (__device_attach+0x44/0x48)
[<c01dd024>] (__device_attach+0x0/0x48) from [<c01dc148>] (bus_for_each_drv+0x68/0x94)
 r5:ca8a5e30 r4:00000000
[<c01dc0e0>] (bus_for_each_drv+0x0/0x94) from [<c01dd118>] (device_attach+0x80/0xa0)
 r7:c03791a8 r6:c200f03c r5:c200f008 r4:c200f008
[<c01dd098>] (device_attach+0x0/0xa0) from [<c01dbefc>] (bus_probe_device+0x2c/0x48)
 r7:c03791a8 r6:c02ffe14 r5:c200f008 r4:00000000
[<c01dbed0>] (bus_probe_device+0x0/0x48) from [<c01da460>] (device_add+0x5a4/0x66c)
[<c01d9ebc>] (device_add+0x0/0x66c) from [<c0227940>] (mmc_add_card+0xc8/0x1a4)
[<c0227878>] (mmc_add_card+0x0/0x1a4) from [<c0228d6c>] (mmc_attach_mmc+0x118/0x1a4)
 r6:00000000 r5:00000000 r4:c200e000
[<c0228c54>] (mmc_attach_mmc+0x0/0x1a4) from [<c0226e60>] (mmc_rescan+0x2a8/0x350)
 r5:c025ece4 r4:c200e000
[<c0226bb8>] (mmc_rescan+0x0/0x350) from [<c0081084>] (process_one_work+0x124/0x40c)
 r7:ca89d080 r6:c032202c r5:00000000 r4:c200e1c8
[<c0080f60>] (process_one_work+0x0/0x40c) from [<c00825d0>] (rescuer_thread+0x1dc/0x23c)
[<c00823f4>] (rescuer_thread+0x0/0x23c) from [<c0086b5c>] (kthread+0x94/0x98)
[<c0086ac8>] (kthread+0x0/0x98) from [<c0070a8c>] (do_exit+0x0/0x674)
 r7:00000013 r6:c0070a8c r5:c0086ac8 r4:ca829ee8
INFO: task mmcqd/0:25 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
mmcqd/0       D c0243974     0    25      2 0x00000000
Backtrace:
[<c0243708>] (schedule+0x0/0x378) from [<c0243d70>] (schedule_timeout+0x154/0x1a4)
[<c0243c1c>] (schedule_timeout+0x0/0x1a4) from [<c0243634>] (wait_for_common+0x128/0x150)
 r7:c2154000 r6:c2155da4 r5:7fffffff r4:00000000
[<c024350c>] (wait_for_common+0x0/0x150) from [<c0243704>] (wait_for_completion+0x18/0x1c)
[<c02436ec>] (wait_for_completion+0x0/0x1c) from [<c02270ac>] (mmc_wait_for_req+0x1a4/0x284)
[<c0226f08>] (mmc_wait_for_req+0x0/0x284) from [<c022f558>] (mmc_blk_issue_rw_rq+0x1b4/0x6f0)
 r8:c2008584 r7:c2152320 r6:c200f000 r5:c2008584 r4:c2152320
[<c022f3a4>] (mmc_blk_issue_rw_rq+0x0/0x6f0) from [<c022fb90>] (mmc_blk_issue_rq+0xfc/0x1a8)
[<c022fa94>] (mmc_blk_issue_rq+0x0/0x1a8) from [<c02302d4>] (mmc_queue_thread+0x94/0x114)
 r9:00000000 r8:c200858c r7:c93f5190 r6:c2154000 r5:c2008584
r4:c2152320
[<c0230240>] (mmc_queue_thread+0x0/0x114) from [<c0086b5c>] (kthread+0x94/0x98)
[<c0086ac8>] (kthread+0x0/0x98) from [<c0070a8c>] (do_exit+0x0/0x674)
 r7:00000013 r6:c0070a8c r5:c0086ac8 r4:ca8a5d18
INFO: task kmmcd:20 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
kmmcd         D c0243974     0    20      2 0x00000000
Backtrace:
[<c0243708>] (schedule+0x0/0x378) from [<c0243acc>] (io_schedule+0x4c/0x74)
[<c0243a80>] (io_schedule+0x0/0x74) from [<c00ad9b4>] (sync_page+0x50/0x7c)
 r7:ca8a5b1c r6:c0506210 r5:00000000 r4:ca8a5b14
[<c00ad964>] (sync_page+0x0/0x7c) from [<c0243ffc>] (__wait_on_bit_lock+0x64/0xb8)
[<c0243f98>] (__wait_on_bit_lock+0x0/0xb8) from [<c00ad944>] (__lock_page+0xb4/0xbc)
[<c00ad890>] (__lock_page+0x0/0xbc) from [<c00ae118>] (do_read_cache_page+0xcc/0x160)
[<c00ae04c>] (do_read_cache_page+0x0/0x160) from [<c00ae204>] (read_cache_page_async+0x24/0x2c)
[<c00ae1e0>] (read_cache_page_async+0x0/0x2c) from [<c00ae21c>] (read_cache_page+0x10/0x18)
[<c00ae20c>] (read_cache_page+0x0/0x18) from [<c01260d8>] (read_dev_sector+0x30/0x6c)
[<c01260a8>] (read_dev_sector+0x0/0x6c) from [<c0126efc>] (msdos_partition+0xb0/0x978)
 r7:c2188000 r6:00000000 r5:00000000 r4:c0126e4c
[<c0126e4c>] (msdos_partition+0x0/0x978) from [<c01269dc>] (rescan_partitions+0x1c0/0x4ac)
[<c012681c>] (rescan_partitions+0x0/0x4ac) from [<c010a288>] (__blkdev_get+0x14c/0x3a8)
[<c010a13c>] (__blkdev_get+0x0/0x3a8) from [<c010a4f8>] (blkdev_get+0x14/0x18)
[<c010a4e4>] (blkdev_get+0x0/0x18) from [<c01263ac>] (register_disk+0x15c/0x174)
[<c0126250>] (register_disk+0x0/0x174) from [<c0190c78>] (add_disk+0x118/0x154)
 r7:00000000 r6:c200c200 r5:c93f5018 r4:c0371e0c
[<c0190b60>] (add_disk+0x0/0x154) from [<c022f3a0>] (mmc_blk_probe+0x2ec/0x2f0)
 r7:ca8a5d9a r6:c2008580 r5:00000000 r4:c02a8c64
[<c022f0b4>] (mmc_blk_probe+0x0/0x2f0) from [<c0227758>] (mmc_bus_probe+0x20/0x24)
[<c0227738>] (mmc_bus_probe+0x0/0x24) from [<c01dcdc0>] (driver_probe_device+0xcc/0x298)
[<c01dccf4>] (driver_probe_device+0x0/0x298) from [<c01dd068>] (__device_attach+0x44/0x48)
[<c01dd024>] (__device_attach+0x0/0x48) from [<c01dc148>] (bus_for_each_drv+0x68/0x94)
 r5:ca8a5e30 r4:00000000
[<c01dc0e0>] (bus_for_each_drv+0x0/0x94) from [<c01dd118>] (device_attach+0x80/0xa0)
 r7:c03791a8 r6:c200f03c r5:c200f008 r4:c200f008
[<c01dd098>] (device_attach+0x0/0xa0) from [<c01dbefc>] (bus_probe_device+0x2c/0x48)
 r7:c03791a8 r6:c02ffe14 r5:c200f008 r4:00000000
[<c01dbed0>] (bus_probe_device+0x0/0x48) from [<c01da460>] (device_add+0x5a4/0x66c)
[<c01d9ebc>] (device_add+0x0/0x66c) from [<c0227940>] (mmc_add_card+0xc8/0x1a4)
[<c0227878>] (mmc_add_card+0x0/0x1a4) from [<c0228d6c>] (mmc_attach_mmc+0x118/0x1a4)
 r6:00000000 r5:00000000 r4:c200e000
[<c0228c54>] (mmc_attach_mmc+0x0/0x1a4) from [<c0226e60>] (mmc_rescan+0x2a8/0x350)
 r5:c025ece4 r4:c200e000
[<c0226bb8>] (mmc_rescan+0x0/0x350) from [<c0081084>] (process_one_work+0x124/0x40c)
 r7:ca89d080 r6:c032202c r5:00000000 r4:c200e1c8
[<c0080f60>] (process_one_work+0x0/0x40c) from [<c00825d0>] (rescuer_thread+0x1dc/0x23c)
[<c00823f4>] (rescuer_thread+0x0/0x23c) from [<c0086b5c>] (kthread+0x94/0x98)
[<c0086ac8>] (kthread+0x0/0x98) from [<c0070a8c>] (do_exit+0x0/0x674)
 r7:00000013 r6:c0070a8c r5:c0086ac8 r4:ca829ee8
INFO: task mmcqd/0:25 blocked for more than 120 seconds.
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
mmcqd/0       D c0243974     0    25      2 0x00000000
Backtrace:
[<c0243708>] (schedule+0x0/0x378) from [<c0243d70>] (schedule_timeout+0x154/0x1a4)
[<c0243c1c>] (schedule_timeout+0x0/0x1a4) from [<c0243634>] (wait_for_common+0x128/0x150)
 r7:c2154000 r6:c2155da4 r5:7fffffff r4:00000000
[<c024350c>] (wait_for_common+0x0/0x150) from [<c0243704>] (wait_for_completion+0x18/0x1c)
[<c02436ec>] (wait_for_completion+0x0/0x1c) from [<c02270ac>] (mmc_wait_for_req+0x1a4/0x284)
[<c0226f08>] (mmc_wait_for_req+0x0/0x284) from [<c022f558>] (mmc_blk_issue_rw_rq+0x1b4/0x6f0)
 r8:c2008584 r7:c2152320 r6:c200f000 r5:c2008584 r4:c2152320
[<c022f3a4>] (mmc_blk_issue_rw_rq+0x0/0x6f0) from [<c022fb90>] (mmc_blk_issue_rq+0xfc/0x1a8)
[<c022fa94>] (mmc_blk_issue_rq+0x0/0x1a8) from [<c02302d4>] (mmc_queue_thread+0x94/0x114)
 r9:00000000 r8:c200858c r7:c93f5190 r6:c2154000 r5:c2008584
r4:c2152320
[<c0230240>] (mmc_queue_thread+0x0/0x114) from [<c0086b5c>] (kthread+0x94/0x98)
[<c0086ac8>] (kthread+0x0/0x98) from [<c0070a8c>] (do_exit+0x0/0x674)
 r7:00000013 r6:c0070a8c r5:c0086ac8 r4:ca8a5d18

Regards,

Debasish

  • Debasish,

    debasish saha1 said:
    I am using a DM8148 custom board with  linux 2.6.37 which i got in PSP-04.01.00.07.

    You are using very old version of the PSP. Can you try with the newest PSP-04.04.00.02:

    http://downloads.ti.com/dsps/dsps_public_sw/psp/LinuxPSP/TI81XX_04_04/04_04_00_02/index_FDS.html

    debasish saha1 said:
    When I am enabling the eMMC in the kernel, I am stuck up with the following errors,

    Could you please provide full log (u-boot + kernel boot up).

    Are you planning to boot from eMMC? DM814x has 3 instances of MMC/SD/SDIO controller (suffix 0,1 or 2). Booting is supported from MMC/SD/SDIO1 only. DM814x ROM Code is incompatible with most eMMC devices which are >2GB.

    Best regards,
    Pavel

  • Hi Pavel,

    Thanks for your reply. I am not planning to boot from emmc, I want to use it as a storage. I am sending you thr dmesg logs.

    Linux version 2.6.37+ (root@ubuntu) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #28 Mon Dec 2 15:22:56 IST 2013
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: ti8148evm
    bootconsole [earlycon0] enabled
    reserved size = 0 at 0x0
    Memory policy: ECC disabled, Data cache writeback
    OMAP chip is TI8148 2.0
    SRAM: Mapped pa 0x40300000 to va 0xfe400000 size: 0x20000
    On node 0 totalpages: 45056
    free_area_init_node: node 0, pgdat c02edaec, node_mem_map c032a000
      Normal zone: 396 pages used for memmap
      Normal zone: 0 pages reserved
      Normal zone: 44660 pages, LIFO batch:7
    pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    pcpu-alloc: [0] 0
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 44660
    Kernel command line: console=ttyO0,115200n8 mem=176M earlyprintk root=/dev/ram0 rw initrd=0x81000000
    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: 176MB = 176MB total
    Memory: 152152k/152152k available, 28072k reserved, 0K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
        vmalloc : 0xcb800000 - 0xf8000000   ( 712 MB)
        lowmem  : 0xc0000000 - 0xcb000000   ( 176 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .init : 0xc0008000 - 0xc0036000   ( 184 kB)
          .text : 0xc0036000 - 0xc02bf000   (2596 kB)
          .data : 0xc02c0000 - 0xc02f1c00   ( 199 kB)
    SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:375
    IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    Total of 128 interrupts on 1 active controller
    OMAP clockevent source: GPTIMER1 at 20000000 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 399.76 BogoMIPS (lpj=1998848)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    devtmpfs: initialized
    PM: Adding info for No Bus:platform
    PM: Adding info for No Bus:omap
    regulator: core version 0.5
    PM: Adding info for platform:reg-dummy
    PM: Adding info for No Bus:regulator.0
    regulator: dummy:
    PM: Adding info for platform:mpu.0
    PM: Adding info for platform:l3_slow.0
    PM: Adding info for platform:omap_gpio.0
    PM: Adding info for platform:omap_gpio.1
    PM: Adding info for platform:omap_gpio.2
    PM: Adding info for platform:omap_gpio.3
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    OMAP GPIO hardware version 0.1
    PM: Adding info for No Bus:vtcon0
    evm_init 1
    omap_mux_init: Add partition: #1: core, flags: 4
    evm_init 2
    PM: Adding info for platform:omap_uart.0
    PM: Adding info for platform:omap_uart.1
    PM: Adding info for platform:omap_uart.2
    PM: Adding info for platform:omap_uart.3
    PM: Adding info for platform:omap_uart.4
    PM: Adding info for platform:omap_uart.5
    evm_init 4
    PM: Adding info for platform:omap_i2c.1
    evm_init 6 evm_init 7 Executing the Pincntrl
    
    
    Executed the pincntrl--done
    PM: Adding info for platform:mmci-omap-hs.0
    Executing the Pincntrl
    
    
    Executed the pincntrl--done
    PM: Adding info for platform:mmci-omap-hs.1
    evm_init 8 evm_init 9 evm_init 10 evm_init 12 evm_init done
    PM: Adding info for platform:omap-mailbox
    PM: Adding info for platform:omap2_mcspi.1
    PM: Adding info for platform:omap2_mcspi.2
    PM: Adding info for platform:omap2_mcspi.3
    PM: Adding info for platform:omap2_mcspi.4
    PM: Adding info for platform:arm-pmu.0
    PM: Adding info for platform:davinci_mdio.0
    PM: Adding info for platform:cpsw.0
    PM: Adding info for platform:edma
    PM: Adding info for platform:omap_rtc
    Debugfs: Only enabling/disabling deep sleep and wakeup timer is supported now
    PM: Adding info for platform:omap_wdt
    PM: Adding info for No Bus:default
    bio: create slab <bio-0> at 0
    SCSI subsystem initialized
    PM: Adding info for No Bus:spi1
    PM: Adding info for No Bus:spi2
    PM: Adding info for No Bus:spi3
    PM: Adding info for No Bus:spi4
    omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
    PM: Adding info for i2c:i2c-1
    PM: Adding info for i2c:1-0018
    Switching to clocksource gp timer
    PM: Adding info for No Bus:mem
    PM: Adding info for No Bus:kmem
    PM: Adding info for No Bus:null
    PM: Adding info for No Bus:zero
    PM: Adding info for No Bus:full
    PM: Adding info for No Bus:random
    PM: Adding info for No Bus:urandom
    PM: Adding info for No Bus:kmsg
    PM: Adding info for No Bus:tty
    PM: Adding info for No Bus:console
    PM: Adding info for No Bus:tty0
    PM: Adding info for No Bus:vcs
    PM: Adding info for No Bus:vcsa
    PM: Adding info for No Bus:vcs1
    PM: Adding info for No Bus:vcsa1
    PM: Adding info for No Bus:tty1
    PM: Adding info for No Bus:tty2
    PM: Adding info for No Bus:tty3
    PM: Adding info for No Bus:tty4
    PM: Adding info for No Bus:tty5
    PM: Adding info for No Bus:tty6
    PM: Adding info for No Bus:tty7
    PM: Adding info for No Bus:tty8
    PM: Adding info for No Bus:tty9
    PM: Adding info for No Bus:tty10
    PM: Adding info for No Bus:tty11
    PM: Adding info for No Bus:tty12
    PM: Adding info for No Bus:tty13
    PM: Adding info for No Bus:tty14
    PM: Adding info for No Bus:tty15
    PM: Adding info for No Bus:tty16
    PM: Adding info for No Bus:tty17
    PM: Adding info for No Bus:tty18
    PM: Adding info for No Bus:tty19
    PM: Adding info for No Bus:tty20
    PM: Adding info for No Bus:tty21
    PM: Adding info for No Bus:tty22
    PM: Adding info for No Bus:tty23
    PM: Adding info for No Bus:tty24
    PM: Adding info for No Bus:tty25
    PM: Adding info for No Bus:tty26
    PM: Adding info for No Bus:tty27
    PM: Adding info for No Bus:tty28
    PM: Adding info for No Bus:tty29
    PM: Adding info for No Bus:tty30
    PM: Adding info for No Bus:tty31
    PM: Adding info for No Bus:tty32
    PM: Adding info for No Bus:tty33
    PM: Adding info for No Bus:tty34
    PM: Adding info for No Bus:tty35
    PM: Adding info for No Bus:tty36
    PM: Adding info for No Bus:tty37
    PM: Adding info for No Bus:tty38
    PM: Adding info for No Bus:tty39
    PM: Adding info for No Bus:tty40
    PM: Adding info for No Bus:tty41
    PM: Adding info for No Bus:tty42
    PM: Adding info for No Bus:tty43
    PM: Adding info for No Bus:tty44
    PM: Adding info for No Bus:tty45
    PM: Adding info for No Bus:tty46
    PM: Adding info for No Bus:tty47
    PM: Adding info for No Bus:tty48
    PM: Adding info for No Bus:tty49
    PM: Adding info for No Bus:tty50
    PM: Adding info for No Bus:tty51
    PM: Adding info for No Bus:tty52
    PM: Adding info for No Bus:tty53
    PM: Adding info for No Bus:tty54
    PM: Adding info for No Bus:tty55
    PM: Adding info for No Bus:tty56
    PM: Adding info for No Bus:tty57
    PM: Adding info for No Bus:tty58
    PM: Adding info for No Bus:tty59
    PM: Adding info for No Bus:tty60
    PM: Adding info for No Bus:tty61
    PM: Adding info for No Bus:tty62
    PM: Adding info for No Bus:tty63
    Trying to unpack rootfs image as initramfs...
    rootfs image is not initramfs (junk in compressed archive); looks like an initrd
    Freeing initrd memory: 23000K
    NetWinder Floating Point Emulator V0.97 (double precision)
    PMU: registered new PMU device of type 0
    PM: Adding info for No Bus:mailbox-dsp
    PM: Adding info for No Bus:mailbox-video
    PM: Adding info for No Bus:mailbox-vpss
    PM: Adding info for platform:omap-iommu.0
    PM: Adding info for platform:omap-iommu.1
    omap-iommu omap-iommu.0: ducati registered
    omap-iommu omap-iommu.1: sys registered
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    msgmni has been set to 342
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    PM: Adding info for No Bus:ptmx
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    PM: Adding info for platform:serial8250
    PM: Adding info for No Bus:ttyS0
    PM: Adding info for No Bus:ttyS1
    PM: Adding info for No Bus:ttyS2
    PM: Adding info for No Bus:ttyS3
    omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
    console [ttyO0] enabled, bootconsole disabled
    PM: Adding info for No Bus:ttyO0
    omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    PM: Adding info for No Bus:ttyO1
    omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    PM: Adding info for No Bus:ttyO2
    omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    PM: Adding info for No Bus:ttyO3
    omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    PM: Adding info for No Bus:ttyO4
    omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    PM: Adding info for No Bus:ttyO5
    PM: Adding info for No Bus:1:0
    PM: Adding info for No Bus:ram0
    PM: Adding info for No Bus:1:1
    PM: Adding info for No Bus:ram1
    PM: Adding info for No Bus:1:2
    PM: Adding info for No Bus:ram2
    PM: Adding info for No Bus:1:3
    PM: Adding info for No Bus:ram3
    PM: Adding info for No Bus:1:4
    PM: Adding info for No Bus:ram4
    PM: Adding info for No Bus:1:5
    PM: Adding info for No Bus:ram5
    PM: Adding info for No Bus:1:6
    PM: Adding info for No Bus:ram6
    PM: Adding info for No Bus:1:7
    PM: Adding info for No Bus:ram7
    PM: Adding info for No Bus:1:8
    PM: Adding info for No Bus:ram8
    PM: Adding info for No Bus:1:9
    PM: Adding info for No Bus:ram9
    PM: Adding info for No Bus:1:10
    PM: Adding info for No Bus:ram10
    PM: Adding info for No Bus:1:11
    PM: Adding info for No Bus:ram11
    PM: Adding info for No Bus:1:12
    PM: Adding info for No Bus:ram12
    PM: Adding info for No Bus:1:13
    PM: Adding info for No Bus:ram13
    PM: Adding info for No Bus:1:14
    PM: Adding info for No Bus:ram14
    PM: Adding info for No Bus:1:15
    PM: Adding info for No Bus:ram15
    brd: module loaded
    PM: Adding info for No Bus:7:0
    PM: Adding info for No Bus:loop0
    PM: Adding info for No Bus:7:1
    PM: Adding info for No Bus:loop1
    PM: Adding info for No Bus:7:2
    PM: Adding info for No Bus:loop2
    PM: Adding info for No Bus:7:3
    PM: Adding info for No Bus:loop3
    PM: Adding info for No Bus:7:4
    PM: Adding info for No Bus:loop4
    PM: Adding info for No Bus:7:5
    PM: Adding info for No Bus:loop5
    PM: Adding info for No Bus:7:6
    PM: Adding info for No Bus:loop6
    PM: Adding info for No Bus:7:7
    PM: Adding info for No Bus:loop7
    loop: module loaded
    lkdtm: No crash points registered, enable through debugfs
    PM: Adding info for No Bus:mtd-unmap
    PM: Adding info for No Bus:mtd-romap
    PM: Adding info for No Bus:mtd-rwmap
    omap2-nand driver initializing
    PM: Adding info for No Bus:mice
    mice: PS/2 mouse device common for all mice
    PM: Adding info for No Bus:rtc0
    omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    i2c /dev entries driver
    PM: Adding info for No Bus:i2c-1
    PM: Adding info for No Bus:watchdog
    OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
    
    Inside omap_hsmmc_probe
    Enabling clocks for TI8148
    mmci-omap-hs mmci-omap-hs.0: mmc_fclk: enabled
    mmci-omap-hs mmci-omap-hs.0: context was not lost
    PM: Adding info for No Bus:mmc0
    mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
    mmci-omap-hs mmci-omap-hs.0: mmc_fclk: disabled
    
    omap_hsmmc_probe compleated
    
    Inside omap_hsmmc_probe
    Enabling clocks for TI8148
    mmci-omap-hs mmci-omap-hs.1: mmc_fclk: enabled
    mmci-omap-hs mmci-omap-hs.1: context was not lost
    PM: Adding info for No Bus:mmc1
    mmc1: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
    mmci-omap-hs mmci-omap-hs.1: mmc_fclk: disabled
    
    omap_hsmmc_probe compleated
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    mpu.0 supply mpu not found, using dummy regulator
    Power Management for TI81XX.
    PM: Adding info for No Bus:cpu_dma_latency
    PM: Adding info for No Bus:network_latency
    PM: Adding info for No Bus:network_throughput
    omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    RAMDISK: ext2 filesystem found at block 0
    RAMDISK: Loading 23000KiB [1 disk] into ram disk...
    Starting MMC Rescan
    mmci-omap-hs mmci-omap-hs.0: mmc_fclk: enabled
    mmci-omap-hs mmci-omap-hs.0: context was not lost
    mmc0: mmc_rescan: trying to init card at 400000 Hz
    mmc0: clock 0Hz busmode 1 powermode 1 cs 0 Vdd 23 width 0 timing 0
    |
    mmc0: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 23 width 0 timing 0
    |
    mmc0: starting CMD52 arg 00000c00 flags 00000195
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD52, argument 0x00000c00
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req done (CMD52): -110: 00000000 00000000 00000000 00000000
    mmc0: starting CMD52 arg 80000c08 flags 00000195
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD52, argument 0x80000c08
    /
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req done (CMD52): -110: 00000000 00000000 00000000 00000000
    mmc0: clock 400000Hz busmode 1 powermode 2 cs 1 Vdd 23 width 0 timing 0
    mmc0: starting CMD0 arg 00000000 flags 000000c0
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD0, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 1
    mmc0: req done (CMD0): 0: 00000000 00000000 00000000 00000000
    mmc0: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 23 width 0 timing 0
    mmc0: starting CMD8 arg 000001aa flags 000002f5
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD8, argument 0x000001aa
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req done (CMD8): -110: 00000000 00000000 00000000 00000000
    mmc0: starting CMD5 arg 00000000 flags 000002e1
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD5, argument 0x00000000
    -
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req failed (CMD5): -110, retrying...
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD5, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req failed (CMD5): -110, retrying...
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD5, argument 0x00000000
    \
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req failed (CMD5): -110, retrying...
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD5, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req done (CMD5): -110: 00000000 00000000 00000000 00000000
    mmc0: starting CMD55 arg 00000000 flags 000000f5
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD55, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
    mmc0: starting CMD55 arg 00000000 flags 000000f5
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD55, argument 0x00000000
    |
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
    mmc0: starting CMD55 arg 00000000 flags 000000f5
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD55, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
    mmc0: starting CMD55 arg 00000000 flags 000000f5
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD55, argument 0x00000000
    /
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req done (CMD55): -110: 00000000 00000000 00000000 00000000
    
    The argument is 0x00000000
    
    The changed argument is 0x40ff8080
    mmc0: starting CMD1 arg 40ff8080 flags 000000e1
    mmci-omap-hs mmci-omap-hs.0: mmc0: CMD1, argument 0x40ff8080
    mmci-omap-hs mmci-omap-hs.0: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.0: MMC IRQ 0x18000 : ERRI CTO
    mmc0: req done (CMD1): -110: 00000000 00000000 00000000 00000000
    
     MMC Rescan Failed
    mmc0: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
    mmci-omap-hs mmci-omap-hs.0: mmc_fclk: disabled
    mmci-omap-hs mmci-omap-hs.0: mmc_fclk: enabled
    mmci-omap-hs mmci-omap-hs.0: context was not lost
    
    MMC Rescan Success
    \
    Starting MMC Rescan
    mmci-omap-hs mmci-omap-hs.1: mmc_fclk: enabled
    mmci-omap-hs mmci-omap-hs.1: context was not lost
    mmc1: mmc_rescan: trying to init card at 400000 Hz
    mmc1: clock 0Hz busmode 1 powermode 1 cs 0 Vdd 23 width 0 timing 0
    \
    mmc1: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 23 width 0 timing 0
    \
    mmc1: starting CMD52 arg 00000c00 flags 00000195
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD52, argument 0x00000c00
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
    mmc1: req done (CMD52): -110: 00000000 00000000 00000000 00000000
    mmc1: starting CMD52 arg 80000c08 flags 00000195
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD52, argument 0x80000c08
    |
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
    mmc1: req done (CMD52): -110: 00000000 00000000 00000000 00000000
    mmc1: clock 400000Hz busmode 1 powermode 2 cs 1 Vdd 23 width 0 timing 0
    mmc1: starting CMD0 arg 00000000 flags 000000c0
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD0, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmc1: req done (CMD0): 0: 00000000 00000000 00000000 00000000
    mmc1: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 23 width 0 timing 0
    mmc1: starting CMD8 arg 000001aa flags 000002f5
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD8, argument 0x000001aa
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
    mmc1: req done (CMD8): -110: 00000000 00000000 00000000 00000000
    mmc1: starting CMD5 arg 00000000 flags 000002e1
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD5, argument 0x00000000
    /
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
    mmc1: req failed (CMD5): -110, retrying...
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD5, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
    mmc1: req failed (CMD5): -110, retrying...
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD5, argument 0x00000000
    -
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
    mmc1: req failed (CMD5): -110, retrying...
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD5, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
    mmc1: req done (CMD5): -110: 00000000 00000000 00000000 00000000
    mmc1: starting CMD55 arg 00000000 flags 000000f5
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD55, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
    mmc1: req done (CMD55): -110: 00000000 00000000 00000000 00000000
    mmc1: starting CMD55 arg 00000000 flags 000000f5
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD55, argument 0x00000000
    \
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
    mmc1: req done (CMD55): -110: 00000000 00000000 00000000 00000000
    mmc1: starting CMD55 arg 00000000 flags 000000f5
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD55, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
    mmc1: req done (CMD55): -110: 00000000 00000000 00000000 00000000
    mmc1: starting CMD55 arg 00000000 flags 000000f5
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD55, argument 0x00000000
    |
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 18000
    mmci-omap-hs mmci-omap-hs.1: MMC IRQ 0x18000 : ERRI CTO
    mmc1: req done (CMD55): -110: 00000000 00000000 00000000 00000000
    
    The argument is 0x00000000
    
    The changed argument is 0x40ff8080
    mmc1: starting CMD1 arg 40ff8080 flags 000000e1
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD1, argument 0x40ff8080
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmc1: req done (CMD1): 0: 00ff8080 00000000 00000000 00000000
    /
    mmc1: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 23 width 0 timing 0
    mmc1: clock 400000Hz busmode 1 powermode 2 cs 1 Vdd 23 width 0 timing 0
    mmc1: starting CMD0 arg 00000000 flags 000000c0
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD0, argument 0x00000000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmc1: req done (CMD0): 0: 00000000 00000000 00000000 00000000
    mmc1: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 23 width 0 timing 0
    
    The argument is 0x40800000
    
    The changed argument is 0x40ff8080
    mmc1: starting CMD1 arg 40ff8080 flags 000000e1
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD1, argument 0x40ff8080
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmc1: req done (CMD1): 0: 00ff8080 00000000 00000000 00000000
    -
    mmc1: starting CMD1 arg 40ff8080 flags 000000e1
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD1, argument 0x40ff8080
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmc1: req done (CMD1): 0: c0ff8080 00000000 00000000 00000000
    mmc1: starting CMD2 arg 00000000 flags 00000067
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD2, argument 0x00000000
    \
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmc1: req done (CMD2): 0: fe014e4d 4d433136 473a1182 16d31097
    mmc1: starting CMD3 arg 00010000 flags 00000015
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD3, argument 0x00010000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmc1: req done (CMD3): 0: 00000500 00000000 00000000 00000000
    mmc1: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 23 width 0 timing 0
    mmc1: starting CMD9 arg 00010000 flags 00000007
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD9, argument 0x00010000
    |
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmc1: req done (CMD9): 0: d04f0132 0f5913ff ffffffff 8a4000df
    mmc1: starting CMD7 arg 00010000 flags 00000015
    mmci-omap-hs mmci-omap-hs.1: mmc1: CMD7, argument 0x00010000
    mmci-omap-hs mmci-omap-hs.1: IRQ Status is 1
    mmc1: req done (CMD7): 0: 00000700 00000000 00000000 00000000
    mmc1: starting CMD8 arg 00000000 flags 000000b5
    mmc1:     blksz 512 blocks 1 flags 00000200 tsac 400 ms nsac 1000
    mmci-omap-hs mmci-omap-hs.1: mmc1: omap_request_dma() failed with -1
    mmci-omap-hs mmci-omap-hs.1: MMC start dma failure
    mmc1: req done (CMD8): -1: 00000000 00000000 00000000 00000000
    mmc1:     0 bytes transferred: -1
    mmc1: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
    mmc1: error -1 whilst initialising MMC card
    mmc1: clock 0Hz busmode 1 powermode 0 cs 0 Vdd 0 width 0 timing 0
    mmci-omap-hs mmci-omap-hs.1: mmc_fclk: disabled
    
    MMC Rescan Success
    mmci-omap-hs mmci-omap-hs.0: mmc_fclk: disabled
    done.
    VFS: Mounted root (ext2 filesystem) on device 1:0.
    devtmpfs: mounted
    Freeing init memory: 184K
    

    I have followed the related document for detecting eMMC in the kernel.

    2474.MMC.rtf

    your help will be highly appreciated.

    Regards,

    Debasish

  • Debasish,

    I am working on DM8148 EVM, where I have no eMMC, thus what I can do is to provide you some hints.

    It was not clear from your last post, if you try with the latest PSP 04.04.00.02? Or with the PSP from the latest EZSDK 5.05.02.00, which is PSP 04.04.00.01?

    Regards,
    Pavel