jiang shao

关于lollipop的kernel问题

Discussion created by jiang shao on Aug 20, 2015
Latest reply on Aug 25, 2015 by Biyong Sun

尊敬的飞思卡尔的FAE们

 

我有一块MX6-SabreSD(Freescale i.MX6DL)的开发板(非原装板)。

编译lollipop后,用Mfgtools(Rel_4.1.0)烧写,顺利完成。

(因为从u-boot.bin变成了u-boot.imx,所以修改了ucl2.xml,如下

<CMD state="Updater" type="push" body="send" file="files/android/u-boot-6dl.imx">Sending U-Boot</CMD>

<CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mmcblk0 bs=512 seek=2">write U-Boot to sd card</CMD>

其余的都和4.2.2时的一致)

 

但是输出如下log后就停止了

有哪位知道为什么吗?

 

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

U-Boot 2014.04-08648-g9d7bf9b (Jun 15 2015 - 16:20:48)

 

 

CPU:   Freescale i.MX6DL rev1.1 at 792 MHz

CPU:   Temperature 30 C, calibration data: 0x59350a5f

Reset cause: POR

Board: MX6-SabreSD

I2C:   ready

DRAM:  1 GiB

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

*** Warning - bad CRC, using default environment

 

 

No panel detected: default to Hannstar-XGA

Display: Hannstar-XGA (1024x768)

In:    serial

Out:   serial

Err:   serial

check_and_clean: reg 0, flag_set 0

Fastboot: Normal

flash target is MMC:2

Net:   FEC [PRIME]

Warning: failed to set MAC address

 

 

Normal Boot

Hit any key to stop autoboot:  1  0

booti mmc2

kernel   @ 14008000 (6819464)

ramdisk  @ 15000000 (726574)

fdt      @ 14f00000 (51820)

kernel cmdline:

  use boot.img command line:

  console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=400M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M androidboot.serialno=080861d4df644f54

Read SW1AB error!

   Using Device Tree in place at 14f00000, end 14f0fa6b

 

 

Starting kernel ...

 

 

Booting Linux on physical CPU 0x0

Initializing cgroup subsys cpu

Initializing cgroup subsys cpuacct

Linux version 3.10.53-88204-g4f0dd92 (linmao@linmao-VirtualBox) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #3 SMP PREEMPT Tue Jun 16 11:57:16 CST 2015

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

CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

Machine: Freescale i.MX6 Quad/DualLite (Device Tree), model: Freescale i.MX6 DualLite SABRE Smart Device Board(PFUZE100)

cma: CMA: reserved 384 MiB at 32000000

Memory policy: ECC disabled, Data cache writealloc

PERCPU: Embedded 8 pages/cpu @81804000 s9728 r8192 d14848 u32768

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

Kernel command line: console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=400M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M androidboot.serialno=080861d4df644f54

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: 959MB 64MB = 1023MB total

Memory: 627336k/627336k available, 421240k reserved, 0K highmem

Virtual kernel memory layout:

    vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

    vmalloc : 0xc0800000 - 0xff000000   (1000 MB)

    lowmem  : 0x80000000 - 0xc0000000   (1024 MB)

    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)

    modules : 0x7f000000 - 0x7fe00000   (  14 MB)

      .text : 0x80008000 - 0x80e7a48c   (14794 kB)

      .init : 0x80e7b000 - 0x80ed0600   ( 342 kB)

      .data : 0x80ed2000 - 0x80f56000   ( 528 kB)

       .bss : 0x80f56000 - 0x80feacf8   ( 596 kB)

SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1

Preemptible hierarchical RCU implementation.

  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.

NR_IRQS:16 nr_irqs:16 16

L310 cache controller enabled

l2x0: 16 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x32050000, Cache size: 524288 B

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

CPU identified as i.MX6DL, silicon rev 1.1

Console: colour dummy device 80x30

Calibrating delay loop... 789.70 BogoMIPS (lpj=3948544)

pid_max: default: 32768 minimum: 301

Security Framework initialized

SELinux:  Initializing.

Mount-cache hash table entries: 512

Initializing cgroup subsys debug

Initializing cgroup subsys freezer

CPU: Testing write buffer coherency: ok

CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

Setting up static identity map for 0x807e23e8 - 0x807e2440

CPU1: Booted secondary processor

CPU1: thread -1, cpu 1, socket 0, mpidr 80000001

Brought up 2 CPUs

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

CPU: All CPU(s) started in SVC mode.

devtmpfs: initialized

pinctrl core: initialized pinctrl subsystem

regulator-dummy: no parameters

NET: Registered protocol family 16

DMA: preallocated 256 KiB pool for atomic coherent allocations

Use WDOG2 as reset source

syscon 20c8000.anatop: regmap [mem 0x020c8000-0x020c8fff] registered

vdd1p1: 800 <--> 1375 mV at 1100 mV

vdd3p0: 2625 <--> 3400 mV at 3000 mV

vdd2p5: 2000 <--> 2750 mV at 2400 mV

cpu: 725 <--> 1450 mV at 1150 mV

vddpu: 725 <--> 1450 mV

vddsoc: 725 <--> 1450 mV at 1175 mV

