i.MX6Q stopped during linux boot up

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6Q stopped during linux boot up

Jump to solution
2,567 Views
xiaoqiangyang
Contributor III

Hi everone,

My new desinged i.MX6Q board stopped during linux boot up. U-boot version is 2009.08 and bootargs setting as below:

......

nfsroot=/srv/rootfs

bootargs_base=setenv bootargs console=ttymxc0,115200

bootargs_nfs=setenv bootargs $ root=/dev/nfs ip=dhcp nfsroot=$:$,v3,tcp bootcmd_net=run bootargs_base bootargs_nfs; tftp uImage; bootm bootargs_mmc=setenv bootargs $ ip=dhcp root=/dev/mmcblk0p1 rootwait

bootcmd_mmc=run bootargs_base bootargs_mmc; mmc dev 0; mmc read $ 0x80

0 0x2000; bootm

bootcmd=run bootcmd_net

......

I boot the NFS filesystem but it stopped at--Freeing init memory: 208K ---,the boot log is as below:

Load address: 0x10800000

Loading: * #################################################################

done

Bytes transferred = 3951152 (3c4a30 hex)

    1. Booting kernel from Legacy Image at 10800000 ...

Image Name: Linux-3.0.35-2666-gbdde708

Image Type: ARM Linux Kernel Image (uncompressed)

Data Size: 3951088 Bytes = 3.8 MB

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-2666-gbdde708 (root@lab-linux) (gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) ) #94 SMP PREEMPT Fri Aug 8 15:00:55 CST 2014

CPU: ARMv7 Processor revision 10 (ARMv7), cr=10c53c7d

CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache

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

Ignoring unrecognised tag 0x54410008

Memory policy: ECC disabled, Data cache writealloc

CPU identified as i.MX6Q, silicon rev 1.2

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

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

Kernel command line: console=ttymxc0,115200 root=/dev/nfs ip=dhcp nfsroot=192.168.2.130:/srv/rootfs,v3,tcp

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

Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes)

Inode-cache hash table entries: 131072 (order: 7, 524288 bytes)

Memory: 512MB 1280MB = 1792MB total

Memory: 1805212k/1805212k available, 291940k reserved, 360448K highmem

Virtual kernel memory layout:

vector : 0xffff0000 - 0xffff1000 ( 4 kB)

fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)

DMA : 0xf4600000 - 0xffe00000 ( 184 MB)

vmalloc : 0xea800000 - 0xf2000000 ( 120 MB)

lowmem : 0x80000000 - 0xea000000 (1696 MB)

pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)

modules : 0x7f000000 - 0x7fe00000 ( 14 MB)

.init : 0x80008000 - 0x8003c000 ( 208 kB)

.text : 0x8003c000 - 0x80ab5540 (10726 kB)

.data : 0x80ab6000 - 0x80b198a0 ( 399 kB)

.bss : 0x80b198c4 - 0x80b65a98 ( 305 kB)

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

Preemptible hierarchical RCU implementation.

NR_IRQS:624

MXC GPIO hardware

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

arm_max_freq=800MHz

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

bootconsole 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

CPU2: Booted secondary processor

CPU3: Booted secondary processor

Brought up 4 CPUs

SMP: Total of 4 processors activated (6324.22 BogoMIPS).

print_constraints: dummy:

NET: Registered protocol family 16

print_constraints: vddpu: 725 at 0

mxs-dma mxs-dma-apbh: initialized

print_constraints: SPKVDD: 4200 mV

print_constraints: vmmc: 3300 mV

vgaarb: loaded

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,80

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)

MIPI CSI2 driver module loaded

Advanced Linux Sound Architecture Driver Version 1.0.24.

cfg80211: Calling CRDA to update world regulatory domain

max17135 2-0048: PMIC MAX17135 for eInk display

i2c-core: driver using legacy suspend method

i2c-core: driver using legacy resume method

Switching to clocksource mxc_timer1

NET: Registered protocol family 2

IP route cache hash table entries: 65536 (order: 6, 262144 bytes)

TCP established hash table entries: 262144 (order: 9, 2097152 bytes)

TCP bind hash table entries: 65536 (order: 7, 786432 bytes)

