Prachi Singhal

Booting from MMC card (stuck at a point)

Discussion created by Prachi Singhal on Jun 1, 2011
Latest reply on Jun 7, 2011 by Prachi Singhal

Hi,

 

I am facing a boot problem working with iMX51 EVK board.

I have flashed the MMC card with the custom images created through LTIB and VMware Linux host. I have also set the environmental variables for U-Boot via the serial input. When I start the board with switch settings to boot from MMC/SD, I get the following logs on the screen. It gets stuck at the last log and does not boot.

 

Please help.

 

Logs:

U-Boot 2009.08 (May 30 2011 - 10:27:05)

 

CPU:   Freescale i.MX51 family 3.0V at 800 MHz
mx51 pll1: 800MHz
mx51 pll2: 665MHz
mx51 pll3: 216MHz
ipg clock     : 66500000Hz
ipg per clock : 665000000Hz
uart clock    : 54000000Hz
cspi clock    : 54000000Hz
axi_a clock   : 166250000Hz
axi_b clock   : 133000000Hz
emi_slow clock: 83125000Hz
ddr clock     : 166250000Hz
esdhc clock   : 216000000Hz
Board: MX51 BABBAGE 3.0 [POR]
Boot Device: MMC
I2C:   ready
DRAM:  512 MB
MMC:   FSL_ESDHC: 0, FSL_ESDHC: 1
In:    serial
Out:   serial
Err:   serial
PMIC Mode: SPI
Net:   got MAC address from IIM: 00:04:9f:01:1c:a7
FEC0 [PRIME]
Hit any key to stop autoboot:  0
MMC read: dev # 0, block # 2048,count 6144 ...
6144 blocks read: OK
## Booting kernel from Legacy Image at 90800000 ...
   Image Name:   Linux-2.6.35.3-433-g0fae922
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2814624 Bytes =  2.7 MB
   Load Address: 90008000
   Entry Point:  90008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.35.3-433-g0fae922 (prachi@ubuntu) (gcc version 4.4.4 (4.4.4_09.06.2010) ) #1 PREEMPT Mon May 30 10:53:20 PDT 2011