syscon 20e0000.iomuxc-gpr: regmap [mem 0x020e0000-0x020e0037] registered

syscon 21bc000.ocotp-ctrl: regmap [mem 0x021bc000-0x021bffff] registered

!!request miniPCIE Power On gpio

hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.

hw-breakpoint: maximum watchpoint size is 4 bytes.

imx6dl-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver

bio: create slab <bio-0> at 0

mxs-dma 110000.dma-apbh: initialized

usb_otg_vbus: 5000 mV

usb_h1_vbus: 5000 mV

wm8962-supply: no parameters

mipi_dsi_pwr_on: no parameters

sensor-supply: 3300 mV

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

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

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

i2c i2c-0: IMX I2C adapter registered

i2c i2c-1: IMX I2C adapter registered

i2c i2c-2: Max17135 PMIC not found!

i2c i2c-2: IMX I2C adapter registered

Linux video capture interface: v2.00

pps_core: LinuxPPS API ver. 1 registered

pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

PTP clock support registered

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

mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 driver probed

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

MIPI CSI2 driver module loaded

Advanced Linux Sound Architecture Driver Initialized.

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

pureg-dummy: no parameters

Switching to clocksource mxc_timer1

NET: Registered protocol family 2

TCP established hash table entries: 8192 (order: 4, 65536 bytes)

TCP bind hash table entries: 8192 (order: 4, 65536 bytes)

TCP: Hash tables configured (established 8192 bind 8192)

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.

Trying to unpack rootfs image as initramfs...

Freeing initrd memory: 708K (85000000 - 850b1000)

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

Bus freq driver module loaded

bt power gpio is:2

mxc_bt_rfkill driver success loaded

rfkill: BT RF going to : on

mxc_bt_rfkill_reset

mxc_ir consumer_ir.39: unable to request PWM.

platform consumer_ir.39: Driver mxc_ir requests probe deferral

console [pstore-1] enabled

ramoops: attached 0x100000@0x4bf00000, ecc: 0/0

mxc_ramoops device success loaded

futex hash table entries: 512 (order: 3, 32768 bytes)

audit: initializing netlink socket (disabled)

type=2000 audit(0.500:1): initialized

VFS: Disk quotas dquot_6.5.2

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

NFS: Registering the id_resolver key type

Key type id_resolver registered

Key type id_legacy registered

NTFS driver 2.1.30 [Flags: R/W DEBUG].

jffs2: version 2.2. (NAND) c 2001-2006 Red Hat, Inc.

fuse init (API version 7.22)

msgmni has been set to 1994

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

imx-weim 21b8000.weim: WEIM driver registered.

mxc_mipi_dsi 21e0000.mipi: i.MX MIPI DSI driver probed

MIPI DSI driver module loaded

imx6dl-pinctrl 20e0000.iomuxc: pin MX6DL_PAD_DISP0_DAT9 already requested by 2084000.pwm; cannot claim for lcd.32

imx6dl-pinctrl 20e0000.iomuxc: pin-67 (lcd.32) status -22

imx6dl-pinctrl 20e0000.iomuxc: could not request pin 67 on device 20e0000.iomuxc

mxc_lcdif lcd.32: Error applying setting, reverse things back

imx6dl-pinctrl 20e0000.iomuxc: pin MX6DL_PAD_DISP0_DAT9 already requested by 2084000.pwm; cannot claim for lcd.32

imx6dl-pinctrl 20e0000.iomuxc: pin-67 (lcd.32) status -22

imx6dl-pinctrl 20e0000.iomuxc: could not request pin 67 on device 20e0000.iomuxc

mxc_lcdif lcd.32: Error applying setting, reverse things back

mxc_lcdif lcd.32: can't get/select pinctrl

mxc_lcdif: probe of lcd.32 failed with error -22

mxc_sdc_fb fb.30: registered mxc display driver ldb

imx-ipuv3 2400000.ipu: 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 fb.31: Can't get fb option for mxcfb1!

imx_epdc_fb 20f4000.epdc: Unable to get display PMIC regulator.err = 0xfffffdfb

imx-sdma 20ec000.sdma: no iram assigned, using external mem

imx-sdma 20ec000.sdma: loaded firmware 1.1

imx-sdma 20ec000.sdma: initialized

pfuze100-regulator 1-0008: unrecognized pfuze chip ID!

pfuze100-regulator: probe of 1-0008 failed with error -5

Serial: IMX driver

2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX

console [ttymxc0] enabled

21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 60) is a IMX

21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 62) is a IMX

serial: Freescale lpuart driver

imx sema4 driver is registered.

[drm] Initialized drm 1.1.0 20060810

[drm] Initialized vivante 1.0.0 20120216 on minor 0

brd: module loaded

loop: module loaded

imx6dl-pinctrl 20e0000.iomuxc: pin MX6DL_PAD_KEY_COL1 already requested by 21f4000.serial; cannot claim for 2008000.ecspi

imx6dl-pinctrl 20e0000.iomuxc: pin-146 (2008000.ecspi) status -22

imx6dl-pinctrl 20e0000.iomuxc: could not request pin 146 on device 20e0000.iomuxc