TCP: Hash tables configured (established 262144 bind 65536)

TCP reno registered

UDP hash table entries: 1024 (order: 3, 32768 bytes)

UDP-Lite hash table entries: 1024 (order: 3, 32768 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 = ea880000 suspend_iram_base=ea8f0000

PM driver module loaded

iMX6 PCIe PCIe RC mode imx_pcie_pltfm_probe entering.

PCIE: imx_pcie_pltfm_probe start link up.

IMX PCIe port: link up.

PCI: bus0: Fast back to back transfers disabled

PCI: bus1: Fast back to back transfers disabled

PCI: bus2: Fast back to back transfers disabled

pci 0000:03:00.0: disabling ASPM on pre-1.1 PCIe device. You can enable it with 'pcie_aspm=force'

PCI: bus3: Fast back to back transfers disabled

PCI: bus4: Fast back to back transfers enabled

PCI: bus5: Fast back to back transfers enabled

PCI: bus6: Fast back to back transfers enabled

PCI: bus7: Fast back to back transfers enabled

PCI: bus8: Fast back to back transfers enabled

pci 0000:00:00.0: BAR 0: assigned

pci 0000:00:00.0: BAR 0: set to (PCI address )

pci 0000:00:00.0: BAR 8: assigned

pci 0000:00:00.0: BAR 6: assigned

pci 0000:01:00.0: BAR 0: assigned

pci 0000:01:00.0: BAR 0: set to (PCI address )

pci 0000:03:00.0: PCI bridge to

pci 0000:03:00.0: bridge window

pci 0000:03:00.0: bridge window

pci 0000:03:00.0: bridge window

pci 0000:02:01.0: PCI bridge to

pci 0000:02:01.0: bridge window

pci 0000:02:01.0: bridge window

pci 0000:02:01.0: bridge window

pci 0000:02:04.0: PCI bridge to

pci 0000:02:04.0: bridge window

pci 0000:02:04.0: bridge window

pci 0000:02:04.0: bridge window

pci 0000:02:05.0: PCI bridge to

pci 0000:02:05.0: bridge window

pci 0000:02:05.0: bridge window

pci 0000:02:05.0: bridge window

pci 0000:02:07.0: PCI bridge to

pci 0000:02:07.0: bridge window

pci 0000:02:07.0: bridge window

pci 0000:02:07.0: bridge window

pci 0000:02:09.0: PCI bridge to

pci 0000:02:09.0: bridge window

pci 0000:02:09.0: bridge window

pci 0000:02:09.0: bridge window

pci 0000:01:00.0: PCI bridge to

pci 0000:01:00.0: bridge window

pci 0000:01:00.0: bridge window

pci 0000:01:00.0: bridge window

pci 0000:00:00.0: PCI bridge to

pci 0000:00:00.0: bridge window

pci 0000:00:00.0: bridge window

pci 0000:00:00.0: bridge window

PCI: enabling device 0000:01:00.0 (0140 -> 0143)

PCI: enabling device 0000:02:01.0 (0140 -> 0143)

PCI: enabling device 0000:03:00.0 (0140 -> 0143)

PCI: enabling device 0000:02:04.0 (0140 -> 0143)

PCI: enabling device 0000:02:05.0 (0140 -> 0143)

PCI: enabling device 0000:02:07.0 (0140 -> 0143)

PCI: enabling device 0000:02:09.0 (0140 -> 0143)

IMX usb wakeup probe

add wake up source irq 75

IMX usb wakeup probe

cpu regulator mode:ldo_enable

i.MXC CPU frequency driver

highmem bounce pool size: 64 pages

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

msgmni has been set to 2821

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

regulatorget: 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 128x48

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-di0 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 enabled, bootconsole disabled

console enabled, bootconsole disabled

loop: module loaded

No sata disk.

m25p80 spi0.0: unrecognized JEDEC id ffffff

GPMI NAND driver registered. (IMX)

FEC Ethernet Driver

fec_enet_mii_bus: probed

iwl4965: Intel(R) Wireless WiFi 4965 driver for Linux, in-tree:

iwl4965: Copyright(c) 2003-2011 Intel Corporation

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

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

i2c-core: driver using legacy suspend method

i2c-core: driver 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 0xfffffffb is not equal to 0xc4!

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

i2c-core: driver using legacy suspend method

i2c-core: driver using legacy resume method

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

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)

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

