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.

66AK2E EVM - USB 3.0 support enabled?

Other Parts Discussed in Thread: 66AK2E05

Team,

Has the USB 3.0 support been tested on the K2E EVM?

It seems that it is not working "out of the box". We are wondering if it is a problem specific to this EVM (ie HW failure and need to be replace) or if it is a HW/SW setup issue.

Below is the email thread with interleaved information (see 1, 2, 3, 4 below) to clarify the SW version used, installation, HW setup and USB 3.0 device used.

can you please help to try to fix the issue?

> 1) What EVM HW release do you use?
https://einfochips.com/index.php/partnerships/texas-instruments/k2e-evm.html#4-versions

We are using XEVMK2EX ordered on your website. For the Hardware, the version is EVM v1.0.2.1.

> 2) What MCSDK version do you use? What is the kernel and u-boot version flashed on this board?
> Have you checked after upgrading the U-boot, Linux kernel and file system to the version provided in the lastest McSDK?

I just flashed the board with the files included in the newest MCSDK on your website, which version 3_01_00_03.
The U-Boot version written when I boot is 2013.01 (from August 2014).
The kernel is 3.10.10.
To start I do as stated on a page in your wiki, as it does not start automatically. So writing those commands in U-Boot:
   env default -f -a
   setenv boot ubi
   boot
Is it fine or I have to load the image with fatload for example?

[AB] Using the below instructions should be fine to start the "out of the box demo":
http://processors.wiki.ti.com/index.php/MCSDK_UG_Chapter_Getting_Started#Run_Out_of_Box_Demonstrations

Still I would like to be sure how the NAND flash was updated with the new MCSDK target files.
What PC side OS do you use? Linux or windows?
Since you are using the EMK2E I guess that you follow the specific programming procedure from the below link:
http://processors.wiki.ti.com/index.php/Program_EVM_UG#Programming_the_bin_files

- The board is set in no-boot and using the DSS script (included in CCS) you program the NAND flash. Correct?
- Are all the steps happening error free?
- Once flashing is done what boot mode do you place the board in? ARM NAND or ARM SPI boot?

[KG] I use Windows on the host side.

Yes I followed the specific programming procedure from the below link:
http://processors.wiki.ti.com/index.php/Program_EVM_UG#Programming_the_bin_files

The board is set in no-boot and I use the DSS script to program the nand flash.

I just started the flash again and I noticed that the EEPROM50 and EEPROM51 flashing does not work as it says that the files do not exist.

But I checked the directory tree and it is the same as the one showed in the link above. One more thing is that flashing the NAND is really slow. I mean it waits a long time before actually flashing it.

Apart from that, everything else is fine.

When done I put the board in ARM SPI boot as stated in the link.


> 3) What is the console message you get for the USB device you connect?


Here is the debug messages:
xhci-hcd xhci-hcd.0.auto: Timeout while waiting for address device command
usb 2-1: device not accepting address 5, error -62
xhci-hcd xhci-hcd.0.auto: Bad Slot ID 4
xhci-hcd xhci-hcd.0.auto: Could not allocate xHCI USB device data structures
hub 2-0:1.0: couldn't allocate port 1 usb_device


> 4) What is the USB3.0 device that you are using?

I am using a USB 3.0 camera that works under Linux. Tested on my laptop before and another embedded board, but with a PCIE to USB 3.0 adapter using the xhci_hcd driver too.
When recognized, the camera is considered as a USB 2.0 device.
I also tried with a USB 3.0 stick (provided by e-infochips in the package) and it didn't work.

When I used a USB 2.0 stick, it was fine. Also when I did plug a USB 2.0 hub in the USB 3.0 port, the camera is always recognized as a USB 2.0 device, of course.

Could it be that there is not enough power for the USB 3.0 devices? We have seen on the schematics that there is a ENABLE pin (linked to ball grid AB1 on 66AK2E05) in the USB POWER SUPPLY. Could it be that we have to activate that to give the needed power to the port?
Because USB 2.0 is fine, but not USB 3.0, so that is why we thought that maybe the port wasn't providing enough power to the device.

[AB] Is it the USB stick mentionned as "Software (Flash drive)" here?
https://einfochips.com/index.php/partnerships/texas-instruments/k2e-evm.html#3-kit-content


[KG] Yes it is this one.


