imx6qp sabresd adb无法使用

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

imx6qp sabresd adb无法使用

1,698 Views
wangxizhi
Contributor I

开发板 sabresd

cpu     imx6qp

kernel  linux4.1.15

android 6.0

mic usb口连接鼠标OK。连接电脑无反,adb功能需要如何配置?

Labels (1)
Tags (1)
0 Kudos
2 Replies

746 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi,

You can refer to

All Board Android ADB 

Using ADB with your Sabre Board 

How configure and use acm and adb
Have a great day,
Rita

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

0 Kudos

746 Views
wangxizhi
Contributor I

Dear Rita:

Thank you for your answer

Boot log as follows

U-Boot 2015.04 (Aug 24 2017 - 17:03:56)

CPU: Freescale i.MX6QP rev1.0 at 792 MHz
CPU: Temperature 39 C
Reset cause: POR
Board: MX6-SabreSD
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE100 ID=0x10
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
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]
Normal Boot
Hit any key to stop autoboot: 0
boota mmc2
kernel @ 14008000 (6842664)
ramdisk @ 15000000 (1034289)
fdt @ 14f00000 (47155)
## Booting Android Image at 0x12000000 ...
Kernel load addr 0x14008000 size 6683 KiB
Kernel command line: console=ttymxc0,115200 androidboot.console=ttymxc0 consoleblank=0 vmalloc=128M init=/init video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off androidboot.hardware=freescale cma=448M androidboot.selinux=permissive androidboot.dm_verity=disabled
## Flattened Device Tree blob at 14f00000
Booting using the fdt blob at 0x14f00000
Loading Kernel Image ... OK
Using Device Tree in place at 14f00000, end 14f0e832
switch to ldo_bypass mode!

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.1.15 (wangwu@software22-desktop) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #13 SMP PREEMPT Mon Sep 11 10:55:00 CST 2017
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Freescale i.MX6 Quad Plus SABRE Smart Device Board
Reserved memory: created CMA memory pool at 0x3c000000, size 320 MiB
Reserved memory: initialized node linux,cma, compatible id shared-dma-pool
Memory policy: Data cache writealloc
PERCPU: Embedded 12 pages/cpu @ab604000 s17024 r8192 d23936 u49152
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 259840
Kernel command line: console=ttymxc0,115200 androidboot.console=ttymxc0 consoleblank=0 vmalloc=128M init=/init video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off androidboot.hardware=freescale cma=448M androidboot.selinux=permissive androidboot.dm_verity=disabled androidboot.serialno=1b1709d4e3167abb
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: 695804K/1048576K available (8676K kernel code, 441K rwdata, 2928K rodata, 432K init, 528K bss, 25092K reserved, 327680K cma-reserved, 0K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xc0800000 - 0xff000000 (1000 MB)
lowmem : 0x80000000 - 0xc0000000 (1024 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
.text : 0x80008000 - 0x80b5d5ec (11606 kB)
.init : 0x80b5e000 - 0x80bca000 ( 432 kB)
.data : 0x80bca000 - 0x80c38620 ( 442 kB)
.bss : 0x80c38620 - 0x80cbc8dc ( 529 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Preemptible hierarchical RCU implementation.
Additional per-CPU info printed with stalls.
NR_IRQS:16 nr_irqs:16 16
L2C-310 erratum 769419 enabled
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 ID prefetch enabled, offset 16 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 16 ways, 1024 kB
L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76070001
mxc_clocksource_init 3000000
Switching to timer-based delay loop, resolution 333ns
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
Initializing cgroup subsys memory
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x10008280 - 0x100082d8
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
Brought up 4 CPUs
SMP: Total of 4 processors activated (24.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
CPU identified as i.MX6QP, silicon rev 1.0
anatop_regulator 20c8000.anatop:regulator-vddcore@140: Failed to read a valid default voltage selector.
anatop_regulator: probe of 20c8000.anatop:regulator-vddcore@140 failed with error -22
anatop_regulator 20c8000.anatop:regulator-vddsoc@140: Failed to read a valid default voltage selector.
anatop_regulator: probe of 20c8000.anatop:regulator-vddsoc@140 failed with error -22
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
VDSO is not a valid ELF object!
imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
mxs-dma 110000.dma-apbh: initialized
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
2000000.aips-bus:usbphy_nop1 supply vcc not found, using dummy regulator
2000000.aips-bus:usbphy_nop2 supply vcc not found, using dummy regulator
i2c i2c-0: IMX I2C adapter registered
i2c i2c-0: can't use DMA
i2c i2c-1: IMX I2C adapter registered
i2c i2c-1: can't use DMA
i2c i2c-2: IMX I2C adapter registered
i2c i2c-2: can't use DMA
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)
imx-ipuv3 2800000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
imx-prg 21cc000.prg: driver probed
imx-prg 21cd000.prg: driver probed
imx-pre 21c8000.pre: driver probed
imx-pre 21c9000.pre: driver probed
imx-pre 21ca000.pre: driver probed
imx-pre 21cb000.pre: driver probed
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.20
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
Switched to clocksource mxc_timer1
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
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: 1012K (85000000 - 850fd000)
CPU PMU: Failed to parse /soc/pmu/interrupt-affinity[0]
hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
imx rpmsg driver is registered.
Bus freq driver module loaded
futex hash table entries: 1024 (order: 4, 65536 bytes)
VFS: Disk quotas dquot_6.6.0
VFS: 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
jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
fuse init (API version 7.23)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
imx-weim 21b8000.weim: Driver registered.
backlight supply power not found, using dummy regulator
mxc_mipi_dsi 21e0000.mipi: i.MX MIPI DSI driver probed
MIPI DSI driver module loaded
MIPI DSI driver module loaded
mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0xa:0xa0:0xc1
fbcvt: 1920x1080@60: CVT Name - 2.073M9
mxc_sdc_fb fb@0: registered mxc display driver hdmi
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 240x67
mxc_sdc_fb fb@1: Can't get fb option for mxcfb1!
mxc_sdc_fb fb@2: Can't get fb option for mxcfb2!
mxc_sdc_fb fb@3: Can't get fb option for mxcfb3!
imx-sdma 20ec000.sdma: no iram assigned, using external mem
imx-sdma 20ec000.sdma: no event needs to be remapped
imx-sdma 20ec000.sdma: loaded firmware 3.3
imx-sdma 20ec000.sdma: initialized
pfuze100-regulator 1-0008: Full layer: 2, Metal layer: 1
pfuze100-regulator 1-0008: FAB: 0, FIN: 0
pfuze100-regulator 1-0008: pfuze100 found.
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 25, base_baud = 5000000) is a IMX
console [ttymxc0] enabled
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
zram: Created 1 device(s)
ahci-imx 2200000.sata: fsl,transmit-level-mV not specified, using 00000024
ahci-imx 2200000.sata: fsl,transmit-boost-mdB not specified, using 00000480
ahci-imx 2200000.sata: fsl,transmit-atten-16ths not specified, using 00002000
ahci-imx 2200000.sata: fsl,receive-eq-mdB not specified, using 05000000
ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled
ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst
scsi host0: ahci-imx
ata1: SATA max UDMA/133 mmio [mem 0x02200000-0x02203fff] port 0x100 irq 313
m25p80 spi0.0: unrecognized JEDEC id bytes: 00, 0, 0
spi_imx 2008000.ecspi: probed
CAN device driver interface
2188000.ethernet supply phy not found, using dummy regulator
pps pps0: new PPS source ptp0
libphy: fec_enet_mii_bus: probed
fec 2188000.ethernet eth0: registered PHC device 0
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-mxc: Freescale On-Chip EHCI Host driver
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usb_ehset_test
2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
usb_otg_vbus: supplied by SWBST
usb_h1_vbus: supplied by SWBST
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
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
file system registered
mousedev: PS/2 mouse device common for all mice
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 -11
input: max11801_ts as /devices/soc0/soc/2100000.aips-bus/21a4000.i2c/i2c-1/1-0048/input/input2
snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
mxc_v4l2_output v4l2_out: V4L2 device registered as video16
mxc_v4l2_output v4l2_out: V4L2 device registered as video17
mag3110 2-000e: check mag3110 chip ID
input: mag3110 as /devices/virtual/input/input3
mag3110 2-000e: mag3110 is probed
input: mma845x as /devices/virtual/input/input4
imx2-wdt 20c0000.wdog: use WDOG_B to reboot.
imx2-wdt 20c0000.wdog: timeout 60 sec (nowayout=0)
Bluetooth: HCI UART driver ver 2.3
Bluetooth: HCI UART protocol H4 registered
Bluetooth: HCI UART protocol BCSP registered
Bluetooth: HCI UART protocol ATH3K registered
usbcore: registered new interface driver bcm203x
usbcore: registered new interface driver btusb
usbcore: registered new interface driver ath3k
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
/soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified
sdhci-esdhc-imx 2194000.usdhc: Got CD GPIO
sdhci-esdhc-imx 2194000.usdhc: Got WP GPIO
sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found
sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found
mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
/soc/aips-bus@02100000/usdhc@02198000: voltage-ranges unspecified
sdhci-esdhc-imx 2198000.usdhc: Got CD GPIO
sdhci-esdhc-imx 2198000.usdhc: Got WP GPIO
sdhci-esdhc-imx 2198000.usdhc: No vmmc regulator found
sdhci-esdhc-imx 2198000.usdhc: No vqmmc regulator found
mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
/soc/aips-bus@02100000/usdhc@0219c000: voltage-ranges unspecified
sdhci-esdhc-imx 219c000.usdhc: No vmmc regulator found
sdhci-esdhc-imx 219c000.usdhc: No vqmmc regulator found
mmc3: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA
mxc_vpu 2040000.vpu_fsl: VPU initialized
mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
mxc_hdmi_cec soc:hdmi_cec@00120000: HDMI CEC initialized
Galcore version 5.0.11.41671
ata1: SATA link down (SStatus 0 SControl 300)
ahci-imx 2200000.sata: no device found, disabling link.
ahci-imx 2200000.sata: pass ahci_imx..hotplug=1 to enable hotplug
mmc3: MAN_BKOPS_EN bit is not set
mmc3: new DDR MMC card at address 0001
mmcblk3: mmc3:0001 P1XXXX 7.20 GiB
mmcblk3boot0: mmc3:0001 P1XXXX partition 1 2.00 MiB
mmcblk3boot1: mmc3:0001 P1XXXX partition 2 2.00 MiB
mmcblk3rpmb: mmc3:0001 P1XXXX partition 3 128 KiB
mmcblk3: p1 p2 p3 < p5 p6 p7 > p4
caam 2100000.caam: Entropy delay = 3200
caam 2100000.caam: Instantiated RNG4 SH0
caam 2100000.caam: Instantiated RNG4 SH1
caam 2100000.caam: device ID = 0x0a16010000000000 (Era -524)
caam 2100000.caam: job rings = 2, qi = 0
caam algorithms registered in /proc/crypto
caam_jr 2101000.jr0: registering rng-caam
platform caam_sm: blkkey_ex: 4 keystore units available
platform caam_sm: 64-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: 64-bit black key:
platform caam_sm: [0000] 71 d6 07 e1 32 b7 c0 13
platform caam_sm: [0008] 98 69 43 90 2b 5b 10 c1
platform caam_sm: 128-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: 128-bit black key:
platform caam_sm: [0000] 21 24 02 17 44 43 b6 18
platform caam_sm: [0008] 87 b1 95 9c fe 21 31 29
platform caam_sm: 192-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: [0016] 10 11 12 13 14 15 16 17
platform caam_sm: 192-bit black key:
platform caam_sm: [0000] 08 07 00 00 dc ec b7 b6
platform caam_sm: [0008] b2 54 49 68 61 92 19 c2
platform caam_sm: [0016] 55 b8 81 02 76 30 95 c0
platform caam_sm: [0024] 7e 76 4b 81 fe 17 52 89
platform caam_sm: 256-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: [0016] 10 11 12 13 14 15 16 17
platform caam_sm: [0024] 18 19 1a 1b 1c 1d 1e 1f
platform caam_sm: 256-bit black key:
platform caam_sm: [0000] 5b 15 c7 4b 57 2d f1 6f
platform caam_sm: [0008] 6a d2 59 3e 53 58 c3 e9
platform caam_sm: [0016] 63 98 25 36 74 03 b2 38
platform caam_sm: [0024] 84 2b 12 ff 01 d5 5e a5
platform caam_sm: 64-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 128-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 196-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 256-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 64-bit black key in blob:
platform caam_sm: [0000] db aa f4 d2 cf fb e0 25
platform caam_sm: [0008] 5f 59 7a 31 f4 f9 07 4e
platform caam_sm: [0016] f3 08 d4 eb 7a 86 94 93
platform caam_sm: [0024] 73 58 f4 f0 82 77 06 7f
platform caam_sm: [0032] 5c e4 a0 49 65 56 24 39
platform caam_sm: [0040] 23 1b 94 1c 4a d0 d8 bc
platform caam_sm: [0048] 68 97 f9 c8 cb 01 e9 66
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 128-bit black key in blob:
platform caam_sm: [0000] 47 b1 cd 99 56 66 30 14
platform caam_sm: [0008] 44 1b 02 d0 0b 4e 92 1a
platform caam_sm: [0016] 1e dc 71 0f f7 52 23 0d
platform caam_sm: [0024] 8d 9e 26 e8 73 27 3e c5
platform caam_sm: [0032] 2b 16 22 49 f8 f4 2d 24
platform caam_sm: [0040] 5a 56 98 e6 fd fd 06 b0
platform caam_sm: [0048] 82 9b c0 f5 ca bf 04 aa
platform caam_sm: [0056] 79 9c 79 d8 dc 7e 52 47
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 192-bit black key in blob:
platform caam_sm: [0000] 07 74 a5 d1 70 0e c1 8c
platform caam_sm: [0008] dc 43 1e 4c 54 e1 e2 9c
platform caam_sm: [0016] d2 6f 59 e8 fb 34 7d f2
platform caam_sm: [0024] 74 15 e4 18 8d 01 66 e5
platform caam_sm: [0032] 68 2e cf 82 55 86 7d 88
platform caam_sm: [0040] 49 e3 97 6d 39 ee c7 c6
platform caam_sm: [0048] ae b0 ec e1 58 65 49 89
platform caam_sm: [0056] 82 93 7f ae ea 50 7a 5c
platform caam_sm: [0064] 65 09 af aa fa c4 03 9f
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 256-bit black key in blob:
platform caam_sm: [0000] ea ba e9 eb 30 ad b3 4c
platform caam_sm: [0008] 48 78 18 bc 30 be 1b 5c
platform caam_sm: [0016] fb 3c 22 60 a6 32 b1 a6
platform caam_sm: [0024] 2d a7 a7 10 bd 93 64 f6
platform caam_sm: [0032] 02 5e f2 58 ff c7 82 95
platform caam_sm: [0040] df f1 55 2f 73 e3 54 09
platform caam_sm: [0048] 4a 4f cd f8 bf 50 e4 4f
platform caam_sm: [0056] a2 1d ea 3f 98 ed ea 3b
platform caam_sm: [0064] 35 83 2b 4c fe 5e eb 9f
platform caam_sm: [0072] 0f bf 8f ca 3b aa 62 6f
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: restored 64-bit black key:
platform caam_sm: [0000] ab 30 e6 aa b0 2f f9 a4
platform caam_sm: [0008] 01 88 61 81 c0 71 b1 f7
platform caam_sm: restored 128-bit black key:
platform caam_sm: [0000] 21 24 02 17 44 43 b6 18
platform caam_sm: [0008] 87 b1 95 9c fe 21 31 29
platform caam_sm: restored 192-bit black key:
platform caam_sm: [0000] 08 07 00 00 dc ec b7 b6
platform caam_sm: [0008] b2 54 49 68 61 92 19 c2
platform caam_sm: [0016] c7 e6 d2 d3 d9 8f fb 48
platform caam_sm: [0024] 8c b7 d0 e8 6c b9 8d 50
platform caam_sm: restored 256-bit black key:
platform caam_sm: [0000] 5b 15 c7 4b 57 2d f1 6f
platform caam_sm: [0008] 6a d2 59 3e 53 58 c3 e9
platform caam_sm: [0016] 63 98 25 36 74 03 b2 38
platform caam_sm: [0024] 84 2b 12 ff 01 d5 5e a5
snvs-secvio 20cc000.caam-snvs: can't get snvs clock
snvs-secvio 20cc000.caam-snvs: violation handlers armed - non-secure state
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
ashmem: initialized
wm8962 0-001a: customer id 0 revision D
fsl-asrc 2034000.asrc: driver registered
input: WM8962 Beep Generator as /devices/soc0/soc/2100000.aips-bus/21a0000.i2c/i2c-0/0-001a/input/input5
imx-wm8962 sound: wm8962 <-> 202c000.ssi mapping ok
imx-wm8962 sound: snd-soc-dummy-dai <-> 2034000.asrc mapping ok
imx-wm8962 sound: wm8962 <-> 202c000.ssi mapping ok
imx-audio-hdmi sound-hdmi: hdmi-hifi <-> soc:hdmi_audio@00120000 mapping ok
NET: Registered protocol family 26
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
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: BNEP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
dhd_module_init in
input: gpio-keys as /devices/soc0/gpio-keys/input/input8
snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 01:25:26 UTC (5126)
VGEN3: disabling
VGEN2: disabling
SW4: disabling
wm8962-supply: disabling
usb_otg_vbus: disabling
ALSA device list:
#0: wm8962-audio
#1: imx-hdmi-soc
Freeing unused kernel memory: 432K (80b5e000 - 80bca000)
init: init started!
init: init second stage started!
init: waitpid failed: No child processes
init: property_set("ro.zygote", "zygote32") failed
init: (Loading properties from /default.prop took 0.00s.)
init: (Parsing /init.environ.rc took 0.00s.)
init: (Parsing /init.usb.rc took 0.00s.)
init: (Parsing init.freescale.usb.rc took 0.00s.)
init: (Parsing init.freescale.i.MX6QP.rc took 0.00s.)
init: (Parsing /init.freescale.rc took 0.01s.)
init: (Parsing /init.usb.configfs.rc took 0.00s.)
init: (Parsing /init.zygote32.rc took 0.00s.)
init: (Parsing /init.trace.rc took 0.00s.)
init: (Parsing /init.rc took 0.04s.)
init: Starting service 'ueventd'...
init: Waiting for /dev/.coldboot_done...
ueventd: ueventd started!
ueventd: Coldboot took 0.14s.
init: Waiting for /dev/.coldboot_done took 0.15s.
init: write_file: Unable to open '/proc/sys/kernel/hung_task_timeout_secs': No such file or directory
init: write_file: Unable to open '/proc/sys/kernel/sched_tunable_scaling': No such file or directory
init: write_file: Unable to open '/proc/sys/kernel/sched_latency_ns': No such file or directory
init: write_file: Unable to open '/proc/sys/kernel/sched_wakeup_granularity_ns': No such file or directory
init: write_file: Unable to open '/proc/sys/kernel/sched_compat_yield': No such file or directory
init: write_file: Unable to open '/proc/sys/abi/swp': No such file or directory
init: Starting service 'watchdogd'...
Console: switching to colour dummy device 80x30
watchdogd: watchdogd started (interval 10, margin 20)!
EXT4-fs (mmcblk3p5): mounted filesystem with ordered data mode. Opts: barrier=1
fs_mgr: __mount(source=/dev/block/mmcblk3p5,target=/system,type=ext4)=0
EXT4-fs (mmcblk3p4): Ignoring removed nomblk_io_submit option
EXT4-fs (mmcblk3p4): recovery complete
EXT4-fs (mmcblk3p4): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,noauto_da_alloc,errors=panic
fs_mgr: __mount(source=/dev/block/mmcblk3p4,target=/data,type=ext4)=0
EXT4-fs (mmcblk3p6): Ignoring removed nomblk_io_submit option
EXT4-fs (mmcblk3p6): recovery complete
EXT4-fs (mmcblk3p6): mounted filesystem with ordered data mode. Opts: nomblk_io_submit
fs_mgr: __mount(source=/dev/block/mmcblk3p6,target=/cache,type=ext4)=0
EXT4-fs (mmcblk3p7): mounted filesystem with ordered data mode. Opts: (null)
fs_mgr: __mount(source=/dev/block/mmcblk3p7,target=/device,type=ext4)=0
init: Starting service 'logd'...
zram0: detected capacity change from 0 to 314572800
Adding 307196k swap on /dev/block/zram0. Priority:-1 extents:1 across:307196k SS
logd.auditd: start
logd.klogd: 4518160000
init: (Loading properties from /system/build.prop took 0.01s.)
init: (Loading properties from /vendor/build.prop took 0.00s.)
init: (Loading properties from /factory/factory.prop took 0.00s.)
init: Starting service 'vold'...
init: Not bootcharting.
init: Failed to reload policy
init: Starting service 'exec 0 (/system/bin/tzdatacheck)'...
init: Service 'exec 0 (/system/bin/tzdatacheck)' (pid 210) exited with status 0
init: (Loading properties from /data/local.prop took 0.00s.)
random: init urandom read with 30 bits of entropy available
init: Starting service 'logd-reinit'...
init: write_file: Unable to open '/proc/sys/vm/min_free_order_shift': No such file or directory
init: Starting service 'healthd'...
init: Starting service 'console'...
init: Star盳凡er: 213:213 transaction failed 29189, size 0-0
init: Starting service 'servicemanager'...
init: Starting service 'surfaceflinger'...
logd.daemon: reinit
init: Service 'logd-reinit' (pid 212) exited with status 0
init: write_file: Unable to open '/sys/block/mmcblk0/queue/read_ahead_kb': No such file or directory
init: write_file: Unable to open '/sys/block/mmcblk1/queue/read_ahead_kb': No such file or directory
init: write_file: Unable to open '/sys/class/rfkill/rfkill0/state': No such file or directory
init: property_set("ro.ril.wake_lock_timeout", "300") failed
init: Starting service 'netd'...
init: Starting service 'debuggerd'...
root@sabresd_6dq:/ # init: cannot find '/system/bin/debuggerd64', disabling 'debuggerd64'
init: Starting service 'drm'...
init: Starting service 'media'...
init: Starting service 'installd'...
init: cannot find '/system/bin/install-recovery.sh', disabling 'flash_recovery'
init: Starting service 'keystore'...
init: Starting service 'ril-daemon'...
init: Starting service 'zygote'...
init: Starting service 'gatekeeperd'...
init: Starting service 'perfprofd'...
init: Starting service 'magd'...
init: Starting service 'adbd'...
read descriptors
read strings
g_ffs gadget: g_ffs ready
init: write_file: Unable to open '/config/usb_gadget/g1/functions/mtp.gs0/os_desc/interface.MTP/compatible_id': No such file or directory
udc-core: couldn't find an available UDC - added [g1] to list of pending drivers
healthd: No charger supplies found
healthd: No battery devices found
init: Service 'magd' (pid 234) exited with status 255
init: Starting service 'bootanim'...
------------[ cut here ]------------
WARNING: CPU: 2 PID: 392 at drivers/staging/android/sync.c:433 android_fence_release+0xd8/0xe8()
Modules linked in:
CPU: 2 PID: 392 Comm: BootAnimation Not tainted 4.1.15 #13
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[<800160a4>] (unwind_backtrace) from [<80012878>] (show_stack+0x10/0x14)
[<80012878>] (show_stack) from [<8083c8ec>] (dump_stack+0x84/0xc4)
[<8083c8ec>] (dump_stack) from [<800353c0>] (warn_slowpath_common+0x84/0xb4)
[<800353c0>] (warn_slowpath_common) from [<8003548c>] (warn_slowpath_null+0x1c/0x24)
[<8003548c>] (warn_slowpath_null) from [<8062dad8>] (android_fence_release+0xd8/0xe8)
[<8062dad8>] (android_fence_release) from [<8062dcf8>] (sync_fence_free+0x8c/0x9c)
[<8062dcf8>] (sync_fence_free) from [<8062dd48>] (sync_fence_release+0x40/0x48)
[<8062dd48>] (sync_fence_release) from [<800f9654>] (__fput+0x80/0x1c8)
[<800f9654>] (__fput) from [<8004c33c>] (task_work_run+0xac/0xe4)
[<8004c33c>] (task_work_run) from [<800124a8>] (do_work_pending+0x7c/0xa4)
[<800124a8>] (do_work_pending) from [<8000f5cc>] (work_pending+0xc/0x20)
---[ end trace c5bb7700bac66db4 ]---
random: nonblocking pool is initialized
capability: warning: `main' uses 32-bit capabilities (legacy support in use)
zram: 741 (system_server) Attribute mem_used_total (and others) will be removed. See zram documentation.
init: write_file: Unable to open '/proc/sys/vm/extra_free_kbytes': No such file or directory
fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet:01, irq=-1)
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
fence timeout on [a9aa2280] after 2000ms
objs:
--------------
viv timeline viv_sync
pt active
pt signaled@38.703435004
pt signaled@38.790451337

viv timeline viv_sync

viv timeline viv_sync

fences:
--------------
[a9aa2280] viv sync_fence-698: active
viv timeline_pt active

[9a4d8200] viv sync_fence-744: signaled
viv timeline_pt signaled@38.703435004

[9a408a00] viv sync_fence-746: signaled
viv timeline_pt signaled@38.790451337

init: Service 'bootanim' (pid 368) exited with status 0

When I plug in USB

log:

127|root@sabresd_6dq:/ # g_ffs gadget: high-speed config #1: FunctionFS

When I plug out USB

log:

127|root@sabresd_6dq:/ # init: write_file: Unable to open '/config/usb_gadget/g1/functions/mtp.gs0/os_desc/interface.MTP/compatible_id': No such file or directory
init: write_file: Unable to write to '/config/usb_gadget/g1/UDC': Device or resource busy

I think it might be the device tree that is not configured properly,but I don`t know how to config it.

Can you give me some advice?

0 Kudos