Ankur Maheshwari

IMX53 EVK unable to find /dev/mmcblk0p1

Discussion created by Ankur Maheshwari on Jul 23, 2012
Latest reply on Jul 23, 2012 by Ankur Maheshwari

Hi,

 

I am getting follwing prints when i am trying to boot filesystem from MMC partition and it gets stuck there itself.

mxc input touchscreen loaded
mxc_rtc mxc_rtc.0: setting system clock to 1970-01-01 01:07:00 UTC (4020)
Waiting for root device /dev/mmcblk0p1...

IF i remove 'rootwait' from the kernel command line argument, then its doesn't shows that kernel is not able to find /dev/mmcblk0p1.

I have used kernel downloaded from Freescale site and kernel compiled by me with surely MMC support enable, but still I am getting this problem.

 

Any one has idea how can i further debug

In the kernel logs mmc0 and mmc1 controller are detected, but doesn't show mmcblock details,

 

==========

mxsdhci: MXC Secure Digital Host Controller Interface driver
mxsdhci: MXC SDHCI Controller Driver.
mmc0: SDHCI detect irq 205 irq 1 INTERNAL DMA
mxsdhci: MXC SDHCI Controller Driver.
mmc1: SDHCI detect irq 203 irq 3 INTERNAL DMA
usbcore: registered new interface driver usbhid

==========

 

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.35.3-850-gbc67621-g63339fc-dirty (root@INBAPC457) (gcc version 4.5.1 20100731 (MeeGo 4.5.1-1) [release 4.5-2010.09-1] (GCC) ) #2 PREEMPT Mon Jul 23 20:00:17 I2
CPU: ARMv7 Processor [412fc085] revision 5 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Freescale MX53 EVK Board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 219456
Kernel command line: nonfs ip=off console=ttymxc0 init=/bin/sh noinitrd rootfstype=ext2 root=/dev/mmcblk0p1 rootwait rw
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 864MB = 864MB total
Memory: 868304k/868304k available, 16432k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xf9e00000 - 0xffe00000   (  96 MB)
    vmalloc : 0xb6800000 - 0xf4000000   ( 984 MB)
    lowmem  : 0x80000000 - 0xb6000000   ( 864 MB)
    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
    modules : 0x7f000000 - 0x7fe00000   (  14 MB)
      .init : 0x80008000 - 0x80032000   ( 168 kB)
      .text : 0x80032000 - 0x807da000   (7840 kB)
      .data : 0x807fc000 - 0x80850d60   ( 340 kB)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
        RCU-based detection of stalled CPUs is disabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:368
