AnsweredAssumed Answered

i.MX6Q Android can't boot up

Question asked by Yanjun Luo on Aug 12, 2014
Latest reply on Aug 12, 2014 by Yanjun Luo

Hi,

My custom i.MX6Q board can't boot Android, I can enter to Android console, and after several seconds, it just go to suspend. I built my own kernel, and the Android is probuild image of android-imx6-r13.3, I boot from NFS. I did see the similar questions here, but no answer for it.

 

BTW, my board works fine with Linux already.

 

Uncompressing Linux... done, booting the kernel.

Initializing cgroup subsys cpu

Linux version 3.0.35-06522-g0a3529b-dirty (luo@luo-ThinkPad) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #17 SMP PREEMPT Tue Aug 12 14:33:11 CST 2014

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, unknown revision

PERCPU: Embedded 7 pages/cpu @c12a2000 s6688 r8192 d13792 u32768

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

Kernel command line: console=ttymxc0,115200 no_console_suspend enable_wait_mode=off init=/init ip=dhcp nfsroot=192.168.8.47:/mnt/nfs/ video=mxcfb0:dev=ldb,LDB-SVGA,if=RGB666 video=mxcfb1:off video=mxcfb2:off fbmem=10M fb0base=0x27b00000 vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale

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: 379MB 378MB 64MB = 821MB total

Memory: 821100k/821100k available, 227476k reserved, 441344K highmem

Virtual kernel memory layout:

    vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

    DMA     : 0xfbe00000 - 0xffe00000   (  64 MB)

    vmalloc : 0xd9800000 - 0xf2000000   ( 392 MB)

    lowmem  : 0xc0000000 - 0xd9000000   ( 400 MB)

    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

    modules : 0xbf000000 - 0xbfe00000   (  14 MB)

      .init : 0xc0008000 - 0xc0047000   ( 252 kB)

      .text : 0xc0047000 - 0xc0893e6c   (8500 kB)

      .data : 0xc0894000 - 0xc0911470   ( 502 kB)

       .bss : 0xc0911494 - 0xc0a98b40   (1566 kB)

Preemptible hierarchical RCU implementation.

NR_IRQS:624

MXC GPIO hardware

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

arm_max_freq=1GHz

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

bootconsole [ttymxc0] enabled

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

pid_max: default: 32768 minimum: 301

Security Framework initialized

SELinux:  Initializing.

Mount-cache hash table entries: 512

Initializing cgroup subsys debug

Initializing cgroup subsys cpuacct

Initializing cgroup subsys freezer

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 <--> 1300 mV at 700 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

ram_console: got buffer at 3ff00000, size 100000

ram_console: uncorrectable error in header

ram_console: no valid data in buffer (sig = 0x43404204)

console [ram-1] enabled

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 0x32070000, 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

vgaarb: loaded

SCSI subsystem initialized

libata version 3.00 loaded.

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 0-0008: ID: 0,Full lay: 2 ,Metal lay: 1

mc_pfuze 0-0008: FAB: 0 ,FIN: 0

print_constraints: PFUZE100_SW1A: 300 <--> 1875 mV at 1300 mV

print_constraints: PFUZE100_SW1B: 300 <--> 1875 mV at 300 mV

print_constraints: PFUZE100_SW1C: 300 <--> 1875 mV at 1300 mV

print_constraints: PFUZE100_SW2: 800 <--> 3950 mV at 3300 mV

print_constraints: PFUZE100_SW3A: 400 <--> 1975 mV at 1500 mV

print_constraints: PFUZE100_SW3B: 400 <--> 1975 mV at 1500 mV

print_constraints: PFUZE100_SW4: 800 <--> 3950 mV at 3150 mV

print_constraints: PFUZE100_SWBST: 5000 <--> 5150 mV at 5000 mV

print_constraints: PFUZE100_VSNVS: 1200 <--> 3000 mV at 1800 mV