VPU initialized

mxc_asrc registered

Galcore version 4.6.9.6622

Thermal calibration data is 0x5544d069

Thermal sensor with ratio = 175

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 using legacy suspend method

i2c-core: driver using legacy resume method

imx-hdmi-soc-dai imx-hdmi-soc-dai.0: Failed: Load HDMI-video first.

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

Initialize HDMI-audio failed. Load HDMI-video first!

ALSA device list:

No soundcards found.

NET: Registered protocol family 26

TCP cubic registered

NET: Registered protocol family 17

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: vmmc: incomplete constraints, leaving on

regulator_init_complete: SPKVDD: incomplete constraints, leaving on

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

eth0: Freescale FEC PHY driver (mii_bus:phy_addr=1:00, irq=-1)

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

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

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

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

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

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

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

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

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

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

PHY: 1:00 - Link is Up - 100/Full

Sending DHCP requests .

., OK

IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.2.118

IP-Config: Complete:

device=eth0, addr=192.168.2.118, mask=255.255.255.0, gw=192.168.2.10,

host=192.168.2.118, domain=, nis-domain=(none),

bootserver=0.0.0.0, rootserver=192.168.2.130, rootpath=, mtu=576

VFS: Mounted root (nfs filesystem) on device 0:12.

Freeing init memory: 208K

Has anyone met this problem? Or some advice to debug it?

Thanks in advance!

Best Regards

Xiaoqiang

0 Kudos
1 Solution
1,027 Views
igorpadykov
NXP Employee
NXP Employee

I would suggest to remove USB hub completely from build and try.

"ip=none" "ip=dhcp" - do not remove USB hub from build.

View solution in original post

0 Kudos
11 Replies
1,027 Views
igorpadykov
NXP Employee
NXP Employee

Hi Xiaoqiang

you can try demo images below and not use dhcp

(use "ip=none" as kernel boot parameter)

L3.0.35_4.1.0_DEMO_IMAGE_BSP :

Best regards

chip

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

Note: If this post answers your question, please click the Correct Answer button. Thank you!

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

0 Kudos
1,027 Views
xiaoqiangyang
Contributor III

Thank you! I followed your method but new situation appeared. The kernel can not go to that place but stops at USB section.

........

........

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

usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

usb usb1: Product: Freescale On-Chip EHCI Host Controller

usb usb1: Manufacturer: Linux 3.0.35-2666-gbdde708 ehci_hcd

usb usb1: SerialNumber: fsl-ehci.0

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

usb usb2: New USB device found, idVendor=1d6b, idProduct=0002

usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1

usb usb2: Product: Freescale On-Chip EHCI Host Controller

usb usb2: Manufacturer: Linux 3.0.35-2666-gbdde708 ehci_hcd

usb usb2: SerialNumber: fsl-ehci.1

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

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

i2c-core: driver using legacy suspend method

i2c-core: driver 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 0xfffffffb is not equal to 0xc4!

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

i2c-core: driver using legacy suspend method

i2c-core: driver using legacy resume method

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

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)

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

VPU initialized

mxc_asrc registered

Galcore version 4.6.9.6622

Thermal calibration data is 0x5544d069

Thermal sensor with ratio = 175

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 using legacy suspend method

i2c-core: driver using legacy resume method

imx-hdmi-soc-dai imx-hdmi-soc-dai.0: Failed: Load HDMI-video first.

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

Initialize HDMI-audio failed. Load HDMI-video first!

ALSA device list:

No soundcards found.

NET: Registered protocol family 26

TCP cubic registered

NET: Registered protocol family 17

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: vmmc: incomplete constraints, leaving on

regulator_init_complete: SPKVDD: incomplete constraints, leaving on

snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 00:06:49 UTC (409)

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

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

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

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

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

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

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

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

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

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

INFO: task ipu1_task:373 blocked for more than 120 seconds.

"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

ipu1_task D 804a137c 0 373 2 0x00000000

