AnsweredAssumed Answered

IMX6D boot error, log attached, please help

Question asked by Peter Hygren on May 21, 2013
Latest reply on Aug 2, 2013 by Leonardo Sandoval Gonzalez
Branched to a new discussion

Hi,

 

We've managed to extract the boot log from the debug uart (however we can't write to it for some wierd reason). Could someone knowledgeable direct me to what might be wrong in our setup?

 

U-Boot 2013.01.01-00007-gd229fb8 (Feb 12 2013 - 11:27:24)

 

 

 

 

CPU:   Freescale i.MX6Q rev1.2 at 792 MHz

 

 

Reset cause: POR

 

 

Board: MX6Q-SabreSD

 

 

DRAM:  1 GiB

 

 

MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2

 

 

 

 

 

 

U-Boot 2013.01.01-00007-gd229fb8 (Feb 12 2013 - 11:27:24)

 

 

 

 

CPU:   Freescale i.MX6Q rev1.2 at 792 MHz

 

 

Reset cause: POR

 

 

Board: MX6Q-SabreSD

 

 

DRAM:  1 GiB

 

 

MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2

 

 

In:    serial

 

 

Out:   serial

 

 

Err:   serial

 

 

Net:   PHY reset timed out

 

 

FEC [PRIME]

 

 

Hit any key to stop autoboot:  1     0

 

 

mmc1 is current device

 

 

reading boot.scr

 

 

** Unable to read file boot.scr **

 

 

reading uImage

 

 

3872384 bytes read in 285 ms (13 MiB/s)

 

 

Booting from mmc ...

 

 

reading imx6q-sabresd.dtb

 

 

** Unable to read file imx6q-sabresd.dtb **

 

 

## Booting kernel from Legacy Image at 12000000 ...

 

 

   Image Name:   Linux-3.0.35-1.1.0+yocto+gc27cb3

 

 

   Image Type:   ARM Linux Kernel Image (uncompressed)

 

 

   Data Size:    3872320 Bytes = 3.7 MiB

 

 

   Load Address: 10008000

 

 

   Entry Point:  10008000

 

 

   Verifying Checksum ... OK

 

 

   Loading Kernel Image ... OK

 

 

OK

 

 

 

 

Starting kernel ...

 

 

 

 

Uncompressing Linux... done, booting the kernel.

Linux version 3.0.35-1.1.0+yocto+gc27cb38 (vinnteradm@vinnteradm-HP-xw4600-Workstation) (gcc version 4.7.2 (GCC) ) #1 SMP PREEMPT Tue Feb 12 11:09:41 CET 2013

CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d

CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache

Machine: Freescale i.MX 6Quad/DualLite/Solo Sabre-SD Board

Memory policy: ECC disabled, Data cache writealloc

CPU identified as i.MX6Q, silicon rev 1.2

PERCPU: Embedded 7 pages/cpu @8c008000 s5440 r8192 d15040 u32768

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

Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk1p2 rootwait rw video=mxcfb0:Dev=ldb,LDB-WXGA,if=RGB666

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: 640MB 256MB = 896MB total

Memory: 896920k/896920k available, 151656k reserved, 0K highmem

Virtual kernel memory layout:

    vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

    DMA     : 0xf4600000 - 0xffe00000   ( 184 MB)

    vmalloc : 0xc0800000 - 0xf2000000   ( 792 MB)

    lowmem  : 0x80000000 - 0xc0000000   (1024 MB)

    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)

    modules : 0x7f000000 - 0x7fe00000   (  14 MB)

      .init : 0x80008000 - 0x8003b000   ( 204 kB)

      .text : 0x8003b000 - 0x80a8d04c   (10569 kB)

      .data : 0x80a8e000 - 0x80aed2e0   ( 381 kB)

       .bss : 0x80aed304 - 0x80b3ca30   ( 318 kB)

SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1

Preemptible hierarchical RCU implementation.

NR_IRQS:496

MXC GPIO hardware

sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms

arm_max_freq=2

MXC_Early serial console at MMIO 0x2020000 (options '115200')

bootconsole [ttymxc0] enabled

Console: colour dummy device 80x30

Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available

CPU1: Booted secondary processor

Brought up 2 CPUs

SMP: Total of 2 processors activated (3162.11 BogoMIPS).

devtmpfs: initialized

print_constraints: dummy:

NET: Registered protocol family 16

