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.

system console off and USB memory mount on AM3715evm

Other Parts Discussed in Thread: DM3730, ADS7846, TVP5146M2

Hi,

 

I have just built and booted Android on AM3715evm and everything works fine on the high-level (i.e. Android runs, adb works, etc). I've got two problems though:

 

1. System console is disabled: minicom became inactive after uncompressing Linux and stays inactive, so I loose all the system messages I used to have (e.g. inserting/removing USB devices). I'd really like to have it back... Any ideas?

2. I need to mount USB memory stick on the board and can not find any new entry under /dev and subfolders when I insert the stick. Is it supposed to work? Should I reconfigure Kernel to include right drivers (if they are available?)

 

Thanks,

Michael

  • For 1. I think you used the boot.scr that came along with the release, there is one mistake we did, the console is pointing to ttyS2, instead of ttyS0. If you can correct the same in bootargs then it will work for sure. Otherwise let me know I will send you a new boot.scr file.

    For 2: We did try USB mass storage, 

    print the boot log for us. 

    try with Self Powered USB HUB.

    Which USB port are you using for this ?

    Regards,

    Khasim

  • Hi Khasim,

     

    I have fixed the console issue (by rebuilding boot.scr with the right setting), thanks for the advice. 

     

    The USB appears to be unstable though. I have tried few times with memory stick plugged directly into the board and through self-powered hub. The furthest I could get is to see the device under /dev/block and then mounting fails. In other cases the USB stick was either completely ignored or failed to enumerate with various errors. I've got few logs but unfortunately it would not let me attach them to the response. I'll copy two of them below, first from USB directly plugged, and then through hub.

     

    Thanks,

     

    Michael

    Direct plug:

    Texas Instruments X-Loader 1.47 (Sep 27 2010 - 11:42:45)
    Starting X-loader on MMC
    Reading boot sector

    217556 Bytes Read from MMC
    Starting OS Bootloader from MMC...
    Starting OS Bootloader...


    U-Boot 2010.06-rc1 (Sep 27 2010 - 11:40:04)

    OMAP34xx/35xx-GP ES1.0, CPU-OPP2 L3-165MHz
    OMAP3 EVM board + LPDDR/NAND
    I2C:   ready
    DRAM:  256 MiB
    NAND:  512 MiB
    In:    serial
    Out:   serial
    Err:   serial
    Read back SMSC id 0x92200000
    Die ID #17ac0000061000000156166b0a03200c
    Net:   smc911x-0
    Hit any key to stop autoboot:  0
    mmc1 is available
    reading boot.scr

    398 bytes read
    Running bootscript from mmc ...
    ## Executing script at 82000000
    reading uImage

    2483080 bytes read
    ***** Kernel: /dev/mmcblk0p1/uImage *****
    ***** RootFS: /dev/mmcblk0p2 *****
    ## Booting kernel from Legacy Image at 80200000 ...
       Image Name:   Linux-2.6.32
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2483016 Bytes = 2.4 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux.................................................................................................................
    Linux version 2.6.32 (michael@ubuntu) (gcc version 4.4.0 (GCC) ) #1 Mon Sep 27 11:28:44 EDT 2010
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
    Machine: OMAP3 EVM
    Memory policy: ECC disabled, Data cache writeback
    OMAP3630/DM3730 ES1.0 (l2cache iva sgx neon isp 192mhz_clk )
    SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000
    Reserving 4194304 bytes SDRAM for VRAM
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
    Kernel command line: console=ttyS0,115200n8 androidboot.console=ttyS0 mem=256M root=/dev/mmcblk0p2 rw rootfstype=ext3 rootdelay=1 iy
    PID hash table entries: 1024 (order: 0, 4096 bytes)
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 256MB = 256MB total
    Memory: 250112KB available (4292K code, 824K data, 172K init, 0K highmem)
    Hierarchical RCU implementation.
    NR_IRQS:402
    Clocking rate (Crystal/Core/MPU): 26.0/200/600 MHz
    Reprogramming SDRC clock to 200000000 Hz
    dpll3_m2_clk rate change failed: -22
    GPMC revision 5.0
    IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
    Total of 96 interrupts on 1 active controller
    OMAP GPIO hardware version 2.5
    OMAP clockevent source: GPTIMER1 at 32768 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    regulator: core version 0.5
    NET: Registered protocol family 16
    omap3evmdc: Driver registration complete
    OMAP DMA hardware revision 5.0
    bio: create slab <bio-0> at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    i2c_omap i2c_omap.1: bus 1 rev4.0 at 2600 kHz
    twl4030: PIH (irq 7) chaining IRQs 368..375
    twl4030: power (irq 373) chaining IRQs 376..383
    twl4030: gpio (irq 368) chaining IRQs 384..401
    regulator: VMMC1: 1850 <--> 3150 mV normal standby
    regulator: VDAC: 1800 mV normal standby
    regulator: VAUX2_4030: 1800 mV normal standby
    regulator: VPLL2: 1800 mV normal standby
    regulator: VSIM: 1800 <--> 3000 mV normal standby
    i2c_omap i2c_omap.2: bus 2 rev4.0 at 400 kHz
    i2c_omap i2c_omap.3: bus 3 rev4.0 at 400 kHz
    Switching to clocksource 32k_counter
    musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
    musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
    NET: Registered protocol family 2
    IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 8192 bind 8192)
    TCP reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    omap-iommu omap-iommu.0: isp registered
    AM37x/DM37x  Linux PSP version 03.00.01.06 (OMAP3EVM)
    NetWinder Floating Point Emulator V0.97 (double precision)
    ashmem: initialized
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    msgmni has been set to 488
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    OMAP DSS rev 2.0
    OMAP DISPC rev 3.0
    OMAP VENC rev 2
    OMAP DSI rev 1.0
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
    console [ttyS0] enabled
    serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
    serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
    brd: module loaded
    loop: module loaded
    omap2-nand driver initializing
    NAND device: Manufacturer ID: 0xad, Chip ID: 0xbc (Hynix NAND 512MiB 1,8V 16-bit)
    Creating 5 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000080000 : "xloader-nand"
    0x000000080000-0x000000240000 : "uboot-nand"
    0x000000240000-0x000000280000 : "params-nand"
    0x000000280000-0x000000780000 : "linux-nand"
    0x000000780000-0x000020000000 : "jffs2-nand"
    OneNAND driver initializing
    omap2-onenand omap2-onenand: Cannot request GPMC CS
    omap2-onenand: probe of omap2-onenand failed with error -16
    smsc911x: Driver version 2008-10-21.
    smsc911x-mdio: probed
    eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01, irq=-1)
    net eth0: MAC Address: 00:50:c2:7e:93:89
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
    ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
    ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
    ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: OMAP-EHCI Host Controller
    usb usb1: Manufacturer: Linux 2.6.32 ehci_hcd
    usb usb1: SerialNumber: ehci-omap.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 3 ports detected
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    usbcore: registered new interface driver usbtest
    android init
    android_probe pdata: c0493ac8
    android_bind
    android_usb gadget: android_usb ready
    musb_hdrc musb_hdrc: MUSB HDRC host driver
    musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: MUSB HDRC host driver
    usb usb2: Manufacturer: Linux 2.6.32 musb-hcd
    usb usb2: SerialNumber: musb_hdrc
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    f_adb init
    android_register_function adb
    adb_bind_config
    f_mass_storage init
    android_register_function usb_mass_storage
    input: TWL4030 Keypad as /devices/platform/i2c_omap.1/i2c-1/1-004a/twl4030_keypad/input/input0
    ads7846 spi1.0: touchscreen, irq 335
    input: ADS7846 Touchscreen as /devices/platform/omap2_mcspi.1/spi1.0/input/input1
    using rtc device, twl_rtc, for alarms
    twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
    i2c /dev entries driver
    Linux video capture interface: v2.00
    tvp514x 3-005c: Registered to v4l2 master omap34xxcam!!
    omap-iommu omap-iommu.0: isp: version 1.1
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v0.1.0)
    OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    logger: created 64K log 'log_main'
    logger: created 256K log 'log_events'
    logger: created 64K log 'log_radio'
    logger: created 64K log 'log_system'
    Advanced Linux Sound Architecture Driver Version 1.0.21.
    usbcore: registered new interface driver snd-usb-audio
    usb 1-2: new high speed USB device using ehci-omap and address 2
    No device for DAI omap-mcbsp-dai-0
    No device for DAI omap-mcbsp-dai-1
    No device for DAI omap-mcbsp-dai-2
    No device for DAI omap-mcbsp-dai-3
    No device for DAI omap-mcbsp-dai-4
    OMAP3 EVM SoC init
    asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
    ALSA device list:
      #0: omap3evm (twl4030)
    TCP cubic registered
    NET: Registered protocol family 17
    NET: Registered protocol family 15
    Power Management for TI OMAP3.
    SmartReflex driver initialized
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    usb 1-2: New USB device found, idVendor=0951, idProduct=1603
    usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    usb 1-2: Product: DataTraveler 2.0
    usb 1-2: Manufacturer: Kingston
    usb 1-2: SerialNumber: 001CC0EC34E5F07105DE14F9
    scsi0 : usb-storage 1-2:1.0
    twl_rtc twl_rtc: setting system clock to 2010-05-17 16:37:57 UTC (1274114277)
    tvp514x 3-005c: tvp5146m2 found at 0xb8 (OMAP I2C adapter)
    mmc0: new high speed SD card at address d1af
    mmcblk0: mmc0:d1af SD02G 1.83 GiB
     mmcblk0:
    omapdss DPI error: display already enabled
    omap_vout omap_vout: 'lcd' Display already enabled
    omapdss DPI error: display already enabled
    omap_vout omap_vout: 'lcd' Display already enabled
    omap_vout omap_vout: Buffer Size = 3686400
     p1 p2
    omap_vout omap_vout: : registered and initialized video device 1
    omap_vout omap_vout: Buffer Size = 3686400
    omap_vout omap_vout: : registered and initialized video device 2
    Waiting 1sec before mounting root device...
    kjournald starting.  Commit interval 5 seconds
    EXT3-fs (mmcblk0p2): using internal journal
    EXT3-fs (mmcblk0p2): recovery complete
    EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
    VFS: Mounted root (ext3 filesystem) on device 179:2.
    Freeing init memory: 172K
    Warning: unable to open an initial console.
    init: cannot find '/system/bin/playmp3', disabling 'bootsound'
    enabling adb
    adb_open
    # ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable is bad?
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable is bad?
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable is bad?
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable is bad?
    usb 1-2: USB disconnect, address 2
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable is bad?
    warning: `zygote' uses 32-bit capabilities (legacy support in use)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable is bad?
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable is bad?
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    ehci-omap ehci-omap.0: port 2 reset error -110
    hub 1-0:1.0: hub_port_status failed (err = -32)
    hub 1-0:1.0: Cannot enable port 2.  Maybe the USB cable is bad?
    hub 1-0:1.0: unable to enumerate USB device on port 2

    # ls /dev/block
    vold
    mtdblock4
    mtdblock3
    mtdblock2
    mtdblock1
    mtdblock0
    loop7
    loop6
    loop5
    loop4
    loop3
    loop2
    loop1
    loop0
    ram15
    ram14
    ram13
    ram12
    ram11
    ram10
    ram9
    ram8
    ram7
    ram6
    ram5
    ram4
    ram3
    ram2
    ram1
    ram0
    mmcblk0p2
    mmcblk0p1
    mmcblk0
    #
     CTRL-A Z for help |115200 8N1 | NOR | Minicom 2.4    | VT102 | Online 21:10                                                      

     

     

     

     

     

     

    Through HUB (best I got - attempted mounting here):

     

    Texas Instruments X-Loader 1.47 (Sep 27 2010 - 11:42:45)
    Starting X-loader on MMC
    Reading boot sector

    217556 Bytes Read from MMC
    Starting OS Bootloader from MMC...
    Starting OS Bootloader...


    U-Boot 2010.06-rc1 (Sep 27 2010 - 11:40:04)

    OMAP34xx/35xx-GP ES1.0, CPU-OPP2 L3-165MHz
    OMAP3 EVM board + LPDDR/NAND
    I2C:   ready
    DRAM:  256 MiB
    NAND:  512 MiB
    In:    serial
    Out:   serial
    Err:   serial
    Read back SMSC id 0x92200000
    Die ID #17ac0000061000000156166b0a03200c
    Net:   smc911x-0
    Hit any key to stop autoboot:  0
    mmc1 is available
    reading boot.scr

    398 bytes read
    Running bootscript from mmc ...
    ## Executing script at 82000000
    reading uImage

    2483080 bytes read
    ***** Kernel: /dev/mmcblk0p1/uImage *****
    ***** RootFS: /dev/mmcblk0p2 *****
    ## Booting kernel from Legacy Image at 80200000 ...
       Image Name:   Linux-2.6.32
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2483016 Bytes = 2.4 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux.................................................................................................................
    Linux version 2.6.32 (michael@ubuntu) (gcc version 4.4.0 (GCC) ) #1 Mon Sep 27 11:28:44 EDT 2010
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
    Machine: OMAP3 EVM
    Memory policy: ECC disabled, Data cache writeback
    OMAP3630/DM3730 ES1.0 (l2cache iva sgx neon isp 192mhz_clk )
    SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000
    Reserving 4194304 bytes SDRAM for VRAM
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
    Kernel command line: console=ttyS0,115200n8 androidboot.console=ttyS0 mem=256M root=/dev/mmcblk0p2 rw rootfstype=ext3 rootdelay=1 iy
    PID hash table entries: 1024 (order: 0, 4096 bytes)
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 256MB = 256MB total
    Memory: 250112KB available (4292K code, 824K data, 172K init, 0K highmem)
    Hierarchical RCU implementation.
    NR_IRQS:402
    Clocking rate (Crystal/Core/MPU): 26.0/200/600 MHz
    Reprogramming SDRC clock to 200000000 Hz
    dpll3_m2_clk rate change failed: -22
    GPMC revision 5.0
    IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
    Total of 96 interrupts on 1 active controller
    OMAP GPIO hardware version 2.5
    OMAP clockevent source: GPTIMER1 at 32768 Hz
    Console: colour dummy device 80x30
    Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    regulator: core version 0.5
    NET: Registered protocol family 16
    omap3evmdc: Driver registration complete
    OMAP DMA hardware revision 5.0
    bio: create slab <bio-0> at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    i2c_omap i2c_omap.1: bus 1 rev4.0 at 2600 kHz
    twl4030: PIH (irq 7) chaining IRQs 368..375
    twl4030: power (irq 373) chaining IRQs 376..383
    twl4030: gpio (irq 368) chaining IRQs 384..401
    regulator: VMMC1: 1850 <--> 3150 mV normal standby
    regulator: VDAC: 1800 mV normal standby
    regulator: VAUX2_4030: 1800 mV normal standby
    regulator: VPLL2: 1800 mV normal standby
    regulator: VSIM: 1800 <--> 3000 mV normal standby
    i2c_omap i2c_omap.2: bus 2 rev4.0 at 400 kHz
    i2c_omap i2c_omap.3: bus 3 rev4.0 at 400 kHz
    Switching to clocksource 32k_counter
    musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
    musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
    NET: Registered protocol family 2
    IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 8192 bind 8192)
    TCP reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    omap-iommu omap-iommu.0: isp registered
    AM37x/DM37x  Linux PSP version 03.00.01.06 (OMAP3EVM)
    NetWinder Floating Point Emulator V0.97 (double precision)
    ashmem: initialized
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    msgmni has been set to 488
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    OMAP DSS rev 2.0
    OMAP DISPC rev 3.0
    OMAP VENC rev 2
    OMAP DSI rev 1.0
    Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
    console [ttyS0] enabled
    serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
    serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
    brd: module loaded
    loop: module loaded
    omap2-nand driver initializing
    NAND device: Manufacturer ID: 0xad, Chip ID: 0xbc (Hynix NAND 512MiB 1,8V 16-bit)
    Creating 5 MTD partitions on "omap2-nand.0":
    0x000000000000-0x000000080000 : "xloader-nand"
    0x000000080000-0x000000240000 : "uboot-nand"
    0x000000240000-0x000000280000 : "params-nand"
    0x000000280000-0x000000780000 : "linux-nand"
    0x000000780000-0x000020000000 : "jffs2-nand"
    OneNAND driver initializing
    omap2-onenand omap2-onenand: Cannot request GPMC CS
    omap2-onenand: probe of omap2-onenand failed with error -16
    smsc911x: Driver version 2008-10-21.
    smsc911x-mdio: probed
    eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01, irq=-1)
    net eth0: MAC Address: 00:50:c2:7e:93:89
    usbcore: registered new interface driver cdc_ether
    usbcore: registered new interface driver dm9601
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
    ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
    ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
    ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: OMAP-EHCI Host Controller
    usb usb1: Manufacturer: Linux 2.6.32 ehci_hcd
    usb usb1: SerialNumber: ehci-omap.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 3 ports detected
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    usbcore: registered new interface driver usbtest
    android init
    android_probe pdata: c0493ac8
    android_bind
    android_usb gadget: android_usb ready
    musb_hdrc musb_hdrc: MUSB HDRC host driver
    musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: MUSB HDRC host driver
    usb usb2: Manufacturer: Linux 2.6.32 musb-hcd
    usb usb2: SerialNumber: musb_hdrc
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    f_adb init
    android_register_function adb
    adb_bind_config
    f_mass_storage init
    android_register_function usb_mass_storage
    input: TWL4030 Keypad as /devices/platform/i2c_omap.1/i2c-1/1-004a/twl4030_keypad/input/input0
    ads7846 spi1.0: touchscreen, irq 335
    input: ADS7846 Touchscreen as /devices/platform/omap2_mcspi.1/spi1.0/input/input1
    using rtc device, twl_rtc, for alarms
    twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
    i2c /dev entries driver
    Linux video capture interface: v2.00
    tvp514x 3-005c: Registered to v4l2 master omap34xxcam!!
    omap-iommu omap-iommu.0: isp: version 1.1
    usbcore: registered new interface driver uvcvideo
    USB Video Class driver (v0.1.0)
    OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    logger: created 64K log 'log_main'
    logger: created 256K log 'log_events'
    logger: created 64K log 'log_radio'
    logger: created 64K log 'log_system'
    Advanced Linux Sound Architecture Driver Version 1.0.21.
    usbcore: registered new interface driver snd-usb-audio
    usb 1-2: new high speed USB device using ehci-omap and address 2
    No device for DAI omap-mcbsp-dai-0
    No device for DAI omap-mcbsp-dai-1
    No device for DAI omap-mcbsp-dai-2
    No device for DAI omap-mcbsp-dai-3
    No device for DAI omap-mcbsp-dai-4
    OMAP3 EVM SoC init
    asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
    ALSA device list:
      #0: omap3evm (twl4030)
    TCP cubic registered
    NET: Registered protocol family 17
    NET: Registered protocol family 15
    Power Management for TI OMAP3.
    SmartReflex driver initialized
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    usb 1-2: New USB device found, idVendor=1a40, idProduct=0101
    usb 1-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    usb 1-2: Product: USB 2.0 Hub [MTT]
    hub 1-2:1.0: USB hub found
    hub 1-2:1.0: 4 ports detected
    twl_rtc twl_rtc: setting system clock to 2010-05-17 16:42:07 UTC (1274114527)
    tvp514x 3-005c: tvp5146m2 found at 0xb8 (OMAP I2C adapter)
    omapdss DPI error: display already enabled
    omap_vout omap_vout: 'lcd' Display already enabled
    omapdss DPI error: display already enabled
    omap_vout omap_vout: 'lcd' Display already enabled
    omap_vout omap_vout: Buffer Size = 3686400
    mmc0: new high speed SD card at address d1af
    mmcblk0: mmc0:d1af SD02G 1.83 GiB
     mmcblk0:
    omap_vout omap_vout: : registered and initialized video device 1
    omap_vout omap_vout: Buffer Size = 3686400
     p1 p2
    omap_vout omap_vout: : registered and initialized video device 2
    Waiting 1sec before mounting root device...
    usb 1-2.3: new high speed USB device using ehci-omap and address 3
    usb 1-2.3: New USB device found, idVendor=0951, idProduct=1603
    usb 1-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    usb 1-2.3: Product: DataTraveler 2.0
    usb 1-2.3: Manufacturer: Kingston
    usb 1-2.3: SerialNumber: 001CC0EC34E5F07105DE14F9
    scsi0 : usb-storage 1-2.3:1.0
    kjournald starting.  Commit interval 5 seconds
    EXT3-fs (mmcblk0p2): using internal journal
    EXT3-fs (mmcblk0p2): recovery complete
    EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
    VFS: Mounted root (ext3 filesystem) on device 179:2.
    Freeing init memory: 172K
    Warning: unable to open an initial console.
    init: cannot find '/system/bin/playmp3', disabling 'bootsound'
    enabling adb
    adb_open
    # scsi 0:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
    sd 0:0:0:0: [sda] 15636304 512-byte logical blocks: (8.00 GB/7.45 GiB)
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] Assuming drive cache: write through
    sd 0:0:0:0: [sda] Assuming drive cache: write through
     sda: sda1
    sd 0:0:0:0: [sda] Assuming drive cache: write through
    sd 0:0:0:0: [sda] Attached SCSI removable disk
    warning: `zygote' uses 32-bit capabilities (legacy support in use)

    # ls /dev/block
    sda1
    sda
    vold
    mtdblock4
    mtdblock3
    mtdblock2
    mtdblock1
    mtdblock0
    loop7
    loop6
    loop5
    loop4
    loop3
    loop2
    loop1
    loop0
    ram15
    ram14
    ram13
    ram12
    ram11
    ram10
    ram9
    ram8
    ram7
    ram6
    ram5
    ram4
    ram3
    ram2
    ram1
    ram0
    mmcblk0p2
    mmcblk0p1
    mmcblk0
    # mount -t vfat /dev/block/sda1 /mnt
    hub 1-2:1.0: cannot reset port 3 (err = -71)
    hub 1-2:1.0: cannot reset port 3 (err = -71)
    hub 1-2:1.0: cannot reset port 3 (err = -71)
    hub 1-2:1.0: cannot reset port 3 (err = -71)
    hub 1-2:1.0: cannot reset port 3 (err = -71)
    hub 1-2:1.0: Cannot enable port 3.  Maybe the USB cable is bad?
    hub 1-2:1.0: cannot disable port 3 (err = -71)
    hub 1-2:1.0: cannot reset port 3 (err = -71)
    hub 1-2:1.0: cannot reset port 3 (err = -71)
    hub 1-2:1.0: cannot reset port 3 (err = -71)
    hub 1-2:1.0: cannot reset port 3 (err = -71)
    hub 1-2:1.0: cannot reset port 3 (err = -71)
    hub 1-2:1.0: Cannot enable port 3.  Maybe the USB cable is bad?
    hub 1-2:1.0: cannot disable port 3 (err = -71)
    hub 1-2:1.0: cannot reset port 3 (err = -71)
    hub 1-2:1.0: cannot reset port 3 (err = -71)
    hub 1-2:1.0: cannot reset port 3 (err = -71)
    hub 1-2:1.0: cannot reset port 3 (err = -71)
    hub 1-2:1.0: cannot reset port 3 (err = -71)
    hub 1-2:1.0: Cannot enable port 3.  Maybe the USB cable is bad?
    hub 1-2:1.0: cannot disable port 3 (err = -71)
    hub 1-2:1.0: cannot reset port 3 (err = -71)
    hub 1-2:1.0: cannot reset port 3 (err = -71)
    hub 1-2:1.0: cannot reset port 3 (err = -71)
    hub 1-2:1.0: cannot reset port 3 (err = -71)
    hub 1-2:1.0: cannot reset port 3 (err = -71)
    hub 1-2:1.0: Cannot enable port 3.  Maybe the USB cable is bad?
    hub 1-2:1.0: cannot disable port 3 (err = -71)
    hub 1-2:1.0: cannot disable port 3 (err = -71)
    mount: No medium found
    # hub 1-2:1.0: hub_port_status failed (err = -71)

     

  • Hi Khasim,

     

    I have tried two more things: 

    1. I booted the board with Linux SDK SD card supplied with it. Standard Linux detected and mounted USB stick without any problems (both direct plug and through hub) and I was able to read file from it. So it appears that hw is ok on the board, the issue is with the driver in TI's kernel for Android. 

    2. I tried enabling "Low performance USB block driver" in kernel configuration and got one step further: I mounted the USB stick and "ls" command worked. However, when I tried "adb pull" it failed with similar error messages on the system console as before.

    Please let me know if there are any other ways I can help with resolving this.  Let me know how it goes.

     

    Thanks,

    Michael

  • Michael,

    Is this the same procedure that you were doing for AM35x platform ? I want to understand if this was working on AM35x and not working on AM37x.

    I will be on travel from next week. Is it possible to have a call and close all the open issues. Please mail me on khasim@ti.com with your availability today/tomorrow, lets discuss your setup and find all the available solutions for the same.

    As you pointed out our hardware is stable may be we have not tried your setup we can fix the same accordingly.

    Regards,

    Khasim