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.

AM5728: Android app installation

Part Number: AM5728


Hi,

I used Android PDK to create the sd image and boot it on the board without problem. Now, I need to install some basic android app, but it doesn't seem to take apk installation file, so I wonder how do I install app on here?

Also, there seems to be very little available items under setting, how do I enable more? for example, how do I extend the HDMI monitor instead of mirror from the 7inch display? etc.

Thanks.

Peter

  • Hello Xiang,

    1. What is the proc sdk release version you are using ?

    2. SD Boot method is not recommended boot method. you have to be on the standard boot method ( eMMC with Android Partition table)

    3. Use adb to install packages . " adb root; adb remount; adb install x.apk"

    4. Only mirrored display(hdmi+lcd) is supported in the current proc sdk android release.
  • 1. I am using 4.0.0.4, for some reason the latest version create-sdcard.sh didn't work, saying it can't find some files while copying the system.

    2. I am using sd card just for quick testing.

    3. Okay, that works.

    4. if I need to extend HDMI, what do I need to do? recompile the android with the change?

    Thank.
  • 1. thats a marshmallow based older release. Always recomended to use the current release.
    Ref: software-dl.ti.com/.../index_FDS.html

    2. sd card method might have worked . But it will not be a supported boot method in later versions.. Hence recommend to base your experimentation based on eMMC boot.

    3. Great

    4. This probably might help you.
    Ref: e2e.ti.com/.../634520
  • 1. I am having problem using the create-sdcard.sh from the latest SDK.

    ################################################################################

    Copying files now... will take minutes

    ################################################################################

    Copying boot partition

    MLO copied


    u-boot.img copied

    uEnv.txt copied

    Kernel Image copied

    DTBs copied


    An Android filesystem will be created with the following settings:

    * Root Directory: "/home/luba/ti-processor-sdk-android-am57xx-evm-04.02.00.09/bin/tmp/rootfs"

    * Ramdisk Image: "/home/luba/ti-processor-sdk-android-am57xx-evm-04.02.00.09/board-support/prebuilt-images/ramdisk.img"

    * System Image: "/home/luba/ti-processor-sdk-android-am57xx-evm-04.02.00.09/board-support/prebuilt-images/system.img"

    * Userdata Image: "/home/luba/ti-processor-sdk-android-am57xx-evm-04.02.00.09/board-support/prebuilt-images/userdata.img"


    The following will require root permissions [sudo] to mount the Android
    filesystem images.


    Extracting root filesystem (/home/luba/ti-processor-sdk-android-am57xx-evm-04.02.00.09/board-support/prebuilt-images/ramdisk.img)...
    6787 blocks
    sed: can't read init.am57xevmboard.rc: No such file or directory
    sed: can't read fstab.am57xevmboard: No such file or directory

    Extracting system partion (/home/luba/ti-processor-sdk-android-am57xx-evm-04.02.00.09/board-support/prebuilt-images/system.img)...

    Extracting data partition (/home/luba/ti-processor-sdk-android-am57xx-evm-04.02.00.09/board-support/prebuilt-images/userdata.img)...


    Un-mount the partitions
    umount: /home/luba/ti-processor-sdk-android-am57xx-evm-04.02.00.09/bin/tmp/boot: not mounted
    umount: /home/luba/ti-processor-sdk-android-am57xx-evm-04.02.00.09/bin/tmp/rootfs: not mounted

    Remove created temp directories

    Operation Finished

    And after "Operation Finished" I plug the sd card into the board, it keeps black screen.

    Meanwhile, Let me try the flash way.

    Peter

  • Hello Peter,

    I can replicate your create-sdcard issue for Android sdk 4.2. Praneeth and I will look into it, thanks for the error information.

    Regards,
    Nick
  • Hello Peter,

    I misread your post. For Android SDK 4.2, you cannot simply plug the SD card into the board and run Android. Instead, you need to run the setup.sh script as detailed in the Processor SDK Android Setup Script wiki to flash to the eMMC. 

    Does that allow you to run Android O on your board?

    Regards, 

    Nick

  • Yes, I followed the android setup script link. It says to run the create-sdcard.sh, which gave me the error that I mentioned.

    OR, is that normal since the purpose of the the sh is just to copy uboot into the sd card, not the whole system that the previous versions did?

    I am a little confused here.

    Yes, I did that, I create the sd card, put in, connect serial connection, connect micro use connection, run the setup.sh.

    Now I see this:

    at /oe/bld/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am57xx_evm-li
    nux-gnueabi/u-boot-ti-android/2016.05+gitAUTOINC+6f6aaabf5a-r0/git/drivers/block
    /disk-uclass.c:43/scsi_init()
    Net: No ethernet found.
    Hit any key to stop autoboot: 0
    Boot fastboot requested, resetting dofastboot ...
    Saving Environment to MMC...
    Writing to MMC(1)... done
    Booting into fastboot ...

    /home/luba/ti-processor-sdk-android-am57xx-evm-04.02.00.09
    You can manually run minicom in the future with this setup script using:

    $ minicom -S /home/luba/ti-processor-sdk-android-am57xx-evm-04.02.00.09/bin/setupBoard.minicom

    --------------------------------------------------------------------------------
    Fastboot: ./fastboot
    Image location: /home/luba/ti-processor-sdk-android-am57xx-evm-04.02.00.09/board-support/prebuilt-images/
    No device detected. Please ensure that fastboot is running on the target device

    which is odd because I did run sudo usermod -a -G dialout luba, (luba is my username) to ensure its in fastboot, and I do see images under prebuilt-images folder.

    Welcome to minicom 2.7
    
    OPTIONS: I18n 
    Compiled on Feb  7 2016, 13:37:27.
    Port /dev/ttyUSB0, 13:27:11
    
    Press CTRL-A Z for help on special keys
    
    [    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.91-ga9f709f7cf (gtbldadm@jenkins-vm-1404-64) (g
    cc version 4.9.x 20150123 (prerelease) (GCC) ) #2 SMP PREEMPT Sat Dec 23 13:59:1
    0 EST 2017
    [    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 AM572x EVM Rev A3
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, s
    ize 56 MiB
    [    0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible i
    d shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, s
    ize 64 MiB                                                                      
    [    0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible i
    d shared-dma-pool                                                               
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, s
    ize 32 MiB                                                                      
    [    0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible i
    d shared-dma-pool                                                               
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, s
    ize 8 MiB                                                                       
    [    0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible i
    d shared-dma-pool                                                               
    [    0.000000] cma: Reserved 24 MiB at 0x00000000fe400000                       
    [    0.000000] Forcing write-allocate cache policy for SMP                      
    [    0.000000] Memory policy: Data cache writealloc                             
    [    0.000000] OMAP4: Map 0x00000000ffd00000 to fe600000 for dram barrier       
    [    0.000000] DRA752 ES2.0                                                     
    [    0.000000] PERCPU: Embedded 12 pages/cpu @eed2e000 s20160 r8192 d20800 u4915
    2                                                                               
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag
    es: 521792                                                                      
    [    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=ttyS2,11
    5200 androidboot.console=ttyS2 androidboot.hardware=am57xevmboard console=ttyO2,
    115200n8 androidboot.serialno=${serial#} console=ttyS2,115200 androidboot.consol
    e=ttyS2 androidboot.hardware=am57xevmboard root=PARTUUID=b73e4261-02 rw rootfsty
    pe=ext4 rootwait                                                                
    [    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: 1867808K/2094080K available (10240K kernel code, 621K rwd
    ata, 3152K rodata, 2048K init, 668K bss, 37856K reserved, 188416K cma-reserved, 
    1283072K 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 - 0xc129b4f4   ( 622 kB)                
    [    0.000000]        .bss : 0xc129b4f4 - 0xc13425e8   ( 669 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.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 43980
    46511023ns                                                                      
    [    0.000016] Switching to timer-based delay loop, resolution 162ns            
    [    0.000324] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff
    , max_idle_ns: 58327039986419 ns                                                
    [    0.000332] OMAP clocksource: 32k_counter at 32768 Hz                        
    [    0.000710] Calibrating delay loop (skipped), value calculated using timer fr
    equency.. 12.29 BogoMIPS (lpj=61475)                                            
    [    0.000724] pid_max: default: 32768 minimum: 301                             
    [    0.000795] Security Framework initialized                                   
    [    0.000806] SELinux:  Initializing.                                          
    [    0.000881] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)      
    [    0.000890] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) 
    [    0.001462] Initializing cgroup subsys io                                    
    [    0.001480] Initializing cgroup subsys memory                                
    [    0.001505] Initializing cgroup subsys devices                               
    [    0.001518] Initializing cgroup subsys freezer                               
    [    0.001529] Initializing cgroup subsys perf_event                            
    [    0.001541] Initializing cgroup subsys pids                                  
    [    0.001579] CPU: Testing write buffer coherency: ok                          
    [    0.001820] /cpus/cpu@0 missing clock-frequency property                     
    [    0.001836] /cpus/cpu@1 missing clock-frequency property                     
    [    0.001845] CPU0: update cpu_capacity 1024                                   
    [    0.001854] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000                 
    [    0.001901] Setting up static identity map for 0x80200000 - 0x80200060       
    [    0.080217] CPU1: update cpu_capacity 1024                                   
    [    0.080222] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001                 
    [    0.080295] Brought up 2 CPUs                                                
    [    0.080311] SMP: Total of 2 processors activated (24.59 BogoMIPS).           
    [    0.080317] CPU: All CPU(s) started in HYP mode.                             
    [    0.080323] CPU: Virtualization extensions available.                        
    [    0.080356] CPU1: update max cpu_capacity 1024                               
    [    0.090227] CPU1: update max cpu_capacity 1024                               
    [    0.109023] VFP support v0.3: implementor 41 architecture 4 part 30 variant f
     rev 0                                                                          
    [    0.109966] omap_hwmod: l3_main_2 using broken dt data from ocp              
    [    0.310496] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma
    x_idle_ns: 19112604462750000 ns                                                 
    [    0.310521] futex hash table entries: 512 (order: 3, 32768 bytes)            
    [    0.313838] pinctrl core: initialized pinctrl subsystem                      
    [    0.314791] NET: Registered protocol family 16                               
    [    0.316054] DMA: preallocated 256 KiB pool for atomic coherent allocations   
    [    0.340317] cpuidle: using governor ladder                                   
    [    0.370343] cpuidle: using governor menu                                     
    [    0.379424] OMAP GPIO hardware version 0.1                                   
    [    0.386041] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@140
    0 !                                                                             
    [    0.411323] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint 
    registers.                                                                      
    [    0.411335] hw-breakpoint: maximum watchpoint size is 8 bytes.               
    [    0.411787] omap4_sram_init:Unable to allocate sram needed to handle errata I
    688                                                                             
    [    0.411797] omap4_sram_init:Unable to get sram pool needed to handle errata I
    688                                                                             
    [    0.412458] OMAP DMA hardware revision 0.0                                   
    [    0.471187] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (
    LinkedList1/2/3 supported)                                                      
    [    0.472317] edma 43300000.edma: memcpy is disabled                           
    [    0.477196] edma 43300000.edma: TI EDMA DMA engine driver                    
    [    0.481278] omap-iommu 40d01000.mmu: 40d01000.mmu registered                 
    [    0.481463] omap-iommu 40d02000.mmu: 40d02000.mmu registered                 
    [    0.481633] omap-iommu 58882000.mmu: 58882000.mmu registered                 
    [    0.481794] omap-iommu 55082000.mmu: 55082000.mmu registered                 
    [    0.482069] omap-iommu 41501000.mmu: 41501000.mmu registered                 
    [    0.482265] omap-iommu 41502000.mmu: 41502000.mmu registered                 
    [    0.484292] usbcore: registered new interface driver usbfs                   
    [    0.484360] usbcore: registered new interface driver hub                     
    [    0.484456] usbcore: registered new device driver usb                        
    [    0.485538] palmas 0-0058: Irq flag is 0x00000008                            
    [    0.502128] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0                      
    [    0.584217] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz                  
    [    0.584742] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz                  
    [    0.585331] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz                  
    [    0.585536] media: Linux media interface: v0.10                              
    [    0.585587] Linux video capture interface: v2.00                             
    [    0.585627] pps_core: LinuxPPS API ver. 1 registered                         
    [    0.585635] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome
    tti <giometti@linux.it>                                                         
    [    0.585660] PTP clock support registered                                     
    [    0.585706] EDAC MC: Ver: 3.0.0                                              
    [    0.586467] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400            
    [    0.586759] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400            
    [    0.587048] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400            
    [    0.587337] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400            
    [    0.587752] Advanced Linux Sound Architecture Driver Initialized.            
    [    0.589274] clocksource: Switched to clocksource arch_sys_counter            
    [    0.631032] NET: Registered protocol family 2                                
    [    0.631626] TCP established hash table entries: 8192 (order: 3, 32768 bytes) 
    [    0.631690] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)        
    [    0.631816] TCP: Hash tables configured (established 8192 bind 8192)         
    [    0.631865] UDP hash table entries: 512 (order: 2, 16384 bytes)              
    [    0.631897] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)         
    [    0.632050] NET: Registered protocol family 1                                
    [    0.633470] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counte
    rs available                                                                    
    [    0.635979] audit: initializing netlink subsys (disabled)                    
    [    0.636028] audit: type=2000 audit(0.619:1): initialized                     
    [    0.643230] VFS: Disk quotas dquot_6.6.0                                     
    [    0.643393] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)  
    [    0.644454] squashfs: version 4.0 (2009/01/31) Phillip Lougher               
    [    0.644693] ntfs: driver 2.1.32 [Flags: R/O].                                
    [    0.645013] fuse init (API version 7.23)                                     
    [    0.649100] bounce: pool size: 64 pages                                      
    [    0.649319] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2
    47)                                                                             
    [    0.649338] io scheduler noop registered                                     
    [    0.649352] io scheduler deadline registered                                 
    [    0.649388] io scheduler cfq registered (default)                            
    [    0.654320] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.658094] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges:              
    [    0.658108]   No bus range found for /ocp/axi@0/pcie_rc@51000000, using [bus 
    00-ff]                                                                          
    [    0.658140]    IO 0x20003000..0x20012fff -> 0x00000000                       
    [    0.658161]   MEM 0x20013000..0x2fffffff -> 0x20013000                       
    [    0.689206] dra7-pcie 51000000.pcie_rc: link is not up                       
    [    0.689420] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00       
    [    0.689434] pci_bus 0000:00: root bus resource [bus 00-ff]                   
    [    0.689445] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]           
    [    0.689455] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]   
    [    0.689868] PCI: bus0: Fast back to back transfers disabled                  
    [    0.689988] PCI: bus1: Fast back to back transfers enabled                   
    [    0.690074] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]    
    [    0.690089] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]    
    [    0.690102] pci 0000:00:00.0: PCI bridge to [bus 01]                         
    [    0.690330] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt  
    [    0.694875] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled        
    [    0.697270] console [ttyS2] disabled                                         
    [    0.697324] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud =
     3000000) is a 8250                                                             
    [    1.695914] console [ttyS2] enabled                                          
    [    1.699894] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 302, base_baud =
     3000000) is a 8250                                                             
    [    1.709844] [drm] Initialized drm 1.1.0 20060810                             
    [    1.716416] OMAP DSS rev 6.1                                                 
    [    1.720176] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_compone
    nt_ops)                                                                         
    [    1.728619] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_compo
    nent_ops)                                                                       
    [    1.837364] brd: module loaded                                               
    [    1.915633] loop: module loaded                                              
    [    1.922021] libphy: Fixed MDIO Bus: probed                                   
    [    1.926699] tun: Universal TUN/TAP device driver, 1.6                        
    [    1.931795] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>           
    [    1.938089] CAN device driver interface                                      
    [    1.989311] davinci_mdio 48485000.mdio: davinci mdio revision 1.6            
    [    1.995438] davinci_mdio 48485000.mdio: detected phy mask fffffff9           
    [    2.005839] libphy: 48485000.mdio: probed                                    
    [    2.009923] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driv
    er Micrel KSZ9031 Gigabit PHY                                                   
    [    2.019662] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driv
    er Micrel KSZ9031 Gigabit PHY                                                   
    [    2.030099] cpsw 48484000.ethernet: Detected MACID = a0:f6:fd:ab:7d:02       
    [    2.036750] cpsw 48484000.ethernet: cpts: overflow check period 800          
    [    2.043831] cpsw 48484000.ethernet: cpsw: Detected MACID = a0:f6:fd:ab:7d:03 
    [    2.051524] PPP generic driver version 2.4.2                                 
    [    2.055918] PPP BSD Compression module registered                            
    [    2.060672] PPP Deflate Compression module registered                        
    [    2.065763] PPP MPPE Compression module registered                           
    [    2.070598] NET: Registered protocol family 24                               
    [    2.278780] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver       
    [    2.285369] ehci-pci: EHCI PCI platform driver                               
    [    2.289898] ehci-platform: EHCI generic platform driver                      
    [    2.295453] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver           
    [    2.301694] ohci-pci: OHCI PCI platform driver                               
    [    2.306205] ohci-platform: OHCI generic platform driver                      
    [    2.312167] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller                   
    [    2.317697] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus nu
    mber 1                                                                          
    [    2.325639] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100
     quirks 0x00210010                                                              
    [    2.334434] xhci-hcd xhci-hcd.1.auto: irq 471, io mem 0x48890000             
    [    2.340665] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002    
    [    2.347485] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=
    1                                                                               
    [    2.354760] usb usb1: Product: xHCI Host Controller                          
    [    2.359673] usb usb1: Manufacturer: Linux 4.4.91-ga9f709f7cf xhci-hcd        
    [    2.366141] usb usb1: SerialNumber: xhci-hcd.1.auto                          
    [    2.371500] hub 1-0:1.0: USB hub found                                       
    [    2.375299] hub 1-0:1.0: 1 port detected                                     
    [    2.379615] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller                   
    [    2.385136] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus nu
    mber 2                                                                          
    [    2.392922] usb usb2: We don't know the algorithms for LPM for this host, dis
    abling LPM.                                                                     
    [    2.401203] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003    
    [    2.408024] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=
    1                                                                               
    [    2.415311] usb usb2: Product: xHCI Host Controller                          
    [    2.420228] usb usb2: Manufacturer: Linux 4.4.91-ga9f709f7cf xhci-hcd        
    [    2.426696] usb usb2: SerialNumber: xhci-hcd.1.auto                          
    [    2.432071] hub 2-0:1.0: USB hub found                                       
    [    2.435869] hub 2-0:1.0: 1 port detected                                     
    [    2.440478] mousedev: PS/2 mouse device common for all mice                  
    [    2.446231] usbcore: registered new interface driver xpad                    
    [    2.451722] usbcore: registered new interface driver usb_acecad              
    [    2.457711] usbcore: registered new interface driver aiptek                  
    [    2.463370] usbcore: registered new interface driver gtco                    
    [    2.468838] usbcore: registered new interface driver hanwang                 
    [    2.474584] usbcore: registered new interface driver kbtab                   
    [    2.480742] i2c /dev entries driver                                          
    [    2.485180] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin                 
    [    2.492279] vip 48990000.vip: loading firmware vpdma-1b8.bin                 
    [    2.498386] gspca_main: v2.14.0 registered                                   
    [    2.504884] gpio-fan gpio_fan: GPIO fan initialized                          
    [    2.509935] vpe 489d0000.vpe: Device registered as /dev/video0               
    [    2.516703] tmp102 0-0048: initialized                                       
    [    2.520509] vip 48990000.vip: VPDMA firmware loaded                          
    [    2.527580] device-mapper: uevent: version 1.0.3                             
    [    2.532474] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-d
    evel@redhat.com                                                                 
    [    2.542313] omap_hsmmc 4809c000.mmc: Got CD GPIO                             
    [    2.547286] vdd_3v3: supplied by regen1                                      
    [    2.599694] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode         
    [    2.606082] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode         
    [    2.646614] mmc0: host does not support reading read-only switch, assuming wr
    ite-enable                                                                      
    [    2.657493] mmc0: new high speed SDHC card at address 59b4                   
    [    2.663466] mmcblk0: mmc0:59b4 USDU1 15.0 GiB                                
    [    2.668770]  mmcblk0: p1 p2                                                  
    [    2.690593] ledtrig-cpu: registered to indicate activity on CPUs             
    [    2.696712] hidraw: raw HID events driver (C) Jiri Kosina                    
    [    2.702206] usb 1-1: new high-speed USB device number 2 using xhci-hcd       
    [    2.711762] usbcore: registered new interface driver usbhid                  
    [    2.717362] usbhid: USB HID core driver                                      
    [    2.721459] ashmem: initialized                                              
    [    2.724633] mmc1: MAN_BKOPS_EN bit is not set                                
    [    2.730324] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9
    d000000                                                                         
    [    2.738171]  remoteproc0: 58820000.ipu is available                          
    [    2.743109]  remoteproc0: Note: remoteproc is still under development and con
    sidered experimental.                                                           
    [    2.752168]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backwar
    d compatibility isn't yet guaranteed.                                           
    [    2.762743]  remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed w
    ith error -2                                                                    
    [    2.771018]  remoteproc0: Falling back to user helper                        
    [    2.771143] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@9
    5800000                                                                         
    [    2.771195]  remoteproc1: 55020000.ipu is available                          
    [    2.771199]  remoteproc1: Note: remoteproc is still under development and con
    sidered experimental.                                                           
    [    2.771202]  remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backwar
    d compatibility isn't yet guaranteed.                                           
    [    2.771327]  remoteproc1: Direct firmware load for dra7-ipu2-fw.xem4 failed w
    ith error -2                                                                    
    [    2.771330]  remoteproc1: Falling back to user helper                        
    [    2.771572] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@9
    9000000                                                                         
    [    2.771618]  remoteproc2: 40800000.dsp is available                          
    [    2.771622]  remoteproc2: Note: remoteproc is still under development and con
    sidered experimental.                                                           
    [    2.771624]  remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backwar
    d compatibility isn't yet guaranteed.                                           
    [    2.771968] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9
    f000000                                                                         
    [    2.772019]  remoteproc3: 41000000.dsp is available                          
    [    2.772022]  remoteproc3: Note: remoteproc is still under development and con
    sidered experimental.                                                           
    [    2.772025]  remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backwar
    d compatibility isn't yet guaranteed.                                           
    [    2.773595] mmc1: new DDR MMC card at address 0001                           
    [    2.839717]  remoteproc2: Direct firmware load for dra7-dsp1-fw.xe66 failed w
    ith error -2                                                                    
    [    2.839720]  remoteproc2: Falling back to user helper                        
    [    2.839914] mmcblk1: mmc1:0001 S10004 3.56 GiB                               
    [    2.850124]  remoteproc3: Direct firmware load for dra7-dsp2-fw.xe66 failed w
    ith error -2                                                                    
    [    2.850127]  remoteproc3: Falling back to user helper                        
    [    2.850474] mmcblk1boot0: mmc1:0001 S10004 partition 1 4.00 MiB              
    [    2.859711] usb 1-1: New USB device found, idVendor=0451, idProduct=8142     
    [    2.859717] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
    [    2.859722] usb 1-1: SerialNumber: 680408611D05                              
    [    2.860776] mmcblk1boot1: mmc1:0001 S10004 partition 2 4.00 MiB              
    [    2.863795]  mmcblk1: p1                                                     
    [    2.873112] hub 1-1:1.0: USB hub found                                       
    [    2.873175] hub 1-1:1.0: 4 ports detected                                    
    [    2.963316] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: USB cable is 
    attached                                                                        
    [    2.971261] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd       
    [    2.988984] usbcore: registered new interface driver snd-usb-audio           
    [    2.995499] usb 2-1: New USB device found, idVendor=0451, idProduct=8140     
    [    3.003736] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [    3.011929] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 580
    40000.encoder mapping ok                                                        
    [    3.023645] u32 classifier                                                   
    [    3.026365]     input device check on                                        
    [    3.030061]     Actions configured                                           
    [    3.033723] hub 2-1:1.0: USB hub found                                       
    [    3.037536] hub 2-1:1.0: 4 ports detected                                    
    [    3.041625] Netfilter messages via NETLINK v0.30.                            
    [    3.046423] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)            
    [    3.053063] ctnetlink v0.93: registering with nfnetlink.                     
    [    3.059018] xt_time: kernel timezone is -0000                                
    [    3.063815] ip_tables: (C) 2000-2006 Netfilter Core Team                     
    [    3.069354] arp_tables: (C) 2002 David S. Miller                             
    [    3.074111] Initializing XFRM netlink socket                                 
    [    3.079032] NET: Registered protocol family 10                               
    [    3.084558] mip6: Mobile IPv6                                                
    [    3.087564] ip6_tables: (C) 2000-2006 Netfilter Core Team                    
    [    3.093393] sit: IPv6 over IPv4 tunneling driver                             
    [    3.098577] NET: Registered protocol family 17                               
    [    3.103090] NET: Registered protocol family 15                               
    [    3.107559] can: controller area network core (rev 20120528 abi 9)           
    [    3.113842] NET: Registered protocol family 29                               
    [    3.118314] can: raw protocol (rev 20120528)                                 
    [    3.122621] can: broadcast manager protocol (rev 20120528 t)                 
    [    3.128315] can: netlink gateway (rev 20130117) max_hops=1                   
    [    3.134123] NET: Registered protocol family 41                               
    [    3.139068] omap_voltage_late_init: Voltage driver support not added         
    [    3.146004] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm           
    [    3.152235] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm           
    [    3.158952] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm           
    [    3.165193] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm           
    [    3.172721] Power Management for TI OMAP4+ devices.                          
    [    3.177878] Registering SWP/SWPB emulation handler                           
    [    3.183188] registered taskstats version 1                                   
    [    3.188072] dmm 4e000000.dmm: workaround for errata i878 in use              
    [    3.195937] dmm 4e000000.dmm: initialized all PAT entries                    
    [    3.199294] usb 1-1.2: new low-speed USB device number 3 using xhci-hcd      
    [    3.304569] usb 1-1.2: New USB device found, idVendor=046d, idProduct=c31c   
    [    3.311497] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber
    =0                                                                              
    [    3.318836] usb 1-1.2: Product: USB Keyboard                                 
    [    3.323133] usb 1-1.2: Manufacturer: Logitech                                
    [    3.327782] usb 1-1.2: ep 0x81 - rounding interval to 64 microframes, ep desc
     says 80 microframes                                                            
    [    3.336748] usb 1-1.2: ep 0x82 - rounding interval to 1024 microframes, ep de
    sc says 2040 microframes                                                        
    [    3.358029] input: Logitech USB Keyboard as /devices/platform/44000000.ocp/48
    880000.omap_dwc3_1/48890000.usb/xhci-hcd.1.auto/usb1/1-1/1-1.2/1-1.2:1.0/0003:04
    6D:C31C.0001/input/input0                                                       
    [    3.417561] input: gpio_keys as /devices/platform/gpio_keys/input/input1     
    [    3.429733] hid-generic 0003:046D:C31C.0001: input,hidraw0: USB HID v1.10 Key
    board [Logitech USB Keyboard] on usb-xhci-hcd.1.auto-1.2/input0                 
    [    3.429820] hctosys: unable to open rtc device (rtc0)                        
    [    3.442848] aic_dvdd_fixed: disabling                                        
    [    3.442852] vmmcwl_fixed: disabling                                          
    [    3.443047] ALSA device list:                                                
    [    3.443050]   #1: HDMI 58040000.encoder                                      
    [    3.468899] input: Logitech USB Keyboard as /devices/platform/44000000.ocp/48
    880000.omap_dwc3_1/48890000.usb/xhci-hcd.1.auto/usb1/1-1/1-1.2/1-1.2:1.1/0003:04
    6D:C31C.0002/input/input2                                                       
    [    3.485409] hid-generic 0003:046D:C31C.0002: input,hidraw1: USB HID v1.10 Dev
    ice [Logitech USB Keyboard] on usb-xhci-hcd.1.auto-1.2/input1                   
    [    3.566280] EXT4-fs (mmcblk0p2): recovery complete                           
    [    3.580146] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. O
    pts: (null)                                                                     
    [    3.588293] VFS: Mounted root (ext4 filesystem) on device 179:2.             
    [    3.594350] usb 1-1.3: new low-speed USB device number 4 using xhci-hcd      
    [    3.601902] Freeing unused kernel memory: 2048K                              
    [    3.671002] init: init first stage started!                                  
    [    3.702668] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c077   
    [    3.709643] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber
    =0                                                                              
    [    3.716986] usb 1-1.3: Product: USB Optical Mouse                            
    [    3.721774] usb 1-1.3: Manufacturer: Logitech                                
    [    3.727121] usb 1-1.3: ep 0x81 - rounding interval to 64 microframes, ep desc
     says 80 microframes                                                            
    [    3.739204] input: Logitech USB Optical Mouse as /devices/platform/44000000.o
    cp/48880000.omap_dwc3_1/48890000.usb/xhci-hcd.1.auto/usb1/1-1/1-1.3/1-1.3:1.0/00
    03:046D:C077.0003/input/input3                                                  
    [    3.756593] hid-generic 0003:046D:C077.0003: input,hidraw2: USB HID v1.11 Mou
    se [Logitech USB Optical Mouse] on usb-xhci-hcd.1.auto-1.3/input0               
    [    3.810493] init: Coldboot took 0.108212 seconds                             
    [    3.815285] init: InitDevices(): partition(s) not found: system, vendor      
    [    3.822528] init: Failed to mount required partitions early ...              
    [    3.828479] init: panic: rebooting to bootloader                             
    [    3.833421] init: Reboot start, reason: reboot, rebootTarget: bootloader     
    [    3.842207] init: android::WriteStringToFile open failed: No such file or dir
    ectory                                                                          
    [    3.849951] init: Shutdown timeout: 6                                        
    [    3.853658] init: terminating init services                                  
    [    3.857870] init: waitpid failed: No child processes                         
    [    3.862888] init: Terminating running services took 0.0294614 seconds with re
    maining services:0                                                              
    [    3.871654] init: waitpid failed: No child processes                         
    [    3.876644] init: vold not running, skipping vold shutdown                   
    [    4.030254] init: powerctl_shutdown_time_ms:196:0                            
    [    4.034993] init: Reboot ending, jumping to kernel                           
    [    4.039992]  remoteproc0: failed to load dra7-ipu1-fw.xem4                   
    [    4.040064]  remoteproc3: failed to load dra7-dsp2-fw.xe66                   
    [    4.040163]  remoteproc2: failed to load dra7-dsp1-fw.xe66                   
    [    4.040260]  remoteproc1: failed to load dra7-ipu2-fw.xem4                   
    [    4.079924] reboot: Restarting system with command 'bootloader'              
                                                                                    
    U-Boot SPL 2016.05-g6f6aaabf5a (Dec 23 2017 - 13:14:49)                         
    DRA752-GP ES2.0                                                                 
    Trying to boot from MMC1                                                        
    no pinctrl for hs200_1_8v                                                       
    no pinctrl for ddr_1_8v                                                         
    no pinctrl for hs200_1_8v                                                       
    reading args                                                                    
    spl_load_image_fat_os: error reading image args, err - -1                       
    reading u-boot.img                                                              
    reading u-boot.img                                                              
    reading u-boot.img                                                              
    reading u-boot.img                                                              
                                                                                    
                                                                                    
    U-Boot 2016.05-g6f6aaabf5a (Dec 23 2017 - 13:14:49 -0500)                       
                                                                                    
    CPU  : DRA752-GP ES2.0                                                          
    Model: TI AM5728 BeagleBoard-X15                                                
    Board: AM572x EVM REV A.30                                                      
    DRAM:  2 GiB                                                                    
    MMC:   mmc@4809c000: fail to find sdr104 mode FDT_ERR_NOTFOUND                  
    no pinctrl for sdr104                                                           
    mmc@4809c000: fail to find ddr50 mode FDT_ERR_NOTFOUND                          
    no pinctrl for ddr50                                                            
    mmc@4809c000: fail to find sdr50 mode FDT_ERR_NOTFOUND                          
    no pinctrl for sdr50                                                            
    mmc@4809c000: fail to find sdr25 mode FDT_ERR_NOTFOUND                          
    no pinctrl for sdr25                                                            
    mmc@4809c000: fail to find sdr12 mode FDT_ERR_NOTFOUND                          
    no pinctrl for sdr12                                                            
    OMAP SD/MMC: 0, OMAP SD/MMC: 1                                                  
    failed to set signal voltage                                                    
    ERROR: cannot find partition: 'userdata'                                        
                                                                                    
    at /oe/bld/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am57xx_evm-li
    nux-gnueabi/u-boot-ti-android/2016.05+gitAUTOINC+6f6aaabf5a-r0/git/arch/arm/cpu/
    armv7/omap-common/utils.c:199/mmc_get_part_size()                               
    Warning: fastboot.userdata_size: unable to calc                                 
    SCSI:  0 device not found                                                       
    ERROR: scsi device not found                                                    
                                                                                    
    at /oe/bld/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am57xx_evm-li
    nux-gnueabi/u-boot-ti-android/2016.05+gitAUTOINC+6f6aaabf5a-r0/git/drivers/block
    /disk-uclass.c:43/scsi_init()                                                   
    Net:   No ethernet found.                                                       
    Hit any key to stop autobo 0                                                    
    =>env default -f -a                                                             
    ## Resetting to default environment                                             
    =>setenv partitions ${partitions_android}                                       
    =>setenv bootpart 0:1                                                           
    =>setenv rootpart 0:2                                                           
    =>setenv bootdir                                                                
    =>setenv devtype mmc                                                            
    =>setenv finduuid 'part uuid ${devtype} ${rootpart} uuid'                       
    =>setenv optargs ${bootargs}                                                    
    =>setenv dofastboot 1                                                           
    =>saveenv                                                                       
    Saving Environment to MMC...                                                    
    Writing to redundant MMC(1)... done                                             
    =>reset                                                                         
    resetting ...                                                                   
                                                                                    
    U-Boot SPL 2016.05-g6f6aaabf5a (Dec 23 2017 - 13:14:49)                         
    DRA752-GP ES2.0                                                                 
    Trying to boot from MMC1                                                        
    no pinctrl for hs200_1_8v                                                       
    no pinctrl for ddr_1_8v                                                         
    no pinctrl for hs200_1_8v                                                       
    reading args                                                                    
    spl_load_image_fat_os: error reading image args, err - -1                       
    reading u-boot.img                                                              
    reading u-boot.img                                                              
    reading u-boot.img                                                              
    reading u-boot.img                                                              
                                                                                    
                                                                                    
    U-Boot 2016.05-g6f6aaabf5a (Dec 23 2017 - 13:14:49 -0500)                       
                                                                                    
    CPU  : DRA752-GP ES2.0                                                          
    Model: TI AM5728 BeagleBoard-X15                                                
    Board: AM572x EVM REV A.30                                                      
    DRAM:  2 GiB                                                                    
    MMC:   mmc@4809c000: fail to find sdr104 mode FDT_ERR_NOTFOUND                  
    no pinctrl for sdr104                                                           
    mmc@4809c000: fail to find ddr50 mode FDT_ERR_NOTFOUND                          
    no pinctrl for ddr50                                                            
    mmc@4809c000: fail to find sdr50 mode FDT_ERR_NOTFOUND                          
    no pinctrl for sdr50                                                            
    mmc@4809c000: fail to find sdr25 mode FDT_ERR_NOTFOUND                          
    no pinctrl for sdr25                                                            
    mmc@4809c000: fail to find sdr12 mode FDT_ERR_NOTFOUND                          
    no pinctrl for sdr12                                                            
    OMAP SD/MMC: 0, OMAP SD/MMC: 1                                                  
    failed to set signal voltage                                                    
    ERROR: cannot find partition: 'userdata'                                        
                                                                                    
    at /oe/bld/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am57xx_evm-li
    nux-gnueabi/u-boot-ti-android/2016.05+gitAUTOINC+6f6aaabf5a-r0/git/arch/arm/cpu/
    armv7/omap-common/utils.c:199/mmc_get_part_size()                               
    Warning: fastboot.userdata_size: unable to calc                                 
    SCSI:  0 device not found                                                       
    ERROR: scsi device not found                                                    
                                                                                    
    at /oe/bld/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/am57xx_evm-li
    nux-gnueabi/u-boot-ti-android/2016.05+gitAUTOINC+6f6aaabf5a-r0/git/drivers/block
    /disk-uclass.c:43/scsi_init()                                                   
    Net:   No ethernet found.                                                       
    Hit any key to stop autoboot:  0                                                
    Boot fastboot requested, resetting dofastboot ...                               
    Saving Environment to MMC...                                                    
    Writing to MMC(1)... done                                                       
    Booting into fastboot ...
    
    /home/luba/ti-processor-sdk-android-am57xx-evm-04.02.00.09
    You can manually run minicom in the future with this setup script using:
    
     $ minicom -S /home/luba/ti-processor-sdk-android-am57xx-evm-04.02.00.09/bin/setupBoard.minicom
    
    --------------------------------------------------------------------------------
    Fastboot: ./fastboot
    Image location: /home/luba/ti-processor-sdk-android-am57xx-evm-04.02.00.09/board-support/prebuilt-images/
    No device detected. Please ensure that fastboot is running on the target device
    luba@ubuntu:~/ti-processor-sdk-android-am57xx-evm-04.02.00.09$ 
    
    

    Peter

  • 1) Do you have microusb connected ?( same as adb usb port)
    2) if you run on your host machine (sudo ./bin/fastboot devices) do you see device connected with a serial number?
  • 1. Yes, it is connected.
    2. No I don't see "fastboot" under /dev. However, I am running the host in VM ubuntu, (I know I am recommended to make a native system) but even my native windows system couldn't pick up new device when I plug the micro usb cable in.

    Again, am I supposed to see the error when running create-sdcard.sh? because the script finishes in under 20s, I don't think it copies the prebuilt-image onto the card (unless its copied later directly from host using setup script)
  • Hello Xiang,

    by "error", if you mean

    sed: can't read init.am57xevmboard.rc: No such file or directory
    sed: can't read fstab.am57xevmboard: No such file or directory

    I can confirm that I get the same output when I run create-sdcard.sh, but it can still successfully load Android on my board.

    setup.sh has not been tested for any VMs, so I do not know if the negotiation process between your host OS and the Linux VM for which OS gets the USB device is compatible with the script.

    Regards,
    Nick