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.

Boot from USB hangs at message: Waiting for root device /dev/sda2...

Background:

Custom board
Processor: AM4379BZDNA100
Linux distro: TI PROCESSOR-SDK-LINUX-AM437X v2.00.00.00 (Linux v4.1.6)
Main com port: UART1
Boot mode[4:0]: 10100b MMC0, USB_MS(USB1), USB_CL(USB0), MMC1
UniFlashRunning on Win7 PC
Linux build environment: Ubuntu 14.04.1 VM

Situation:

Booting custom board from a USB stick progresses until the following message appears:

[ 1.659320] Waiting for root device /dev/sda2...

USB stick was generated to produce a 2 partition file system using the script create-sdcard.sh.

I have referenced the following threads and assume at this point is has something to do with my kernel configuration (attached below).  Boot messages are also attached below.

7178.am437x-ndct_defconfig.txt

U-Boot 2015.07-00114-gf8d68d1-dirty (Dec 07 2015 - 13:36:50 -0500)

I2C:   ready
DRAM:  1 GiB
Success probing Si5388 at 0x70 - Initializing...
Si5388 disable all outputs.
Si5388 pause LOL.
Si5388 set register map.
Si5388 validating input clock status.
Si5388 configuring PLL for locking.
Si5388 initiate locking of PLL.
Si5388 restart LOL.
Si5388 waiting for PLL lock...
Si5388 LOS status = 0x8.
Si5388 copying FCAl values.
Si5388 set PLL to use FCAl values.
Si5388 enable outputs.
Si5388 initialization complete.
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env
Net:   mac addr: c4:be:84:cc:7d:6b
Registering cpsw_data...
cpsw, usb_ether
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1(part 0) is current device
SD/MMC found on device 1
reading uEnv.txt
743 bytes read in 2 ms (362.3 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc ...
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
starting USB...
USB0:   Register 2000440 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

USB device 0:
    Device 0: Vendor: JetFlash Rev: 1100 Prod: Transcend 2GB
            Type: Removable Hard Disk
            Capacity: 2048.0 MB = 2.0 GB (4194304 x 512)
... is now current device
reading uEnv.txt
654 bytes read in 27 ms (23.4 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc ...
3707896 bytes read in 2218 ms (1.6 MiB/s)
37460 bytes read in 285 ms (127.9 KiB/s)
Booting from usb 0...
Kernel image @ 0x82000000 [ 0x000000 - 0x3893f8 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8fff3000, end 8ffff253 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.1.6-g52c4aa7 (udsp@udsp-VirtualBox) (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) ) #85 SMP Tue Dec 15 10:21:33 EST 2015
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Generic AM43 (Flattened Device Tree)
[    0.000000] cma: Reserved 16 MiB at 0xbf000000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM437x ES1.2 (sgx neon )
[    0.000000] PERCPU: Embedded 13 pages/cpu @eeeb8000 s22976 r8192 d22080 u53248
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260434
[    0.000000] Kernel command line: console=ttyO1,115200n8 root=/dev/sda2 rootfstype=ext4 rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1003268K/1048576K available (6635K kernel code, 833K rwdata, 2440K rodata, 440K init, 8223K bss, 28924K reserved, 16384K cma-reserved, 253952K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 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 - 0xc08e51bc   (9077 kB)
[    0.000000]       .init : 0xc08e6000 - 0xc0954000   ( 440 kB)
[    0.000000]       .data : 0xc0954000 - 0xc0a24570   ( 834 kB)
[    0.000000]        .bss : 0xc0a27000 - 0xc122ec08   (8224 kB)
[    0.000000] Running RCU self tests
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU lockdep checking is enabled.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000]  RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
[    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] OMAP L2C310: ROM does not support power control setting
[    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x7e430000
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000013] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000032] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000090] OMAP clocksource: timer1 at 24000000 Hz
[    0.000818] Console: colour dummy device 80x30
[    0.000871] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000879] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000885] ... MAX_LOCK_DEPTH:          48
[    0.000891] ... MAX_LOCKDEP_KEYS:        8191
[    0.000897] ... CLASSHASH_SIZE:          4096
[    0.000902] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.000908] ... MAX_LOCKDEP_CHAINS:      65536
[    0.000914] ... CHAINHASH_SIZE:          32768
[    0.000920]  memory used by lock dependency info: 5167 kB
[    0.000926]  per task-struct memory footprint: 1152 bytes
[    0.000950] Calibrating delay loop... 1993.93 BogoMIPS (lpj=9969664)
[    0.118867] pid_max: default: 32768 minimum: 301
[    0.119201] Security Framework initialized
[    0.119353] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.119368] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.122060] Initializing cgroup subsys blkio
[    0.122097] Initializing cgroup subsys memory
[    0.122181] Initializing cgroup subsys devices
[    0.122270] Initializing cgroup subsys freezer
[    0.122386] Initializing cgroup subsys perf_event
[    0.122442] CPU: Testing write buffer coherency: ok
[    0.123798] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.123921] Setting up static identity map for 0x80008340 - 0x800083b0
[    0.130116] Brought up 1 CPUs
[    0.130138] SMP: Total of 1 processors activated (1993.93 BogoMIPS).
[    0.130147] CPU: All CPU(s) started in SVC mode.
[    0.133319] devtmpfs: initialized
[    0.159773] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.206437] omap_hwmod: tptc0 using broken dt data from edma
[    0.206864] omap_hwmod: tptc1 using broken dt data from edma
[    0.207268] omap_hwmod: tptc2 using broken dt data from edma
[    0.262692] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.265126] pinctrl core: initialized pinctrl subsystem
[    0.270154] NET: Registered protocol family 16
[    0.274333] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.276279] cpuidle: using governor ladder
[    0.276305] cpuidle: using governor menu
[    0.289395] OMAP GPIO hardware version 0.1
[    0.307390] No ATAGs?
[    0.307477] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.307488] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.343073] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[    0.344552] reg-fixed-voltage fixed-regulator-vddr_cpu: Fixed regulator specified with variable voltages
[    0.344608] reg-fixed-voltage: probe of fixed-regulator-vddr_cpu failed with error -22
[    0.346922] reg-fixed-voltage fixed-regulator-vref_ddr3: Fixed regulator specified with variable voltages
[    0.346958] reg-fixed-voltage: probe of fixed-regulator-vref_ddr3 failed with error -22
[    0.349491] SCSI subsystem initialized
[    0.350917] usbcore: registered new interface driver usbfs
[    0.351043] usbcore: registered new interface driver hub
[    0.351207] usbcore: registered new device driver usb
[    0.352010] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins_default, deferring probe
[    0.352258] pps_core: LinuxPPS API ver. 1 registered
[    0.352268] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.352316] PTP clock support registered
[    0.355882] Switched to clocksource timer1
[    0.474703] NET: Registered protocol family 2
[    0.476793] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.476993] TCP bind hash table entries: 8192 (order: 6, 294912 bytes)
[    0.478670] TCP: Hash tables configured (established 8192 bind 8192)
[    0.479181] UDP hash table entries: 512 (order: 3, 40960 bytes)
[    0.479446] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes)
[    0.480426] NET: Registered protocol family 1
[    0.482251] RPC: Registered named UNIX socket transport module.
[    0.482270] RPC: Registered udp transport module.
[    0.482279] RPC: Registered tcp transport module.
[    0.482287] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.486592] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.486888] audit: initializing netlink subsys (disabled)
[    0.487187] audit: type=2000 audit(0.480:1): initialized
[    0.491290] VFS: Disk quotas dquot_6.6.0
[    0.491419] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.493694] NFS: Registering the id_resolver key type
[    0.494096] Key type id_resolver registered
[    0.494110] Key type id_legacy registered
[    0.494315] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.499022] bounce: pool size: 64 pages
[    0.499216] io scheduler noop registered
[    0.499241] io scheduler deadline registered
[    0.499291] io scheduler cfq registered (default)
[    0.501500] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
[    0.504124] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.509287] omap_uart 48022000.serial: no wakeirq for uart1
[    0.509332] omap_uart 48022000.serial: No clock speed specified: using default: 48000000
[    0.509953] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 25, base_baud = 3000000) is a OMAP UART1
[    1.319266] console [ttyO1] enabled
[    1.349956] brd: module loaded
[    1.368461] loop: module loaded
[    1.373962] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.384308] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.391216] ehci-platform: EHCI generic platform driver
[    1.396940] ehci-omap: OMAP-EHCI Host Controller driver
[    1.402719] usbcore: registered new interface driver usb-storage
[    1.411231] mousedev: PS/2 mouse device common for all mice
[    1.417129] i2c /dev entries driver
[    1.421958] ledtrig-cpu: registered to indicate activity on CPUs
[    1.429240] oprofile: no performance counters
[    1.435238] oprofile: using timer interrupt.
[    1.440501] Initializing XFRM netlink socket
[    1.445092] NET: Registered protocol family 17
[    1.449852] NET: Registered protocol family 15
[    1.454828] Key type dns_resolver registered
[    1.459854] omap_voltage_late_init: Voltage driver support not added
[    1.466530] sr_dev_init: No voltage domain specified for smartreflex0. Cannot initialize
[    1.474910] sr_dev_init: No voltage domain specified for smartreflex1. Cannot initialize
[    1.484676] ThumbEE CPU extension supported.
[    1.489227] Registering SWP/SWPB emulation handler
[    1.494207] SmartReflex Class3 initialized
[    1.508199] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
[    1.575780] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    1.582105] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    1.591954] libphy: 4a101000.mdio: probed
[    1.596253] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver unknown
[    1.605576] cpsw 4a100000.ethernet: Missing slave[1] phy_id property
[    1.612264] cpsw 4a100000.ethernet: Detected MACID = c4:be:84:cc:7d:6b
[    1.621524] hctosys: unable to open rtc device (rtc0)
[    1.626873] sr_init: No PMIC hook to init smartreflex
[    1.632352] sr_init: platform driver register failed for SR
[    1.659320] Waiting for root device /dev/sda2...
[  140.255960] random: nonblocking pool is initialized

  • # CONFIG_USB_MASS_STORAGE is not set

    seems wrong. You likely want it compiled in because you don't want it to be a module (can't load it if you can't mount root).
  • Got that one set now.  Still no joy...  New config attached.

    3187.am437x-ndct_defconfig.txt

  • The boot log is more useful. Basically, it doesn't look like it's even reading the partition table from the USB stick. There should be messages to that effect.
  • I don't think it's far enough along to create a boot log file. The USB stick LED shows activity when U-boot is accessing it but when the kernel is getting started it stays dark.
  • I mean the boot messages that come out the terminal - the one you attached earlier as bootmsgs1.txt.

    Now, that said, it may or may not be different.
  • It looks pretty much the same except for slight changes in time stamps...

    U-Boot 2015.07-00114-gf8d68d1-dirty (Dec 07 2015 - 13:36:50 -0500)
    
    I2C:   ready
    DRAM:  1 GiB
    Success probing Si5388 at 0x70 - Initializing...
    Si5388 disable all outputs.
    Si5388 pause LOL.
    Si5388 set register map.
    Si5388 validating input clock status.
    Si5388 configuring PLL for locking.
    Si5388 initiate locking of PLL.
    Si5388 restart LOL.
    Si5388 waiting for PLL lock...
    Si5388 LOS status = 0x8.
    Si5388 copying FCAl values.
    Si5388 set PLL to use FCAl values.
    Si5388 enable outputs.
    Si5388 initialization complete.
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env
    Net:   mac addr: c4:be:84:cc:7d:6b
    Registering cpsw_data...
    cpsw, usb_ether
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc1(part 0) is current device
    SD/MMC found on device 1
    reading uEnv.txt
    743 bytes read in 3 ms (241.2 KiB/s)
    Loaded environment from uEnv.txt
    Importing environment from mmc ...
    Failed to mount ext2 filesystem...
    ** Unrecognized filesystem type **
    starting USB...
    USB0:   Register 2000440 NbrPorts 2
    Starting the controller
    USB XHCI 1.00
    scanning bus 0 for devices... 2 USB Device(s) found
           scanning usb for storage devices... 1 Storage Device(s) found
    
    USB device 0:
        Device 0: Vendor: JetFlash Rev: 1100 Prod: Transcend 2GB
                Type: Removable Hard Disk
                Capacity: 2048.0 MB = 2.0 GB (4194304 x 512)
    ... is now current device
    reading uEnv.txt
    654 bytes read in 26 ms (24.4 KiB/s)
    Loaded environment from uEnv.txt
    Importing environment from mmc ...
    3699120 bytes read in 2212 ms (1.6 MiB/s)
    37460 bytes read in 285 ms (127.9 KiB/s)
    Booting from usb 0...
    Kernel image @ 0x82000000 [ 0x000000 - 0x3871b0 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff3000, end 8ffff253 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.1.6-g52c4aa7 (udsp@udsp-VirtualBox) (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) ) #88 SMP Tue Dec 15 13:08:55 EST 2015
    [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: Generic AM43 (Flattened Device Tree)
    [    0.000000] cma: Reserved 16 MiB at 0xbf000000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM437x ES1.2 (sgx neon )
    [    0.000000] PERCPU: Embedded 13 pages/cpu @eeeb8000 s22976 r8192 d22080 u53248
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260434
    [    0.000000] Kernel command line: console=ttyO1,115200n8 root=/dev/sda2 rw rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 1003284K/1048576K available (6623K kernel code, 833K rwdata, 2436K rodata, 440K init, 8223K bss, 28908K reserved, 16384K cma-reserved, 253952K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 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 - 0xc08e1170   (9061 kB)
    [    0.000000]       .init : 0xc08e2000 - 0xc0950000   ( 440 kB)
    [    0.000000]       .data : 0xc0950000 - 0xc0a20658   ( 834 kB)
    [    0.000000]        .bss : 0xc0a23000 - 0xc122ac08   (8224 kB)
    [    0.000000] Running RCU self tests
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000]  RCU lockdep checking is enabled.
    [    0.000000]  Additional per-CPU info printed with stalls.
    [    0.000000]  RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] OMAP L2C310: ROM does not support power control setting
    [    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
    [    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x7e430000
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000013] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000032] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000088] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000825] Console: colour dummy device 80x30
    [    0.000879] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
    [    0.000887] ... MAX_LOCKDEP_SUBCLASSES:  8
    [    0.000893] ... MAX_LOCK_DEPTH:          48
    [    0.000899] ... MAX_LOCKDEP_KEYS:        8191
    [    0.000905] ... CLASSHASH_SIZE:          4096
    [    0.000911] ... MAX_LOCKDEP_ENTRIES:     32768
    [    0.000916] ... MAX_LOCKDEP_CHAINS:      65536
    [    0.000922] ... CHAINHASH_SIZE:          32768
    [    0.000927]  memory used by lock dependency info: 5167 kB
    [    0.000934]  per task-struct memory footprint: 1152 bytes
    [    0.000958] Calibrating delay loop... 1993.93 BogoMIPS (lpj=9969664)
    [    0.118918] pid_max: default: 32768 minimum: 301
    [    0.119258] Security Framework initialized
    [    0.119409] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.119424] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.122122] Initializing cgroup subsys blkio
    [    0.122160] Initializing cgroup subsys memory
    [    0.122239] Initializing cgroup subsys devices
    [    0.122326] Initializing cgroup subsys freezer
    [    0.122443] Initializing cgroup subsys perf_event
    [    0.122502] CPU: Testing write buffer coherency: ok
    [    0.123845] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.123972] Setting up static identity map for 0x80008340 - 0x800083b0
    [    0.130185] Brought up 1 CPUs
    [    0.130206] SMP: Total of 1 processors activated (1993.93 BogoMIPS).
    [    0.130216] CPU: All CPU(s) started in SVC mode.
    [    0.133374] devtmpfs: initialized
    [    0.159890] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.204775] omap_hwmod: tptc0 using broken dt data from edma
    [    0.205186] omap_hwmod: tptc1 using broken dt data from edma
    [    0.205573] omap_hwmod: tptc2 using broken dt data from edma
    [    0.260467] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.262864] pinctrl core: initialized pinctrl subsystem
    [    0.267667] NET: Registered protocol family 16
    [    0.272173] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.274155] cpuidle: using governor ladder
    [    0.274183] cpuidle: using governor menu
    [    0.286971] OMAP GPIO hardware version 0.1
    [    0.304935] No ATAGs?
    [    0.305024] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [    0.305036] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.340635] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [    0.342117] reg-fixed-voltage fixed-regulator-vddr_cpu: Fixed regulator specified with variable voltages
    [    0.342173] reg-fixed-voltage: probe of fixed-regulator-vddr_cpu failed with error -22
    [    0.344492] reg-fixed-voltage fixed-regulator-vref_ddr3: Fixed regulator specified with variable voltages
    [    0.344526] reg-fixed-voltage: probe of fixed-regulator-vref_ddr3 failed with error -22
    [    0.346933] SCSI subsystem initialized
    [    0.348370] usbcore: registered new interface driver usbfs
    [    0.348497] usbcore: registered new interface driver hub
    [    0.348660] usbcore: registered new device driver usb
    [    0.349641] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins_default, deferring probe
    [    0.349905] pps_core: LinuxPPS API ver. 1 registered
    [    0.349915] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.349964] PTP clock support registered
    [    0.353507] Switched to clocksource timer1
    [    0.471332] NET: Registered protocol family 2
    [    0.473287] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.473595] TCP bind hash table entries: 8192 (order: 6, 294912 bytes)
    [    0.475275] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.475806] UDP hash table entries: 512 (order: 3, 40960 bytes)
    [    0.476062] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes)
    [    0.477039] NET: Registered protocol family 1
    [    0.478865] RPC: Registered named UNIX socket transport module.
    [    0.478885] RPC: Registered udp transport module.
    [    0.478894] RPC: Registered tcp transport module.
    [    0.478902] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.483049] futex hash table entries: 256 (order: 2, 16384 bytes)
    [    0.483484] audit: initializing netlink subsys (disabled)
    [    0.483799] audit: type=2000 audit(0.480:1): initialized
    [    0.487933] VFS: Disk quotas dquot_6.6.0
    [    0.488065] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.490329] NFS: Registering the id_resolver key type
    [    0.490733] Key type id_resolver registered
    [    0.490746] Key type id_legacy registered
    [    0.490954] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
    [    0.495682] bounce: pool size: 64 pages
    [    0.495877] io scheduler noop registered
    [    0.495898] io scheduler deadline registered
    [    0.495949] io scheduler cfq registered (default)
    [    0.498158] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
    [    0.500620] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    0.505818] omap_uart 48022000.serial: no wakeirq for uart1
    [    0.505865] omap_uart 48022000.serial: No clock speed specified: using default: 48000000
    [    0.506488] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 25, base_baud = 3000000) is a OMAP UART1
    [    1.316165] console [ttyO1] enabled
    [    1.346809] brd: module loaded
    [    1.365488] loop: module loaded
    [    1.370976] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.381308] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.388221] ehci-platform: EHCI generic platform driver
    [    1.393956] ehci-omap: OMAP-EHCI Host Controller driver
    [    1.399737] usbcore: registered new interface driver usb-storage
    [    1.408224] mousedev: PS/2 mouse device common for all mice
    [    1.414119] i2c /dev entries driver
    [    1.418972] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.426242] oprofile: no performance counters
    [    1.432233] oprofile: using timer interrupt.
    [    1.437478] Initializing XFRM netlink socket
    [    1.442076] NET: Registered protocol family 17
    [    1.446841] NET: Registered protocol family 15
    [    1.451815] Key type dns_resolver registered
    [    1.456836] omap_voltage_late_init: Voltage driver support not added
    [    1.463513] sr_dev_init: No voltage domain specified for smartreflex0. Cannot initialize
    [    1.471892] sr_dev_init: No voltage domain specified for smartreflex1. Cannot initialize
    [    1.481635] ThumbEE CPU extension supported.
    [    1.486182] Registering SWP/SWPB emulation handler
    [    1.491153] SmartReflex Class3 initialized
    [    1.505080] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.573403] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.579728] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.589502] libphy: 4a101000.mdio: probed
    [    1.593796] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver unknown
    [    1.603122] cpsw 4a100000.ethernet: Missing slave[1] phy_id property
    [    1.609804] cpsw 4a100000.ethernet: Detected MACID = c4:be:84:cc:7d:6b
    [    1.619071] hctosys: unable to open rtc device (rtc0)
    [    1.624419] sr_init: No PMIC hook to init smartreflex
    [    1.629897] sr_init: platform driver register failed for SR
    [    1.656980] Waiting for root device /dev/sda2...
    [  140.253590] random: nonblocking pool is initialized
    
    

  • Is CONFIG_USB_STORAGE still a module? That may need to change to y as well.

    What you're looking for, BTW, is output like this:

    [ 4513.112407] usb 1-4: new high-speed USB device number 4 using ehci-pci
    [ 4513.363672] usb 1-4: New USB device found, idVendor=111d, idProduct=0000
    [ 4513.363677] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 4513.363680] usb 1-4: Product: DS Pro
    [ 4513.363683] usb 1-4: Manufacturer: CENTON
    [ 4513.363686] usb 1-4: SerialNumber: 3898A6B0
    [ 4513.364054] usb-storage 1-4:1.0: USB Mass Storage device detected
    [ 4513.364246] scsi15 : usb-storage 1-4:1.0
    [ 4514.365387] scsi 15:0:0:0: Direct-Access     CENTON   DS Pro           8.07 PQ: 0 ANSI: 2
    [ 4514.365816] sd 15:0:0:0: Attached scsi generic sg2 type 0
    [ 4514.367024] sd 15:0:0:0: [sdc] 16416768 512-byte logical blocks: (8.40 GB/7.82 GiB)
    [ 4514.367671] sd 15:0:0:0: [sdc] Write Protect is off
    [ 4514.367676] sd 15:0:0:0: [sdc] Mode Sense: 03 00 00 00
    [ 4514.369802] sd 15:0:0:0: [sdc] No Caching mode page found
    [ 4514.369809] sd 15:0:0:0: [sdc] Assuming drive cache: write through
    [ 4514.372785] sd 15:0:0:0: [sdc] No Caching mode page found
    [ 4514.372790] sd 15:0:0:0: [sdc] Assuming drive cache: write through
    [ 4514.964997]  sdc: sdc1
    [ 4514.968049] sd 15:0:0:0: [sdc] No Caching mode page found
    [ 4514.968054] sd 15:0:0:0: [sdc] Assuming drive cache: write through
    [ 4514.968058] sd 15:0:0:0: [sdc] Attached SCSI removable disk
    

  • I already got that one updated to 'y'.  Still no joy.  My current, updated config is below.

    I gathered the output should look something like what you've shown from some of the other threads I've reviewed.  It doesn't seem to be detecting the USB stick in the kernel or even the root device for that matter.

    Your time stamps are awfully high in value.  Do you have any extra debug messages active to see these?  I have all the extra stuff turned off right now.  Just standard boot messages from the kernel.

     5277.am437x-ndct_defconfig.txt

    My updated boot messages:

    U-Boot 2015.07-00114-gf8d68d1-dirty (Dec 07 2015 - 13:36:50 -0500)
    
    I2C:   ready
    DRAM:  1 GiB
    Success probing Si5388 at 0x70 - Initializing...
    Si5388 disable all outputs.
    Si5388 pause LOL.
    Si5388 set register map.
    Si5388 validating input clock status.
    Si5388 configuring PLL for locking.
    Si5388 initiate locking of PLL.
    Si5388 restart LOL.
    Si5388 waiting for PLL lock...
    Si5388 LOS status = 0x8.
    Si5388 copying FCAl values.
    Si5388 set PLL to use FCAl values.
    Si5388 enable outputs.
    Si5388 initialization complete.
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env
    Net:   mac addr: c4:be:84:cc:7d:6b
    Registering cpsw_data...
    cpsw, usb_ether
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc1(part 0) is current device
    SD/MMC found on device 1
    reading uEnv.txt
    743 bytes read in 2 ms (362.3 KiB/s)
    Loaded environment from uEnv.txt
    Importing environment from mmc ...
    Failed to mount ext2 filesystem...
    ** Unrecognized filesystem type **
    starting USB...
    USB0:   Register 2000440 NbrPorts 2
    Starting the controller
    USB XHCI 1.00
    scanning bus 0 for devices... 2 USB Device(s) found
           scanning usb for storage devices... 1 Storage Device(s) found
    
    USB device 0:
        Device 0: Vendor: JetFlash Rev: 1100 Prod: Transcend 2GB
                Type: Removable Hard Disk
                Capacity: 2048.0 MB = 2.0 GB (4194304 x 512)
    ... is now current device
    reading uEnv.txt
    654 bytes read in 27 ms (23.4 KiB/s)
    Loaded environment from uEnv.txt
    Importing environment from mmc ...
    3730992 bytes read in 2229 ms (1.6 MiB/s)
    37460 bytes read in 284 ms (127.9 KiB/s)
    Booting from usb 0...
    Kernel image @ 0x82000000 [ 0x000000 - 0x38ee30 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff3000, end 8ffff253 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.1.6-g52c4aa7 (udsp@udsp-VirtualBox) (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) ) #93 SMP Tue Dec 15 16:16:42 EST 2015
    [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: Generic AM43 (Flattened Device Tree)
    [    0.000000] cma: Reserved 16 MiB at 0xbf000000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM437x ES1.2 (sgx neon )
    [    0.000000] PERCPU: Embedded 13 pages/cpu @eeeb8000 s22976 r8192 d22080 u53248
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260434
    [    0.000000] Kernel command line: console=ttyO1,115200n8 root=/dev/sda2 rw rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 1003200K/1048576K available (6684K kernel code, 837K rwdata, 2452K rodata, 444K init, 8223K bss, 28992K reserved, 16384K cma-reserved, 253952K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 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 - 0xc08f44f0   (9138 kB)
    [    0.000000]       .init : 0xc08f5000 - 0xc0964000   ( 444 kB)
    [    0.000000]       .data : 0xc0964000 - 0xc0a354f0   ( 838 kB)
    [    0.000000]        .bss : 0xc0a38000 - 0xc123fc08   (8224 kB)
    [    0.000000] Running RCU self tests
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000]  RCU lockdep checking is enabled.
    [    0.000000]  Additional per-CPU info printed with stalls.
    [    0.000000]  RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] OMAP L2C310: ROM does not support power control setting
    [    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
    [    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x7e430000
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000015] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000035] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000089] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000821] Console: colour dummy device 80x30
    [    0.000876] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
    [    0.000883] ... MAX_LOCKDEP_SUBCLASSES:  8
    [    0.000890] ... MAX_LOCK_DEPTH:          48
    [    0.000896] ... MAX_LOCKDEP_KEYS:        8191
    [    0.000902] ... CLASSHASH_SIZE:          4096
    [    0.000908] ... MAX_LOCKDEP_ENTRIES:     32768
    [    0.000914] ... MAX_LOCKDEP_CHAINS:      65536
    [    0.000919] ... CHAINHASH_SIZE:          32768
    [    0.000925]  memory used by lock dependency info: 5167 kB
    [    0.000931]  per task-struct memory footprint: 1152 bytes
    [    0.000955] Calibrating delay loop... 1993.93 BogoMIPS (lpj=9969664)
    [    0.118879] pid_max: default: 32768 minimum: 301
    [    0.119218] Security Framework initialized
    [    0.119370] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.119385] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.122123] Initializing cgroup subsys blkio
    [    0.122162] Initializing cgroup subsys memory
    [    0.122243] Initializing cgroup subsys devices
    [    0.122333] Initializing cgroup subsys freezer
    [    0.122448] Initializing cgroup subsys perf_event
    [    0.122505] CPU: Testing write buffer coherency: ok
    [    0.123861] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.123987] Setting up static identity map for 0x80008340 - 0x800083b0
    [    0.130324] Brought up 1 CPUs
    [    0.130346] SMP: Total of 1 processors activated (1993.93 BogoMIPS).
    [    0.130355] CPU: All CPU(s) started in SVC mode.
    [    0.133523] devtmpfs: initialized
    [    0.160103] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.206132] omap_hwmod: tptc0 using broken dt data from edma
    [    0.206555] omap_hwmod: tptc1 using broken dt data from edma
    [    0.206954] omap_hwmod: tptc2 using broken dt data from edma
    [    0.262246] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.264649] pinctrl core: initialized pinctrl subsystem
    [    0.269707] NET: Registered protocol family 16
    [    0.274040] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.276039] cpuidle: using governor ladder
    [    0.276068] cpuidle: using governor menu
    [    0.289013] OMAP GPIO hardware version 0.1
    [    0.306919] No ATAGs?
    [    0.307005] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [    0.307018] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.342759] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [    0.344244] reg-fixed-voltage fixed-regulator-vddr_cpu: Fixed regulator specified with variable voltages
    [    0.344299] reg-fixed-voltage: probe of fixed-regulator-vddr_cpu failed with error -22
    [    0.346609] reg-fixed-voltage fixed-regulator-vref_ddr3: Fixed regulator specified with variable voltages
    [    0.346645] reg-fixed-voltage: probe of fixed-regulator-vref_ddr3 failed with error -22
    [    0.349167] SCSI subsystem initialized
    [    0.350599] usbcore: registered new interface driver usbfs
    [    0.350724] usbcore: registered new interface driver hub
    [    0.350891] usbcore: registered new device driver usb
    [    0.351751] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins_default, deferring probe
    [    0.352001] pps_core: LinuxPPS API ver. 1 registered
    [    0.352011] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.352059] PTP clock support registered
    [    0.355630] Switched to clocksource timer1
    [    0.473224] NET: Registered protocol family 2
    [    0.475150] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.475344] TCP bind hash table entries: 8192 (order: 6, 294912 bytes)
    [    0.477158] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.477689] UDP hash table entries: 512 (order: 3, 40960 bytes)
    [    0.477939] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes)
    [    0.478917] NET: Registered protocol family 1
    [    0.480726] RPC: Registered named UNIX socket transport module.
    [    0.480747] RPC: Registered udp transport module.
    [    0.480755] RPC: Registered tcp transport module.
    [    0.480763] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.484923] futex hash table entries: 256 (order: 2, 16384 bytes)
    [    0.485216] audit: initializing netlink subsys (disabled)
    [    0.485672] audit: type=2000 audit(0.480:1): initialized
    [    0.489832] VFS: Disk quotas dquot_6.6.0
    [    0.489960] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.492225] NFS: Registering the id_resolver key type
    [    0.492632] Key type id_resolver registered
    [    0.492647] Key type id_legacy registered
    [    0.492861] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
    [    0.497711] bounce: pool size: 64 pages
    [    0.497915] io scheduler noop registered
    [    0.497939] io scheduler deadline registered
    [    0.497988] io scheduler cfq registered (default)
    [    0.500458] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
    [    0.503109] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    0.508314] omap_uart 48022000.serial: no wakeirq for uart1
    [    0.508361] omap_uart 48022000.serial: No clock speed specified: using default: 48000000
    [    0.508977] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 25, base_baud = 3000000) is a OMAP UART1
    [    1.318771] console [ttyO1] enabled
    [    1.349575] brd: module loaded
    [    1.368164] loop: module loaded
    [    1.373605] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.383980] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.390887] ehci-platform: EHCI generic platform driver
    [    1.396629] ehci-omap: OMAP-EHCI Host Controller driver
    [    1.402247] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    1.408729] ohci-platform: OHCI generic platform driver
    [    1.414376] ohci-omap3: OHCI OMAP3 driver
    [    1.418940] usbcore: registered new interface driver usb-storage
    [    1.427451] mousedev: PS/2 mouse device common for all mice
    [    1.433248] i2c /dev entries driver
    [    1.438174] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.445327] oprofile: no performance counters
    [    1.451427] oprofile: using timer interrupt.
    [    1.456688] Initializing XFRM netlink socket
    [    1.461282] NET: Registered protocol family 17
    [    1.466036] NET: Registered protocol family 15
    [    1.471021] Key type dns_resolver registered
    [    1.476059] omap_voltage_late_init: Voltage driver support not added
    [    1.482668] sr_dev_init: No voltage domain specified for smartreflex0. Cannot initialize
    [    1.491116] sr_dev_init: No voltage domain specified for smartreflex1. Cannot initialize
    [    1.500882] ThumbEE CPU extension supported.
    [    1.505342] Registering SWP/SWPB emulation handler
    [    1.510396] SmartReflex Class3 initialized
    [    1.524418] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.595527] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.601852] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.611769] libphy: 4a101000.mdio: probed
    [    1.616065] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver unknown
    [    1.625394] cpsw 4a100000.ethernet: Missing slave[1] phy_id property
    [    1.632071] cpsw 4a100000.ethernet: Detected MACID = c4:be:84:cc:7d:6b
    [    1.641342] hctosys: unable to open rtc device (rtc0)
    [    1.646696] sr_init: No PMIC hook to init smartreflex
    [    1.652177] sr_init: platform driver register failed for SR
    [    1.679110] Waiting for root device /dev/sda2...
    

  • Yeah, it's not detecting the USB stick.

    Ignore my timestamps - they're from my desktop.

    Regarding other stuff - these are admittedly grasping.

    I do notice that CONFIG_USB_XHCI_PLATFORM is a module, as are CONFIG_USB_F_MASS_STORAGE and CONFIG_USB_MASS_STORAGE. I don't know about the first two, but I'm pretty sure the latter needs to be =y.
  • I did not try usb host boot, but please ensure the following configs are 'y' to enable usb in am437x kernel.

    CONFIG_USB_DWC3

    CONFIG_USB_DWC3_DUAL_ROLE

    CONFIG_USB_OTG   <--- required for DRD mode

    CONFIG_USB_DWC3_OMAP

    CONFIG_USB_XHCI_HCD

    CONFIG_USB_XHCI_PLATFORM

    CONFIG_OMAP_CONTROL_PHY

    CONFIG_OMAP_USB2

    You don't need to enable CONFIG_USB_F_MASS_STORAGE, which is for gadget mode support.

  • Thanks for the suggestions Bin!

    I have updated all the configs you recommended to 'y' settings.  It still does not appear to be detecting the USB stick (no light on the USB stick).  I have attached my updated config file in case you need to double-check.  I also have the boot messages included below.

    7242.am437x-ndct_defconfig.txt

    U-Boot 2015.07-00114-gf8d68d1-dirty (Dec 07 2015 - 13:36:50 -0500)
    
    I2C:   ready
    DRAM:  1 GiB
    Success probing Si5388 at 0x70 - Initializing...
    Si5388 disable all outputs.
    Si5388 pause LOL.
    Si5388 set register map.
    Si5388 validating input clock status.
    Si5388 configuring PLL for locking.
    Si5388 initiate locking of PLL.
    Si5388 restart LOL.
    Si5388 waiting for PLL lock...
    Si5388 LOS status = 0x8.
    Si5388 copying FCAl values.
    Si5388 set PLL to use FCAl values.
    Si5388 enable outputs.
    Si5388 initialization complete.
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env
    Net:   mac addr: c4:be:84:cc:7d:6b
    Registering cpsw_data...
    cpsw, usb_ether
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc1(part 0) is current device
    SD/MMC found on device 1
    reading uEnv.txt
    743 bytes read in 2 ms (362.3 KiB/s)
    Loaded environment from uEnv.txt
    Importing environment from mmc ...
    Failed to mount ext2 filesystem...
    ** Unrecognized filesystem type **
    starting USB...
    USB0:   Register 2000440 NbrPorts 2
    Starting the controller
    USB XHCI 1.00
    scanning bus 0 for devices... 2 USB Device(s) found
           scanning usb for storage devices... 1 Storage Device(s) found
    
    USB device 0:
        Device 0: Vendor: JetFlash Rev: 1100 Prod: Transcend 2GB
                Type: Removable Hard Disk
                Capacity: 2048.0 MB = 2.0 GB (4194304 x 512)
    ... is now current device
    reading uEnv.txt
    654 bytes read in 27 ms (23.4 KiB/s)
    Loaded environment from uEnv.txt
    Importing environment from mmc ...
    3761288 bytes read in 2244 ms (1.6 MiB/s)
    37460 bytes read in 285 ms (127.9 KiB/s)
    Booting from usb 0...
    Kernel image @ 0x82000000 [ 0x000000 - 0x396488 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff3000, end 8ffff253 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.1.6-g52c4aa7 (udsp@udsp-VirtualBox) (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) ) #95 SMP Wed Dec 16 13:44:37 EST 2015
    [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: Generic AM43 (Flattened Device Tree)
    [    0.000000] cma: Reserved 16 MiB at 0xbf000000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM437x ES1.2 (sgx neon )
    [    0.000000] PERCPU: Embedded 13 pages/cpu @eeeb8000 s22976 r8192 d22080 u53248
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260434
    [    0.000000] Kernel command line: console=ttyO1,115200n8 root=/dev/sda2 rw rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 1003108K/1048576K available (6745K kernel code, 841K rwdata, 2480K rodata, 444K init, 8223K bss, 29084K reserved, 16384K cma-reserved, 253952K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 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 - 0xc090aa44   (9227 kB)
    [    0.000000]       .init : 0xc090b000 - 0xc097a000   ( 444 kB)
    [    0.000000]       .data : 0xc097a000 - 0xc0a4c798   ( 842 kB)
    [    0.000000]        .bss : 0xc0a4f000 - 0xc1256c88   (8224 kB)
    [    0.000000] Running RCU self tests
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000]  RCU lockdep checking is enabled.
    [    0.000000]  Additional per-CPU info printed with stalls.
    [    0.000000]  RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] OMAP L2C310: ROM does not support power control setting
    [    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
    [    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x7e430000
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000013] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000034] clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000091] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000827] Console: colour dummy device 80x30
    [    0.000882] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
    [    0.000890] ... MAX_LOCKDEP_SUBCLASSES:  8
    [    0.000896] ... MAX_LOCK_DEPTH:          48
    [    0.000902] ... MAX_LOCKDEP_KEYS:        8191
    [    0.000909] ... CLASSHASH_SIZE:          4096
    [    0.000915] ... MAX_LOCKDEP_ENTRIES:     32768
    [    0.000920] ... MAX_LOCKDEP_CHAINS:      65536
    [    0.000926] ... CHAINHASH_SIZE:          32768
    [    0.000932]  memory used by lock dependency info: 5167 kB
    [    0.000938]  per task-struct memory footprint: 1152 bytes
    [    0.000964] Calibrating delay loop... 1993.93 BogoMIPS (lpj=9969664)
    [    0.118886] pid_max: default: 32768 minimum: 301
    [    0.119215] Security Framework initialized
    [    0.119367] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.119382] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.122115] Initializing cgroup subsys blkio
    [    0.122153] Initializing cgroup subsys memory
    [    0.122233] Initializing cgroup subsys devices
    [    0.122321] Initializing cgroup subsys freezer
    [    0.122439] Initializing cgroup subsys perf_event
    [    0.122494] CPU: Testing write buffer coherency: ok
    [    0.123850] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.123968] Setting up static identity map for 0x80008340 - 0x800083b0
    [    0.130306] Brought up 1 CPUs
    [    0.130327] SMP: Total of 1 processors activated (1993.93 BogoMIPS).
    [    0.130338] CPU: All CPU(s) started in SVC mode.
    [    0.133499] devtmpfs: initialized
    [    0.160200] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.205838] omap_hwmod: tptc0 using broken dt data from edma
    [    0.206256] omap_hwmod: tptc1 using broken dt data from edma
    [    0.206649] omap_hwmod: tptc2 using broken dt data from edma
    [    0.261799] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.264212] pinctrl core: initialized pinctrl subsystem
    [    0.269254] NET: Registered protocol family 16
    [    0.273567] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.275544] cpuidle: using governor ladder
    [    0.275576] cpuidle: using governor menu
    [    0.288422] OMAP GPIO hardware version 0.1
    [    0.306565] No ATAGs?
    [    0.306654] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [    0.306666] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.342795] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [    0.344273] reg-fixed-voltage fixed-regulator-vddr_cpu: Fixed regulator specified with variable voltages
    [    0.344324] reg-fixed-voltage: probe of fixed-regulator-vddr_cpu failed with error -22
    [    0.346648] reg-fixed-voltage fixed-regulator-vref_ddr3: Fixed regulator specified with variable voltages
    [    0.346683] reg-fixed-voltage: probe of fixed-regulator-vref_ddr3 failed with error -22
    [    0.349193] SCSI subsystem initialized
    [    0.350633] usbcore: registered new interface driver usbfs
    [    0.350758] usbcore: registered new interface driver hub
    [    0.350921] usbcore: registered new device driver usb
    [    0.351792] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins_default, deferring probe
    [    0.352049] pps_core: LinuxPPS API ver. 1 registered
    [    0.352059] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.352109] PTP clock support registered
    [    0.355670] Switched to clocksource timer1
    [    0.476397] NET: Registered protocol family 2
    [    0.478291] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.478487] TCP bind hash table entries: 8192 (order: 6, 294912 bytes)
    [    0.480166] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.480680] UDP hash table entries: 512 (order: 3, 40960 bytes)
    [    0.480938] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes)
    [    0.481927] NET: Registered protocol family 1
    [    0.483741] RPC: Registered named UNIX socket transport module.
    [    0.483761] RPC: Registered udp transport module.
    [    0.483770] RPC: Registered tcp transport module.
    [    0.483779] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.488078] futex hash table entries: 256 (order: 2, 16384 bytes)
    [    0.488381] audit: initializing netlink subsys (disabled)
    [    0.488680] audit: type=2000 audit(0.480:1): initialized
    [    0.492826] VFS: Disk quotas dquot_6.6.0
    [    0.492954] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    0.495212] NFS: Registering the id_resolver key type
    [    0.495796] Key type id_resolver registered
    [    0.495812] Key type id_legacy registered
    [    0.496026] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
    [    0.500669] bounce: pool size: 64 pages
    [    0.500866] io scheduler noop registered
    [    0.500893] io scheduler deadline registered
    [    0.500944] io scheduler cfq registered (default)
    [    0.503449] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
    [    0.506273] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    0.511237] omap_uart 48022000.serial: no wakeirq for uart1
    [    0.511287] omap_uart 48022000.serial: No clock speed specified: using default: 48000000
    [    0.511895] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 25, base_baud = 3000000) is a OMAP UART1
    [    1.321534] console [ttyO1] enabled
    [    1.352238] brd: module loaded
    [    1.370919] loop: module loaded
    [    1.376748] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    1.390403] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.397328] ehci-platform: EHCI generic platform driver
    [    1.403043] ehci-omap: OMAP-EHCI Host Controller driver
    [    1.408740] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    1.415179] ohci-platform: OHCI generic platform driver
    [    1.420864] ohci-omap3: OHCI OMAP3 driver
    [    1.425394] usbcore: registered new interface driver usb-storage
    [    1.433964] mousedev: PS/2 mouse device common for all mice
    [    1.439872] i2c /dev entries driver
    [    1.444736] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.452201] oprofile: no performance counters
    [    1.458313] oprofile: using timer interrupt.
    [    1.463502] Initializing XFRM netlink socket
    [    1.468211] NET: Registered protocol family 17
    [    1.472890] NET: Registered protocol family 15
    [    1.477995] Key type dns_resolver registered
    [    1.482912] omap_voltage_late_init: Voltage driver support not added
    [    1.489599] sr_dev_init: No voltage domain specified for smartreflex0. Cannot initialize
    [    1.498010] sr_dev_init: No voltage domain specified for smartreflex1. Cannot initialize
    [    1.507802] ThumbEE CPU extension supported.
    [    1.512264] Registering SWP/SWPB emulation handler
    [    1.517326] SmartReflex Class3 initialized
    [    1.531329] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.605630] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.611957] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.621760] libphy: 4a101000.mdio: probed
    [    1.626056] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver unknown
    [    1.635416] cpsw 4a100000.ethernet: Missing slave[1] phy_id property
    [    1.642100] cpsw 4a100000.ethernet: Detected MACID = c4:be:84:cc:7d:6b
    [    1.651388] hctosys: unable to open rtc device (rtc0)
    [    1.656740] sr_init: No PMIC hook to init smartreflex
    [    1.662229] sr_init: platform driver register failed for SR
    [    1.690334] Waiting for root device /dev/sda2...
    

  • I forgot to update CONFIG_USB_MASS_STORAGE to 'y' in the previous updates recommended by Bin.  I just added that one too and same results.  No significant changes in the messages that I can see.

    Latest config file attached:

    5518.am437x-ndct_defconfig.txt

  • Tim,

    The kernel boot log does not have any message related to xhci, so the xhci related drivers are not loaded at all. Please let me try to boot from usb on my am437x evm, then we know what kernel config should be.
  • Tim,

    Attached below is my .config for usb host boot.

    _config.usbboot.txt


    And following is the change I made based on omap2plus-defconfig to enable usb host boot. It seems the only thing missing in yours is CONFIG_USB_DWC3_HOST=y instead of CONFIG_USB_DWC3_DUAL_ROLE=y.

    --- _config.dwc3        2015-12-16 16:03:01.414108012 -0600
    +++ .config     2015-12-16 16:14:02.837588095 -0600
    @@ -1454,10 +1454,6 @@
     # CONFIG_MDIO_BCM_UNIMAC is not set
     # CONFIG_PPP is not set
     # CONFIG_SLIP is not set
    -
    -#
    -# Host-side USB support is needed for USB Network Adapter support
    -#
     CONFIG_USB_NET_DRIVERS=m
     # CONFIG_USB_CATC is not set
     # CONFIG_USB_KAWETH is not set
    @@ -2333,7 +2329,7 @@
     CONFIG_USB_SUPPORT=y
     CONFIG_USB_COMMON=y
     CONFIG_USB_ARCH_HAS_HCD=y
    -CONFIG_USB=m
    +CONFIG_USB=y
     CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
     
     #
    @@ -2351,8 +2347,8 @@
     # USB Host Controller Drivers
     #
     # CONFIG_USB_C67X00_HCD is not set
    -CONFIG_USB_XHCI_HCD=m
    -CONFIG_USB_XHCI_PLATFORM=m
    +CONFIG_USB_XHCI_HCD=y
    +CONFIG_USB_XHCI_PLATFORM=y
     # CONFIG_USB_EHCI_HCD is not set
     # CONFIG_USB_OXU210HP_HCD is not set
     # CONFIG_USB_ISP116X_HCD is not set
    @@ -2379,7 +2375,7 @@
     #
     # also be needed; see USB_STORAGE Help for more info
     #
    -CONFIG_USB_STORAGE=m
    +CONFIG_USB_STORAGE=y
     # CONFIG_USB_STORAGE_DEBUG is not set
     # CONFIG_USB_STORAGE_REALTEK is not set
     # CONFIG_USB_STORAGE_DATAFAB is not set
    @@ -2417,15 +2413,13 @@
     # CONFIG_USB_INVENTRA_DMA is not set
     CONFIG_USB_TI_CPPI41_DMA=y
     # CONFIG_MUSB_PIO_ONLY is not set
    -CONFIG_USB_DWC3=m
    -# CONFIG_USB_DWC3_HOST is not set
    -# CONFIG_USB_DWC3_GADGET is not set
    -CONFIG_USB_DWC3_DUAL_ROLE=y
    +CONFIG_USB_DWC3=y
    +CONFIG_USB_DWC3_HOST=y
     
     #
     # Platform Glue Driver Support
     #
    -CONFIG_USB_DWC3_OMAP=m
    +CONFIG_USB_DWC3_OMAP=y
     
     #
     # Debugging features
    @@ -2814,7 +2808,7 @@
     CONFIG_SOC_TI=y
     CONFIG_WKUP_M3_IPC=y
     # CONFIG_PM_DEVFREQ is not set
    -CONFIG_EXTCON=m
    +CONFIG_EXTCON=y
     
     #
     # Extcon Device Drivers
    @@ -2986,7 +2980,7 @@
     CONFIG_GENERIC_PHY=y
     # CONFIG_PHY_DM816X_USB is not set
     CONFIG_OMAP_CONTROL_PHY=y
    -CONFIG_OMAP_USB2=m
    +CONFIG_OMAP_USB2=y
     CONFIG_TI_PIPE3=y
     CONFIG_TWL4030_USB=m
     # CONFIG_BCM_KONA_USB2_PHY is not set
    

  • Thanks again Bin.

    I changed my config file as you instructed (CONFIG_USB_DWC3_DUAL_ROLE=y to CONFIG_USB_DWC3_HOST=y) but it still does not recognize the USB stick. Is there anything that needs to be done with the dts file?

    I think we are getting pretty close. I have just been able to successfully boot my board from emmc. Even under linux I don't have any joy with the USB stick being recognized.

    dts file attached:

    /*
     * Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
     *
     * This program is free software; you can redistribute it and/or modify
     * it under the terms of the GNU General Public License version 2 as
     * published by the Free Software Foundation.
     */
    
    /dts-v1/;
    
    #include "am4372.dtsi"
    #include <dt-bindings/pinctrl/am43xx.h>
    #include <dt-bindings/pwm/pwm.h>
    #include <dt-bindings/gpio/gpio.h>
    #include <dt-bindings/input/input.h>
    
    / {
    	model = "Generic AM43 (Flattened Device Tree)";
    	compatible = "ti,am4372","ti,am43";		//"ti,am437x-gp-evm",
    
    	aliases {
    		serial1 = &uart1;
    	};
    
    	vicor_15: fixed-regulator-vicor_15 {
    		compatible = "regulator-fixed";
    		regulator-name = "VICOR_15";
    		regulator-min-microvolt = <15000000>;
    		regulator-max-microvolt = <15000000>;
    		regulator-always-on;
    		regulator-boot-on;
    	};
    
    	vddr_cpu: fixed-regulator-vddr_cpu {
    		compatible = "regulator-fixed";
    		regulator-name = "VDDR_CPU";
    		regulator-min-microvolt = <1350000>;
    		regulator-max-microvolt = <1500000>;
    		regulator-always-on;
    		regulator-boot-on;
    		vin-supply = <&vicor_15>;
    	};
    
    	cpu_1_1v: fixed-regulator-cpu_1_1v {
    		compatible = "regulator-fixed";
    		regulator-name = "CPU_1_1V";
    		regulator-min-microvolt = <1100000>;
    		regulator-max-microvolt = <1100000>;
    		regulator-always-on;
    		regulator-boot-on;
    		vin-supply = <&vicor_15>;
    	};
    
    	cpu_3_3v: fixed-regulator-cpu_3_3v {
    		compatible = "regulator-fixed";
    		regulator-name = "CPU_3_3V";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    		regulator-always-on;
    		regulator-boot-on;
    		vin-supply = <&vicor_15>;
    	};
    
    	cpu_1_325v: fixed-regulator-cpu_1_325v{
    		compatible = "regulator-fixed";
    		regulator-name = "CPU_1_325V";
    		regulator-min-microvolt = <1325000>;
    		regulator-max-microvolt = <1325000>;
    		regulator-always-on;
    		regulator-boot-on;
    		vin-supply = <&vicor_15>;
    	};
    
    	cpu_1_8v: fixed-regulator-cpu_1_8v{
    		compatible = "regulator-fixed";
    		regulator-name = "CPU_1_8V";
    		regulator-min-microvolt = <1800000>;
    		regulator-max-microvolt = <1800000>;
    		regulator-always-on;
    		regulator-boot-on;
    		vin-supply = <&cpu_3_3v>;
    	};
    
    	vref_ddr3: fixed-regulator-vref_ddr3{
    		compatible = "regulator-fixed";
    		regulator-name = "VREF_DDR3";
    		regulator-min-microvolt = <675000>;
    		regulator-max-microvolt = <750000>;
    		regulator-always-on;
    		regulator-boot-on;
    		vin-supply = <&vddr_cpu>;
    	};
    
    //	gpio_keys: gpio_keys {
    //		compatible = "gpio-keys";
    //		pinctrl-names = "default";
    //		pinctrl-0 = <&gpio_keys_pins_default>;
    //		#address-cells = <1>;
    //		#size-cells = <0>;
    
    //		switch@0 {
    //			label = "power-button";
    //			linux,code = <KEY_POWER>;
    //			gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
    //		};
    
    // Uncomment this section if we want to use gpio-keys driver instead of sysfs GPIO 
    //		oled@0 {
    //			label = "oled-button";
    //			linux,code = <0>;	// select a more appropriate key value than 0!
    //			gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
    //		};
    
    // Uncomment this section if we want to use gpio-keys driver instead of sysfs GPIO 
    //		profi-int@0 {
    //			label = "profi-interrupt";
    //			linux,code = <0>;	// select a more appropriate key value than 0!
    //			gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
    //		};
    //	};
    };
    
    &am43xx_pinmux {
    //	gpio_keys_pins_default: gpio_keys_pins_default {
    //		pinctrl-single,pins = <
    //			0xb8  (PIN_INPUT | MUX_MODE7) 	/* (C20) dss_data6.gpio2[12] - Profibus INT input */
    //			0x180 (PIN_INPUT | MUX_MODE7)	/* (K21) udart1.rxd.gpio0[14] - OLED button input */
    //			0x1b8 (PIN_INPUT | MUX_MODE7)	/* cam0_field.gpio4_2 - User switch SW1 on IDK */
    //		>;
    //	};
    
    	i2c0_pins_default: i2c0_pins_default {
    		pinctrl-single,pins = <
    			0x188 (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_sda.i2c0_sda */
    			0x18c (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_scl.i2c0_scl */
    		>;
    	};
    
    	i2c0_pins_sleep: i2c0_pins_sleep {
    		pinctrl-single,pins = <
    			0x188 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x18c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    		>;
    	};
    
    	i2c1_pins_default: i2c1_pins_default {
    		pinctrl-single,pins = <
    			0x20c (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE3) /* cam0_data1.i2c1_scl */
    			0x208 (PIN_INPUT | SLEWCTRL_FAST | MUX_MODE3) /* cam0_data0.i2c1_sda */
    		>;
    	};
    
    	i2c1_pins_sleep: i2c1_pins_sleep {
    		pinctrl-single,pins = <
    			0x20c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x208 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    		>;
    	};
    
    	mmc2_pins_default: pinmux_mmc1_pins_default {
    		pinctrl-single,pins = <
    			0x80 (PIN_INPUT | MUX_MODE2) /* gpmc_csn1.mmc1_clk */
    			0x84 (PIN_INPUT | MUX_MODE2) /* gpmc_csn2.mmc1_cmd */
    			0x3c (PIN_INPUT | MUX_MODE2) /* gpmc_ad15.mmc1_dat7 */
    			0x38 (PIN_INPUT | MUX_MODE2) /* gpmc_ad14.mmc1_dat6 */
    			0x34 (PIN_INPUT | MUX_MODE2) /* gpmc_ad13.mmc1_dat5 */
    			0x30 (PIN_INPUT | MUX_MODE2) /* gpmc_ad12.mmc1_dat4 */
    			0x2c (PIN_INPUT | MUX_MODE2) /* gpmc_ad11.mmc1_dat3 */
    			0x28 (PIN_INPUT | MUX_MODE2) /* gpmc_ad10.mmc1_dat2 */
    			0x24 (PIN_INPUT | MUX_MODE2) /* gpmc_ad9.mmc1_dat1 */
    			0x20 (PIN_INPUT | MUX_MODE2) /* gpmc_ad8.mmc1_dat0 */
    //			0x (PIN_INPUT | MUX_MODE7) /* spi0_cs1.gpio0_6 */
    		>;
    	};
    
    	mmc2_pins_sleep: pinmux_mmc1_pins_sleep {
    		pinctrl-single,pins = <
    			0x80 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn1.mmc1_clk */
    			0x84 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_csn2.mmc1_cmd */
    			0x3c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad15.mmc1_dat7 */
    			0x38 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad14.mmc1_dat6 */
    			0x34 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad13.mmc1_dat5 */
    			0x30 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad12.mmc1_dat4 */
    			0x2c (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad11.mmc1_dat3 */
    			0x28 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad10.mmc1_dat2 */
    			0x24 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad9.mmc1_dat1 */
    			0x20 (PIN_INPUT_PULLDOWN | MUX_MODE7) /* gpmc_ad8.mmc1_dat0 */
    		>;
    	};
    
    	uart1_pins_default: uart1_pins_default {
    		pinctrl-single,pins = <
    			0x178 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE0)
    			0x17C (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE0)
    			0x180 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0) /* uart1_rxd.uart1_rxd */
    			0x184 (PIN_INPUT | PULL_DISABLE | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0) /* uart1_txd.uart1_txd */
    		>;
    	};
    
    	uart1_pins_sleep: uart1_pins_sleep {
    		pinctrl-single,pins = <
    			0x178 (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
    			0x17C (DS0_PULL_UP_DOWN_EN | INPUT_EN | MUX_MODE7)
    			0x180 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0) /* uart1_rxd.uart1_rxd */
    			0x184 (PIN_INPUT_PULLDOWN | SLEWCTRL_FAST | DS0_PULL_UP_DOWN_EN | MUX_MODE0) /* uart1_txd.uart1_txd */
    		>;
    	};
    
    
    	cpsw_default: cpsw_default {
    		pinctrl-single,pins = <
    			0x12c (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txclk.rgmii1_tclk */
    			0x114 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txen.rgmii1_tctl */
    			0x128 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd0.rgmii1_td0 */
    			0x124 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd1.rgmii1_td1 */
    			0x120 (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd0.rgmii1_td2 */
    			0x11c (PIN_OUTPUT_PULLDOWN | MUX_MODE2)	/* mii1_txd1.rgmii1_td3 */
    			0x130 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxclk.rmii1_rclk */
    			0x118 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxdv.rgmii1_rctl */
    			0x140 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd0.rgmii1_rd0 */
    			0x13c (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd1.rgmii1_rd1 */
    			0x138 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd0.rgmii1_rd2 */
    			0x134 (PIN_INPUT_PULLDOWN | MUX_MODE2)	/* mii1_rxd1.rgmii1_rd3 */
    		>;
    	};
    
    	cpsw_sleep: cpsw_sleep {
    		pinctrl-single,pins = <
    			0x12c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x114 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x128 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x124 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x120 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x11c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x130 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x118 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x140 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x13c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x138 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x134 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    		>;
    	};
    
    	davinci_mdio_default: davinci_mdio_default {
    		pinctrl-single,pins = <
    			/* MDIO */
    			0x148 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0)	/* mdio_data.mdio_data */
    			0x14c (PIN_OUTPUT_PULLUP | MUX_MODE0)			/* mdio_clk.mdio_clk */
    		>;
    	};
    
    	davinci_mdio_sleep: davinci_mdio_sleep {
    		pinctrl-single,pins = <
    			/* MDIO reset value */
    			0x148 (PIN_INPUT_PULLDOWN | MUX_MODE7)
    			0x14c (PIN_INPUT_PULLDOWN | MUX_MODE7)
    		>;
    	};
    
    	/* These pinmux settings are piggy-backed onto the normal mmc1 pinmuxes just to get these setup properly for the ICSS0_PRU1 to drive the OLED display using memory mapped driver in userspace */
    //	pruoled_pins_default: pruoled_pins_default {
    //		pinctrl-single,pins = <
    //			0xe0 (PIN_INPUT | DS0_PULL_UP_DOWN_EN | MUX_MODE7) /* dss.vsync gpio2[12] - Yellow LED */
    //			0x1d0 (PIN_INPUT | DS0_PULL_UP_DOWN_EN | MUX_MODE3) /* Reset */
    //			0x1d4 (PIN_INPUT | DS0_PULL_UP_DOWN_EN | MUX_MODE3) /* SPI Clk */
    //			0x1f4 (PIN_INPUT | DS0_PULL_UP_DOWN_EN | MUX_MODE4) /* SPI dout */
    //			0x1fc (PIN_INPUT | DS0_PULL_UP_DOWN_EN | MUX_MODE4) /* SPI CS */
    //			0x204 (PIN_INPUT | DS0_PULL_UP_DOWN_EN | MUX_MODE4) /* C/D */
    //		>;
    //	};
    };
    
    //&i2c0 {
    //	status = "okay";
    //	pinctrl-names = "default", "sleep";
    //	pinctrl-0 = <&i2c0_pins_default>;
    //	pinctrl-1 = <&i2c0_pins_sleep>;
    //	clock-frequency = <100000>;
    
    //	at24@50 {
    //		compatible = "at24,24c256";
    //		pagesize = <64>;
    //		reg = <0x50>;
    //	};
    //};
    
    &i2c1 {
    	status = "okay";
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&i2c1_pins_default>;
    	pinctrl-1 = <&i2c1_pins_sleep>;
    	clock-frequency = <100000>;
    };
    
    &epwmss0 {
    	status = "okay";
    };
    
    //&ecap0 {
    //	status = "okay";
    //	pinctrl-names = "default";
    //	pinctrl-0 = <&ecap0_pins_default>;
    //};
    
    &gpio0 {
    	status = "okay";
    };
    
    &gpio1 {
    	status = "okay";
    };
    
    &gpio2 {
    	status = "okay";
    };
    
    &gpio4 {
    	status = "okay";
    };
    
    &gpio5 {
    	status = "okay";
    };
    
    &uart0 {
    	status = "disabled";
    };
    
    &uart1 {
    //	pinctrl-names = "default", "sleep";
    //	pinctrl-0 = <&uart1_pins_default>;
    //	pinctrl-1 = <&uart1_pins_sleep>;
    	status = "okay";
    };
    
    &mmc2 {
    	status = "okay";
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&mmc2_pins_default>;
    	pinctrl-1 = <&mmc2_pins_sleep>;
    	vmmc-supply = <&cpu_3_3v>;
    	bus-width = <8>;
    };
    
    &mac {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&cpsw_default>;
    	pinctrl-1 = <&cpsw_sleep>;
    	status = "okay";
    };
    
    &davinci_mdio {
    	pinctrl-names = "default", "sleep";
    	pinctrl-0 = <&davinci_mdio_default>;
    	pinctrl-1 = <&davinci_mdio_sleep>;
    	status = "okay";
    };
    
    &cpsw_emac0 {
    	phy_id = <&davinci_mdio>, <0>;
    	phy-mode = "rgmii";
    };
    
    &rtc {
    	status = "okay";
    	ext-clk-src;
    };
    
    &usb2 {
    	dr_mode = "host";
    	status = "okay";
    };
    
    &wdt {
    	status = "okay";
    };
    
    &cpu {
    	cpu0-supply = <&cpu_1_325v>;
    };
    
    //&sgx {
    //	status = "okay";
    //};
    


    Regards,
    Tim

  • Tim,

    Please refer to the am437x gp evm dts file: am437x-gp-evm.dts. At least your dts does not enable usb2-phy.