print_constraints: PFUZE100_VREFDDR: at 750 mV

print_constraints: PFUZE100_VGEN1: 800 <--> 1550 mV at 1500 mV

print_constraints: PFUZE100_VGEN2: 800 <--> 1550 mV at 1500 mV

print_constraints: PFUZE100_VGEN3: 1800 <--> 3300 mV at 2500 mV

print_constraints: PFUZE100_VGEN4: 1800 <--> 3300 mV at 1800 mV

print_constraints: PFUZE100_VGEN5: 1800 <--> 3300 mV at 2800 mV

print_constraints: PFUZE100_VGEN6: 1800 <--> 3300 mV at 3300 mV

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.

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

Switching to clocksource mxc_timer1

NET: Registered protocol family 2

IP route cache hash table entries: 16384 (order: 4, 65536 bytes)

TCP established hash table entries: 65536 (order: 7, 524288 bytes)

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

TCP: Hash tables configured (established 65536 bind 65536)

TCP reno registered

UDP hash table entries: 256 (order: 1, 8192 bytes)

UDP-Lite hash table entries: 256 (order: 1, 8192 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.

PCI: CLS 0 bytes, default 32

PMU: registered new PMU device of type 0

Static Power Management for Freescale i.MX6

wait mode is disabled for i.MX6

cpaddr = d9880000 suspend_iram_base=d9928000

PM driver module loaded

iMX6 PCIe PCIe RC mode imx_pcie_pltfm_probe entering.

PCIE: imx_pcie_pltfm_probe start link up.

link up failed, DB_R0:0x00d35e00, DB_R1:0x08200000!

IMX PCIe port: link down with power supply 1!

IMX usb wakeup probe

the wakeup pdata is 0xd45f8a20

add wake up source irq 75

IMX usb wakeup probe

the wakeup pdata is 0xd45f87a0

cpu regulator mode:ldo_bypass

_regulator_get: get() with no identifier

mx6_cpu_regulator_init: failed to get pu regulator

i.MXC CPU frequency driver

audit: initializing netlink socket (disabled)

type=2000 audit(1.780:1): initialized

highmem bounce pool size: 64 pages

ashmem: initialized

NTFS driver 2.1.30 [Flags: R/O].

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

msgmni has been set to 741

SELinux:  Registering netfilter hooks

NET: Registered protocol family 38

cryptodev: driver loaded.

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver ldb

_regulator_get: get() with no identifier

mxc_sdc_fb mxc_sdc_fb.1: Can't get fb option for mxcfb1!

mxc_sdc_fb mxc_sdc_fb.2: Can't get fb option for mxcfb2!

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

ahci: SSS flag set, parallel bus scan disabled

ahci ahci.0: AHCI 0001.0300 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 apst

scsi0 : ahci_platform

ata1: SATA max UDMA/133 mmio [mem 0x02200000-0x02200fff] port 0x100 irq 71

m25p80 spi0.0: found m25p05-nonjedec, expected sst25vf016b

m25p80 spi0.0: m25p05-nonjedec (64 Kbytes)

Creating 2 MTD partitions on "m25p80":

0x000000000000-0x000000100000 : "bootloader"

mtd: partition "bootloader" extends beyond the end of device "m25p80" -- size truncated to 0x10000

0x000000010000-0x000000010000 : "kernel"

mtd: partition "kernel" is out of reach -- disabled

GPMI NAND driver registered. (IMX)

FEC Ethernet Driver

fec_enet_mii_bus: probed

PPP generic driver version 2.4.2

PPP Deflate Compression module registered

PPP BSD Compression module registered

PPP MPPE Compression module registered

NET: Registered protocol family 24

tun: Universal TUN/TAP device driver, 1.6

tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>

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

usbcore: registered new interface driver cdc_acm

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

usbcore: registered new interface driver usbserial

usbserial: USB Serial Driver core

USB Serial support registered for GSM modem (1-port)

usbcore: registered new interface driver option

option: v0.7.2:USB Driver for GSM modems

USB Serial support registered for Qualcomm USB modem

usbcore: registered new interface driver qcserial

ARC USBOTG Device Controller driver (1 August 2005)

android_usb gadget: Mass Storage Function, version: 2009/09/11

android_usb gadget: Number of LUNs=1

lun0: LUN: removable file: (no medium)

Gadget Android: controller 'fsl-usb2-udc' not recognized

android_usb gadget: android_usb ready

Suspend udc for OTG auto detect

USB Host suspend begins

will suspend roothub and its children

ehci_fsl_bus_suspend begins, DR

ehci_fsl_bus_suspend ends, DR

host suspend ends

USB Gadget resume begins

fsl_udc_resume, Wait for wakeup thread finishes

dr_controller_run: udc out low power mode

USB Gadget resume ends

fsl-usb2-udc: bind to driver android_usb

mousedev: PS/2 mouse device common for all mice

using rtc device, ds1338, for alarms

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

rtc-ds1307 0-0068: 56 bytes nvram

i2c /dev entries driver

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

device-mapper: uevent: version 1.0.3

device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com

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

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

VPU initialized

mxc_asrc registered

Galcore version 4.6.9.9754

Thermal calibration data is 0x5464bd69

Thermal sensor with ratio = 173

Anatop Thermal registered as thermal_zone0

anatop_thermal_probe: default cooling device is cpufreq!

Registered led device: chg_now_led

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

logger: created 256K log 'log_main'

logger: created 256K log 'log_events'

logger: created 256K log 'log_radio'

logger: created 256K log 'log_system'

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 imx-hdmi-soc-dai.0: Failed: Load HDMI-video first.

ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)

