AnsweredAssumed Answered

same sd,  in some boards can boot up,  one  can't, we don't know what's wrong in the board or sd driver?

Question asked by Luo Qiaofa on Jul 22, 2014
Latest reply on Jul 24, 2014 by igorpadykov

the printing as follows, pls note the text

 

HTLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLFLC

PowerPrep start initialize power...

 

 

Configured for 5v only power source. Battery powered operation disabled.

LLLCJun  6 201409:37:20

FRAC 0x92925552

memory type is DDR2

                   Wait for ddr ready 1power 0x00820710

Frac 0x92925552

start change cpu freq

hbus 0x00000003

cpu 0x00010001

HW_PINCTRL_DIN1_RD  = 0xF4000009

Boot Mode = 0x00000009

LLLLLLLFLCLLJ

HW_PINCTRL_DIN1_RD  = 0xF4000009

[boot_mode_get]: Boot Mode = 0x00000009

[boot_mode_get]: bt_idx = 0x00000001

[setup_tags]: boot_mode_get = 0x00000001

[setup_cmdline_tag]: cmdline=noinitrd console=ttyAM0,115200 root=/dev/mmcblk0p3 rw rootwait ip=none gpmi

Uncompressing Linux... done, booting the kernel.

Linux version 2.6.35.3-670-g914558e-g875446d-dirty (mine@mine-luoqiaofa) (gcc version 4.4.4 (4.4.4_09.06.2010) ) #38 PREEMPT Mon May 26 20:06:12 CST 2014

CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177

CPU: VIVT data cache, VIVT instruction cache

Machine: Freescale MX28EVK board

Memory policy: ECC disabled, Data cache writeback

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512

Kernel command line: noinitrd console=ttyAM0,115200 root=/dev/mmcblk0p3 rw rootwait ip=none gpmi

PID hash table entries: 512 (order: -1, 2048 bytes)

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: 120008k/120008k available, 11064k reserved, 0K highmem

Virtual kernel memory layout:

    vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

    DMA     : 0xfde00000 - 0xffe00000   (  32 MB)

    vmalloc : 0xc8800000 - 0xf0000000   ( 632 MB)

    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)

    modules : 0xbf000000 - 0xc0000000   (  16 MB)

      .init : 0xc0008000 - 0xc008c000   ( 528 kB)

      .text : 0xc008c000 - 0xc052d000   (4740 kB)

      .data : 0xc052e000 - 0xc056aa60   ( 243 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:288

Console: colour dummy device 80x30

console [ttyAM0] enabled

Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)

pid_max: default: 32768 minimum: 301

Security Framework initialized

SELinux:  Initializing.

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

regulator: core version 0.5

NET: Registered protocol family 16

regulator: vddd: 800 <--> 1575 mV at 1500 mV fast normal

regulator: vdddbo: 800 <--> 1575 mV fast normal

regulator: vdda: 1500 <--> 2275 mV at 1800 mV fast normal

vddio = 3380000, val=10

regulator: vddio: 2880 <--> 3680 mV at 3380 mV fast normal

regulator: overall_current: fast normal

regulator: vbus5v:

regulator: mxs-duart-1: fast normal

regulator: mxs-bl-1: fast normal

regulator: mxs-i2c-1: fast normal

regulator: mmc_ssp-1: fast normal

regulator: mmc_ssp-2: fast normal

regulator: charger-1: fast normal

regulator: power-test-1: fast normal

regulator: cpufreq-1: fast normal

i.MX IRAM pool: 124 KB@0xc8820000

[mx28_gpio_preinit]:3,29,0,0

[mx28_gpio_preinit]:pin_id=0x300001d

[mx28_gpio_preinit]: pinctrl not null

[mx28_gpio_preinit]: chip not null

[mx28_gpio_preinit]: end

 

[arch/arm/mach-mx28/mx28evk.c,113]:pdev=c0538ed0

[arch/arm/mach-mx28/mx28evk.c,122]:ret=0

usb DR wakeup device is registered

IMX usb wakeup probe

audit: cannot initialize inotify handle

bio: create slab <bio-0> at 0

[arch/arm/plat-mxs/device.c,808]:name=mxs-fb

[arch/arm/plat-mxs/device.c,826]:name=mxs-fb

[arch/arm/plat-mxs/device.c,835]:name=mxs-fb

SCSI subsystem initialized

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

Switching to clocksource mxs clock source

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 4096 (order: 3, 32768 bytes)

TCP bind hash table entries: 4096 (order: 2, 16384 bytes)

TCP: Hash tables configured (established 4096 bind 4096)

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.