print_constraints: vddpu: 725 <--> 1300 mV at 1150 mV fast normal

print_constraints: vddcore: 725 <--> 1300 mV at 1150 mV fast normal

print_constraints: vddsoc: 725 <--> 1300 mV at 1200 mV fast normal

print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal

print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal

print_constraints: vdd3p0: 2625 <--> 3400 mV at 3000 mV fast normal

hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.

hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.

hw-breakpoint: maximum watchpoint size is 4 bytes.

L310 cache controller enabled

l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x02070000, Cache size: 1048576 B

bio: create slab <bio-0> at 0

mxs-dma mxs-dma-apbh: initialized

print_constraints: SPKVDD: 4200 mV

print_constraints: vmmc: 3300 mV

SCSI subsystem initialized

spi_imx imx6q-ecspi.0: probed

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

Freescale USB OTG Driver loaded, $Revision: 1.55 $

mc_pfuze 1-0008: recv failed!:-5,bf

mc_pfuze: probe of 1-0008 failed with error -1

imx-ipuv3 imx-ipuv3.0: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)

imx-ipuv3 imx-ipuv3.1: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)

mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 driver probed

mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 dphy version is 0x3130302a

MIPI CSI2 driver module loaded

Advanced Linux Sound Architecture Driver Version 1.0.24.

Bluetooth: Core ver 2.16

NET: Registered protocol family 31

Bluetooth: HCI device and connection manager initialized

Bluetooth: HCI socket layer initialized

Bluetooth: L2CAP socket layer initialized

Bluetooth: SCO socket layer initialized

cfg80211: Calling CRDA to update world regulatory domain

max17135 2-0048: PMIC MAX17135 for eInk display

i2c-core: driver [max17135] using legacy suspend method

i2c-core: driver [max17135] using legacy resume method

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: 7, 786432 bytes)

TCP: Hash tables configured (established 131072 bind 65536)

TCP reno registered

UDP hash table entries: 512 (order: 2, 16384 bytes)

UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)

NET: Registered protocol family 1

RPC: Registered named UNIX socket transport module.

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

RPC: Registered tcp NFSv4.1 backchannel transport module.

PMU: registered new PMU device of type 0

Static Power Management for Freescale i.MX6

wait mode is enabled for i.MX6

cpaddr = c0880000 suspend_iram_base=c0918000

PM driver module loaded

IMX usb wakeup probe

add wake up source irq 75

IMX usb wakeup probe

cpu regulator init ldo=0

i.MXC CPU frequency driver

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

msgmni has been set to 1751

alg: No test for stdrng (krng)

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

mxc_mipi_dsi mxc_mipi_dsi: i.MX MIPI DSI driver probed

MIPI DSI driver module loaded

mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver ldb

_regulator_get: get() with no identifier

imx-ipuv3 imx-ipuv3.1: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)

Console: switching to colour frame buffer device 160x50

mxc_sdc_fb mxc_sdc_fb.1: register mxc display driver ldb

mxc_sdc_fb mxc_sdc_fb.2: register mxc display driver lcd

mxc_sdc_fb mxc_sdc_fb.3: register mxc display driver ldb

mxc_sdc_fb mxc_sdc_fb.3: ipu1-di1 already in use

mxc_sdc_fb: probe of mxc_sdc_fb.3 failed with error -16

imx-sdma imx-sdma: loaded firmware 1.1

imx-sdma imx-sdma: initialized

Serial: IMX driver

imx-uart.2: ttymxc2 at MMIO 0x21ec000 (irq = 60) is a IMX

imx-uart.0: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX

console [ttymxc0] enabled, bootconsole disabled

console [ttymxc0] enabled, bootconsole disabled

loop: module loaded

Can't recover from RESET HBA!

No sata disk.

m25p80 spi0.0: unrecognized JEDEC id ffffff

GPMI NAND driver registered. (IMX)

vcan: Virtual CAN interface driver

CAN device driver interface

flexcan netdevice 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 75, io base 0x02184000

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

add wake up source irq 72

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 72, io base 0x02184200

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)

mousedev: PS/2 mouse device common for all mice

input: gpio-keys as /devices/platform/gpio-keys/input/input0

input: max11801_ts as /devices/platform/imx-i2c.1/i2c-1/1-0048/input/input1

egalax_ts 1-0004: egalax_ts: failed to read firmware version

egalax_ts: probe of 1-0004 failed with error -5

usb 2-1: new low speed USB device number 2 using fsl-ehci

