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.

AM335x evaluation board - how to get to the usb?

hello,

i have the AM335x evaluation board with the LCD screen.

there is a connection of a usb there (regular connection not the mini one).

i connecte to is a disk-on-ket (storage) but i cann't find it.

how can i see the connected usb?

i'm connecting through telnet to the target.

 

thanks in advance :-)

  • what kernel/PSP version do you use?

    Is there any difference in 'lsusb' command output before and after plugging in the thumb drive?

  • i'm using the kernel that TI gives with the evaluation board (the one with the LCD)

     

    when i run 'lsusb' i get nothing nevermind if the DOK is in or out :-(

    is there anything else i can do?

    i'm a newbie so maybe i miss something... maybe the usb driver is not "on" in some way

     

  • Do you mean you boot the EVM with SD card coming within the EVM package?

    Please provide the full kernel bootup log from the serial console, and the file /proc/config.gz.

  • yes, i'm using the boot from the SD come within the package of the EVM.

    attached are the files you asked.

    hope you can see something there...

     

    thanks in advance :-)

    CCCCCCCC
    U-Boot SPL 2011.09 (Apr 08 2012 - 18:29:14)
    Texas Instruments Revision detection unimplemented
    OMAP SD/MMC: 0
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2011.09 (Apr 08 2012 - 18:25:03)
    
    I2C:   ready
    DRAM:  256 MiB
    WARNING: Caches not enabled
    Found a daughter card connected
    NAND:  HW ECC Hamming Code selected
    256 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Error: Bad compare! failed
    Error: Bad compare! failed
    Error: Bad compare! failed
    NAND read from offset 260000 failed -74
    *** Warning - readenv() failed, using default environment
    
    Net:   cpsw
    Hit any key to stop autoboot:  0
    SD/MMC found on device 0
    reading uEnv.txt
    
    ** Unable to read "uEnv.txt" from mmc 0:1 **
    reading uImage
    
    3232704 bytes read
    ## Booting kernel from Legacy Image at 80007fc0 ...
       Image Name:   Linux-3.2.33-rt10
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3232640 Bytes = 3.1 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       XIP Kernel Image ... OK
    OK
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Linux version 3.2.33-rt10 (phillips@vm-benson-ubu-12) (gcc version 4.5.3 20110311 (prerelease) (GCC) ) #2 PREEMPT RT Thu Nov 22 13:53:03 IST 2012
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: am335xevm
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] AM335X ES1.0 (sgx neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait ip=none
    [    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] Memory: 256MB = 256MB total
    [    0.000000] Memory: 253116k/253116k available, 9028k 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]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc05b8000   (5824 kB)
    [    0.000000]       .init : 0xc05b8000 - 0xc05f8000   ( 256 kB)
    [    0.000000]       .data : 0xc05f8000 - 0xc0665908   ( 439 kB)
    [    0.000000]        .bss : 0xc066592c - 0xc0693888   ( 184 kB)
    [    0.000000] NR_IRQS:396
    [    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: GPTIMER2 at 24000000 Hz
    [    0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz
    [    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
    [    0.000000] Console: colour dummy device 80x30
    [    0.000244] Calibrating delay loop... 718.02 BogoMIPS (lpj=3590144)
    [    0.058929] pid_max: default: 32768 minimum: 301
    [    0.059082] Security Framework initialized
    [    0.059204] Mount-cache hash table entries: 512
    [    0.059661] CPU: Testing write buffer coherency: ok
    [    0.080535] omap_hwmod: pruss: failed to hardreset
    [    0.081909] print_constraints: dummy:
    [    0.082366] NET: Registered protocol family 16
    [    0.085205] OMAP GPIO hardware version 0.1
    [    0.089294] omap_mux_init: Add partition: #1: core, flags: 0
    [    0.092254]  omap_i2c.1: alias fck already exists
    [    0.093414]  omap2_mcspi.1: alias fck already exists
    [    0.093719]  omap2_mcspi.2: alias fck already exists
    [    0.094635]  edma.0: alias fck already exists
    [    0.094665]  edma.0: alias fck already exists
    [    0.094696]  edma.0: alias fck already exists
    [    0.136505] bio: create slab <bio-0> at 0
    [    0.140350] SCSI subsystem initialized
    [    0.142608] usbcore: registered new interface driver usbfs
    [    0.143035] usbcore: registered new interface driver hub
    [    0.143310] usbcore: registered new device driver usb
    [    0.159332] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
    [    0.161743] tps65910 1-002d: JTAGREVNUM 0x0
    [    0.164337] print_constraints: VRTC:
    [    0.165893] print_constraints: VIO: at 1800 mV
    [    0.168365] print_constraints: VDD1: 600 <--> 1500 mV at 1262 mV normal
    [    0.170989] print_constraints: VDD2: 600 <--> 1500 mV at 1137 mV normal
    [    0.172119] print_constraints: VDD3: 5000 mV
    [    0.173645] print_constraints: VDIG1: at 1800 mV
    [    0.175201] print_constraints: VDIG2: at 1800 mV
    [    0.176727] print_constraints: VPLL: at 1800 mV
    [    0.178283] print_constraints: VDAC: at 1800 mV
    [    0.179870] print_constraints: VAUX1: at 1800 mV
    [    0.181457] print_constraints: VAUX2: at 3300 mV
    [    0.182983] print_constraints: VAUX33: at 3300 mV
    [    0.184539] print_constraints: VMMC: at 3300 mV
    [    0.185150] tps65910 1-002d: No interrupt support, no core IRQ
    [    0.186859] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [    0.188354] Switching to clocksource gp timer
    [    0.210723] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [    0.211364] NET: Registered protocol family 2
    [    0.211608] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.211975] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.212158] TCP bind hash table entries: 8192 (order: 5, 196608 bytes)
    [    0.212554] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.212554] TCP reno registered
    [    0.212585] UDP hash table entries: 128 (order: 1, 8192 bytes)
    [    0.212615] UDP-Lite hash table entries: 128 (order: 1, 8192 bytes)
    [    0.212860] NET: Registered protocol family 1
    [    0.213256] RPC: Registered named UNIX socket transport module.
    [    0.213256] RPC: Registered udp transport module.
    [    0.213287] RPC: Registered tcp transport module.
    [    0.213287] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.213562] NetWinder Floating Point Emulator V0.97 (double precision)
    [    0.217681] VFS: Disk quotas dquot_6.5.2
    [    0.217742] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.218933] msgmni has been set to 494
    [    0.222900] alg: No test for stdrng (krng)
    [    0.223693] io scheduler noop registered
    [    0.223693] io scheduler deadline registered
    [    0.223785] io scheduler cfq registered (default)
    [    0.225250] Could not set LED4 to fully on
    [    0.227355] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [    0.746551] console [ttyO0] enabled
    [    0.747283] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [    0.747833] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [    0.748352] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [    0.748962] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [    0.749481] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [    0.762420] brd: module loaded
    [    0.769470] loop: module loaded
    [    0.769714] i2c-core: driver [tsl2550] using legacy suspend method
    [    0.769714] i2c-core: driver [tsl2550] using legacy resume method
    [    0.769805] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    0.776641] Detected a daughter card on AM335x EVM..
    [    0.776672] Unknown CPLD version found
    [    0.776702] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write
    [    0.784942] Board name: A33515BB
    [    0.784942] Board version: 1.1
    [    0.784942] SKU: SKU#01
    [    0.785491] The board is general purpose EVM in profile 0
    [    0.786010]  da8xx_lcdc.0: alias fck already exists
    [    0.786621] da8xx_lcdc da8xx_lcdc.0: GLCD: Found TFC_S9700RTWV35TR_01B panel
    [    0.913513] Console: switching to colour frame buffer device 100x30
    [    0.930664] omap-gpmc omap-gpmc: GPMC revision 6.0
    [    0.930694] Registering NAND on CS0
    [    0.931549]  omap_i2c.2: alias fck already exists
    [    0.948852] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 100 kHz
    [    0.949768] tsl2550 2-0039: standard operating mode
    [    0.950469] tsl2550 2-0039: support ver. 1.2 enabled
    [    0.951232]  davinci-mcasp.1: alias fck already exists
    [    0.951782]  omap_hsmmc.0: alias fck already exists
    [    0.952148]  omap_hsmmc.2: alias fck already exists
    [    0.952514] Configure Bluetooth Enable pin...
    [    0.954284] registered am33xx_sr device
    [    0.954589] _regulator_get: 2-0018 supply Vdd not found, using dummy regulator
    [    0.954681] _regulator_get: 2-0018 supply Vdd_IO not found, using dummy regulator
    [    0.969299] lis3lv02d: 8 bits 3DLH sensor found
    [    1.062927] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input0
    [    1.065704] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.066528] omap2-nand driver initializing
    [    1.066894] ONFI flash detected
    [    1.067016] ONFI param page 0 valid
    [    1.067047] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP)
    [    1.067352] Creating 8 MTD partitions on "omap2-nand.0":
    [    1.067382] 0x000000000000-0x000000020000 : "SPL"
    [    1.069427] 0x000000020000-0x000000040000 : "SPL.backup1"
    [    1.071166] 0x000000040000-0x000000060000 : "SPL.backup2"
    [    1.072875] 0x000000060000-0x000000080000 : "SPL.backup3"
    [    1.074462] 0x000000080000-0x000000260000 : "U-Boot"
    [    1.076873] 0x000000260000-0x000000280000 : "U-Boot Env"
    [    1.078521] 0x000000280000-0x000000780000 : "Kernel"
    [    1.082641] 0x000000780000-0x000010000000 : "File System"
    [    1.188659] OneNAND driver initializing
    [    1.208953] CAN device driver interface
    [    1.208953] CAN bus driver for Bosch D_CAN controller 1.0
    [    1.268829] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [    1.268829] davinci_mdio davinci_mdio.0: detected phy mask fffffffe
    [    1.279449] davinci_mdio.0: probed
    [    1.279479] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    [    1.279907] usbcore: registered new interface driver zd1201
    [    1.286651] usbcore: registered new interface driver cdc_ether
    [    1.286865] usbcore: registered new interface driver cdc_eem
    [    1.287078] usbcore: registered new interface driver dm9601
    [    1.287139] cdc_ncm: 04-Aug-2011
    [    1.287353] usbcore: registered new interface driver cdc_ncm
    [    1.287353] Initializing USB Mass Storage driver...
    [    1.289001] usbcore: registered new interface driver usb-storage
    [    1.289001] USB Mass Storage support registered.
    [    1.299255] mousedev: PS/2 mouse device common for all mice
    [    1.300659] input: matrix-keypad as /devices/platform/matrix-keypad/input/input1
    [    1.310089] input: ti-tsc-adcc as /devices/platform/omap/tsc/input/input2
    [    1.319824] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    [    1.329010] i2c /dev entries driver
    [    1.329895] Linux video capture interface: v2.00
    [    1.330352] usbcore: registered new interface driver uvcvideo
    [    1.330352] USB Video Class driver (1.1.1)
    [    1.335388] lm75 2-0048: hwmon0: sensor 'tmp275'
    [    1.348999] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    1.359375] cpuidle: using governor ladder
    [    1.368194] cpuidle: using governor menu
    [    1.382415] omap4_aes_mod_init: loading AM33X AES driver
    [    1.382537] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
    [    1.383331] omap4_aes_probe: probe() done
    [    1.389007] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
    [    1.389312] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
    [    1.461364] omap4_sham_probe: probe() done
    [    1.489501] usbcore: registered new interface driver usbhid
    [    1.489501] usbhid: USB HID core driver
    [    1.490570] usbcore: registered new interface driver snd-usb-audio
    [    1.504119] mmc0: new SDHC card at address e624
    [    1.509399] _regulator_get: 2-001b supply IOVDD not found, using dummy regulator
    [    1.509460] _regulator_get: 2-001b supply DVDD not found, using dummy regulator
    [    1.509552] _regulator_get: 2-001b supply AVDD not found, using dummy regulator
    [    1.509613] _regulator_get: 2-001b supply DRVDD not found, using dummy regulator
    [    1.513061] asoc: tlv320aic3x-hifi <-> davinci-mcasp.1 mapping ok
    [    1.514190] mmcblk0: mmc0:e624 SD08G 7.40 GiB
    [    1.519683]  mmcblk0: p1 p2
    [    1.529541] ALSA device list:
    [    1.529571]   #0: AM335X EVM
    [    1.529571] nf_conntrack version 0.5.0 (3954 buckets, 15816 max)
    [    1.530212] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    1.530334] TCP cubic registered
    [    1.530364] NET: Registered protocol family 17
    [    1.530364] can: controller area network core (rev 20090105 abi 8)
    [    1.530517] NET: Registered protocol family 29
    [    1.530517] can: raw protocol (rev 20090105)
    [    1.530517] can: broadcast manager protocol (rev 20090105 t)
    [    1.530578] Registering the dns_resolver key type
    [    1.530670] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    1.530700] ThumbEE CPU extension supported.
    [    1.530761] mux: Failed to setup hwmod io irq -22
    [    1.531829] Power Management for AM33XX family
    [    1.703460] mmc1: card claims to support voltages below the defined range. These will be ignored.
    [    1.713287] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
    [    1.714294] mmc1: new SDIO card at address 0001
    [    1.748809] Trying to load am335x-pm-firmware.bin (60 secs timeout)
    [    1.748992] Copied the M3 firmware to UMEM
    [    1.749328] smartreflex smartreflex: am33xx_sr_probe: Zero NValue read from EFUSE
    [    1.749359] smartreflex: probe of smartreflex failed with error -22
    [    1.749877] sr_init: platform driver register failed
    [    1.757934] clock: disabling unused clocks to save power
    [    1.780059] Detected MACID=d4:94:a1:90:c6:b5
    [    1.781677] cpsw: Detected MACID = d4:94:a1:90:c6:b6
    [    1.783752] input: gpio-keys as /devices/platform/gpio-keys/input/input3
    [    1.789978] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    [    2.683319] EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
    [    2.683502] kjournald starting.  Commit interval 5 seconds
    [    2.686279] EXT3-fs (mmcblk0p2): using internal journal
    [    2.686309] EXT3-fs (mmcblk0p2): recovery complete
    [    2.688903] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
    [    2.688995] VFS: Mounted root (ext3 filesystem) on device 179:2.
    [    2.689514] Freeing init memory: 256K
    INIT: version 2.86 booting
    Please wait: booting...
    Starting udev
    Remounting root file system...
    Caching udev devnodes
    ALSA: Restoring mixer settings...
    Configuring network interfaces... No state is present for card EVM
    Found hardware: "AM335X_EVM" "" "" "" ""
    Hardware is initialized using a generic method
    No state is present for card EVM
    eth0      no wireless extensions.
    
    udhcpc (v1.13.2) started
    Sending discover...
    Sending discover...
    Sending discover...
    No lease, forking to background
    done.
    Setting up IP spoofing protection: rp_filter.
    Wed Apr 11 08:27:00 UTC 2012
    [    3.426116] udevd (958): /proc/958/oom_adj is deprecated, please use /proc/958/oom_score_adj instead.
    [    8.610809] alignment: ignoring faults is unsafe on this CPU.  Defaulting to fixup mode.
    [   10.526885] net eth0: CPSW phy found : id is : 0x4dd074
    [   13.520355] PHY: 0:00 - Link is Up - 100/Full
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    Starting Hardware abstraction layer hald
    Starting Dropbear SSH server: dropbear.
    Starting telnet daemon.
    Starting network benchmark server: netserver.
    Starting syslogd/klogd: done
    Starting thttpd.
    Starting PVR
    Usage: insmod filename [args]
    Could not find pvrsrvkm driver
    Starting Lighttpd Web Server: lighttpd.
    2012-04-11 08:27:02: (log.c.166) server started
    /
    Starting Matrix GUI application.
    [   23.680541] net eth0: CPSW phy found : id is : 0x4dd074
    [   25.681243] PHY: 0:00 - Link is Up - 100/Full
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the followin GPLv3 packages:
            binutils-symlinks
            binutils
            gdbserver
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org am335x-evm ttyO0
    
    Arago 2011.09 am335x-evm ttyO0

    2548.config.gz

  • The USB1 on my AM335x EVM using the Prebuilt binary for AM335X-LINUX-PSP-04.06.00.08 works fine.  Attached is the log of inserting the USB stick, ls, and even lsusb.

    Maybe you can check the kernel menuconfig as described here?:

    http://processors.wiki.ti.com/index.php/AM335X_USB_Driver_User_Guide_04.06.00#Host_Mass_Storage_Class_.28MSC.29

    http://processors.wiki.ti.com/index.php/UsbConfigHostMSC#Linux_v3.2

    USB0 usually takes a little more work if used in the default Gadget mode (nice description of both here with examples above: http://processors.wiki.ti.com/index.php/AM335X_USB_Driver_User_Guide_04.06.00#Port_mode_configuration ) 

    You could also check with a Starterware USB MSC example to make sure you have no HW problems:

    http://processors.wiki.ti.com/index.php/StarterWare_02.00.00.07_Release_Notes#Features

     

     

  • The log shows you are running 3.2.33 kernel and USB driver for AM335x is not built in. AFAIK, the latest kernel AM335x supports is 3.2.0 as in the PSP 4.6.0.8 Joe mentioned above. Not sure why your kernel is 3.2.33.


    Could you post a picture of your evm? AM335x has many evms. I want to first make sure we are talking on the same one.

  • very interesting the stuff you are saying...

    i dodn't know the kernel is 3.2.33.

    anyway, what should i do to have the driver of the USB in it? cann't i simply compile it?

    this is the EVM i'm using:

    http://www.ti.com/tool/tmdxevm3358

  • The beginning of the kernel bootup log you provided shows it runs 3.2.33 RT kernel.

    If you want to rebuild the kernel, download the AM335x SDK installer from http://software-dl.ti.com/dsps/dsps_public_sw/am_bu/sdk/AM335xSDK/latest/index_FDS.html, and follow the guide http://processors.wiki.ti.com/index.php/Sitara_Linux_Software_Developer’s_Guide to install the package and re-build the kernel.

  • Or you can try the pre-built package am335x-evm-sdk-bin-05.05.01.00.tar.gz from the SDK download page above.

  • oh, i just realized that the kernel is TI kernel for the EVM (3.2) with integration of the rt patch (for 3.2).

    so although it says it is 3.2.33 it is actually 3.2 with rt patch (r10).

    from here i assume i need to integrate the usb driver to suite this kernel (especially rt patch kernel).

    where can i find the usb driver for the EVM and how do i compile it and integrate it to the kernel??? i know how to compile the kernel i just don't know where is the usb driver...

    p.s. it wasn't me that implement the rt patch into TI kernel, so i cannot use his help for now...

  • If your rt patch does not change anything related to usb, you just need to build the kernel with tisdk_am335x-evm_defconfig, you should get back the usb functionality.

  • one think i know that should be done is to change any spinlock to raw_spinlock.

    but where do i find the code of the USB driver to see if there are spinlocks there???

  • drivers/usb/ folder is the whole usb module drivers.

    drivers/usb/musb/ folder is the MUSB controller drivers for AM335x.