Trying to unpack rootfs image as initramfs...

rootfs image is not initramfs (junk in compressed archive); looks like an initrd

Freeing initrd memory: 4096K

Bus freq driver module loaded

IMX usb wakeup probe

usb h1 wakeup device is registered

mxs_cpu_init: cpufreq init finished

audit: initializing netlink socket (disabled)

type=2000 audit(1.540:1): initialized

VFS: Disk quotas dquot_6.5.2

Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.

msgmni has been set to 242

alg: No test for stdrng (krng)

cryptodev: driver loaded.

Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

[arch/arm/plat-mxs/device.c,808]:name=mxs-bl

[arch/arm/plat-mxs/device.c,835]:name=mxs-bl

[mx28_gpio_preinit]:3,18,0,1

[mx28_gpio_preinit]:pin_id=0x3000012

[mx28_gpio_preinit]: pinctrl not null

[mx28_gpio_preinit]: chip not null

[mx28_gpio_preinit]: end

Console: switching to colour frame buffer device 100x30

[arch/arm/plat-mxs/device.c,808]:name=mxs-bl

[arch/arm/plat-mxs/device.c,835]:name=mxs-bl

[mx28_gpio_preinit]:3,18,0,1

[mx28_gpio_preinit]:pin_id=0x3000012

[mx28_gpio_preinit]: pinctrl not null

[mx28_gpio_preinit]: chip not null

[mx28_gpio_preinit]: end

mxs-duart.0: ttyAM0 at MMIO 0x80074000 (irq = 47) is a DebugUART

mxs-auart.0: ttySP0 at MMIO 0x8006a000 (irq = 112) is a mxs-auart.0

Found APPUART 3.1.0

Found APPUART 3.1.0

brd: module loaded

loop: module loaded

i.MX GPMI NFC

NFC: Version 1, 8-chip GPMI and BCH

Boot ROM: Version 1, Single-chip boot area, block mark swapping supported

Scanning for NAND Flash chips...

NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)

-----------------------------

NAND Flash Device Information

-----------------------------

Manufacturer      : Samsung (0xec)

Device Code       : 0xda

Cell Technology   : SLC

Chip Size         : 256 MiB

Pages per Block   : 64

Page Geometry     : 2048+64

ECC Strength      : 4 bits

ECC Size          : 512 B

Data Setup Time   : 20 ns

Data Hold Time    : 10 ns

Address Setup Time: 20 ns

GPMI Sample Delay : 6 ns

tREA              : Unknown

tRLOH             : Unknown

tRHOH             : Unknown

Description       : K9F2G08U0M

-----------------

Physical Geometry

-----------------

Chip Count             : 1

Page Data Size in Bytes: 2048 (0x800)

Page OOB Size in Bytes : 64

Block Size in Bytes    : 131072 (0x20000)

Block Size in Pages    : 64 (0x40)

Chip Size in Bytes     : 268435456 (0x10000000)

Chip Size in Pages     : 131072 (0x20000)

Chip Size in Blocks    : 2048 (0x800)

Medium Size in Bytes   : 268435456 (0x10000000)

------------

NFC Geometry

------------

ECC Algorithm          : BCH

ECC Strength           : 8

Page Size in Bytes     : 2112

Metadata Size in Bytes : 10

ECC Chunk Size in Bytes: 512

ECC Chunk Count        : 4

Payload Size in Bytes  : 2048

Auxiliary Size in Bytes: 16

Auxiliary Status Offset: 12

Block Mark Byte Offset : 1999

Block Mark Bit Offset  : 0

-----------------

Boot ROM Geometry

-----------------

Boot Area Count            : 1

Boot Area Size in Bytes    : 20971520 (0x1400000)

Stride Size in Pages       : 64

Search Area Stride Exponent: 2

Scanning device for bad blocks

Bad eraseblock 519 at 0x0000040e0000

Boot area protection is enabled.

Creating 2 MTD partitions on "gpmi-nfc-main":

0x000000000000-0x000001400000 : "gpmi-nfc-0-boot"

0x000001400000-0x000010000000 : "gpmi-nfc-general-use"

mxs-spi mxs-spi.0: Max possible speed 24000 = 24000000/2 kHz

mxs-spi mxs-spi.0: at 0x80014000 mapped to 0xF0014000, irq=84, bus 1, DMA ver_major 4

FEC Ethernet Driver

[arch/arm/plat-mxs/pinctrl.c,39]:pin=200000f,fun=3,bank=2,index=15

[arch/arm/plat-mxs/pinctrl.c,46]

[arch/arm/plat-mxs/pinctrl.c,39]:pin=400000d,fun=3,bank=4,index=13