[AB]
For USB I would think that Linux kernel is already configure to enable USB 3.0 at the Linux driver level:
http://processors.wiki.ti.com/index.php/MCSDK_UG_Chapter_Exploring#USB_Driver

So the issue might on the HW side.

 

Thanks in advance,

Anthony

  • Hi, Anthony,

    From the email thread, it seems that there are 2 issues, USB, and OOB, correct?

    For USB boot, it does not need to flash NAND image and to go through out of box exercise. In the email thread, I saw questions about flashing the NAND, and boot from ubi, etc. So, I think that is a separate issue customer has.

    I am able to boot from USB using K2E Rev 1.0.2.1 HW, and MCSDK 3.1.0.3 software. Please see attached logs from booting. In the logs, I first set the env variables needed to boot from USB, and kernel is able to boot from USB. I also did a "lsusb" after boot up to show the device.

    K2E EVM # setenv boot usb
    K2E EVM # setenv args_usb 'setenv bootargs ${bootargs} rootfstype=ext4 root=/dev/sda2 rw ip=dhcp'
    K2E EVM # setenv init_usb 'usb start; run set_fs_none args_all args_usb'
    K2E EVM # setenv get_fdt_usb 'fatload usb 0:1 ${addr_fdt} ${name_fdt}'
    K2E EVM # setenv get_kern_usb 'fatload usb 0:1 ${addr_kern} ${name_kern}'
    K2E EVM # setenv get_mon_usb 'fatload usb 0:1 ${addr_mon} ${name_mon}'
    K2E EVM # saveenv
    Saving Environment to NAND...
    Erasing Nand...
    Erasing at 0x120000 -- 100% complete.
    Writing to Nand... done
    K2E EVM # boot
    (Re)start USB...
    USB0:   No power optimization available
    Register 2001040 NbrPorts 2
    Starting the controller
    USB XHCI 1.00
    scanning bus 0 for devices...
         Couldn't reset port 0
    2 USB Device(s) found
           scanning usb for storage devices... 1 Storage Device(s) found
    reading uImage-k2e-evm.dtb
    39238 bytes read in 43 ms (890.6 KiB/s)
    reading skern-k2e-evm.bin
    45056 bytes read in 43 ms (1022.5 KiB/s)
    reading uImage-keystone-evm.bin
    3866448 bytes read in 1975 ms (1.9 MiB/s)
    ## installed monitor, freq [208333333], status 0
    ## Booting kernel from Legacy Image at 88000000 ...
       Image Name:   Linux-3.10.10
       Created:      2014-08-05  17:01:10 UTC
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3866384 Bytes = 3.7 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 87000000
       Booting using the fdt blob at 0x87000000
       Loading Kernel Image ... OK
    OK
       Using Device Tree in place at 87000000, end 8700c945
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 3.10.10 (gtbldadm@ubuntu-12) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 SMP Tue Aug 5 13:00:56 EDT 2014
    [    0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c7387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine: KeyStone2, model: Texas Instruments Keystone 2 SoC
    [    0.000000] switching to high address space at 0x800000000
    [    0.000000] cma: CMA: reserved 16 MiB at 2e800000
    [    0.000000] Memory policy: ECC disabled, Data cache writealloc
    [    0.000000] PERCPU: Embedded 8 pages/cpu @c13b7000 s11840 r8192 d12736 u32768
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 391696
    [    0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 rootfstype=ext4 root=/dev/sda2 rw ip=dhcp
    [    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: 1536MB = 1536MB total
    [    0.000000] Memory: 1535280k/1535280k available, 37584k reserved, 794624K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc06d6b40   (6971 kB)
    [    0.000000]       .init : 0xc06d7000 - 0xc0727e40   ( 324 kB)
    [    0.000000]       .data : 0xc0728000 - 0xc076cb88   ( 275 kB)
    [    0.000000]        .bss : 0xc076cb88 - 0xc079b674   ( 187 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] ipc irq: irqchip registered, range 512-539
    [    0.000000] Main PLL clk (1250000000 Hz), parent (100000000 Hz),postdiv = 2, mult = 24, prediv = 0
    [    0.000000] Generic PLL clk (1000000000 Hz), parent (100000000 Hz),postdiv = 2, mult = 19, prediv = 0
    [    0.000000] Generic PLL clk (400000000 Hz), parent (100000000 Hz),postdiv = 4, mult = 15, prediv = 0
    [    0.000000] Architected local timer running at 208.33MHz (phys).
    [    0.000000] Switching to timer-based delay loop
    [    0.000000] sched_clock: ARM arch timer >56 bits at 208333kHz, resolution 614/128ns
    [    0.000000] keystone timer clock @208333333 MHz
    [    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
    [    0.000000] Console: colour dummy device 80x30
    [  120.674973] Calibrating delay loop (skipped), value calculated using timer frequency.. 416.66 BogoMIPS (lpj=2083333)
    [  120.674982] pid_max: default: 4096 minimum: 301
    [  120.675092] Mount-cache hash table entries: 512
    [  120.681385] CPU: Testing write buffer coherency: ok
    [  120.681541] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [  120.681555] Setting up static identity map for 0xc04d85d8 - 0xc04d860c
    [  120.760972] CPU1: Booted secondary processor
    [  120.760995] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [  120.840196] CPU2: Booted secondary processor
    [  120.840219] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [  120.919418] CPU3: Booted secondary processor
    [  120.919441] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [  120.919546] Brought up 4 CPUs
    [  120.919563] SMP: Total of 4 processors activated (1666.66 BogoMIPS).
    [  120.919567] CPU: All CPU(s) started in SVC mode.
    [  120.919973] devtmpfs: initialized
    [  120.931845] NET: Registered protocol family 16
    [  120.932718] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [  120.939310] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [  120.939316] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [  120.947081] bio: create slab <bio-0> at 0
    [  120.947354] keystone-pcie: keystone_pcie_rc_init - start
    [  120.947401] keystone2_pcie_serdes_setup
    [  120.949471] keystone2_pcie_serdes_setup done, en_link_train = 1
    [  120.949496] keystone-pcie: MEM 0x0000000050000000..0x000000005fffffff -> 0x0000000050000000
    [  120.949505] keystone-pcie: IO 0x0000000024000000..0x0000000024003fff -> 0x0000000000000000
    [  120.949533] keystone-pcie: pcie - number of legacy irqs = 4
    [  120.949574] keystone-pcie: pcie - number of MSI host irqs = 8, msi_irqs = 32
    [  121.054796] keystone-pcie: Doing PCI Setup...Done
    [  121.054801] keystone-pcie: Starting PCI scan...
    [  121.054909] PCI host bridge to bus 0000:00
    [  121.054919] pci_bus 0000:00: root bus resource [mem 0x50000000-0x5fffffff]
    [  121.054927] pci_bus 0000:00: root bus resource [io  0x0000-0x3fff]
    [  121.054934] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
    [  121.054974] PCI: bus0: Fast back to back transfers enabled
    [  121.054988] keystone-pcie: Ending PCI scan...
    [  121.054995] keystone-pcie: keystone_pcie_rc_init - end
    [  121.055164] vgaarb: loaded
    [  121.055434] SCSI subsystem initialized
    [  121.055752] usbcore: registered new interface driver usbfs
    [  121.055824] usbcore: registered new interface driver hub
    [  121.055909] usbcore: registered new device driver usb
    [  121.056895] pps_core: LinuxPPS API ver. 1 registered
    [  121.056901] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [  121.056956] PTP clock support registered
    [  121.057058] keystone-hwqueue hwqueue.6: qmgr start queue 0, number of queues 8192
    [  121.057130] keystone-hwqueue hwqueue.6: added qmgr start queue 0, num of queues 8192, reg_peek f0040000, reg_status f0006000, reg_config f0008000, reg_region f000a000, reg_push f0080000, reg_pop f00c0000
    [  121.057862] keystone-hwqueue hwqueue.6: qos: sched port @8096, drop sched @8000
    [  121.058785] keystone-hwqueue hwqueue.6: qos: sched port @6496, drop sched @6400
    [  121.059696] keystone-hwqueue hwqueue.6: added pool pool-rio: 128 descriptors of size 256
    [  121.059706] keystone-hwqueue hwqueue.6: added pool pool-xge: 1024 descriptors of size 128
    [  121.059714] keystone-hwqueue hwqueue.6: added pool pool-crypto: 1024 descriptors of size 128
    [  121.059723] keystone-hwqueue hwqueue.6: added pool pool-net: 15360 descriptors of size 128
    [  121.059731] keystone-hwqueue hwqueue.6: added pool pool-udma: 240 descriptors of size 256
    [  121.060632] keystone-hwqueue hwqueue.6: registered queues 0-8191
    [  121.060869] keystone-hwqueue hwqueue.6: qos version 0x2000107, magic valid
    [  121.061348] keystone-hwqueue hwqueue.6: qos version 0x2000107, magic valid
    [  121.065363] keystone-pktdma 2a08000.pktdma: registered 4 logical channels, flows 32, tx chans: 32, rx chans: 32, loopback
    [  121.069816] keystone-pktdma 24186000.pktdma: registered 44 logical channels, flows 128, tx chans: 21, rx chans: 91
    [  121.070307] keystone-pktdma 2fa1000.pktdma: registered 4 logical channels, flows 32, tx chans: 16, rx chans: 16
    [  121.070418] Switching to clocksource arch_sys_counter
    [  121.087719] NET: Registered protocol family 2
    [  121.088046] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [  121.088152] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [  121.088256] TCP: Hash tables configured (established 8192 bind 8192)
    [  121.088297] TCP: reno registered
    [  121.088304] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [  121.088328] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [  121.088494] NET: Registered protocol family 1
    [  121.088628] RPC: Registered named UNIX socket transport module.
    [  121.088634] RPC: Registered udp transport module.
    [  121.088638] RPC: Registered tcp transport module.
    [  121.088643] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [  121.088911] hw perfevents: enabled with ARMv7 Cortex-A15 PMU driver, 7 counters available
    [  121.157269] bounce pool size: 64 pages
    [  121.164712] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
    [  121.164889] NTFS driver 2.1.30 [Flags: R/O].
    [  121.165130] jffs2: version 2.2. (NAND) � 2001-2006 Red Hat, Inc.
    [  121.165426] msgmni has been set to 1478
    [  121.166388] NET: Registered protocol family 38
    [  121.166593] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
    [  121.166600] io scheduler noop registered
    [  121.166604] io scheduler deadline registered
    [  121.166719] io scheduler cfq registered (default)
    [  121.167431] keystone-udma udma0.7: registered udma device udma0
    [  121.220494] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [  121.222494] 2530c00.serial: ttyS0 at MMIO 0x2530c00 (irq = 309) is a 16550A
    [  122.006341] console [ttyS0] enabled
    [  122.010358] 2531000.serial: ttyS1 at MMIO 0x2531000 (irq = 312) is a 16550A
    [  122.019953] loop: module loaded
    [  122.023201] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
    [  122.033601] Generic platform RAM MTD, (c) 2004 Simtec Electronics
    [  122.040466] ONFI param page 0 valid
    [  122.043943] ONFI flash detected
    [  122.047074] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xac (Micron MT29F4G08ABBDAH4), 512MiB, page size: 2048, OOB size: 64
    [  122.058679] Bad block table found at page 262080, version 0x01
    [  122.064887] Bad block table found at page 262016, version 0x01
    [  122.070961] 3 ofpart partitions found on MTD device 30000000.nand
    [  122.077038] Creating 3 MTD partitions on "30000000.nand":
    [  122.082431] 0x000000000000-0x000000100000 : "u-boot"
    [  122.087959] 0x000000100000-0x000000180000 : "params"
    [  122.093470] 0x000000180000-0x000020000000 : "ubifs"
    [  122.099059] davinci_nand 30000000.nand: controller rev. 2.5
    [  122.105185] spi_davinci 21000400.spi: master is unqueued, this is deprecated
    [  122.112469] m25p80 spi32766.0: found n25q128a11, expected n25q128
    [  122.118551] m25p80 spi32766.0: n25q128a11 (16384 Kbytes)
    [  122.123867] 2 ofpart partitions found on MTD device spi32766.0
    [  122.129685] Creating 2 MTD partitions on "spi32766.0":
    [  122.134818] 0x000000000000-0x000000080000 : "u-boot-spl"
    [  122.140661] 0x000000080000-0x000001000000 : "test"
    [  122.146261] spi_davinci 21000400.spi: Controller at 0xf007e400
    [  122.152367] spi_davinci 21000600.spi: master is unqueued, this is deprecated
    [  122.159402] spi_davinci 21000600.spi: Controller at 0xf00ba600
    [  122.165507] spi_davinci 21000800.spi: master is unqueued, this is deprecated
    [  122.172552] spi_davinci 21000800.spi: Controller at 0xf00bc800
    [  122.179138] tun: Universal TUN/TAP device driver, 1.6
    [  122.184183] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    [  122.190741] keystone-netcp 24000000.netcp: Missing cpts_clock_mult property in the DT.
    [  122.198643] keystone-netcp 24000000.netcp: Missing cpts_clock_shift property in the DT.
    [  122.206640] keystone-netcp 24000000.netcp: Missing cpts_clock_div property in the DT.
    [  122.215298] keystone-netcp 24000000.netcp: Created interface "eth0"
    [  122.221566] keystone-netcp 24000000.netcp: dma_chan_name nettx0
    [  122.228192] keystone-netcp 24000000.netcp: Created interface "eth1"
    [  122.234458] keystone-netcp 24000000.netcp: dma_chan_name nettx1
    [  122.241110] keystone-netcp 24000000.netcp: Created interface "eth2"
    [  122.247368] keystone-netcp 24000000.netcp: dma_chan_name nettx2
    [  122.254011] keystone-netcp 24000000.netcp: Created interface "eth3"
    [  122.260276] keystone-netcp 24000000.netcp: dma_chan_name nettx3
    [  122.266930] keystone-netcp 24000000.netcp: Created interface "eth4"
    [  122.273202] keystone-netcp 24000000.netcp: dma_chan_name nettx4
    [  122.279947] keystone-netcp 24000000.netcp: Created interface "eth5"
    [  122.286205] keystone-netcp 24000000.netcp: dma_chan_name nettx5
    [  122.292853] keystone-netcp 24000000.netcp: Created interface "eth6"
    [  122.299113] keystone-netcp 24000000.netcp: dma_chan_name nettx6
    [  122.305743] keystone-netcp 24000000.netcp: Created interface "eth7"
    [  122.312011] keystone-netcp 24000000.netcp: dma_chan_name nettx7
    [  122.318408] keystone-netcp 24000000.netcp: could not find interface 2 node in device tree
    [  122.326579] keystone-netcp 24000000.netcp: Attach of module keystone-qos declined with -19
    [  122.334837] keystone-netcp 24000000.netcp: could not find interface 3 node in device tree
    [  122.343004] keystone-netcp 24000000.netcp: Attach of module keystone-qos declined with -19
    [  122.351260] keystone-netcp 24000000.netcp: could not find interface 4 node in device tree
    [  122.359421] keystone-netcp 24000000.netcp: Attach of module keystone-qos declined with -19
    [  122.367676] keystone-netcp 24000000.netcp: could not find interface 5 node in device tree
    [  122.375843] keystone-netcp 24000000.netcp: Attach of module keystone-qos declined with -19
    [  122.384098] keystone-netcp 24000000.netcp: could not find interface 6 node in device tree
    [  122.392265] keystone-netcp 24000000.netcp: Attach of module keystone-qos declined with -19
    [  122.400520] keystone-netcp 24000000.netcp: could not find interface 7 node in device tree
    [  122.408681] keystone-netcp 24000000.netcp: Attach of module keystone-qos declined with -19
    [  122.416951] keystone-netcp 24000000.netcp: Attach of module keystone-sa declined with -19
    [  122.425120] keystone-netcp 24000000.netcp: Attach of module keystone-sa declined with -19
    [  122.433288] keystone-netcp 24000000.netcp: Attach of module keystone-sa declined with -19
    [  122.441455] keystone-netcp 24000000.netcp: Attach of module keystone-sa declined with -19
    [  122.449622] keystone-netcp 24000000.netcp: Attach of module keystone-sa declined with -19
    [  122.457783] keystone-netcp 24000000.netcp: Attach of module keystone-sa declined with -19
    [  122.466692] keystone-dwc3 2690000.dwc: usbss revision 47914b00
    [  122.472543] keystone-dwc3 2690000.dwc: mapped irq 184 to virq 608
    [  122.680050] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [  122.685533] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [  122.693702] xhci-hcd xhci-hcd.0.auto: irq 608, io mem 0x02690000
    [  122.699768] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [  122.706541] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [  122.713757] usb usb1: Product: xHCI Host Controller
    [  122.718622] usb usb1: Manufacturer: Linux 3.10.10 xhci-hcd
    [  122.724101] usb usb1: SerialNumber: xhci-hcd.0.auto
    [  122.729340] hub 1-0:1.0: USB hub found
    [  122.733098] hub 1-0:1.0: 1 port detected
    [  122.737174] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [  122.742662] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [  122.750376] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    [  122.757149] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [  122.764362] usb usb2: Product: xHCI Host Controller
    [  122.769227] usb usb2: Manufacturer: Linux 3.10.10 xhci-hcd
    [  122.774705] usb usb2: SerialNumber: xhci-hcd.0.auto
    [  122.779931] hub 2-0:1.0: USB hub found
    [  122.783675] hub 2-0:1.0: 1 port detected
    [  122.787886] usbcore: registered new interface driver usb-storage
    [  122.794140] mousedev: PS/2 mouse device common for all mice
    [  122.799888] i2c /dev entries driver
    [  122.803903] watchdog 22f0080.wdt: heartbeat 60 sec
    [  122.810402] keystone-crypto 24080000.crypto: crypto accelerator enabled
    [  122.817286] usbcore: registered new interface driver usbhid
    [  122.822852] usbhid: USB HID core driver
    [  122.826957]  remoteproc0: 2620844.dsp0 is available
    [  122.831835]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [  122.840782]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [  122.851135]  remoteproc0: no firmware found
    [  122.855427] rproc-user 2620844.dsp0: registered misc device dsp0
    [  122.861451] rproc-user dspmem.9: kick gpio
    [  122.865651] rproc-user dspmem.9: registered misc device dspmem
    [  122.871753] oprofile: using arm/armv7-ca15
    [  122.875938] ipip: IPv4 over IPv4 tunneling driver
    [  122.881010] gre: GRE over IPv4 demultiplexor driver
    [  122.885875] ip_gre: GRE over IPv4 tunneling driver
    [  122.891322] TCP: cubic registered
    [  122.894626] Initializing XFRM netlink socket
    [  122.899276] NET: Registered protocol family 10
    [  122.904830] NET: Registered protocol family 17
    [  122.909284] NET: Registered protocol family 15
    [  122.913757] Bridge firewalling registered
    [  122.917759] 8021q: 802.1Q VLAN Support v1.8
    [  122.923597] sctp: Hash tables configured (established 65536 bind 65536)
    [  122.930322] NET: Registered protocol family 41
    [  122.934864] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [  122.942529] Registering SWP/SWPB emulation handler
    [  122.950331] keystone-netcp 24000000.netcp: initializing cpsw version 1.0 (7) SGMII identification value 0x4ee5
    [  122.960435] keystone-netcp 24000000.netcp: Created a cpsw ale engine
    [  123.099293] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
    [  123.105957] pps pps0: new PPS source ptp0
    [  123.109974] cpts rftclk rate(625000000 HZ),mult(4096),shift(9),div(5)
    [  123.116792] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 0 Firmware Version 0x0300000a
    [  123.125573] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 1 Firmware Version 0x0300000a
    [  123.134361] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 2 Firmware Version 0x0300000a
    [  123.143146] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 3 Firmware Version 0x0300000a
    [  123.151931] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 4 Firmware Version 0x0300000a
    [  123.160716] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 5 Firmware Version 0x0300000a
    [  123.160719] usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
    [  123.178526] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 6 Firmware Version 0x0300000a
    [  123.187312] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 7 Firmware Version 0x0300000a
    [  123.196099] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 8 Firmware Version 0x0300000a
    [  123.204888] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 9 Firmware Version 0x0300000a
    [  123.213675] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 10 Firmware Version 0x0300000a
    [  123.222547] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 11 Firmware Version 0x0300000a
    [  123.222555] usb 2-1: New USB device found, idVendor=0951, idProduct=1666
    [  123.222559] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [  123.222562] usb 2-1: Product: DataTraveler 3.0
    [  123.222565] usb 2-1: Manufacturer: Kingston
    [  123.222568] usb 2-1: SerialNumber: 08606E6D4162BE50A70B717D
    [  123.259359] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 12 Firmware Version 0x0300000a
    [  123.268213] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 13 Firmware Version 0x0300000a
    [  123.277163] keystone-netcp 24000000.netcp: Packet Accelerator PDSP 14 Firmware Version 0x0300000a
    [  123.286030] keystone-netcp 24000000.netcp: pa_clk_rate(166666666 HZ),mult(24576),shift(12)
    [  123.295595] usb-storage 2-1:1.0: USB Mass Storage device detected
    [  123.301820] scsi0 : usb-storage 2-1:1.0
    [  123.569252] net eth0: netcp device eth0 opened
    [  123.576646] 8021q: adding VLAN 0 to HW filter on device eth0
    [  123.582324] net eth0: adding rx vlan id: 0
    [  123.586845] keystone-netcp 24000000.netcp: initializing cpsw version 1.0 (7) SGMII identification value 0x4ee5
    [  124.018868] net eth1: netcp device eth1 opened
    [  124.024109] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [  124.029955] 8021q: adding VLAN 0 to HW filter on device eth1
    [  124.035601] net eth1: adding rx vlan id: 0
    [  124.040119] keystone-netcp 24000000.netcp: initializing cpsw version 1.0 (7) SGMII identification value 0x4ee5
    [  124.288680] net eth2: netcp device eth2 opened
    [  124.293905] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
    [  124.299829] 8021q: adding VLAN 0 to HW filter on device eth2
    [  124.305475] net eth2: adding rx vlan id: 0
    [  124.310027] keystone-netcp 24000000.netcp: initializing cpsw version 1.0 (7) SGMII identification value 0x4ee5
    [  124.376206] scsi 0:0:0:0: Direct-Access     Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6
    [  124.384902] sd 0:0:0:0: Attached scsi generic sg0 type 0
    [  124.538522] net eth3: netcp device eth3 opened
    [  124.543762] IPv6: ADDRCONF(NETDEV_UP): eth3: link is not ready
    [  124.549674] 8021q: adding VLAN 0 to HW filter on device eth3
    [  124.555341] net eth3: adding rx vlan id: 0
    [  124.559881] keystone-netcp 24000000.netcp: initializing cpsw version 1.0 (7) SGMII identification value 0x4ee5
    [  124.798438] net eth4: netcp device eth4 opened
    [  124.803677] IPv6: ADDRCONF(NETDEV_UP): eth4: link is not ready
    [  124.809503] 8021q: adding VLAN 0 to HW filter on device eth4
    [  124.815168] net eth4: adding rx vlan id: 0
    [  124.819785] keystone-netcp 24000000.netcp: initializing cpsw version 1.0 (7) SGMII identification value 0x4ee5
    [  124.956855] sd 0:0:0:0: [sda] 30720000 512-byte logical blocks: (15.7 GB/14.6 GiB)
    [  124.966292] sd 0:0:0:0: [sda] Write Protect is off
    [  124.972960] sd 0:0:0:0: [sda] No Caching mode page present
    [  124.978439] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [  124.989863] sd 0:0:0:0: [sda] No Caching mode page present
    [  124.995337] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [  125.038616]  sda: sda1 sda2
    [  125.046318] sd 0:0:0:0: [sda] No Caching mode page present
    [  125.051806] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [  125.057893] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [  125.098250] net eth5: netcp device eth5 opened
    [  125.103490] IPv6: ADDRCONF(NETDEV_UP): eth5: link is not ready
    [  125.109321] 8021q: adding VLAN 0 to HW filter on device eth5
    [  125.114988] net eth5: adding rx vlan id: 0
    [  125.119626] keystone-netcp 24000000.netcp: initializing cpsw version 1.0 (7) SGMII identification value 0x4ee5
    [  125.377972] net eth6: netcp device eth6 opened
    [  125.383205] IPv6: ADDRCONF(NETDEV_UP): eth6: link is not ready
    [  125.389055] 8021q: adding VLAN 0 to HW filter on device eth6
    [  125.394701] net eth6: adding rx vlan id: 0
    [  125.399321] keystone-netcp 24000000.netcp: initializing cpsw version 1.0 (7) SGMII identification value 0x4ee5
    [  125.647885] net eth7: netcp device eth7 opened
    [  125.653130] IPv6: ADDRCONF(NETDEV_UP): eth7: link is not ready
    [  125.658958] 8021q: adding VLAN 0 to HW filter on device eth7
    [  125.664623] net eth7: adding rx vlan id: 0
    [  125.668931] IP-Config: Failed to open gretap0
    [  125.687445] Sending DHCP requests .[  126.710992] DHCP/BOOTP: Ignoring delayed packet
    ., OK
    [  132.193291] IP-Config: Got DHCP answer from 158.218.109.3, my address is 158.218.109.195
    [  134.631704] net eth1: removing rx vlan id: 0
    [  135.471130] net eth2: removing rx vlan id: 0
    [  136.310582] net eth3: removing rx vlan id: 0
    [  137.140042] net eth4: removing rx vlan id: 0
    [  137.959535] net eth5: removing rx vlan id: 0
    [  138.778973] net eth6: removing rx vlan id: 0
    [  139.618426] net eth7: removing rx vlan id: 0
    [  139.623576] IP-Config: Complete:
    [  139.626797]      device=eth0, hwaddr=08:00:28:32:bb:65, ipaddr=158.218.109.195, mask=255.255.255.0, gw=158.218.109.1
    [  139.637309]      host=dhcp-158-218-109-195, domain=am.dhcp.ti.com, nis-domain=(none)
    [  139.645045]      bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=
    [  139.651046]      nameserver0=192.0.2.2, nameserver1=192.0.2.3
    [  139.681967] EXT4-fs (sda2): recovery complete
    [  139.686319] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
    [  139.693989] VFS: Mounted root (ext4 filesystem) on device 8:2.
    [  139.702828] devtmpfs: mounted
    [  139.705940] Freeing unused kernel memory: 320K (c06d7000 - c0727000)
    INIT: version 2.88 booting
    Starting udev
    [  139.977342] udevd[1304]: starting version 182
    [  140.535433] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    Starting Bootlog daemon: bootlogd.
    [  140.972742] EXT4-fs (sda2): re-mounted. Opts: data=ordered
    Configuring network interfaces... udhcpc (v1.20.2) started
    Sending discover...
    Sending select for 158.218.109.195...
    Lease of 158.218.109.195 obtained, lease time 28800
    /etc/udhcpc.d/50default: Adding DNS 192.0.2.2
    /etc/udhcpc.d/50default: Adding DNS 192.0.2.3
    done.
    Tue Aug  5 17:15:00 UTC 2014
    INIT: Entering runlevel: 5
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.
    Stopping Bootlog daemon: bootlogd.
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org k2e-evm ttyS0
    
    Arago 2013.12 k2e-evm ttyS0
    
    k2e-evm login: root
    root@k2e-evm:~# lsusb
    Bus 002 Device 002: ID 0951:1666 Kingston Technology
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    root@k2e-evm:~#

    You can use the following commands in red and see if u-boot detects the USB drive. The successful detection should have the info in yellow. I am using a Kingston 3.0 USB stick.

    Rex

    K2E EVM # usb start
    (Re)start USB...
    USB0:   No power optimization available
    Register 2001040 NbrPorts 2
    Starting the controller
    USB XHCI 1.00
    scanning bus 0 for devices...
         Couldn't reset port 0
    2 USB Device(s) found
           scanning usb for storage devices... 1 Storage Device(s) found
    K2E EVM # usb info
    1: Hub,  USB Revision 3.0
     - u-boot XHCI Host Controller
     - Class: Hub
     - PacketSize: 9  Configurations: 1
     - Vendor: 0x0000  Product 0x0000 Version 1.0
       Configuration: 1
       - Interfaces: 1 Self Powered 0mA
         Interface: 0
         - Alternate Setting 0, Endpoints: 1
         - Class Hub
         - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

    2: Mass Storage,  USB Revision 3.0
     - Kingston DataTraveler 3.0 08606E6D4162BE50A70B717D
     - Class: (from Interface) Mass Storage
     - PacketSize: 9  Configurations: 1
     - Vendor: 0x0951  Product 0x1666 Version 1.0
       Configuration: 1
       - Interfaces: 1 Bus Powered 126mA
         Interface: 0
         - Alternate Setting 0, Endpoints: 2
         - Class Mass Storage, Transp. SCSI, Bulk only
         - Endpoint 1 In Bulk MaxPacket 1024
         - Endpoint 2 Out Bulk MaxPacket 1024

    K2E EVM #

  • Rex thanks!

    Well the OOB question came up as I wanted to be sure that the board was updated to the latest MCSDK to be sure the latest target SW was used.

    The question was not specifically about USB boot. In fact it is more about having Linux USB 3.0 support at run time.

    We will investigate further and give some update.

    Anthony

  • Anthony,

    I suggest that using uboot to debug the issue. If "usb start" and "usb info" does not see the storage device, try to use a different brand of USB drive. We've seen issues that some USB sticks may or may not be detected due to weak hardware signals. Customer may be in that situation. Changing to another brand may work.

    Rex