MXC GPIO hardware
MXC IRQ initialized
MXC_Early serial console at MMIO 0x53fbc000 (options '115200')
bootconsole [ttymxc0] enabled
Console: colour dummy device 80x30
Calibrating delay loop... 799.53 BogoMIPS (lpj=3997696)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
NET: Registered protocol family 16
i.MX IRAM pool: 128 KB@0xb6840000
IRAM READY
CPU is i.MX53 Revision 1.0
MX53 EVK board
Using SDMA I.API
MXC DMA API initialized
IMX usb wakeup probe
IMX usb wakeup probe
bio: create slab <bio-0> at 0
SCSI subsystem initialized
CSPI: mxc_spi-0 probed
Freescale USB OTG Driver loaded, $Revision: 1.55 $
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
Advanced Linux Sound Architecture Driver Version 1.0.23.
Bluetooth: Core ver 2.15
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
mc13892 Rev 2.0 FinVer 2 detected
Initializing regulators for MX53 EVK
regulator: SW1: 600 <--> 1375 mV at 1050 mV
regulator: SW2: 900 <--> 1850 mV at 1225 mV
regulator: SW3: 1100 <--> 1850 mV at 1250 mV
regulator: SW4: 1100 <--> 1850 mV at 1800 mV
regulator: SWBST:
regulator: VIOHI:
regulator: VPLL: 1050 <--> 1800 mV at 1800 mV
regulator: VDIG: 1050 <--> 1800 mV at 1250 mV
regulator: VSD: 1800 <--> 3150 mV at 3150 mV
regulator: VUSB2: 2400 <--> 2775 mV at 2600 mV
regulator: VVIDEO: 2500 <--> 2775 mV at 2500 mV
regulator: VAUDIO: 2300 <--> 3000 mV at 2500 mV
regulator: VCAM: 2500 <--> 3000 mV at 2750 mV fast normal
regulator: VGEN1: 1200 <--> 3150 mV at 1200 mV
regulator: VGEN2: 1200 <--> 3150 mV at 3150 mV
regulator: VGEN3: 1800 <--> 2900 mV at 2900 mV
regulator: VUSB:
regulator: GPO1:
regulator: GPO2:
regulator: GPO3:
regulator: GPO4:
mc13892 1-0008: Loaded
Switching to clocksource mxc_timer1
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
UDP hash table entries: 512 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
LPMode driver module loaded
Static Power Management for Freescale i.MX5
PM driver module loaded
sdram autogating driver module loaded
Bus freq driver module loaded
DI0 is primary
mxc_dvfs_core_probe
DVFS driver module loaded
i.MXC CPU frequency driver
DVFS PER driver module loaded
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 1695
alg: No test for stdrng (krng)
cryptodev: driver loaded.
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
tve: probe of tve.0 failed with error -1
sii902x: probe of 1-0039 failed with error -1
mxc_ddc: probe of 1-0050 failed with error -1
mxc_ipu mxc_ipu: Channel already disabled 9
mxc_ipu mxc_ipu: Channel already uninitialized 9
Console: switching to colour frame buffer device 100x30
fbcvt: 1024x768@60: CVT Name - .786M3
mxc_ipu mxc_ipu: Channel already disabled 7
mxc_ipu mxc_ipu: Channel already uninitialized 7
mxc_ipu mxc_ipu: Channel already disabled 10
mxc_ipu mxc_ipu: Channel already uninitialized 10
Serial: MXC Internal UART driver
mxcintuart.0: ttymxc0 at MMIO 0x53fbc000 (irq = 31) is a Freescale i.MX
console [ttymxc0] enabled, bootconsole disabled
console [ttymxc0] enabled, bootconsole disabled
mxcintuart.1: ttymxc1 at MMIO 0x53fc0000 (irq = 32) is a Freescale i.MX
mxcintuart.2: ttymxc2 at MMIO 0x5000c000 (irq = 33) is a Freescale i.MX
mxcintuart.3: ttymxc3 at MMIO 0x53ff0000 (irq = 13) is a Freescale i.MX
mxcintuart.4: ttymxc4 at MMIO 0x63f90000 (irq = 86) is a Freescale i.MX
loop: module loaded
ahci: SSS flag set, parallel bus scan disabled
ahci ahci.0: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
ahci ahci.0: flags: ncq sntf stag pm led clo only pmp pio slum part ccc
scsi0 : ahci
ata1: SATA max UDMA/133 mmio [mem 0x10000000-0x10000fff] port 0x100 irq 28
mxc_dataflash spi1.1: at45db321d (1000 KBytes) pagesize 512 bytes (OTP)
Creating 2 MTD partitions on "mxc_dataflash":
0x000000000000-0x000000100000 : "bootloader"
0x000000100000-0x000000400000 : "kernel"
MXC MTD nand Driver 3.0
No NAND device found.
i.MX GPMI NFC
vcan: Virtual CAN interface driver
Freescale FlexCAN Driver
FEC Ethernet Driver
fec_enet_mii_bus: probed
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 18, io base 0x53f80000
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
fsl-ehci fsl-ehci.1: irq 14, io base 0x53f80200
fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
ARC USBOTG Device Controller driver (1 August 2005)
mice: PS/2 mouse device common for all mice
MXC keypad loaded
input: mxc_power_key as /devices/virtual/input/input0
PMIC powerkey probe
DA9052 TSI Device Driver, v1.0
ata1: SATA link down (SStatus 0 SControl 300)
mxc_rtc mxc_rtc.0: rtc core: registered mxc_rtc as rtc0
mc13892 rtc probe start
pmic_rtc pmic_rtc.1: rtc core: registered pmic_rtc as rtc1
mc13892 rtc probe succeed
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
Linux video capture interface: v2.00
mxc_v4l2_output mxc_v4l2_output.0: Registered device video0
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)
APM Battery Driver
add mma8450 i2c driver
add mma8451 i2c driver
MXC WatchDog Driver 2.0
MXC Watchdog # 0 Timer: initial timeout 60 sec
Bluetooth: Virtual HCI driver ver 1.3
Bluetooth: HCI UART driver ver 2.2
Bluetooth: Generic Bluetooth USB driver ver 0.6
usbcore: registered new interface driver btusb
VPU initialized
mxsdhci: MXC Secure Digital Host Controller Interface driver
mxsdhci: MXC SDHCI Controller Driver.
mmc0: SDHCI detect irq 205 irq 1 INTERNAL DMA
mxsdhci: MXC SDHCI Controller Driver.
mmc1: SDHCI detect irq 203 irq 3 INTERNAL DMA
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
Cirrus Logic CS42888 ALSA SoC Codec Driver
usb 2-1: new high speed USB device using fsl-ehci and address 2
cs42888_read_reg:read reg errorr:reg=1,val=fffffffb
Device with ID register 80 is not a CS42888
sgtl5000-i2c 1-000a: SGTL5000 revision 17
No device for DAI imx-ssi-1-0
No device for DAI imx-ssi-1-1
No device for DAI imx-ssi-2-0
No device for DAI imx-ssi-2-1
DMA Sound Buffers Allocated:UseIram=1 buf->addr=f8016000 buf->area=b6856000 size=24576
DMA Sound Buffers Allocated:UseIram=1 buf->addr=a5438000 buf->area=fa311000 size=24576
asoc: SGTL5000 <-> imx-ssi-2-0 mapping ok
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 7 ports detected
ALSA device list:
  #0: imx-3stack (SGTL5000)
TCP cubic registered
NET: Registered protocol family 17
can: controller area network core (rev 20090105 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20090105)
can: broadcast manager protocol (rev 20090105 t)
Bluetooth: L2CAP ver 2.14
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.6
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2
regulator_init_complete: incomplete constraints, leaving VUSB on
regulator_init_complete: incomplete constraints, leaving VGEN2 on
regulator_init_complete: incomplete constraints, leaving VUSB2 on
regulator_init_complete: incomplete constraints, leaving VDIG on
regulator_init_complete: incomplete constraints, leaving VPLL on
regulator_init_complete: incomplete constraints, leaving VIOHI on
input: mxc_ts as /devices/virtual/input/input1

Outcomes