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.

USB OTG does not work in SDK 7.0

Other Parts Discussed in Thread: AM3359, DA8XX, TPS65217

Hi !

I am working on a custom board based on AM3359 processor. The USB otg feature was working on the linux 3.12.8 kernel and when we upgraded to the kernel from TI(Linux version 3.12.10-ti2013.12.01) in sdk7 the host mode does not seem to work. I have verified this feature in 3.12.10 from the kernel.org and it works fine.

I was wondering if any one has faced the same problem or if TI released any patch regarding this.

Please find below my questions/observations..

1) I see that TI changed many of the features in the Device Tree (clock sources) and also the code in the USB drivers. I have verified that when i connect any usb gadgets to the board they all get recognized. but when i connect my board to the PC, i dont see any activity on the Windows PC (no COMM port is created)

2) These are the features i checked in the kernel config file. please find the attached file7041.config.txt

3) Here is the kernel logs..

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.12.10-ti2013.12.01 (root@Harsha_kj) (gcc version 4.7.3 20130328 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.04-20130415 - Linaro GCC 2013.04) ) #1 SMP PREEMPT Fri Jun 27 08:41:43 CDT 2014
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x TotalFlow
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (sgx neon )
[ 0.000000] PERCPU: Embedded 8 pages/cpu @c0b02000 s9728 r8192 d14848 u32768
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64256
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] allocated 524288 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] Memory: 247012K/259072K available (5800K kernel code, 486K rwdata, 2168K rodata, 297K init, 357K bss, 12060K reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc07d05f4 (7970 kB)
[ 0.000000] .init : 0xc07d1000 - 0xc081b600 ( 298 kB)
[ 0.000000] .data : 0xc081c000 - 0xc0895ba0 ( 487 kB)
[ 0.000000] .bss : 0xc0895bac - 0xc08ef250 ( 358 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] Total of 128 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: timer2 at 25000000 Hz
[ 0.000000] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
[ 0.000000] OMAP clocksource: timer1 at 25000000 Hz
[ 0.000000] Console: colour dummy device 80x30
[ 0.000409] Calibrating delay loop... 363.72 BogoMIPS (lpj=1818624)
[ 0.049521] pid_max: default: 32768 minimum: 301
[ 0.049792] Security Framework initialized
[ 0.049916] Mount-cache hash table entries: 512
[ 0.067072] Initializing cgroup subsys memory
[ 0.067174] Initializing cgroup subsys devices
[ 0.067198] Initializing cgroup subsys freezer
[ 0.067218] Initializing cgroup subsys blkio
[ 0.067405] CPU: Testing write buffer coherency: ok
[ 0.068088] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.068185] Setting up static identity map for 0xc0579388 - 0xc05793e0
[ 0.119546] Brought up 1 CPUs
[ 0.119568] SMP: Total of 1 processors activated.
[ 0.119584] CPU: All CPU(s) started in SVC mode.
[ 0.120957] devtmpfs: initialized
[ 0.128380] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.201160] omap_hwmod: debugss: _wait_target_disable failed
[ 0.202442] pinctrl core: initialized pinctrl subsystem
[ 0.204241] regulator-dummy: no parameters
[ 0.205583] NET: Registered protocol family 16
[ 0.206588] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.212184] cpuidle: using governor ladder
[ 0.212215] cpuidle: using governor menu
[ 0.222057] platform mpu.1: FIXME: clock-name 'fck' DOES NOT exist in dt!
[ 0.224480] platform 49000000.edma: FIXME: clock-name 'fck' DOES NOT exist in dt!
[ 0.227217] OMAP GPIO hardware version 0.1
[ 0.252290] platform 56000000.sgx: FIXME: clock-name 'fck' DOES NOT exist in dt!
[ 0.256308] DSS not supported on this SoC
[ 0.256339] No ATAGs?
[ 0.256357] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.338607] bio: create slab <bio-0> at 0
[ 0.375726] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[ 0.377397] vmmcsd_fixed: 3300 mV
[ 0.386296] SCSI subsystem initialized
[ 0.390138] usbcore: registered new interface driver usbfs
[ 0.390695] usbcore: registered new interface driver hub
[ 0.391222] usbcore: registered new device driver usb
[ 0.393405] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/i2c0_pinmux, deferring probe
[ 0.393459] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
[ 0.394315] pps_core: LinuxPPS API ver. 1 registered
[ 0.394336] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.394676] PTP clock support registered
[ 0.401026] Switched to clocksource timer1
[ 0.447566] NET: Registered protocol family 2
[ 0.448846] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.448940] TCP bind hash table entries: 2048 (order: 3, 40960 bytes)
[ 0.449034] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.449149] TCP: reno registered
[ 0.449178] UDP hash table entries: 256 (order: 1, 12288 bytes)
[ 0.449225] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
[ 0.449692] NET: Registered protocol family 1
[ 0.450484] RPC: Registered named UNIX socket transport module.
[ 0.450507] RPC: Registered udp transport module.
[ 0.450521] RPC: Registered tcp transport module.
[ 0.450535] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.452578] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.453956] PM: Loading am335x-pm-firmware.bin
[ 0.687927] VFS: Disk quotas dquot_6.5.2
[ 0.688875] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.701877] NFS: Registering the id_resolver key type
[ 0.702001] Key type id_resolver registered
[ 0.702019] Key type id_legacy registered
[ 0.702090] NTFS driver 2.1.30 [Flags: R/W].
[ 0.703476] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.704501] msgmni has been set to 482
[ 0.709766] NET: Registered protocol family 38
[ 0.710975] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.711560] io scheduler noop registered
[ 0.711581] io scheduler deadline registered
[ 0.712287] io scheduler cfq registered (default)
[ 0.729823] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.740011] /ocp/lcdc@0x4830e000: could not find display-timings node
[ 0.740038] /ocp/lcdc@0x4830e000: no timings specified
[ 0.740064] da8xx_lcdc 4830e000.lcdc: timings not available in DT
[ 0.744129] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.749544] 481a6000.serial: ttyO0 at MMIO 0x481a6000 (irq = 60, base_baud = 3000000) is a OMAP UART0
[ 1.445885] console [ttyO0] enabled
[ 1.451333] 48024000.serial: ttyO1 at MMIO 0x48024000 (irq = 90, base_baud = 3000000) is a OMAP UART1
[ 1.462696] 481aa000.serial: ttyO2 at MMIO 0x481aa000 (irq = 62, base_baud = 3000000) is a OMAP UART2
[ 1.474028] 48022000.serial: ttyO3 at MMIO 0x48022000 (irq = 89, base_baud = 3000000) is a OMAP UART3
[ 1.485416] 44e09000.serial: ttyO5 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART5
[ 1.498028] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[ 1.532372] brd: module loaded
[ 1.549740] loop: module loaded
[ 1.564733] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.579359] edma-dma-engine edma-dma-engine.0: allocated channel for 0:17
[ 1.587050] edma-dma-engine edma-dma-engine.0: allocated channel for 0:16
[ 1.597821] edma-dma-engine edma-dma-engine.0: allocated channel for 0:43
[ 1.605245] edma-dma-engine edma-dma-engine.0: allocated channel for 0:42
[ 1.614486] edma-dma-engine edma-dma-engine.0: allocated channel for 0:45
[ 1.621864] edma-dma-engine edma-dma-engine.0: allocated channel for 0:44
[ 1.639961] vcan: Virtual CAN interface driver
[ 1.645146] slcan: serial line CAN interface driver
[ 1.650292] slcan: 10 dynamic interface channels.
[ 1.655841] CAN device driver interface
[ 1.660354] usbcore: registered new interface driver ems_usb
[ 1.666903] usbcore: registered new interface driver esd_usb2
[ 1.673562] usbcore: registered new interface driver kvaser_usb
[ 1.680228] usbcore: registered new interface driver peak_usb
[ 1.686691] usbcore: registered new interface driver usb_8dev
[ 1.693971] cc770: CAN netdevice driver
[ 1.698025] cc770_isa: insufficient parameters supplied
[ 1.710111] usbcore: registered new interface driver asix
[ 1.716629] usbcore: registered new interface driver ax88179_178a
[ 1.723911] usbcore: registered new interface driver cdc_ether
[ 1.730500] usbcore: registered new interface driver r815x
[ 1.736799] usbcore: registered new interface driver smsc95xx
[ 1.743472] usbcore: registered new interface driver net1080
[ 1.749854] usbcore: registered new interface driver cdc_subset
[ 1.756507] usbcore: registered new interface driver zaurus
[ 1.762971] usbcore: registered new interface driver cdc_ncm
[ 1.770541] usbcore: registered new interface driver cdc_acm
[ 1.776867] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1.785920] usbcore: registered new interface driver usb-storage
[ 1.792768] usbcore: registered new interface driver ums-alauda
[ 1.799418] usbcore: registered new interface driver ums-cypress
[ 1.806173] usbcore: registered new interface driver ums-datafab
[ 1.812983] usbcore: registered new interface driver ums_eneub6250
[ 1.819922] usbcore: registered new interface driver ums-freecom
[ 1.826771] usbcore: registered new interface driver ums-isd200
[ 1.833567] usbcore: registered new interface driver ums-jumpshot
[ 1.840394] usbcore: registered new interface driver ums-karma
[ 1.846945] usbcore: registered new interface driver ums-onetouch
[ 1.853847] usbcore: registered new interface driver ums-realtek
[ 1.860591] usbcore: registered new interface driver ums-sddr09
[ 1.867346] usbcore: registered new interface driver ums-sddr55
[ 1.874153] usbcore: registered new interface driver ums-usbat
[ 1.881270] usbcore: registered new interface driver usbserial
[ 1.887842] usbcore: registered new interface driver usbserial_generic
[ 1.895128] usbserial: USB Serial support registered for generic
[ 1.902062] usbcore: registered new interface driver aircable
[ 1.908524] usbserial: USB Serial support registered for aircable
[ 1.915370] usbcore: registered new interface driver ark3116
[ 1.921799] usbserial: USB Serial support registered for ark3116
[ 1.928559] usbcore: registered new interface driver belkin_sa
[ 1.935210] usbserial: USB Serial support registered for Belkin / Peracom / GoHubs USB Serial Adapter
[ 1.945504] usbcore: registered new interface driver ch341
[ 1.951744] usbserial: USB Serial support registered for ch341-uart
[ 1.958766] usbcore: registered new interface driver cp210x
[ 1.965037] usbserial: USB Serial support registered for cp210x
[ 1.971764] usbcore: registered new interface driver cypress_m8
[ 1.978411] usbserial: USB Serial support registered for DeLorme Earthmate USB
[ 1.986529] usbserial: USB Serial support registered for HID->COM RS232 Adapter
[ 1.994774] usbserial: USB Serial support registered for Nokia CA-42 V2 Adapter
[ 2.002954] usbcore: registered new interface driver digi_acceleport
[ 2.010068] usbserial: USB Serial support registered for Digi 2 port USB adapter
[ 2.018266] usbserial: USB Serial support registered for Digi 4 port USB adapter
[ 2.026561] usbcore: registered new interface driver io_edgeport
[ 2.033466] usbserial: USB Serial support registered for Edgeport 2 port adapter
[ 2.041808] usbserial: USB Serial support registered for Edgeport 4 port adapter
[ 2.050000] usbserial: USB Serial support registered for Edgeport 8 port adapter
[ 2.058189] usbserial: USB Serial support registered for EPiC device
[ 2.065385] usbcore: registered new interface driver io_ti
[ 2.071732] usbserial: USB Serial support registered for Edgeport TI 1 port adapter
[ 2.080210] usbserial: USB Serial support registered for Edgeport TI 2 port adapter
[ 2.088726] usbcore: registered new interface driver empeg
[ 2.094974] usbserial: USB Serial support registered for empeg
[ 2.101696] usbcore: registered new interface driver f81232
[ 2.107972] usbserial: USB Serial support registered for f81232
[ 2.114645] usbcore: registered new interface driver ftdi_sio
[ 2.121224] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 2.129252] usbcore: registered new interface driver ipaq
[ 2.135543] usbserial: USB Serial support registered for PocketPC PDA
[ 2.142892] usbcore: registered new interface driver ir_usb
[ 2.149185] usbserial: USB Serial support registered for IR Dongle
[ 2.156106] usbcore: registered new interface driver iuu_phoenix
[ 2.162907] usbserial: USB Serial support registered for iuu_phoenix
[ 2.170034] usbcore: registered new interface driver keyspan
[ 2.176415] usbserial: USB Serial support registered for Keyspan - (without firmware)
[ 2.185261] usbserial: USB Serial support registered for Keyspan 1 port adapter
[ 2.193420] usbserial: USB Serial support registered for Keyspan 2 port adapter
[ 2.201563] usbserial: USB Serial support registered for Keyspan 4 port adapter
[ 2.209698] usbcore: registered new interface driver keyspan_pda
[ 2.216444] usbserial: USB Serial support registered for Keyspan PDA
[ 2.223616] usbserial: USB Serial support registered for Keyspan PDA - (prerenumeration)
[ 2.232710] usbcore: registered new interface driver mct_u232
[ 2.239166] usbserial: USB Serial support registered for MCT U232
[ 2.246018] usbcore: registered new interface driver metro_usb
[ 2.252633] usbserial: USB Serial support registered for Metrologic USB to Serial
[ 2.260942] usbcore: registered new interface driver mos7720
[ 2.267423] usbserial: USB Serial support registered for Moschip 2 port adapter
[ 2.275696] usbcore: registered new interface driver mos7840
[ 2.282133] usbserial: USB Serial support registered for Moschip 7840/7820 USB Serial Driver
[ 2.291500] usbcore: registered new interface driver opticon
[ 2.297894] usbserial: USB Serial support registered for opticon
[ 2.304662] usbcore: registered new interface driver safe_serial
[ 2.311470] usbserial: USB Serial support registered for safe_serial
[ 2.318597] usbcore: registered new interface driver usb_serial_simple
[ 2.325986] usbserial: USB Serial support registered for zio
[ 2.332495] usbserial: USB Serial support registered for funsoft
[ 2.339212] usbserial: USB Serial support registered for flashloader
[ 2.346304] usbserial: USB Serial support registered for vivopay
[ 2.353079] usbserial: USB Serial support registered for moto_modem
[ 2.360108] usbserial: USB Serial support registered for hp4x
[ 2.366662] usbserial: USB Serial support registered for suunto
[ 2.373454] usbserial: USB Serial support registered for siemens_mpi
[ 2.380594] usbcore: registered new interface driver spcp8x5
[ 2.386975] usbserial: USB Serial support registered for SPCP8x5
[ 2.393787] usbcore: registered new interface driver symbolserial
[ 2.400619] usbserial: USB Serial support registered for symbol
[ 2.407375] usbcore: registered new interface driver ti_usb_3410_5052
[ 2.414722] usbserial: USB Serial support registered for TI USB 3410 1 port adapter
[ 2.423250] usbserial: USB Serial support registered for TI USB 5052 2 port adapter
[ 2.431814] usbcore: registered new interface driver visor
[ 2.438010] usbserial: USB Serial support registered for Handspring Visor / Palm OS
[ 2.446498] usbserial: USB Serial support registered for Sony Clie 5.0
[ 2.4538
[ 2.958596] usbcore: registered new interface driver usbhid
[ 2.964832] usbhid: USB HID core driver
[ 2.973967] TCP: cubic registered
[ 2.977489] Initializing XFRM netlink socket
[ 2.982365] NET: Registered protocol family 17
[ 2.987208] NET: Registered protocol family 15
[ 2.992057] can: controller area network core (rev 20120528 abi 9)
[ 2.998783] NET: Registered protocol family 29
[ 3.003863] can: raw protocol (rev 20120528)
[ 3.008491] can: broadcast manager protocol (rev 20120528 t)
[ 3.014587] can: netlink gateway (rev 20130117) max_hops=1
[ 3.020446] mmc1: BKOPS_EN bit is not set
[ 3.025869] Key type dns_resolver registered
[ 3.031310] usb 1-1: new high-speed USB device number 2 using dummy_hcd
[ 3.039131] cpu cpu0: cpu0 regulator not ready, retry
[ 3.044925] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
[ 3.053524] mmc1: new high speed MMC card at address 0001
[ 3.060113] PM: CM3 Firmware Version = 0x186
[ 3.066436] mmcblk1: mmc1:0001 MMC16G 14.5 GiB
[ 3.071605] ThumbEE CPU extension supported.
[ 3.076159] Registering SWP/SWPB emulation handler
[ 3.082041] mmcblk1boot0: mmc1:0001 MMC16G partition 1 16.0 MiB
[ 3.090100] mmcblk1boot1: mmc1:0001 MMC16G partition 2 16.0 MiB
[ 3.097524] registered taskstats version 1
[ 3.107710] mmcblk1: p1 p2
[ 3.116883] mmcblk1boot1: unknown partition table
[ 3.127117] DCDC1: at 1800 mV
[ 3.131369] mmcblk1boot0: unknown partition table
[ 3.140172] vdd_mpu: 925 <--> 1325 mV at 1100 mV
[ 3.148940] vdd_core: 925 <--> 1150 mV at 1100 mV
[ 3.157202] LDO1: at 1800 mV
[ 3.163516] LDO2: at 3300 mV
[ 3.169485] LDO3: 1800 <--> 3300 mV at 3300 mV
[ 3.177294] LDO4: at 3300 mV
[ 3.183304] tps65217 0-0024: TPS65217 ID 0xf version 1.2
[ 3.194918] input: ADXL34x accelerometer as /devices/ocp.2/44e0b000.i2c/i2c-0/0-001d/input/input0
[ 3.213572] i2c i2c-0: of_i2c: modalias failure on /ocp/i2c@44e0b000/a2d@4A
[ 3.220963] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 100 kHz
[ 3.228024] musb-hdrc musb-hdrc.0.auto: Enabled SW babble control
[ 3.237851] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
[ 3.245108] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 2
[ 3.254097] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.261437] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.269048] usb usb2: Product: MUSB HDRC host driver
[ 3.274403] usb 1-1: Dual-Role OTG device on HNP port
[ 3.279752] usb usb2: Manufacturer: Linux 3.12.10-ti2013.12.01 musb-hcd
[ 3.286830] usb 1-1: device v0525 pa4a7 is not supported
[ 3.292482] usb usb2: SerialNumber: musb-hdrc.0.auto
[ 3.298028] usb 1-1: New USB device found, idVendor=0525, idProduct=a4a7
[ 3.306740] hub 2-0:1.0: USB hub found
[ 3.310856] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.318523] hub 2-0:1.0: 1 port detected
[ 3.323415] usb 1-1: Product: Gadget Serial v2.4
[ 3.328290] usb 1-1: Manufacturer: Linux 3.12.10-ti2013.12.01 with dummy_udc
[ 3.341107] g_serial gadget: high-speed config #2: CDC ACM config
[ 3.362996] musb-hdrc musb-hdrc.1.auto: Enabled SW babble control
[ 3.371696] cdc_acm 1-1:2.0: This device cannot do calls on its own. It is not a modem.
[ 3.380298] cdc_acm 1-1:2.0: ttyACM0: USB ACM device
[ 3.387321] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 3.394418] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[ 3.403507] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.410669] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.418997] usb usb3: Product: MUSB HDRC host driver
[ 3.425111] usb usb3: Manufacturer: Linux 3.12.10-ti2013.12.01 musb-hcd
[ 3.432462] usb usb3: SerialNumber: musb-hdrc.1.auto
[ 3.440592] hub 3-0:1.0: USB hub found
[ 3.444867] hub 3-0:1.0: 1 port detected
[ 3.472766] cpufreq_cpu0: Bootloader freq 550000000Hz no match to table, Using 300000000Hz
[ 3.561248] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 3.567807] davinci_mdio 4a101000.mdio: detected phy mask fffffffc
[ 3.578756] libphy: 4a101000.mdio: probed
[ 3.583434] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Micrel KSZ8081 or KSZ8091
[ 3.593853] davinci_mdio 4a101000.mdio: phy[1]: device 4a101000.mdio:01, driver Micrel KSZ8081 or KSZ8091
[ 3.606650] Detected MACID = c4:ed:ba:8a:dc:d9
[ 3.615833] cpsw: Random MACID = 9e:e6:e4:ed:80:78
[ 3.626728] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:01:12 UTC (946684872)
[ 3.636474] ### dt-test ### No testcase data in device tree; not running tests
[ 3.700351] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 3.709393] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 3.724681] devtmpfs: mounted
[ 3.729042] Freeing unused kernel memory: 296K (c07d1000 - c081b000)
[ 4.040978] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting logging: Jan 1 00:01:13 uFlow syslog.info syslogd started: BusyBox v1.21.1
OK