[<804a137c>] (__schedule0x258/0x6d4) from [<8033c878>] (ipu_task_thread0x260/0

xaf0)

[<8033c878>] (ipu_task_thread0x260/0xaf0) from [<80092740>] (kthread0x80/0x88)

[<80092740>] (kthread0x80/0x88) from [<80041a5c>] (kernel_thread_exit0x0/0x8)

Kernel panic - not syncing: hung_task: blocked tasks

[<80047dc8>] (unwind_backtrace0x0/0xf8) from [<8049d868>] (panic0x64/0x17c)

[<8049d868>] (panic0x64/0x17c) from [<800ad758>] (watchdog0x224/0x24c)

[<800ad758>] (watchdog0x224/0x24c) from [<80092740>] (kthread0x80/0x88)

[<80092740>] (kthread0x80/0x88) from [<80041a5c>] (kernel_thread_exit0x0/0x8)

CPU0: stopping

[<80047dc8>] (unwind_backtrace0x0/0xf8) from [<8003b30c>] (do_IPI0x14c/0x174)

[<8003b30c>] (do_IPI0x14c/0x174) from [<800409cc>] (__irq_svc0x4c/0xe8)

Exception stack(0x80a13f68 to 0x80a13fb0)

3f60: 00000001 80000093 80a13f98 f40c4000 80a12000 80a71564

3f80: 80a27a70 804a5aa4 80a2ad2c 412fc09a 00000000 00000000 00000000 80a13fb0

3fa0: 804a3568 80041abc 40000013 ffffffff

[<800409cc>] (__irq_svc0x4c/0xe8) from [<80041abc>] (default_idle0x24/0x28)

[<80041abc>] (default_idle0x24/0x28) from [<80041cd0>] (cpu_idle0xd8/0x11c)

[<80041cd0>] (cpu_idle0xd8/0x11c) from [<800088a0>] (start_kernel0x238/0x278)

[<800088a0>] (start_kernel+0x238/0x278) from [<10008040>] (0x10008040)
CPU2: stopping
[<80047dc8>] (unwind_backtrace0x0/0xf8) from [<8003b30c>] (do_IPI0x14c/0x174)

[<8003b30c>] (do_IPI0x14c/0x174) from [<800409cc>] (__irq_svc0x4c/0xe8)

Exception stack(0xe9fb5f90 to 0xe9fb5fd8)

5f80: 00000001 80000093 e9fb5fc0 f40c4000

5fa0: e9fb4000 80a71564 80a27a70 804a5aa4 80a2ad2c 412fc09a 00000000 00000000

5fc0: 00000000 e9fb5fd8 804a3568 80041abc 40000013 ffffffff

[<800409cc>] (__irq_svc0x4c/0xe8) from [<80041abc>] (default_idle0x24/0x28)

[<80041abc>] (default_idle0x24/0x28) from [<80041cd0>] (cpu_idle0xd8/0x11c)

[<80041cd0>] (cpu_idle+0xd8/0x11c) from [<10499d94>] (0x10499d94)
CPU3: stopping
[<80047dc8>] (unwind_backtrace0x0/0xf8) from [<8003b30c>] (do_IPI0x14c/0x174)

[<8003b30c>] (do_IPI0x14c/0x174) from [<800409cc>] (__irq_svc0x4c/0xe8)

Exception stack(0xe9f01f90 to 0xe9f01fd8)

1f80: 00000001 80000093 e9f01fc0 f40c4000

1fa0: e9f00000 80a71564 80a27a70 804a5aa4 80a2ad2c 412fc09a 00000000 00000000

1fc0: 00000000 e9f01fd8 804a3568 80041abc 40000013 ffffffff

[<800409cc>] (__irq_svc0x4c/0xe8) from [<80041abc>] (default_idle0x24/0x28)

[<80041abc>] (default_idle0x24/0x28) from [<80041cd0>] (cpu_idle0xd8/0x11c)

[<80041cd0>] (cpu_idle+0xd8/0x11c) from [<10499d94>] (0x10499d94)

Our usb hub is USB2514.And usb is supported in kernel configuration.

From: Igor Padykov

Date: 2014-08-11 09:49

To: Xiaoqiang Yang

Subject: Re: - i.MX6Q stopped during linux boot up

