Go to previous topic
Go to next topic
Last Post 21 Aug 2008 09:22 AM by  zyzyis@gmail.com
MXC MMC/SD driver problem
 0 Replies
Author Messages
zyzyis@gmail.com
New Member
New Member
Posts:


--
21 Aug 2008 09:22 AM
    Quote:

    Linux version 2.6.19.2 (yin@vr8) (gcc version 4.2.1) #46 PREEMPT Thu Aug 21 17:15:15 CEST 2008
    CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
    Machine: Freescale i.MX27ADS
    Memory policy: ECC disabled, Data cache writeback
    CPU0: D VIVT write-back cache
    CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
    CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
    Built 1 zonelists. Total pages: 32512
    Kernel command line: console=ttymxc0,115200 root=/dev/mtdblock3 init=/sbin/init
    MXC IRQ initialized
    PID hash table entries: 512 (order: 9, 2048 bytes)
    Actual CLOCK_TICK_RATE is 14250000 Hz
    Actual HRT CLOCK_TICK_RATE is 14250000 Hz
    Console: colour dummy device 80x30
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 128MB = 128MB total
    Memory: 126848KB available (2412K code, 538K data, 84K init)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    NET: Registered protocol family 16
    MXC GPIO hardware
    AIPI VA base: 0xd4000000
    SCSI subsystem initialized
    CSPI: mxc_spi-1 probed
    CSPI: mxc_spi-2 probed
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    MXC I2C driver
    mc13783 Rev 3.3 FinVer 0 detected
    Device spi1.0 probed
    PMIC Character device: successfully loaded
    PMIC RTC successfully probed
    PMIC Light successfully loaded
    PMIC Power successfully probed
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    TCP: Hash tables configured (established 4096 bind 2048)
    TCP reno registered
    MX27: Power management module initialized
    NetWinder Floating Point Emulator V0.97 (double precision)
    yaffs Aug 21 2008 14:49:12 Installing.
    io scheduler noop registered
    io scheduler anticipatory registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Real TIme clock Driver v1.0
    MXC WatchDog Driver 2.0
    MXC Watchdog # 0 Timer: initial timeout 60 sec
    Serial: IMX driver
    loop: loaded (max 8 devices)
    Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
    ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
    MXC: IDE driver, (c) 2004-2006 Freescale Semiconductor
    ATA interface call clock enable ATA CLK
    mxc_ide_resetproc: resetting ATA controller
    ide0: Bus empty, interface released.
    MXC MTD nor Driver 2.0
    mxc_nor_flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
    Intel/Sharp Extended Query Table at 0x0035
    cfi_cmdset_0001: Erase suspend on write enabled
    Searching for RedBoot partition table in mxc_nor_flash.0 at offset 0x1f0000
    No RedBoot partition table detected in mxc_nor_flash.0
    Creating 2 MTD partitions on "mxc_nor_flash.0":
    0x00000000-0x00040000 : "LoLo Bootloader"
    0x00040000-0x00050000 : "Bootloader config"
    MXC MTD nand Driver 2.0
    NAND device: Manufacturer ID: 0x20, Chip ID: 0x76 (ST Micro NAND 64MiB 3,3V 8-bit)
    Scanning device for bad blocks
    Bad eraseblock 1945 at 0x01e64000
    Bad eraseblock 2561 at 0x02804000
    Creating 4 MTD partitions on "NAND 64MiB 3,3V 8-bit":
    0x00000000-0x02000000 : "NAND RootFS"
    0x00000000-0x04000000 : "<NULL>"
    0x00000000-0x04000000 : "<NULL>"
    0x00000000-0x04000000 : "<NULL>"
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    i2c /dev entries driver
    SSI module loaded successfully
    PMIC Audio driver loading...
    PMIC Battery successfully probed
    PMIC Connectivity driver loading..
    DPTC controller initialized
    SEC: mxc_sec_mod_init() called
    MXC MMC/SD driver
    mxcmci: probe of mxcmci.0 failed with error -22
    mxcmci: probe of mxcmci.1 failed with error -22

    Advanced Linux Sound Architecture Driver Version 1.0.13 (Tue Nov 28 14:07:24 2006 UTC).
    Control ALSA component registered
    ALSA device list:
    #0: MXC Freescale with PMIC
    TCP cubic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    ieee80211: 802.11 data/management/control stack, git-1.1.13
    ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
    Time: mx27_hrt clocksource has been installed.
    yaffs: dev is 32505859 name is "mtdblock3"
    yaffs: passed flags ""
    yaffs: Attempting MTD mount on 31.3, "mtdblock3"
    yaffs: block 1945 is marked bad
    block 1946 is bad
    yaffs: block 2561 is marked bad
    block 2562 is bad
    VFS: Mounted root (yaffs filesystem) readonly.
    Freeing init memory: 84K
    Warning: unable to open an initial console.
    Failed to execute /sbin/init. Attempting defaults...
    Kernel panic - not syncing: No init found. Try passing init= option to kernel.



    We are almost finishing the porting work and now the only thing left is the MMC/SD driver. It should work as it works on MX31 LITEKIT but we are really getting mad by the probe problem. Anyone get any idea on how to solve this??


    ---