Thanks,

Harsha Kiran

  • Hi Harsha,

    I will bring this to the attention of the factory team.

  • Harsha Kiran said:
    [ 3.323415] usb 1-1: Product: Gadget Serial v2.4
    [ 3.328290] usb 1-1: Manufacturer: Linux 3.12.10-ti2013.12.01 with dummy_udc
    [ 3.341107] g_serial gadget: high-speed config #2: CDC ACM config

    Your config has 'CONFIG_USB_DUMMY_HCD=y', which I believe is not correct.

    Please use omap2plus_defconfig and do not change any config to see if the issue still exist.

  • Hi

    I tried removing it from the config but if I remove, it does not even register the serial gadget. 

     The 3.12.10 kernel works fine with the same config. Also the PM firmware takes long time to load during kernel booting..we figured out that the it refreshes the RAM based on ddr3 or 2. Ours is a low power ddr RAM. How should I calculate those values?

     

    Thanks,

    Harsha

  • Harsha,

    Please use omap2plus_defconfig on the SDK7.0 kernel and post the dmesg kernel boot log, and /proc/config.gz file.

    I am kinda confused about your problem: is it the host mode or the device mode which has issues?

    The beginning of your first post mentioned:

    Harsha Kiran said:
    when we upgraded to the kernel from TI(Linux version 3.12.10-ti2013.12.01) in sdk7 the host mode does not seem to work.

    But later you said

    Harsha Kiran said:
    I have verified that when i connect any usb gadgets to the board they all get recognized.

    which seems telling host mode has no issue.

    But

    Harsha Kiran said:
    but when i connect my board to the PC, i dont see any activity on the Windows PC (no COMM port is created)

    which seems telling the device mode has issues.

    Please confirm which mode has issues.

    Harsha Kiran said:
    we figured out that the it refreshes the RAM based on ddr3 or 2. Ours is a low power ddr RAM. How should I calculate those values?

    I think this problem is irrelevant to the USB issue, please post it into a new thread.