egalax_ts 2-0004: egalax_ts: failed to read firmware version

egalax_ts: probe of 2-0004 failed with error -5

elan - Read Hello Packet Failed

elan-touch: probe of 2-0010 failed with error -22

i2c-core: driver [isl29023] using legacy suspend method

i2c-core: driver [isl29023] using legacy resume method

snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc0

i2c /dev entries driver

Linux video capture interface: v2.00

mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video16

mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video17

mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video18

mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video19

mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video20

mag3110 2-000e: check mag3110 chip ID

mag3110 2-000e: read chip ID 0xffffff92 is not equal to 0xc4!

mag3110: probe of 2-000e failed with error -22

i2c-core: driver [mag3110] using legacy suspend method

i2c-core: driver [mag3110] using legacy resume method

mma8451 0-001c: read chip ID 0x1 is not equal to 0x1a or 0x2a!

mma8451: probe of 0-001c failed with error -22

imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=1)

Bluetooth: Virtual HCI driver ver 1.3

Bluetooth: HCI UART driver ver 2.2

Bluetooth: HCIATH3K protocol initialized

Bluetooth: Generic Bluetooth USB driver ver 0.6

usbcore: registered new interface driver btusb

sdhci: Secure Digital Host Controller Interface driver

sdhci: Copyright(c) Pierre Ossman

mmc0: SDHCI controller on platform [sdhci-esdhc-imx.3] using DMA

mmc1: SDHCI controller on platform [sdhci-esdhc-imx.1] using DMA

mmc2: SDHCI controller on platform [sdhci-esdhc-imx.2] using DMA

mxc_vdoa mxc_vdoa: i.MX Video Data Order Adapter(VDOA) driver probed

VPU initialized

mxc_asrc registered

Thermal calibration data is 0x5a051969

Anatop Thermal registered as thermal_zone0

anatop_thermal_probe: default cooling device is cpufreq!

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

usbcore: registered new interface driver snd-usb-audio

mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio

Cirrus Logic CS42888 ALSA SoC Codec Driver

i2c-core: driver [cs42888] using legacy suspend method

i2c-core: driver [cs42888] using legacy resume method

imx-hdmi-soc-dai: probe of imx-hdmi-soc-dai.0 failed with error -12

wm8962 0-001a: Failed to get supply 'DCVDD': -19

wm8962 0-001a: Failed to request supplies: -19

wm8962 0-001a: asoc: failed to probe CODEC wm8962.0-001a: -19

asoc: failed to instantiate card wm8962-audio: -19

imx_3stack asoc driver

ALSA device list:

  No soundcards found.

NET: Registered protocol family 26

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: 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

lib80211: common routines for IEEE802.11 drivers

VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4

Bus freq driver module loaded

Bus freq driver Enabled

mxc_dvfs_core_probe

DVFS driver module loaded

regulator_init_complete: SPKVDD: incomplete constraints, leaving on

snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 00:29:44 UTC (1784)

Waiting for root device /dev/mmcblk1p2...

mmc2: new high speed SDHC card at address b368

mmcblk0: mmc2:b368 SDU1  7.51 GiB

mmcblk0: p1 p2

usb 2-1: device descriptor read/64, error -110

Unable to handle kernel NULL pointer dereference at virtual address 00000000

pgd = 80004000

[00000000] *pgd=00000000