[arch/arm/plat-mxs/pinctrl.c,46]

fec_enet_mii_bus: probed

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

fsl-ehci fsl-ehci: Freescale On-Chip EHCI Host Controller

fsl-ehci fsl-ehci: new USB bus registered, assigned bus number 1

fsl-ehci fsl-ehci: irq 93, io base 0x80080000

fsl-ehci fsl-ehci: 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.0: Freescale On-Chip EHCI Host Controller

fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 2

fsl-ehci fsl-ehci.0: irq 92, io base 0x80090000

fsl-ehci fsl-ehci.0: 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

input: MXS touchscreen as /devices/virtual/input/input0

rtc-ds1307 0-0068: rtc core: registered ds1307 as rtc0

rtc-ds1307 0-0068: 56 bytes nvram

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

mxs-pxp mxs-pxp.0: initialized

This is 5V only build.

mxs watchdog: initialized, heartbeat 19 sec

mxs-mmc: MXS SSP Controller MMC Interface driver

[arch/arm/plat-mxs/pinctrl.c,39]:pin=200000c,fun=3,bank=2,index=12

[arch/arm/plat-mxs/pinctrl.c,46]

[arch/arm/plat-mxs/pinctrl.c,39]:pin=300001c,fun=3,bank=3,index=28

[arch/arm/plat-mxs/pinctrl.c,46]

mxs-mmc mxs-mmc.0: mmc0: MXS SSP MMC DMAIRQ 82 ERRIRQ 96

[drivers/leds/leds-gpio.c,161]

[drivers/leds/leds-gpio.c,165]:ret=0

[arch/arm/plat-mxs/pinctrl.c,39]:pin=200001b,fun=3,bank=2,index=27

[arch/arm/plat-mxs/pinctrl.c,46]

[arch/arm/plat-mxs/pinctrl.c,39]:pin=200001a,fun=3,bank=2,index=26

[arch/arm/plat-mxs/pinctrl.c,46]

[arch/arm/plat-mxs/pinctrl.c,39]:pin=2000015,fun=3,bank=2,index=21

[arch/arm/plat-mxs/pinctrl.c,46]

[arch/arm/plat-mxs/pinctrl.c,39]:pin=300001d,fun=3,bank=3,index=29

[arch/arm/plat-mxs/pinctrl.c,46]

[drivers/leds/leds-gpio.c,179]:ret=0

[drivers/leds/leds-gpio.c,325]:ret=0

mmc0: new high speed SDHC card at address 1234

dcp dcp.0: DCP crypto enabled.!

mmcblk0: mmc0:1234 SA04G 3.63 GiB (ro)

mmcblk0: p1 p2 p3

usbcore: registered new interface driver hiddev

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

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)

regulator_init_complete: incomplete constraints, leaving vbus5v on

rtc-ds1307 0-0068: setting system clock to 2000-01-01 00:15:04 UTC (946685704)

VFS: Cannot open root device "mmcblk0p3" or unknown-block(179,3)

Please append a correct "root=" boot option; here are the available partitions:

1f00           20480 mtdblock0 (driver?)

1f01          241664 mtdblock1 (driver?)

b300         3813376 mmcblk0 driver: mmcblk

  b301          524288 mmcblk0p1

  b302            8192 mmcblk0p2

  b303         3272703 mmcblk0p3

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,3)

Backtrace:

[<c0090468>] (dump_backtrace+0x0/0x114) from [<c0408e08>] (dump_stack+0x18/0x1c)

r7:c04b4d7e r6:00008000 r5:c7c15000 r4:c056b978

[<c0408df0>] (dump_stack+0x0/0x1c) from [<c0408e84>] (panic+0x78/0xf4)

[<c0408e0c>] (panic+0x0/0xf4) from [<c000902c>] (mount_block_root+0x1d8/0x218)

r3:00000000 r2:00000001 r1:c7c27f60 r0:c04b4e25

[<c0008e54>] (mount_block_root+0x0/0x218) from [<c0009130>] (mount_root+0xc4/0xfc)

[<c000906c>] (mount_root+0x0/0xfc) from [<c00092d4>] (prepare_namespace+0x16c/0x1c4)

r5:c0029a29 r4:c056ad20

[<c0009168>] (prepare_namespace+0x0/0x1c4) from [<c00084f8>] (kernel_init+0x128/0x170)

r5:c00281b8 r4:c056aae0

[<c00083d0>] (kernel_init+0x0/0x170) from [<c00ac130>] (do_exit+0x0/0x6dc)

r5:c00083d0 r4:00000000

Outcomes