This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRA74: Android Recovery mode issue

Part Number: DRA74

Hi, experts,

I use default android image to boot recovery mode, the screen can display , but cannot use adb and uart to input.

Can you provide more details about this or some suggestions?

thanks,

Widic 

  • the log as below:

    Trying to boot from SPI
    *** Warning - MMC init failed, using default environment



    U-Boot 2016.05-00001-g5ddd5a8a (Nov 19 2018 - 15:16:51 +0800)

    CPU : DRA752-GP ES2.0
    Model: TI DRA742
    Board: DRA74x EVM REV H.0
    DRAM: 4 GiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    SCSI: SATA link 0 timeout.
    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
    scanning bus for devices...
    Found 0 device(s).
    Net: eth0: ethernet@48484000
    Hit any key to stop autoboot: 0
    switch to partitions #0, OK
    mmc1(part 0) is current device
    SD/MMC found on device 1
    ** Unrecognized filesystem type **
    ** Unrecognized filesystem type **
    switch to partitions #0, OK
    mmc1(part 0) is current device
    SD/MMC found on device 1
    MMC: no card present
    MMC: no card present
    ** Bad device mmc 0 **
    Saving Environment to MMC...
    Writing to MMC(1)... done
    switch to partitions #0, OK
    mmc1(part 0) is current device

    MMC read: dev # 1, block # 5376, count 512 ... 512 blocks read: OK

    MMC read: dev # 1, block # 39712, count 61440 ... 61440 blocks read: OK
    Booting from eMMC ...
    ## Booting Android Image at 0x82000000 ...
    Kernel load addr 0x80008000 size 7639 KiB
    Kernel command line: buildvariant=userdebug
    RAM disk load addr 0x83000000 size 5755 KiB
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Kernel Image ... OK
    Loading Ramdisk to 8fa61000, end 8ffffaf6 ... OK
    Loading Device Tree to 8fa43000, end 8fa60ee9 ... OK
    Using machid 0xfe6 from environment

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Initializing cgroup subsys cpuset
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Initializing cgroup subsys cpuacct
    [ 0.000000] Linux version 4.4.117-01626-geb49620 (gcc version 4.9.x 20150123 (prerelease) (GCC) ) #38 SMP PREEMPT Mon Nov 19 15:19:40 CST 2018
    [ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [ 0.000000] Machine model: TI DRA742
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [ 0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [ 0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [ 0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
    [ 0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
    [ 0.000000] cma: Reserved 24 MiB at 0x00000000fd800000
    [ 0.000000] Forcing write-allocate cache policy for SMP
    [ 0.000000] Memory policy: Data cache writealloc
    [ 0.000000] OMAP4: Map 0x000000027fd00000 to fe600000 for dram barrier
    [ 0.000000] DRA752 ES2.0
    [ 0.000000] PERCPU: Embedded 12 pages/cpu @eb722000 s19968 r8192 d20992 u49152
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1040704
    [ 0.000000] Kernel command line: root=/dev/mmcblk0p2 rw init=/init rootfstype=ext4 rootwait drm.rnodes=1 androidboot.selinux=permissive snd.slots_reserved=1,1 snd-soc-core.pmdown_time=-1 uio_pdrv_genirq.of_id=generic-uio console=ttyS0,115200 androidboot.console=ttyS0 androidboot.hardware=jacinto6evmboard androidboot.serialno=1801800f3d8c00e2 buildvariant=userdebug
    [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Memory: 3919392K/4169728K available (10240K kernel code, 624K rwdata, 3096K rodata, 2048K init, 669K bss, 61920K reserved, 188416K cma-reserved, 3362816K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc0c00000 (12256 kB)
    [ 0.000000] .init : 0xc1000000 - 0xc1200000 (2048 kB)
    [ 0.000000] .data : 0xc1200000 - 0xc129c1e4 ( 625 kB)
    [ 0.000000] .bss : 0xc129c1e4 - 0xc1343628 ( 670 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Build-time adjustment of leaf fanout to 32.
    [ 0.000000] NR_IRQS:16 nr_irqs:16 16
    [ 0.000000] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
    [ 0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [ 0.000000] Architected cp15 timer(s) running at 6.14MHz (phys).
    [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [ 0.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [ 0.000015] Switching to timer-based delay loop, resolution 162ns
    [ 0.000314] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [ 0.000322] OMAP clocksource: 32k_counter at 32768 Hz
    [ 0.000731] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [ 0.000746] pid_max: default: 32768 minimum: 301
    [ 0.000817] Security Framework initialized
    [ 0.000829] SELinux: Initializing.
    [ 0.000905] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.000915] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.001486] Initializing cgroup subsys io
    [ 0.001504] Initializing cgroup subsys memory
    [ 0.001527] Initializing cgroup subsys devices
    [ 0.001540] Initializing cgroup subsys freezer
    [ 0.001553] Initializing cgroup subsys perf_event
    [ 0.001564] Initializing cgroup subsys pids
    [ 0.001602] CPU: Testing write buffer coherency: ok
    [ 0.001843] /cpus/cpu@0 missing clock-frequency property
    [ 0.001860] /cpus/cpu@1 missing clock-frequency property
    [ 0.001869] CPU0: update cpu_capacity 1024
    [ 0.001877] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 0.001922] Setting up static identity map for 0x80200000 - 0x80200060
    [ 0.080205] CPU1: update cpu_capacity 1024
    [ 0.080209] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [ 0.080284] Brought up 2 CPUs
    [ 0.080300] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [ 0.080307] CPU: All CPU(s) started in HYP mode.
    [ 0.080313] CPU: Virtualization extensions available.
    [ 0.080345] CPU1: update max cpu_capacity 1024
    [ 0.090213] CPU1: update max cpu_capacity 1024
    [ 0.110465] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [ 0.111435] omap_hwmod: l3_main_2 using broken dt data from ocp
    [ 0.317822] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.317844] futex hash table entries: 512 (order: 3, 32768 bytes)
    [ 0.321506] pinctrl core: initialized pinctrl subsystem
    [ 0.322483] NET: Registered protocol family 16
    [ 0.323586] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.350305] cpuidle: using governor ladder
    [ 0.380334] cpuidle: using governor menu
    [ 0.389241] OMAP GPIO hardware version 0.1
    [ 0.393390] GPIO line 161 (radio_rst) hogged as output/low
    [ 0.395741] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [ 0.412952] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [ 0.412965] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [ 0.425054] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 0.425066] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.425522] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [ 0.425531] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [ 0.426203] OMAP DMA hardware revision 0.0
    [ 0.481149] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [ 0.482360] edma 43300000.edma: memcpy is disabled
    [ 0.487150] edma 43300000.edma: TI EDMA DMA engine driver
    [ 0.491751] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [ 0.491934] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [ 0.492100] omap-iommu 58882000.mmu: 58882000.mmu registered
    [ 0.492273] omap-iommu 55082000.mmu: 55082000.mmu registered
    [ 0.492577] omap-iommu 41501000.mmu: 41501000.mmu registered
    [ 0.492768] omap-iommu 41502000.mmu: 41502000.mmu registered
    [ 0.494863] usbcore: registered new interface driver usbfs
    [ 0.494922] usbcore: registered new interface driver hub
    [ 0.495013] usbcore: registered new device driver usb
    [ 0.496409] palmas 0-0058: IRQ missing: skipping irq request
    [ 0.511074] palmas 0-0058: Muxing GPIO 2e, PWM 0, LED 0
    [ 0.583472] pcf857x 0-0020: probed
    [ 0.584034] pcf857x 0-0021: probed
    [ 0.584389] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [ 0.601138] GPIO line 463 (vin6_sel_s0) hogged as output/low
    [ 0.601234] pcf857x 1-0026: probed
    [ 0.601769] omap_i2c 48072000.i2c: bus 1 rev0.12 at 400 kHz
    [ 0.602148] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [ 0.621125] pcf857x 3-0021: probed
    [ 0.621152] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz
    [ 0.621382] media: Linux media interface: v0.10
    [ 0.621433] Linux video capture interface: v2.00
    [ 0.621475] pps_core: LinuxPPS API ver. 1 registered
    [ 0.621482] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.621508] PTP clock support registered
    [ 0.621562] EDAC MC: Ver: 3.0.0
    [ 0.622336] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [ 0.622636] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [ 0.623093] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.631423] clocksource: Switched to clocksource arch_sys_counter
    [ 0.673262] NET: Registered protocol family 2
    [ 0.673857] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.673923] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [ 0.674048] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.674096] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.674127] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [ 0.674276] NET: Registered protocol family 1
    [ 0.674841] Trying to unpack rootfs image as initramfs...
    [ 0.880945] Freeing initrd memory: 5756K
    [ 0.881975] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [ 0.884685] audit: initializing netlink subsys (disabled)
    [ 0.884742] audit: type=2000 audit(0.879:1): initialized
    [ 0.892072] VFS: Disk quotas dquot_6.6.0
    [ 0.892233] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.893326] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.893585] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.893922] fuse init (API version 7.23)
    [ 0.898048] bounce: pool size: 64 pages
    [ 0.898210] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [ 0.898224] io scheduler noop registered
    [ 0.898235] io scheduler deadline registered
    [ 0.898267] io scheduler cfq registered (default)
    [ 0.903520] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [ 0.906828] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges:
    [ 0.906865] IO 0x20003000..0x20012fff -> 0x00000000
    [ 0.906886] MEM 0x20013000..0x2fffffff -> 0x20013000
    [ 0.938582] dra7-pcie 51000000.pcie_rc: link is not up
    [ 0.938749] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00
    [ 0.938764] pci_bus 0000:00: root bus resource [bus 00-ff]
    [ 0.938775] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
    [ 0.938784] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [ 0.939196] PCI: bus0: Fast back to back transfers disabled
    [ 0.939315] PCI: bus1: Fast back to back transfers enabled
    [ 0.939400] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [ 0.939415] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [ 0.939429] pci 0000:00:00.0: PCI bridge to [bus 01]
    [ 0.939656] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [ 0.944478] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.946900] console [ttyS0] disabled
    [ 0.946955] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
    [ 1.965544] console [ttyS0] enabled
    [ 1.969549] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 302, base_baud = 3000000) is a 8250
    [ 1.978884] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 303, base_baud = 3000000) is a 8250
    [ 1.988929] [drm] Initialized drm 1.1.0 20060810
    [ 1.995648] OMAP DSS rev 6.1
    [ 1.999435] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [ 2.007906] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [ 2.116796] brd: module loaded
    [ 2.184982] loop: module loaded
    [ 2.189560] nand: No NAND device found
    [ 2.193360] omap2-nand 8000000.nand: scan failed, may be bus-width mismatch
    [ 2.203396] m25p80 spi32766.0: s25fl256s1 (32768 Kbytes)
    [ 2.208793] 7 ofpart partitions found on MTD device spi32766.0
    [ 2.214698] Creating 7 MTD partitions on "spi32766.0":
    [ 2.219863] 0x000000000000-0x000000040000 : "QSPI.SPL"
    [ 2.225928] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [ 2.232174] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [ 2.238962] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [ 2.245559] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [ 2.252847] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [ 2.259044] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
    [ 2.266714] libphy: Fixed MDIO Bus: probed
    [ 2.271403] tun: Universal TUN/TAP device driver, 1.6
    [ 2.276501] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    [ 2.282805] CAN device driver interface
    [ 2.287721] c_can_platform 4ae3c000.can: c_can_platform device registered (regs=fce3c000, irq=365)
    [ 2.341460] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [ 2.347587] davinci_mdio 48485000.mdio: detected phy mask fffffff3
    [ 2.371321] libphy: 48485000.mdio: probed
    [ 2.375405] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver unknown
    [ 2.383488] davinci_mdio 48485000.mdio: phy[3]: device 48485000.mdio:03, driver unknown
    [ 2.392278] cpsw 48484000.ethernet: Detected MACID = a0:f6:fd:b4:25:a6
    [ 2.398929] cpsw 48484000.ethernet: cpts: overflow check period 800
    [ 2.405916] cpsw 48484000.ethernet: cpsw: Detected MACID = a0:f6:fd:b4:25:a7
    [ 2.413602] PPP generic driver version 2.4.2
    [ 2.418007] PPP BSD Compression module registered
    [ 2.422778] PPP Deflate Compression module registered
    [ 2.427866] PPP MPPE Compression module registered
    [ 2.432700] NET: Registered protocol family 24
    [ 2.439520] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 2.446103] ehci-pci: EHCI PCI platform driver
    [ 2.450612] ehci-platform: EHCI generic platform driver
    [ 2.456206] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [ 2.462882] ohci-pci: OHCI PCI platform driver
    [ 2.467397] ohci-platform: OHCI generic platform driver
    [ 2.473650] mousedev: PS/2 mouse device common for all mice
    [ 2.479390] usbcore: registered new interface driver xpad
    [ 2.484889] usbcore: registered new interface driver usb_acecad
    [ 2.490875] usbcore: registered new interface driver aiptek
    [ 2.496533] usbcore: registered new interface driver gtco
    [ 2.502014] usbcore: registered new interface driver hanwang
    [ 2.507744] usbcore: registered new interface driver kbtab
    [ 2.513838] i2c /dev entries driver
    [ 2.518387] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [ 2.525495] vip 48970000.vip: loading firmware vpdma-1b8.bin
    [ 2.531703] gspca_main: v2.14.0 registered
    [ 2.539183] device-mapper: uevent: version 1.0.3
    [ 2.541574] vpe 489d0000.vpe: Device registered as /dev/video0
    [ 2.549922] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
    [ 2.551447] vip 48970000.vip: VPDMA firmware loaded
    [ 2.564642] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [ 2.570244] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [ 2.576665] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [ 2.583201] evm_3v3_sw: supplied by sysen1
    [ 2.665221] mmc0: MAN_BKOPS_EN bit is not set
    [ 2.677176] mmc0: new HS200 MMC card at address 0001
    [ 2.682674] mmcblk0: mmc0:0001 MMC08G 7.25 GiB
    [ 2.697538] mmcblk0boot0: mmc0:0001 MMC08G partition 1 8.00 MiB
    [ 2.703748] mmcblk0boot1: mmc0:0001 MMC08G partition 2 8.00 MiB
    [ 2.712497] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17
    [ 2.743274] ledtrig-cpu: registered to indicate activity on CPUs
    [ 2.749397] hidraw: raw HID events driver (C) Jiri Kosina
    [ 2.757442] usbcore: registered new interface driver usbhid
    [ 2.763061] usbhid: USB HID core driver
    [ 2.767177] ashmem: initialized
    [ 2.775183] hwspinlock_user gatemp: requested 20 hwspinlocks
    [ 2.781273] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
    [ 2.789118] remoteproc0: 58820000.ipu is available
    [ 2.794034] remoteproc0: Note: remoteproc is still under development and considered experimental.
    [ 2.803045] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 2.813602] remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [ 2.821852] remoteproc0: Falling back to user helper
    [ 2.822005] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
    [ 2.822055] remoteproc1: 55020000.ipu is available
    [ 2.822059] remoteproc1: Note: remoteproc is still under development and considered experimental.
    [ 2.822062] remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 2.822206] remoteproc1: Direct firmware load for dra7-ipu2-fw.xem4 failed with error -2
    [ 2.822209] remoteproc1: Falling back to user helper
    [ 2.822462] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
    [ 2.822512] remoteproc2: 40800000.dsp is available
    [ 2.822515] remoteproc2: Note: remoteproc is still under development and considered experimental.
    [ 2.822518] remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 2.822648] remoteproc2: Direct firmware load for dra7-dsp1-fw.xe66 failed with error -2
    [ 2.822651] remoteproc2: Falling back to user helper
    [ 2.823060] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
    [ 2.823108] remoteproc3: 41000000.dsp is available
    [ 2.823111] remoteproc3: Note: remoteproc is still under development and considered experimental.
    [ 2.823114] remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [ 2.833843] remoteproc3: Direct firmware load for dra7-dsp2-fw.xe66 failed with error -2
    [ 2.833847] remoteproc3: Falling back to user helper
    [ 2.965179] usbcore: registered new interface driver snd-usb-audio
    [ 2.973018] davinci-mcasp 48464000.mcasp: DAI is shared
    [ 2.979137] davinci-mcasp 48474000.mcasp: DAI is shared
    [ 2.984611] davinci-mcasp 4847c000.mcasp: invalid tdm slots: 0
    [ 2.991727] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
    [ 3.001715] u32 classifier
    [ 3.004436] input device check on
    [ 3.008112] Actions configured
    [ 3.011557] Netfilter messages via NETLINK v0.30.
    [ 3.016334] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
    [ 3.022937] ctnetlink v0.93: registering with nfnetlink.
    [ 3.028751] xt_time: kernel timezone is -0000
    [ 3.033550] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 3.039069] arp_tables: (C) 2002 David S. Miller
    [ 3.043888] Initializing XFRM netlink socket
    [ 3.048839] NET: Registered protocol family 10
    [ 3.054381] mip6: Mobile IPv6
    [ 3.057388] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [ 3.063216] sit: IPv6 over IPv4 tunneling driver
    [ 3.068410] NET: Registered protocol family 17
    [ 3.072919] NET: Registered protocol family 15
    [ 3.077388] can: controller area network core (rev 20120528 abi 9)
    [ 3.083664] NET: Registered protocol family 29
    [ 3.088143] can: raw protocol (rev 20120528)
    [ 3.092455] can: broadcast manager protocol (rev 20120528 t)
    [ 3.098150] can: netlink gateway (rev 20130117) max_hops=1
    [ 3.103973] NET: Registered protocol family 41
    [ 3.108769] omap_voltage_late_init: Voltage driver support not added
    [ 3.115726] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [ 3.121955] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [ 3.128690] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
    [ 3.134937] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
    [ 3.142488] Power Management for TI OMAP4+ devices.
    [ 3.147648] Registering SWP/SWPB emulation handler
    [ 3.152948] registered taskstats version 1
    [ 3.157836] dmm 4e000000.dmm: workaround for errata i878 in use
    [ 3.165733] dmm 4e000000.dmm: initialized all PAT entries
    [ 3.373461] dwc3 48890000.usb: otg: primary host xhci-hcd.1.auto registered
    [ 3.380456] dwc3 48890000.usb: otg: shared host xhci-hcd.1.auto registered
    [ 3.387382] dwc3 48890000.usb: otg: can't start till gadget registers
    [ 3.595507] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [ 3.601027] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1
    [ 3.608918] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00210010
    [ 3.617697] xhci-hcd xhci-hcd.2.auto: irq 511, io mem 0x488d0000
    [ 3.623867] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 3.630683] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 3.637946] usb usb1: Product: xHCI Host Controller
    [ 3.643076] usb usb1: Manufacturer: Linux 4.4.117-01626-geb49620 xhci-hcd
    [ 3.649892] usb usb1: SerialNumber: xhci-hcd.2.auto
    [ 3.655115] hub 1-0:1.0: USB hub found
    [ 3.658901] hub 1-0:1.0: 1 port detected
    [ 3.663090] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
    [ 3.668604] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2
    [ 3.676358] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [ 3.684586] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [ 3.691400] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 3.698663] usb usb2: Product: xHCI Host Controller
    [ 3.703574] usb usb2: Manufacturer: Linux 4.4.117-01626-geb49620 xhci-hcd
    [ 3.710388] usb usb2: SerialNumber: xhci-hcd.2.auto
    [ 3.715581] hub 2-0:1.0: USB hub found
    [ 3.719365] hub 2-0:1.0: 1 port detected
    [ 3.724037] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [ 3.763051] input: gpio_keys as /devices/platform/gpio_keys/input/input0
    [ 3.770992] hctosys: unable to open rtc device (rtc0)
    [ 3.786221] evm_1v8: disabling
    [ 3.789294] aic_dvdd: disabling
    [ 3.792460] vmmcwl_fixed: disabling
    [ 3.795983] evm_3v3_sd: disabling
    [ 3.799449] ALSA device list:
    [ 3.802448] #1: HDMI 58040000.encoder
    [ 3.807456] Freeing unused kernel memory: 2048K
    [ 3.813918] init: init first stage started!
    [ 3.818159] init: First stage mount skipped (recovery mode)
    [ 3.824040] init: Using Android DT directory /proc/device-tree/firmware/android/
    [ 3.831568] init: Skipped setting INIT_AVB_VERSION (not vbmeta compatible)
    [ 3.838480] init: Loading SELinux policy
    [ 3.928062] audit: type=1403 audit(3.919:2): policy loaded auid=4294967295 ses=4294967295
    [ 3.936492] selinux: SELinux: Loaded policy from /sepolicy
    [ 3.936492]
    [ 3.946065] selinux: SELinux: Loaded file_contexts
    [ 3.946065]
    [ 3.953417] random: init: uninitialized urandom read (40 bytes read, 9 bits of entropy available)
    [ 3.963328] init: init second stage started!
    [ 3.971808] init: Using Android DT directory /proc/device-tree/firmware/android/
    [ 3.981395] selinux: SELinux: Loaded file_contexts
    [ 3.981395]
    [ 3.988151] selinux: SELinux: Loaded property_contexts from /plat_property_contexts & /nonplat_property_contexts.
    [ 3.988151]
    [ 3.999980] init: Running restorecon...
    [ 4.006318] selinux: SELinux: Could not stat /dev/block: No such file or directory.
    [ 4.006318]
    [ 4.015836] init: waitid failed: No child processes
    [ 4.020767] init: Couldn't load property file: Unable to open '/system/etc/prop.default': No such file or directory: No such file or directory
    [ 4.034358] init: Couldn't load property file: Unable to open '/odm/default.prop': No such file or directory: No such file or directory
    [ 4.046655] init: Couldn't load property file: Unable to open '/vendor/default.prop': No such file or directory: No such file or directory
    [ 4.059549] init: Created socket '/dev/socket/property_service', mode 666, user 0, group 0
    [ 4.067974] init: Parsing file /init.rc...
    [ 4.072209] init: Added '/init.recovery.jacinto6evmboard.rc' to import list
    [ 4.079533] init: Parsing file /init.recovery.jacinto6evmboard.rc...
    [ 4.086017] init: Parsing file /system/etc/init...
    [ 4.090850] init: Unable to open '/system/etc/init': No such file or directory
    [ 4.098143] init: Parsing file /vendor/etc/init...
    [ 4.102991] init: Unable to open '/vendor/etc/init': No such file or directory
    [ 4.110258] init: Parsing file /odm/etc/init...
    [ 4.114849] init: Unable to open '/odm/etc/init': No such file or directory
    [ 4.121909] init: processing action (early-init) from (/init.rc:3)
    [ 4.128184] init: starting service 'ueventd'...
    [ 4.133244] audit: type=1400 audit(4.129:3): avc: denied { create } for pid=1 comm="init" name="cgroup.procs" scontext=u:r:init:s0 tcontext=u:object_r:rootfs:s0 tclass=file permissive=1
    [ 4.134235] random: ueventd: uninitialized urandom read (40 bytes read, 9 bits of entropy available)
    [ 4.135514] ueventd: ueventd started!
    [ 4.135561] ueventd: Parsing file /ueventd.rc...
    [ 4.136317] ueventd: Parsing file /vendor/ueventd.rc...
    [ 4.136347] ueventd: Unable to open '/vendor/ueventd.rc': No such file or directory
    [ 4.136367] ueventd: Parsing file /odm/ueventd.rc...
    [ 4.136392] ueventd: Unable to open '/odm/ueventd.rc': No such file or directory
    [ 4.136463] ueventd: Parsing file /ueventd.jacinto6evmboard.rc...
    [ 4.136490] ueventd: Unable to open '/ueventd.jacinto6evmboard.rc': No such file or directory
    [ 4.138395] selinux: SELinux: Loaded file_contexts
    [ 4.138395]
    [ 4.214326] audit: type=1400 audit(4.209:4): avc: denied { write } for pid=1 comm="init" path="/acct/uid_0/pid_125/cgroup.procs" dev="rootfs" ino=8527 scontext=u:r:init:s0 tcontext=u:object_r:rootfs:s0 tclass=file permissive=1
    [ 4.231886] ueventd: firmware: loading 'dra7-dsp2-fw.xe66' for '/devices/platform/44000000.ocp/41000000.dsp/remoteproc3/firmware/dra7-dsp2-fw.xe66'
    [ 4.232305] ueventd: firmware: loading 'dra7-ipu2-fw.xem4' for '/devices/platform/44000000.ocp/55020000.ipu/remoteproc1/firmware/dra7-ipu2-fw.xem4'
    [ 4.248512] ueventd: firmware: loading 'dra7-dsp1-fw.xe66' for '/devices/platform/44000000.ocp/40800000.dsp/remoteproc2/firmware/dra7-dsp1-fw.xe66'
    [ 4.249109] ueventd: firmware: loading 'dra7-ipu1-fw.xem4' for '/devices/platform/44000000.ocp/58820000.ipu/remoteproc0/firmware/dra7-ipu1-fw.xem4'
    [ 4.260717] selinux: SELinux: Loaded file_contexts
    [ 4.260717]
    [ 4.315498] init: Command 'start ueventd' action=early-init (/init.rc:7) returned 0 took 187ms.
    [ 4.324551] init: processing action (wait_for_coldboot_done) from (<Builtin Action>:0)
    [ 4.332679] ueventd: Coldboot took 0.194 seconds
    [ 4.337748] init: processing action (mix_hwrng_into_linux_rng) from (<Builtin Action>:0)
    [ 4.346286] init: /dev/hw_random not found
    [ 4.350552] init: processing action (set_mmap_rnd_bits) from (<Builtin Action>:0)
    [ 4.358279] init: processing action (set_kptr_restrict) from (<Builtin Action>:0)
    [ 4.366206] init: processing action (keychord_init) from (<Builtin Action>:0)
    [ 4.373427] init: processing action (console_init) from (<Builtin Action>:0)
    [ 4.380529] init: processing action (init) from (/init.rc:9)
    [ 4.387720] init: processing action (mix_hwrng_into_linux_rng) from (<Builtin Action>:0)
    [ 4.395923] init: /dev/hw_random not found
    [ 4.400056] init: processing action (late-init) from (/init.rc:61)
    [ 4.406341] init: processing action (late-init) from (/init.recovery.jacinto6evmboard.rc:1)
    [ 4.414873] init: starting service 'exec 1 (/sbin/modprobe -a -d /lib/modules scsi_mod.ko usb-storage.ko sd_mod.ko dra7-evm-encoder-tpd12s015.ko encoder-sii9022.ko encoder-tc358768.ko encoder-tpd12s015.ko encoder-tfp410.ko ti-fpd3-serdes.ko connector-hdmi.ko connector-dvi.ko panel-dpi.ko leds-tlc591xx.ko gpio_backlight.ko led_bl.ko pwm_bl.ko)'...
    [ 4.446532] init: SVC_EXEC pid 132 (uid 0 gid 0+0 context u:r:modprobe:s0) started; waiting...
    [ 4.447397] random: modprobe: uninitialized urandom read (40 bytes read, 9 bits of entropy available)
    [ 4.453563] SCSI subsystem initialized
    [ 4.454772] usbcore: registered new interface driver usb-storage
    [ 4.474535] init: Command 'exec u:r:modprobe:s0 -- /sbin/modprobe -a -d /lib/modules scsi_mod.ko usb-storage.ko sd_mod.ko dra7-evm-encoder-tpd12s015.ko encoder-sii9022.ko encoder-tc358768.ko encoder-tpd12s015.ko encoder-tfp410.ko ti-fpd3-serdes.ko connector-hdmi.ko connector-dvi.ko panel-dpi.ko leds-tlc591xx.ko gpio_backlight.ko led_bl.ko pwm_bl.ko' action=late-init (/init.recovery.jacinto6evmboard.rc:8) returned 0 took 59ms.
    [ 4.520112] GPIO line 445 (LVDS_CLKSel) hogged as output/high
    [ 4.528707] backlight supply power not found, using dummy regulator
    [ 4.537647] init: Service 'exec 1 (/sbin/modprobe -a -d /lib/modules scsi_mod.ko usb-storage.ko sd_mod.ko dra7-evm-encoder-tpd12s015.ko encoder-sii9022.ko encoder-tc358768.ko encoder-tpd12s015.ko encoder-tfp410.ko ti-fpd3-serdes.ko connector-hdmi.ko connector-dvi.ko panel-dpi.ko leds-tlc591xx.ko gpio_backlight.ko led_bl.ko pwm_bl.ko)' (pid 132) killed by signal 1 waiting took 0.122000 seconds
    [ 4.553513] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 4.553515] [drm] No driver support for vblank timestamp query.
    [ 4.572666] [drm] Enabling DMM ywrap scrolling
    [ 4.589695] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [ 4.590749] init: processing action (queue_property_triggers) from (<Builtin Action>:0)
    [ 4.590796] init: processing action (fs) from (/init.rc:32)
    [ 4.590845] init: Unable to open '/sys/class/android_usb/android0/f_ffs/aliases': No such file or directory
    [ 4.619240] audit: type=1400 audit(4.609:5): avc: denied { execute } for pid=134 comm="kworker/u4:2" name="toybox_static" dev="rootfs" ino=5453 scontext=u:r:kernel:s0 tcontext=u:object_r:rootfs:s0 tclass=file permissive=1
    [ 4.639409] audit: type=1400 audit(4.629:6): avc: denied { execute_no_trans } for pid=134 comm="kworker/u4:2" path="/sbin/toybox_static" dev="rootfs" ino=5453 scontext=u:r:kernel:s0 tcontext=u:object_r:rootfs:s0 tclass=file permissive=1
    [ 4.661238] random: modprobe: uninitialized urandom read (40 bytes read, 10 bits of entropy available)
    [ 4.671771] audit: type=1400 audit(4.669:7): avc: denied { read } for pid=134 comm="modprobe" name="modules" dev="proc" ino=4026532135 scontext=u:r:kernel:s0 tcontext=u:object_r:proc_modules:s0 tclass=file permissive=1
    [ 4.685461] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
    [ 4.697492] audit: type=1400 audit(4.689:8): avc: denied { open } for pid=134 comm="modprobe" path="/proc/modules" dev="proc" ino=4026532135 scontext=u:r:kernel:s0 tcontext=u:object_r:proc_modules:s0 tclass=file permissive=1
    [ 4.718063] audit: type=1400 audit(4.709:9): avc: denied { getattr } for pid=134 comm="modprobe" path="/proc/modules" dev="proc" ino=4026532135 scontext=u:r:kernel:s0 tcontext=u:object_r:proc_modules:s0 tclass=file permissive=1
    [ 4.738998] init: Command 'mount functionfs adb /dev/usb-ffs/adb uid=2000,gid=2000' action=fs (/init.rc:36) returned -1 took 147ms.
    [ 4.750982] init: Unable to open '/sys/class/android_usb/android0/enable': No such file or directory
    [ 4.760219] init: Unable to open '/sys/class/android_usb/android0/idVendor': No such file or directory
    [ 4.769627] init: Unable to open '/sys/class/android_usb/android0/idProduct': No such file or directory
    [ 4.779123] init: Unable to open '/sys/class/android_usb/android0/functions': No such file or directory
    [ 4.788645] init: Unable to open '/sys/class/android_usb/android0/iManufacturer': No such file or directory
    [ 4.798603] init: Unable to open '/sys/class/android_usb/android0/iProduct': No such file or directory
    [ 4.808013] init: Unable to open '/sys/class/android_usb/android0/iSerial': No such file or directory
    [ 4.817345] init: processing action (load_system_props_action) from (/init.rc:54)
    [ 4.824917] init: Couldn't load property file: Unable to open '/system/build.prop': No such file or directory: No such file or directory
    [ 4.837291] init: Couldn't load property file: Unable to open '/odm/build.prop': No such file or directory: No such file or directory
    [ 4.849403] init: Couldn't load property file: Unable to open '/vendor/build.prop': No such file or directory: No such file or directory
    [ 4.861774] init: Couldn't load property file: Unable to open '/factory/factory.prop': No such file or directory: No such file or directory
    [ 4.876422] init: Command 'load_system_props' action=load_system_props_action (/init.rc:55) returned 0 took 51ms.
    [ 4.886807] init: processing action (firmware_mounts_complete) from (/init.rc:57)
    [ 4.894397] init: processing action (boot) from (/init.rc:46)
    [ 4.900252] ueventd: firmware: could not find firmware for dra7-ipu2-fw.xem4
    [ 4.907441] ueventd: firmware: could not find firmware for dra7-dsp2-fw.xe66
    [ 4.907883] init: starting service 'charger'...
    [ 4.908538] init: starting service 'recovery'...
    [ 4.909194] init: processing action (enable_property_trigger) from (<Builtin Action>:0)
    [ 4.909250] init: processing action (ro.debuggable=1) from (/init.rc:95)
    [ 4.909302] init: Unable to open '/sys/class/android_usb/android0/enable': No such file or directory
    [ 4.909350] init: starting service 'adbd'...
    [ 4.910071] remoteproc1: failed to load dra7-ipu2-fw.xem4
    [ 4.910174] ueventd: loading /devices/platform/44000000.ocp/55020000.ipu/remoteproc1/firmware/dra7-ipu2-fw.xem4 took 678ms
    [ 4.911545] init: Created socket '/dev/socket/adbd', mode 660, user 1000, group 1000
    [ 4.912664] random: adbd: uninitialized urandom read (40 bytes read, 10 bits of entropy available)
    [ 4.915510] selinux: avc: denied { set } for property=ctl.mdnsd pid=138 uid=2000 gid=2000 scontext=u:r:adbd:s0 tcontext=u:object_r:ctl_mdnsd_prop:s0 tclass=property_service permissive=1
    [ 4.915510]
    [ 4.915531] init: no such service 'mdnsd'
    [ 4.917255] random: recovery: uninitialized urandom read (40 bytes read, 10 bits of entropy available)
    [ 4.927267] random: charger: uninitialized urandom read (40 bytes read, 11 bits of entropy available)
    [ 4.928463] healthd: No battery devices found
    [ 4.928531] healthd: battery l=100 v=0 t=42.4 h=2 st=2 chg=a
    [ 4.968717] ueventd: firmware: could not find firmware for dra7-dsp1-fw.xe66
    [ 4.968787] ueventd: loading /devices/platform/44000000.ocp/40800000.dsp/remoteproc2/firmware/dra7-dsp1-fw.xe66 took 720ms
    [ 4.969151] remoteproc2: failed to load dra7-dsp1-fw.xe66
    [ 4.969319] ueventd: firmware: could not find firmware for dra7-ipu1-fw.xem4
    [ 4.969387] ueventd: loading /devices/platform/44000000.ocp/58820000.ipu/remoteproc0/firmware/dra7-ipu1-fw.xem4 took 720ms
    [ 5.078353] remoteproc0: failed to load dra7-ipu1-fw.xem4
    [ 5.078375] remoteproc3: failed to load dra7-dsp2-fw.xe66
    [ 5.079904] audit: type=1400 audit(5.069:10): avc: denied { read write } for pid=137 comm="recovery" name="card0" dev="tmpfs" ino=8724 scontext=u:r:recovery:s0 tcontext=u:object_r:gpu_device:s0 tclass=chr_file permissive=1
    [ 5.109547] ueventd: loading /devices/platform/44000000.ocp/41000000.dsp/remoteproc3/firmware/dra7-dsp2-fw.xe66 took 859ms
    [ 123.764204] random: nonblocking pool is initialized
  • Hi, experts,

    Could you give some suggestions about how to add adb support in android 6AO1.1.

    Widic
  • Hi Widic Jane,

    That is how Android has designed recovery mode. ADB will not be functional in recovery mode.
    Also, in recovery mode, a minimal ramdisk is booted and not the entire Android file system, so you will not get a shell to run commands.

    Regards,
    Vishal

  • You can find more information here - source.android.com/.../nonab

    The operations to do in recovery mode is controlled by commands written in /cache/recovery/command file before you load recovery image.
    You can see the different command options here - android.googlesource.com/.../recovery.cpp