Internal error: Oops: 5 [#1] PREEMPT SMP

Modules linked in:

CPU: 1    Not tainted  (3.0.35-1.1.0+yocto+gc27cb38 #1)

PC is at _clk_pll2_main_get_rate+0x38/0x3c

LR is at clk_get_rate+0x34/0x44

pc : [<80058508>]    lr : [<80061a4c>]    psr: a0000093

sp : bfa77e80  ip : 00000080  fp : 80aa7ab0

r10: 60000013  r9 : 80aa7ab0  r8 : 3b5dc100

r7 : 80aa5ab8  r6 : 80aeda88  r5 : 3b5dc100  r4 : 00000001

r3 : 00000016  r2 : 3b5dc0ff  r1 : 3b5dc100  r0 : 1f78a400

Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel

Control: 10c53c7d  Table: 1000404a  DAC: 00000015

Process kinteractiveup (pid: 60, stack limit = 0xbfa762f0)

Stack: (0xbfa77e80 to 0xbfa78000)

7e80: 80058440 80061a4c 80aa5b0c 80055284 00018d00 80061a4c f40c4000 80054308

7ea0: 00018d00 80061a4c f40c4000 80054404 00000001 80061a4c 00000000 80056360

7ec0: 80056278 80aa7cf0 3b5dc100 80aedd18 001312d0 001312d0 0011edd8 001312d0

7ee0: 80aeda48 80061b48 ffffffff 3b5dc100 179a7b00 800647f4 0011edd8 000e7ef0

7f00: 800561a0 80aeda44 00000002 00000002 00000002 bfa77f50 80a9fac4 bfe69300

7f20: 80aedd18 8050e3f8 3b5dc100 80064bc8 bfa77f4c 8c010dd0 8c010568 00000000

7f40: 8050e3f4 80078794 8c010dd0 00000000 00000001 00060ae0 000f32a0 3205a201

7f60: 00000001 80a9fabc 80b0fbd8 80a9fb00 80a9fcc8 8050e3f4 80a9fabc 000f32a0

7f80: 00000000 8037078c bfa76000 8037510c 8c008d90 80039d90 80039d90 00000000

7fa0: bfa77fc4 bff8bf34 00000000 80374f9c 00000013 00000000 00000000 00000000

7fc0: 00000000 8008d97c 80041bfc 00000000 00000000 00000000 00000000 00000000

7fe0: bfa77fe0 bfa77fe0 bff8bf34 8008d8fc 80041bfc 80041bfc 0e240110 00000280

[<80058508>] (_clk_pll2_main_get_rate+0x38/0x3c) from [<80061a4c>] (clk_get_rate+0x34/0x44)

[<80061a4c>] (clk_get_rate+0x34/0x44) from [<80055284>] (_clk_periph_get_rate+0x28/0x54)

[<80055284>] (_clk_periph_get_rate+0x28/0x54) from [<80061a4c>] (clk_get_rate+0x34/0x44)

[<80061a4c>] (clk_get_rate+0x34/0x44) from [<80054308>] (_clk_ahb_get_rate+0x18/0x28)

[<80054308>] (_clk_ahb_get_rate+0x18/0x28) from [<80061a4c>] (clk_get_rate+0x34/0x44)

[<80061a4c>] (clk_get_rate+0x34/0x44) from [<80054404>] (_clk_ipg_get_rate+0x18/0x28)

[<80054404>] (_clk_ipg_get_rate+0x18/0x28) from [<80061a4c>] (clk_get_rate+0x34/0x44)

[<80061a4c>] (clk_get_rate+0x34/0x44) from [<80056360>] (_clk_arm_set_rate+0xe8/0x328)

[<80056360>] (_clk_arm_set_rate+0xe8/0x328) from [<80061b48>] (clk_set_rate+0x44/0x68)

[<80061b48>] (clk_set_rate+0x44/0x68) from [<800647f4>] (set_cpu_freq+0x130/0x3ac)

[<800647f4>] (set_cpu_freq+0x130/0x3ac) from [<80064bc8>] (mxc_set_target+0x10c/0x2b8)

[<80064bc8>] (mxc_set_target+0x10c/0x2b8) from [<8037078c>] (__cpufreq_driver_target+0x4c/0x60)

[<8037078c>] (__cpufreq_driver_target+0x4c/0x60) from [<8037510c>] (cpufreq_interactive_up_task+0x170/0x1b0)

[<8037510c>] (cpufreq_interactive_up_task+0x170/0x1b0) from [<8008d97c>] (kthread+0x80/0x88)

[<8008d97c>] (kthread+0x80/0x88) from [<80041bfc>] (kernel_thread_exit+0x0/0x8)

Code: e8bd8008 eb002545 e3a03016 e0000093 (e8bd8008)

---[ end trace 12fd6db8a842832c ]---

note: kinteractiveup[60] exited with preempt_count 1

usb 2-1: device descriptor read/64, error -110

usb 2-1: new low speed USB device number 3 using fsl-ehci

usb 2-1: device descriptor read/64, error -110

usb 2-1: device descriptor read/64, error -110

usb 2-1: new low speed USB device number 4 using fsl-ehci

usb 2-1: device not accepting address 4, error -110

usb 2-1: new low speed USB device number 5 using fsl-ehci

usb 2-1: device not accepting address 5, error -110

hub 2-0:1.0: unable to enumerate USB device on port 1

ehci_fsl_bus_suspend begins, Host 1

Outcomes