i.MX6Q stopped during linux boot up

reply from Igor Padykov in i.MX Community - View the full discussion

Hi Xiaoqiang

you can try demo images below and not use dhcp

(use "ip=none" as kernel boot parameter)

L3.0.35_4.1.0_DEMO_IMAGE_BSP http://www.freescale.com/files/graphic/SECURITYINFOIMAGE.gif :

Best regards

chip

0 Kudos
1,027 Views
igorpadykov
NXP Employee
NXP Employee

do you mean that

without hub (remove USB2514 driver) board is running OK ?

Best regards

chip

0 Kudos
1,027 Views
xiaoqiangyang
Contributor III

no, with usb hub the board can run, but if use"ip=none" it can't run.

xiaoqiang.yang@realtimes.cn

From: Igor Padykov

Date: 2014-08-11 21:34

To: Xiaoqiang Yang

Subject: Re: - i.MX6Q stopped during linux boot up

i.MX6Q stopped during linux boot up

reply from Igor Padykov in i.MX Community - View the full discussion

do you mean that

without hub (remove USB2514 driver) board is running OK ?

Best regards

chip

Reply to this message by replying to this email, or go to the message on Freescale Community

Start a new discussion in i.MX Community by email or at Freescale Community

Following i.MX6Q stopped during linux boot up in these streams: Inbox

0 Kudos
1,027 Views
xiaoqiangyang
Contributor III

NO,

if I use "ip=none" as kernel boot parameter, the kernel stopped after this sentence "hub 2-0:1.0: unable to enumerate USB device on port 1";

if I use "ip=dhcp" as kernel boot parameter,the kernel passed dhcp section and stopped after "Freeing init memory: 208K",

our usb2514 is designed onboard and it seems that usb is not the real phenomenon. I think the real reason must be hiding behind them.

How do you see it?

Best Regards

Xiaoqiang

From: Igor Padykov

Date: 2014-08-11 21:34

To: Xiaoqiang Yang

Subject: Re: - i.MX6Q stopped during linux boot up

i.MX6Q stopped during linux boot up

reply from Igor Padykov in i.MX Community - View the full discussion

do you mean that

without hub (remove USB2514 driver) board is running OK ?

Best regards

chip

Reply to this message by replying to this email, or go to the message on Freescale Community

Start a new discussion in i.MX Community by email or at Freescale Community

Following i.MX6Q stopped during linux boot up in these streams: Inbox

0 Kudos
1,028 Views
igorpadykov
NXP Employee
NXP Employee

I would suggest to remove USB hub completely from build and try.

"ip=none" "ip=dhcp" - do not remove USB hub from build.

0 Kudos
1,027 Views
xiaoqiangyang
Contributor III

I use "ip=dhcp" and modified my DDR3 configuration(not modified before) and finally boot up the linux. Thank you!

0 Kudos
1,027 Views
controlhorus
Contributor III

Hello

We are having the same situation here but I don´t find where the DDR3 configuration is made within linux. I only configured the u-boot ddr3 file.

Thank you

0 Kudos
1,027 Views
xiaoqiangyang
Contributor III

We are the same,we only configured DDR3 in u-boot.It seems like linux needn't to configure the DDR.

0 Kudos
1,027 Views
controlhorus
Contributor III

Hello.

It seems so. Just a while ago, I do what I had to do two days ago: run a network capture program on a third computer and see what is happening. My board is mounting the nfs root and doing some initial directory checking (i suppose) but when the file transfers start many of the board packets are not answered by the nfs server. So the load is really slow. I think the linux is starting but very slowly.

I am installing the root nfs in another computer to see if it goes better.

If anybody knows how to activate some debug-messages on the init process of linux to know what the init process is trying to do, I will thank that anybody. I looked for it but I was unable to found.

Thank you,

Jose

0 Kudos
1,027 Views
controlhorus
Contributor III

Hello

Here there were two things.

1) One line on the Ethernet connector was bad. After we correct it, speed was good but still nothing was being seen in console.

2) CONFIG_DEVTMPFS was disabled in linux configuration. We activated it, rebuilt and it started to print things in console.

Thank you,

Jose

0 Kudos