CPU: ARMv7 Processor [412fc085] revision 5 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Freescale MX51 Babbage Board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 105664
Kernel command line: console=ttymxc0,115200 console=tty0 root=/dev/sdb1 rootwait rw root=/dev/sdb rootwait rw console=tty0 root=/dev/sdb1 rootwait rw
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 416MB = 416MB total
Memory: 413840k/413840k available, 12144k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xf9e00000 - 0xffe00000   (  96 MB)
    vmalloc : 0x9a800000 - 0xf4000000   (1432 MB)
    lowmem  : 0x80000000 - 0x9a000000   ( 416 MB)
    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
    modules : 0x7f000000 - 0x7fe00000   (  14 MB)
      .init : 0x80008000 - 0x8002f000   ( 156 kB)
      .text : 0x8002f000 - 0x807a2000   (7628 kB)
      .data : 0x807be000 - 0x8080b020   ( 309 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 0x73fbc000 (options '115200')
bootconsole [ttymxc0] enabled
Console: colour dummy device 80x30
console [tty0] enabled, bootconsole disabled
Linux version 2.6.35.3-433-g0fae922 (prachi@ubuntu) (gcc version 4.4.4 (4.4.4_09.06.2010) ) #1 PREEMPT Mon May 30 10:53:20 PDT 2011
CPU: ARMv7 Processor [412fc085] revision 5 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Freescale MX51 Babbage Board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 105664
Kernel command line: console=ttymxc0,115200 console=tty0 root=/dev/sdb1 rootwait rw root=/dev/sdb rootwait rw console=tty0 root=/dev/sdb1 rootwait rw
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 416MB = 416MB total
Memory: 413840k/413840k available, 12144k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xf9e00000 - 0xffe00000   (  96 MB)
    vmalloc : 0x9a800000 - 0xf4000000   (1432 MB)
    lowmem  : 0x80000000 - 0x9a000000   ( 416 MB)
    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
    modules : 0x7f000000 - 0x7fe00000   (  14 MB)
      .init : 0x80008000 - 0x8002f000   ( 156 kB)
      .text : 0x8002f000 - 0x807a2000   (7628 kB)
      .data : 0x807be000 - 0x8080b020   ( 309 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 0x73fbc000 (options '115200')
bootconsole [ttymxc0] enabled
Console: colour dummy device 80x30
console [tty0] enabled, bootconsole disabled
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@0x9a840000
IRAM READY
CPU is i.MX51 Revision 3.0
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
MXC HS I2C driver
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 Babbage.
regulator: SW1: 600 <--> 1375 mV at 1050 mV
regulator: SW2: 900 <--> 1850 mV at 1225 mV
regulator: SW3: 1100 <--> 1850 mV at 1200 mV
regulator: SW4: 1100 <--> 1850 mV at 1800 mV
regulator: SWBST:
regulator: VIOHI:
regulator: VPLL: 1050 <--> 1800 mV at 1800 mV
regulator: VDIG: 1650 mV
regulator: VSD: 1800 <--> 3150 mV at 3150 mV
regulator: VUSB2: 2400 <--> 2775 mV at 2600 mV
regulator: VVIDEO: 2775 mV
regulator: VAUDIO: 2300 <--> 3000 mV at 3000 mV
regulator: VCAM: 2500 <--> 3000 mV at 2600 mV fast normal
regulator: VGEN1: 1200 mV
regulator: VGEN2: 1200 <--> 3150 mV at 3150 mV
regulator: VGEN3: 1800 <--> 2900 mV at 1800 mV
regulator: VUSB:
regulator: GPO1:
regulator: GPO2:
regulator: GPO3:
regulator: GPO4:
Device spi1.0 probed
Switching to clocksource mxc_timer1
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 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 808
alg: No test for stdrng (krng)
cryptodev: driver loaded.
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
fbcvt: 1024x768@60: CVT Name - .786M3
mxc_ipu mxc_ipu: Channel already disabled 9
mxc_ipu mxc_ipu: Channel already uninitialized 9
IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
Console: switching to colour frame buffer device 128x48
tve: probe of tve.0 failed with error -1
mxci2c_wait_writefifo:wait error
sii9022 3-0039: SII9022: cound not find device
regulator: get() with no identifier
regulator: get() with no identifier
regulator: get() with no identifier
mxci2c_wait_writefifo:wait error
Serial: MXC Internal UART driver
mxcintuart.0: ttymxc0 at MMIO 0x73fbc000 (irq = 31) is a Freescale i.MX
console [ttymxc0] enabled
mxcintuart.1: ttymxc1 at MMIO 0x73fc0000 (irq = 32) is a Freescale i.MX
mxcintuart.2: ttymxc2 at MMIO 0x7000c000 (irq = 33) is a Freescale i.MX
loop: module loaded
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
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 0x73f80000
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 0x73f80200
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
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: mxckpd as /devices/virtual/input/input0
mc13892 rtc probe start
pmic_rtc pmic_rtc.1: rtc core: registered pmic_rtc as rtc0
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
MXC WatchDog Driver 2.0
MXC Watchdog # 0 Timer: initial timeout 60 sec
Bluetooth: Virtual HCI driver ver 1.3
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.
usb 2-1: new high speed USB device using fsl-ehci and address 2
mmc0: SDHCI detect irq 128 irq 1 INTERNAL DMA
mxsdhci: MXC SDHCI Controller Driver.
mmc1: SDHCI detect irq 134 irq 2 INTERNAL DMA
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
Cirrus Logic CS42888 ALSA SoC Codec Driver
sgtl5000-i2c 1-000a: SGTL5000 revision 17
hub 2-1:1.0: USB hub found
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
No device for DAI imx-ssi-3-0
No device for DAI imx-ssi-3-1
hub 2-1:1.0: 7 ports detected
DMA Sound Buffers Allocated:UseIram=1 buf->addr=1fff6000 buf->area=9a856000 size=24576
DMA Sound Buffers Allocated:UseIram=1 buf->addr=a91c0000 buf->area=fa0ad000 size=24576
asoc: SGTL5000 <-> imx-ssi-2-0 mapping ok
mmc0: new SDHC card at address c077
mmcblk0: mmc0:c077 SD04G 3.69 GiB
 mmcblk0: p1
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: disabling VCAM
regulator_init_complete: disabling VAUDIO
<6>PWR key pressedplete: disabling VSD
øüput: mxc_ts as /devices/virtual/input/input1
mxc input touchscreen loaded
pmic_rtc pmic_rtc.1: setting system clock to 1970-03-09 12:54:11 UTC (5835251)
Waiting for root device /dev/sdb1...
usb 2-1.1: new low speed USB device using fsl-ehci and address 3
input: Dell Dell USB Mouse as /devices/platform/fsl-ehci.1/usb2/2-1/2-1.1/2-1.1:1.0/input/input2
generic-usb 0003:413C:3200.0001: input: USB HID v1.10 Mouse [Dell Dell USB Mouse] on usb-fsl-ehci.1-1.1/input0
usb 2-1.2: new low speed USB device using fsl-ehci and address 4
input: Darfon USB Combo Keyboard as /devices/platform/fsl-ehci.1/usb2/2-1/2-1.2/2-1.2:1.0/input/input3
generic-usb 0003:0D62:001D.0002: input: USB HID v1.00 Keyboard [Darfon USB Combo Keyboard] on usb-fsl-ehci.1-1.2/input0
input: Darfon USB Combo Keyboard as /devices/platform/fsl-ehci.1/usb2/2-1/2-1.2/2-1.2:1.1/input/input4
generic-usb 0003:0D62:001D.0003: input: USB HID v1.00 Device [Darfon USB Combo Keyboard] on usb-fsl-ehci.1-1.2/input1
usb 2-1.6: new high speed USB device using fsl-ehci and address 5
scsi0 : usb-storage 2-1.6:1.0
scsi 0:0:0:0: Direct-Access     USB TO I DE/SATA Device   0009 PQ: 0 ANSI: 0
sd 0:0:0:0: [sda] Attached SCSI disk

Outcomes