ata1.00: ATA-8: ADATA_ISM21-008GF, 120202M, max UDMA/133

ata1.00: 15649200 sectors, multi 16: LBA NCQ (depth 31/32)

ata1.00: configured for UDMA/133

scsi 0:0:0:0: Direct-Access     ATA      ADATA_ISM21-008G 1202 PQ: 0 ANSI: 5

sd 0:0:0:0: [sda] 15649200 512-byte logical blocks: (8.01 GB/7.46 GiB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00

sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

sda: sda1 sda2 sda3 < sda5 sda6 sda7 sda8 > sda4

sd 0:0:0:0: [sda] Attached SCSI disk

wm8962 0-001a: Device is not a WM8962, ID 0 != 6243

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

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

imx_3stack asoc driver

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

ALSA device list:

  No soundcards found.

oprofile: using arm/armv7-ca9

u32 classifier

    Actions configured

Netfilter messages via NETLINK v0.30.

nf_conntrack version 0.5.0 (12829 buckets, 51316 max)

ctnetlink v0.93: registering with nfnetlink.

NF_TPROXY: Transparent proxy support initialized, version 4.1.0

NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.

xt_time: kernel timezone is -0000

ip_tables: (C) 2000-2006 Netfilter Core Team

arp_tables: (C) 2002 David S. Miller

TCP cubic registered

Initializing XFRM netlink socket

NET: Registered protocol family 10

Mobile IPv6

ip6_tables: (C) 2000-2006 Netfilter Core Team

NET: Registered protocol family 17

NET: Registered protocol family 15

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

lib80211_crypt: registered algorithm 'NULL'

lib80211_crypt: registered algorithm 'WEP'

lib80211_crypt: registered algorithm 'CCMP'

lib80211_crypt: registered algorithm 'TKIP'

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

regulator_init_complete: PFUZE100_VGEN3: incomplete constraints, leaving on

regulator_init_complete: PFUZE100_VGEN2: incomplete constraints, leaving on

regulator_init_complete: PFUZE100_VGEN1: incomplete constraints, leaving on

regulator_init_complete: vmmc: incomplete constraints, leaving on

rtc-ds1307 0-0068: setting system clock to 2066-01-02 00:06:15 UTC (3029616375)

eth0: Freescale FEC PHY driver [Marvell 88E1111] (mii_bus:phy_addr=1:01, irq=-1)

ADDRCONF(NETDEV_UP): eth0: link is not ready

USB Gadget resume begins

fsl_udc_resume, Wait for wakeup thread finishes

ehci_fsl_bus_suspend begins, Host 1

ehci_fsl_bus_suspend ends, Host 1

PHY: 1:01 - Link is Up - 1000/Full

ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

Sending DHCP requests ., OK

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

IP-Config: Complete:

     device=eth0, addr=192.168.9.91, mask=255.255.254.0, gw=192.168.8.1,

     host=192.168.9.91, domain=vedev.net, nis-domain=(none),

     bootserver=0.0.0.0, rootserver=192.168.8.47, rootpath=

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

Freeing init memory: 252K

healthd: wakealarm_init: timerfd_create failed

healthd: No charger supplies found

healthd: BatteryStatusPath not found

healthd: BatteryHealthPath not found

healthd: BatteryPresentPath not found

healthd: BatteryCapacityPath not found

healthd: BatteryVoltagePath not found

init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'

healthd: BatteryTemperaturePath not found

healthd: BatteryTechnologyPath not found

binder: 2132:2132 transaction failed 29189, size 0-0

init: using deprecated syntax for specifying property 'ro.serialno', use ${name} instead

init: property 'ro.serialno' doesn't exist while expanding '$ro.serialno'

init: cannot expand '$ro.serialno' while writing to '/sys/class/android_usb/android0/iSerial'

init: using deprecated syntax for specifying property 'ro.product.manufacturer', use ${name} instead

init: using deprecated syntax for specifying property 'ro.product.model', use ${name} instead

root@sabresd_6dq:/ # init: property 'sys.powerctl' doesn't exist while expanding '${sys.powerctl}'

init: powerctl: cannot expand '${sys.powerctl}'

init: property 'sys.sysctl.extra_free_kbytes' doesn't exist while expanding '${sys.sysctl.extra_free_kbytes}'

init: cannot expand '${sys.sysctl.extra_free_kbytes}' while writing to '/proc/sys/vm/extra_free_kbytes'

android_usb: already disabled

mtp_bind_config

SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs

warning: `zygote' uses 32-bit capabilities (legacy support in use)

request_suspend_state: wakeup (3->0) at 26378021672 (1970-01-02 00:00:03.646310667 UTC)

acc_open

acc_release

ehci_fsl_bus_resume begins, Host 1

ehci_fsl_bus_resume ends, Host 1

ehci_fsl_bus_resume begins, DR

ehci_fsl_bus_suspend begins, Host 1

ehci_fsl_bus_suspend ends, Host 1

init: sys_prop: permission denied uid:1003  name:service.bootanim.exit

request_suspend_state: sleep (0->3) at 43134853008 (1970-01-02 00:00:20.403139003 UTC)

PM: Syncing filesystems ... done.

PM: Preparing system for mem sleep

suspend: start 1 suspend...

suspend: finish 1 suspend after:0.2655666 seconds...

Freezing user space processes ... (elapsed 0.01 seconds) done.

Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.

PM: Entering mem sleep

sd 0:0:0:0: [sda] Synchronizing SCSI cache

sd 0:0:0:0: [sda] Stopping disk

USB Host suspend begins

ehci_fsl_drv_suspend, pm event

host suspend ends

udc suspend begins

USB Gadget suspend ends

USB Host suspend begins

ehci_fsl_drv_suspend, pm event

host suspend ends

PM: suspend of devices complete after 37.009 msecs

PM: late suspend of devices complete after 0.659 msecs

Disabling non-boot CPUs ...

CPU1: shutdown

CPU2: shutdown

CPU3: shutdown

 

Regards,

Yanjun Luo.

Outcomes