spi_imx 2008000.ecspi: Error applying setting, reverse things back

of_dma_request_slave_channel: dma-names property missing or empty

spi_imx 2008000.ecspi: cannot get the TX DMA channel!

spi_imx 2008000.ecspi: dma setup error,use pio instead

m25p80 spi32766.0: found mr25h256, expected m25p32

m25p80 spi32766.0: mr25h256 (32 Kbytes)

spi_imx 2008000.ecspi: probed

tun: Universal TUN/TAP device driver, 1.6

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

CAN device driver interface

fec 2188000.ethernet (unregistered net_device): Invalid MAC address: 00:00:00:00:00:00

fec 2188000.ethernet (unregistered net_device): Using random MAC address: be:da:a2:30:39:3e

libphy: fec_enet_mii_bus: probed

fec 2188000.ethernet eth0: registered PHC device 0

PPP generic driver version 2.4.2

PPP BSD Compression module registered

PPP Deflate Compression module registered

PPP MPPE Compression module registered

NET: Registered protocol family 24

usbcore: registered new interface driver asix

usbcore: registered new interface driver ax88179_178a

usbcore: registered new interface driver cdc_ether

usbcore: registered new interface driver net1080

usbcore: registered new interface driver cdc_subset

usbcore: registered new interface driver zaurus

usbcore: registered new interface driver cdc_ncm

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

usbcore: registered new interface driver cdc_acm

cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

usbcore: registered new interface driver usb-storage

usbcore: registered new interface driver usbserial

usbcore: registered new interface driver option

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

ci_hdrc ci_hdrc.1: doesn't support gadget

ci_hdrc ci_hdrc.1: EHCI Host Controller

ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1

ci_hdrc ci_hdrc.1: 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: EHCI Host Controller

usb usb1: Manufacturer: Linux 3.10.53-88204-g4f0dd92 ehci_hcd

usb usb1: SerialNumber: ci_hdrc.1

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

mousedev: PS/2 mouse device common for all mice

usbcore: registered new interface driver xpad

usbcore: registered new interface driver usb_acecad

usbcore: registered new interface driver aiptek

usbcore: registered new interface driver gtco

usbcore: registered new interface driver hanwang

usbcore: registered new interface driver kbtab

usbcore: registered new interface driver wacom

elan-touch 2-0010: elan - Read Hello Packet Failed

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

egalax_ts 1-0004: Failed to read firmware version

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

egalax_ts 2-0004: Failed to read firmware version

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

input: max11801_ts as /devices/soc0/soc.1/2100000.aips-bus/21a4000.i2c/i2c-1/1-0048/input/input0

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

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

snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0

i2c /dev entries driver

ov5640 0-003c: cannot get io voltage

ov5640 0-003c: cannot get core voltage

ov5640 0-003c: cannot get analog voltage

usb 1-1: new high-speed USB device number 2 using ci_hdrc

ov5640_read_reg:write reg error:reg=300a

camera ov5640 is not found

ov5642_power_on: cannot get io voltage error

ov5642_power_on: cannot get core voltage error

ov5642_power_on: cannot get analog voltage error

usb 1-1: New USB device found, idVendor=0424, idProduct=2514

usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0

hub 1-1:1.0: USB hub found

hub 1-1:1.0: 4 ports detected

ov5642_read_reg:write reg error:reg=300a

camera ov5642 is not found

ov5640_power_on: cannot get io voltage error

ov5640_power_on: cannot get core voltage error

ov5640_power_on: cannot get analog voltage error

ov5640_read_reg:write reg error:reg=300a

camera ov5640_mipi is not found

mxc_v4l2_output v4l2_out.36: V4L2 device registered as video16

mxc_v4l2_output v4l2_out.36: V4L2 device registered as video17

usbcore: registered new interface driver uvcvideo

USB Video Class driver (1.1.1)

gspca_main: v2.14.0 registered

max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails

max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails

max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails

max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails

max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails

max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails

max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails

max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails

max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails

max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails

max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails

max11801_ts 1-0048: FIFO_RD_AUX_MSB read fails

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

mma8x5x 0-001c: read chip ID 0xfffffffb is not equal to 0x1a,0x2a,0x3a,0x4a,0x5a!

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

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

device-mapper: uevent: version 1.0.3

device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com

Bluetooth: Virtual HCI driver ver 1.3

Bluetooth: HCI UART driver ver 2.2

Bluetooth: HCIATH3K protocol initialized

usbcore: registered new interface driver btusb

cpuidle: using governor ladder

cpuidle: using governor menu

sdhci: Secure Digital Host Controller Interface driver

sdhci: Copyright(c) Pierre Ossman

sdhci-pltfm: SDHCI platform and OF driver helper

mmc1: no vqmmc regulator found

mmc1: no vmmc regulator found

mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA

mmc2: no vqmmc regulator found

mmc2: no vmmc regulator found

mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA

mmc3: no vqmmc regulator found

mmc3: no vmmc regulator found

mmc3: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA

galcore: clk_get vg clock failed, disable vg!

Galcore version 5.0.11.25762

Outcomes