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.

Linux/AM3352: gpio0 wake-up disturbed by usb1 connection

Part Number: AM3352
Other Parts Discussed in Thread: TUSB9260, PCM2906C

Tool/software: Linux

Dear Specialists:

   Strange issue.   Signals from gpio0 bank cannot wake-up the system when usb1 connected to a module using Host mode.

 

I'm using Linux(kernel 4.14.71) based on ROCESSOR-SDK-AM335X( kernel 4.14.y branch) to run on a custom board , Processor  is AM3352, and the usb1 is designed to connect to an Am Telecom (amm570)LTE module,  everything goes well except the gpio0 to wake-up system from standby mode.

  1,  when  comment out the usb1 section in arch/arm/boot/dts/my_board,dts,  that is meaning not use usb1 connection.  gpio0 (number 23)from a button can wakeup the system( using command as follow) immediately

          rtcwake -d rtc0 -m standby -s 10

 2, but when add the usb1 section to the board's devicestree file, the gpio0(number 23 ,  also number 22) signals can not wake up the system)

     &usb1_phy {

status = "okay";
};

&usb1 {

status = "okay";
dr_mode = "host";
};

3,  When using another version Linux kernel . ROCESSOR-SDK-AM335X( kernel 3.14.y ) ,  everything is OK no matter using usb1 or not.

I think there is no problem in hardware design, according to   the checklist ( http://processors.wiki.ti.com/index.php/AM335x_Schematic_Checklist#USB

and the success use case in version ROCESSOR-SDK-AM335X( kernel 3.14.y )

Boot logs:

[ 3.612483] remoteproc remoteproc0: powering up wkup_m3
[ 3.623828] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[ 3.629824] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
[ 3.630140] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.630155] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.630165] usb usb1: Product: MUSB HDRC host driver
[ 3.630176] usb usb1: Manufacturer: Linux 4.14.71 musb-hcd
[ 3.630185] usb usb1: SerialNumber: musb-hdrc.0
[ 3.631056] hub 1-0:1.0: USB hub found
[ 3.631116] hub 1-0:1.0: 1 port detected
[ 3.649802] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 3.657315] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
[ 3.657575] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.657590] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.657600] usb usb2: Product: MUSB HDRC host driver
[ 3.657610] usb usb2: Manufacturer: Linux 4.14.71 musb-hcd
[ 3.657620] usb usb2: SerialNumber: musb-hdrc.1
[ 3.658441] hub 2-0:1.0: USB hub found
[ 3.658502] hub 2-0:1.0: 1 port detected
[ 3.673888] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 500000 KHz
[ 3.753106] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 216864
[ 3.761800] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 600000 KHz
[ 3.771436] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[ 3.778739] remoteproc remoteproc0: remote processor wkup_m3 is now up
[ 3.790167] ubi0: attaching mtd0
[ 4.100361] usb 2-1: new high-speed USB device number 2 using musb-hdrc
[ 4.260516] usb 2-1: New USB device found, idVendor=0424, idProduct=2514
[ 4.272344] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 4.288921] hub 2-1:1.0: USB hub found
[ 4.296405] hub 2-1:1.0: 4 ports detected
[ 4.596355] usb 2-1.1: new full-speed USB device number 3 using musb-hdrc
[ 4.716418] usb 2-1.1: New USB device found, idVendor=08bb, idProduct=29c6
[ 4.728344] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.744340] usb 2-1.1: Product: USB AUDIO CODEC
[ 4.756339] usb 2-1.1: Manufacturer: BurrBrown from Texas Instruments
[ 4.776559] input: BurrBrown from Texas Instruments USB AUDIO CODEC as /devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1/usb2/2-1/2-1.1/2-1.1:1.3/0003:08BB:29C6.0001/input/input0
[ 4.872587] hid-generic 0003:08BB:29C6.0001: input,hidraw0: USB HID v1.00 Device [BurrBrown from Texas Instruments USB AUDIO CODEC] on usb-musb-hdrc.1-1.1/input3
[ 4.984358] usb 2-1.3: new high-speed USB device number 4 using musb-hdrc
[ 5.100909] usb 2-1.3: New USB device found, idVendor=0451, idProduct=926b
[ 5.112345] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5.128340] usb 2-1.3: Product: TUSB9260 Boot Loader
[ 5.140340] usb 2-1.3: Manufacturer: Texas Instruments
[ 5.152341] usb 2-1.3: SerialNumber: TUSB9260BL01
[ 5.164470] hid-generic 0003:0451:926B.0002: hiddev0,hidraw1: USB HID v1.10 Device [Texas Instruments TUSB9260 Boot Loader] on usb-musb-hdrc.1-1.3/input0

root@/home/user1# lsusb

Bus 002 Device 004: ID 0451:926b Texas Instruments, Inc. TUSB9260 Boot Loader
Bus 002 Device 003: ID 08bb:29c6 Texas Instruments PCM2906C Audio CODEC
Bus 002 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  • wake-up information:
    1, using RTC to wake-up system, after 10 seconds
    root@/home/user1# rtcwake -d rtc1 -m standby -s 10
    rtcwake: wakeup from "standby" using rtc1 at Mon Feb 5 16:08:58 2018
    Feb 6 01:09:04 plum kernel: [ 555.984729] PM: suspend entry (shallow)
    Feb 6 01:09:04 plum kernel: [ 555.984743] PM: Syncing filesystems ... done.
    Feb 6 01:09:04 plum kernel: [ 555.985711] Freezing user space processes ... (elapsed 0.001 seconds) done.
    Feb 6 01:09:04 plum kernel: [ 555.987620] OOM killer disabled.
    Feb 6 01:09:04 plum kernel: [ 555.987624] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    Feb 6 01:09:04 plum kernel: [ 555.989039] Suspending console(s) (use no_console_suspend to debug)
    Feb 6 01:09:04 plum kernel: [ 556.019930] pm33xx pm33xx: PM: Successfully put all powerdomains to target state
    Feb 6 01:09:04 plum kernel: [ 556.019930] PM: Wakeup source MPU_WAKE
    Feb 6 01:09:04 plum kernel: [ 556.044644] net eth0: initializing cpsw version 1.12 (0)
    Feb 6 01:09:04 plum kernel: [ 556.130921] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:02: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:02, irq=55)
    Feb 6 01:09:04 plum kernel: [ 556.133689] net eth1: initializing cpsw version 1.12 (0)
    Feb 6 01:09:04 plum kernel: [ 556.218939] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:03: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:03, irq=56)
    Feb 6 01:09:04 plum kernel: [ 561.968330] usb 2-1: reset high-speed USB device number 2 using musb-hdrc
    Feb 6 01:09:04 plum kernel: [ 562.412221] usb 2-1.1: reset full-speed USB device number 3 using musb-hdrc
    Feb 6 01:09:04 plum kernel: [ 562.596221] usb 2-1.3: reset high-speed USB device number 4 using musb-hdrc
    Feb 6 01:09:04 plum kernel: [ 562.699061] OOM killer enabled.
    root@plum:/home/user1# Feb 6 01:09:04 plum kernel: [ 562.699106] Restarting tasks ... done.
    Feb 6 01:09:04 plum kernel: [ 562.724897] PM: suspend exit
    Feb 6 01:09:45 plum kernel: [ 604.007854] cpsw 4a100000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx
    Feb 6 01:09:45 plum kernel: [ 604.016661] NOHZ: local_softirq_pending 08
    Feb 6 01:09:46 plum kernel: [ 604.416671] NOHZ: local_softirq_pending 08

    note: PM: Wakeup source MPU_WAKE

    2, using gpio0(number 23) button ( with usb1 connnected to a LTE module)
    the system cannot wake-up immediately when push the button(gpio0-23) , resumed after 10 seconds.

    root@/user1# rtcwake -d rtc1 -m standby -s 10
    rtcwake: wakeup from "standby" using rtc1 at Mon Feb 5 16:03:24 2018
    Feb 6 01:03:13 plum kernel: [ 226.444037] PM: suspend entry (shallow)
    Feb 6 01:03:13 plum kernel: [ 226.444052] PM: Syncing filesystems ... done.
    Feb 6 01:03:24 plum kernel: [ 226.458717] Freezing user space processes ... (elapsed 0.001 seconds) done.
    Feb 6 01:03:24 plum kernel: [ 226.460502] OOM killer disabled.
    Feb 6 01:03:24 plum kernel: [ 226.460506] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    Feb 6 01:03:24 plum kernel: [ 226.462001] Suspending console(s) (use no_console_suspend to debug)
    Feb 6 01:03:24 plum kernel: [ 226.492004] pm33xx pm33xx: PM: Successfully put all powerdomains to target state
    Feb 6 01:03:24 plum kernel: [ 226.492004] PM: Wakeup source GPIO0
    Feb 6 01:03:24 plum kernel: [ 226.517135] net eth0: initializing cpsw version 1.12 (0)
    Feb 6 01:03:24 plum kernel: [ 226.602983] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:02: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:02, irq=55)
    Feb 6 01:03:24 plum kernel: [ 226.606124] net eth1: initializing cpsw version 1.12 (0)
    Feb 6 01:03:24 plum kernel: [ 226.690963] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:03: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:03, irq=56)
    Feb 6 01:03:24 plum kernel: [ 232.240434] usb 2-1: reset high-speed USB device number 2 using musb-hdrc
    Feb 6 01:03:24 plum kernel: [ 232.684326] usb 2-1.1: reset full-speed USB device number 3 using musb-hdrc
    Feb 6 01:03:24 plum kernel: [ 232.868329] usb 2-1.3: reset high-speed USB device number 4 using musb-hdrc
    Feb 6 01:03:24 plum kernel: [ 232.971188] OOM killer enabled.
    root@plum:/home/user1# Feb 6 01:03:24 plum kernel: [ 232.971234] Restarting tasks ... done.
    Feb 6 01:03:24 plum kernel: [ 232.996924] PM: suspend exit
    Feb 6 01:03:29 plum kernel: [ 238.114287] cpsw 4a100000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx
    Feb 6 01:03:29 plum kernel: [ 238.208596] NOHZ: local_softirq_pending 08

    note: PM: Wakeup source GPIO0

  • Hi,

    I am trying to understand the usb topology on your board. You mentioned AM335x USB1 is connected to a LTE module, but

    user5102395 said:
    [ 3.649802] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [ 3.657315] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    [ 3.657575] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    ...
    [ 4.100361] usb 2-1: new high-speed USB device number 2 using musb-hdrc
    [ 4.260516] usb 2-1: New USB device found, idVendor=0424, idProduct=2514
    [ 4.272344] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    [ 4.288921] hub 2-1:1.0: USB hub found
    [ 4.296405] hub 2-1:1.0: 4 ports detected

    USB1 is enumerated as USB bus2, which is connected to a 4-port USB hub. Can you please explain?

    By the way, is the LTE module permanently mounted on the board or connected to a USB connector?

    Can you reproduce the same problem on any AM335x EVM, such as the GP EVM, Starter Kit, or Beaglebone Black?

  • Dear Bin Liu

       Yes, just as you mentioned, the LTE module is permanently mounted on  an expand board which connect to main board through an XIO connection. 

       Exactly as the log showed,  USB1 is connect to a 4 ports hub, and one of the port is connect to the LTE module. 

    I have no any AM335x EVM, test board or Starter Kit,  

  • Hi,

    You are disabling AM335x USB module through devicetree, so I am trying to understand is the am335x usb module or the LTE modem which affects the GPIO wakeup. Please answer my following questions.

    What is the 'XIO' connection? I am not familiar with the term.
    Where is the hub located? on the main board or the expansion board with the LTE module?
    Your kernel log shows two devices connected to the hub, TUSB9260 and PCM2906C. Which one is the LTE modem? Or the modem is not connected in that test?

    If you use command 'echo standby > /sys/power/state' instead of 'rtcwake -d rtc1 -m standby -s 10' to put the system into standby mode, can you use the GPIO button to wake up the system?

    By the way, it shouldn't be related to this issue, but the resister R189 is too high, please replace it with a 0-ohm resister.
  • Hi, Bin Liu:

       Sorry to not explain clearly about the XIO connection and the expansion board. the XIO is as follows

    which connect with an expansion board.  

    On the test environment,  AD[15:0] on the expansion board is used for I/O and not connect to anything.

    SPI1 is used for the bus of the expansion board. and the USB1 is connected to a hub which located in the expansion board.

    TUSB9260 is a bridge which change data form USB to Serial ATA, but not connected with any Serial ATA devices.

     PCM2906C is refer to  audio device. 

    After confirmed the hardware expansion board, Actually, the LTE modem does not connect to the USB1 hub in the test environment.

    I also use command 'echo standby > /sys/power/state' , the GPIO button can wake up the system if not use USB1 connection. 

    thanks for the attention about the R189, I will tell the hardware team to consider it.

      

  • Hi,

    Thanks for the clarification.

    user5102395 said:
    I also use command 'echo standby > /sys/power/state' , the GPIO button can wake up the system if not use USB1 connection. 

    but gpio button doesn' wake up if use USB1 in this test, correct?

    If you enable USB1 in devicetree as mentioned in your first post, but don't connect the expansion board to the main board, (basically the hub and its down stream devices are not attached to USB1), can you use the gpio button to wake up?

  • Dear Bin Liu:

       gpio(bank0)  button can not wake up the system in the conditions as follows:

           1, use USB1 in the devicetrees 

           2, the expansion board connected to the main board

           3,  Linux(kernel 4.14.71) based on ROCESSOR-SDK-AM335X( kernel 4.14.y branch)

        1 and 2  and 3

    gpio(bank0) button can wake up the system in every one of the following conditions is satisfied

        1,  not use USB1 in the devicetrees

        2,  the expansion board not connected to the main board

       3,   Linux kernel(3.14.79) based on ROCESSOR-SDK-AM335X( kernel 3.14.y )

      1 or  2 or 3

  • Hi,

    Please just confirm - does the issue happen in the following condition?
    - usb1 is enabled in devicetree;
    - the expansion board is NOT connected to the main board;
    - using kernel v4.14.71.

    If I can use Beaglebone Black to test the use case with gpio0_26 or gpio0_27.
  • Dear Bin Liu:

      The issue did not happen in the condition you mentioned,  because the expansion board is NOT connected to the main board.(that is means, usb1 pin is not connected with any devices in the test environment).

     of course, you can use Beaglebone Black board to test it.   According to its PCB, there are two USB1 connectors.

     

  • Hi,

    Yes, the BBB has USB1 port in host mode, and gpio0_26 and gpio0_27 on the expansion header. I can use them to run the test case.
    Do you think if I connect any usb device (for example, a thumb drive) to the BBB USB1 host port, and use gpio0_26/27 to wake up from system standby, this issue should happen?
    If not, how should I make the BBB setup to close to your use case?
  • Hi, Bin Liu:
    According to the fact that the issue happened in my test environment, if you connect some usb device to the BBB USB1 host port, using
    gpio0_26/27 can not wake up the system from the standby mode.
    if it can, tell me the kernel version you used.
  • Hi,

    The AM335x GP EVM already has gpio0_2 and gpio0_3 connected to two buttons which can be used for gpio wakeup out of the box, without any hw or sw modification. I can use any of two buttons to wake up with usb devices enumerated on the USB1 host port, using the Processor SDK v5.1.0.11 and v5.0.0.15 pre-built images. Attached below is the full kernel log.

    am335x-gpevm-gpio-wakeup.log
    U-Boot SPL 2017.01-g340fb36f04 (Dec 23 2017 - 10:20:13)
    Trying to boot from MMC1
    reading uboot.env
    
    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment
    
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2017.01-g340fb36f04 (Dec 23 2017 - 10:20:13 -0500)
    
    CPU  : AM335X-GP rev 2.0
    Model: TI AM335x EVM
    DRAM:  1 GiB
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env
    
    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment
    
    <ethaddr> not set. Validating first E-fuse MAC
    Net:   cpsw, usb_ether
    Hit any key to stop autoboot:  2  1  0 
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    1306 bytes read in 4 ms (318.4 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc0 ...
    Running uenvcmd ...
    cpsw Waiting for PHY auto negotiation to complete.. done
    link up on port 0, speed 1000, full duplex
    Using cpsw device
    TFTP from server 192.168.88.110; our IP address is 192.168.88.103
    Filename 'zImage'.
    Load address: 0x82000000
    Loading: *#################################################################
    	 #################################################################
    	 #################################################################
    	 #################################################################
    	 ##
    	 7.6 MiB/s
    done
    Bytes transferred = 3842560 (3aa200 hex)
    link up on port 0, speed 1000, full duplex
    Using cpsw device
    TFTP from server 192.168.88.110; our IP address is 192.168.88.103
    Filename 'am335x-evm.dtb'.
    Load address: 0x8ff00000
    Loading: *###
    	 6.6 MiB/s
    done
    Bytes transferred = 41355 (a18b hex)
    ## Flattened Device Tree blob at 8ff00000
       Booting using the fdt blob at 0x8ff00000
       Loading Device Tree to 8fff2000, end 8ffff18a ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.40-g4796173fc5 (oe-user@oe-host) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 PREEMPT Wed Jul 25 15:43:15 UTC 2018
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: TI AM335x EVM
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0xbd000000
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.0 (sgx neon)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260416
    [    0.000000] Kernel command line: console=ttyO0,115200n8 g_ether.host_addr=aa:bb:cc:dd:33:52 root=/dev/nfs nfsroot=192.168.88.110:/home/lb/opt/filesys.am335x,nolock, rw ip=192.168.88.103:::::eth0
    [    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: 976288K/1048576K available (8192K kernel code, 318K rwdata, 2488K rodata, 1024K init, 275K bss, 23136K reserved, 49152K cma-reserved, 212992K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
    [    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
    [    0.000000]       .data : 0xc0d00000 - 0xc0d4fb08   ( 319 kB)
    [    0.000000]        .bss : 0xc0d4fb08 - 0xc0d948bc   ( 276 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000021] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000046] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000060] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000322] timer_probe: no matching timers found
    [    0.000587] Console: colour dummy device 80x30
    [    0.000626] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000636] This ensures that you still see kernel messages. Please
    [    0.000644] update your kernel commandline.
    [    0.000688] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [    0.118702] pid_max: default: 32768 minimum: 301
    [    0.118960] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.118984] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.119977] CPU: Testing write buffer coherency: ok
    [    0.120856] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.121052] Hierarchical SRCU implementation.
    [    0.121483] EFI services will not be available.
    [    0.123358] devtmpfs: initialized
    [    0.135601] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
    [    0.136205] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.136619] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.136646] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.141326] pinctrl core: initialized pinctrl subsystem
    [    0.142252] DMI not present or invalid.
    [    0.142792] NET: Registered protocol family 16
    [    0.145598] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.164296] omap_hwmod: debugss: _wait_target_disable failed
    [    0.219153] cpuidle: using governor ladder
    [    0.219198] cpuidle: using governor menu
    [    0.225063] OMAP GPIO hardware version 0.1
    [    0.236689] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_s0, deferring probe
    [    0.240873] No ATAGs?
    [    0.240893] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.258938] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.263957] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
    [    0.264041] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring probe
    [    0.264229] media: Linux media interface: v0.10
    [    0.264285] Linux video capture interface: v2.00
    [    0.264426] pps_core: LinuxPPS API ver. 1 registered
    [    0.264438] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.264468] PTP clock support registered
    [    0.264515] EDAC MC: Ver: 3.0.0
    [    0.265111] dmi: Firmware registration failed.
    [    0.265628] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.266079] Advanced Linux Sound Architecture Driver Initialized.
    [    0.267567] clocksource: Switched to clocksource timer1
    [    0.279018] NET: Registered protocol family 2
    [    0.279970] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.280093] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.280203] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.280353] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [    0.280393] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [    0.280598] NET: Registered protocol family 1
    [    0.281142] RPC: Registered named UNIX socket transport module.
    [    0.281161] RPC: Registered udp transport module.
    [    0.281171] RPC: Registered tcp transport module.
    [    0.281180] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.282372] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.282526] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.284479] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [    0.290422] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.291356] NFS: Registering the id_resolver key type
    [    0.291412] Key type id_resolver registered
    [    0.291424] Key type id_legacy registered
    [    0.291483] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.293995] bounce: pool size: 64 pages
    [    0.294114] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.294132] io scheduler noop registered
    [    0.294143] io scheduler deadline registered
    [    0.294413] io scheduler cfq registered (default)
    [    0.294427] io scheduler mq-deadline registered
    [    0.294438] io scheduler kyber registered
    [    0.296326] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.300648] pwm-backlight backlight: backlight supply power not found, using dummy regulator
    [    0.366859] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.370996] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [    1.033365] console [ttyS0] enabled
    [    1.038257] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250
    [    1.049524] omap_rng 48310000.rng: Random Number Generator ver. 20
    [    1.058428] panel panel: found backlight
    [    1.062808] OF: graph: no port node found in /ocp/lcdc@4830e000
    [    1.069191] OF: graph: no port node found in /ocp/lcdc@4830e000
    [    1.075755] OF: graph: no port node found in /ocp/lcdc@4830e000
    [    1.081790] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.088456] [drm] No driver support for vblank timestamp query.
    [    1.142158] Console: switching to colour frame buffer device 100x30
    [    1.164529] tilcdc 4830e000.lcdc: fb0:  frame buffer device
    [    1.170881] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
    [    1.191279] brd: module loaded
    [    1.203298] loop: module loaded
    [    1.210011] libphy: Fixed MDIO Bus: probed
    [    1.287635] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.295350] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.302947] libphy: 4a101000.mdio: probed
    [    1.307001] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Atheros 8031 ethernet
    [    1.317743] cpsw 4a100000.ethernet: Detected MACID = bc:6a:29:64:77:b5
    [    1.324447] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [    1.330993] cpsw 4a100000.ethernet: ALE Table size 1024
    [    1.336327] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.345439] i2c /dev entries driver
    [    1.349696] IR NEC protocol handler initialized
    [    1.354260] IR RC5(x/sz) protocol handler initialized
    [    1.359391] IR RC6 protocol handler initialized
    [    1.363969] IR JVC protocol handler initialized
    [    1.368542] IR Sony protocol handler initialized
    [    1.373180] IR SANYO protocol handler initialized
    [    1.377932] IR Sharp protocol handler initialized
    [    1.382658] IR MCE Keyboard/mouse protocol handler initialized
    [    1.388534] IR XMP protocol handler initialized
    [    1.395181] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.402511] sdhci: Secure Digital Host Controller Interface driver
    [    1.408958] sdhci: Copyright(c) Pierre Ossman
    [    1.414206] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.568075] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.578023] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.590489] NET: Registered protocol family 10
    [    1.597958] Segment Routing with IPv6
    [    1.601754] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.608727] NET: Registered protocol family 17
    [    1.613560] Key type dns_resolver registered
    [    1.618241] omap_voltage_late_init: Voltage driver support not added
    [    1.632145] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.637406] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.645953] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
    [    1.652547] nand: Micron MT29F2G08ABAEAWP
    [    1.656586] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    1.664335] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    1.669894] 10 ofpart partitions found on MTD device omap2-nand.0
    [    1.676022] Creating 10 MTD partitions on "omap2-nand.0":
    [    1.681492] 0x000000000000-0x000000020000 : "NAND.SPL"
    [    1.688164] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
    [    1.695140] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
    [    1.702219] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
    [    1.709207] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
    [    1.716416] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
    [    1.723406] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
    [    1.730342] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
    [    1.738008] 0x000000200000-0x000000a00000 : "NAND.kernel"
    [    1.748334] 0x000000a00000-0x000010000000 : "NAND.file-system"
    [    1.897882] tps65910 0-002d: No interrupt support, no core IRQ
    [    1.906098] vrtc: supplied by vbat
    [    1.912498] random: fast init done
    [    1.916960] vio: supplied by vbat
    [    1.922014] vdd1: supplied by vbat
    [    1.927443] vdd2: supplied by vbat
    [    1.934254] vdig1: supplied by vbat
    [    1.939426] vdig2: supplied by vbat
    [    1.944521] vpll: supplied by vbat
    [    1.949528] vdac: supplied by vbat
    [    1.954489] vaux1: supplied by vbat
    [    1.959612] vaux2: supplied by vbat
    [    1.964639] vaux33: supplied by vbat
    [    1.969808] vmmc: supplied by vbat
    [    1.974773] vbb: supplied by vbat
    [    1.979548] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    1.987756] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
    [    1.996054] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    2.060832] input: volume_keys0 as /devices/platform/volume_keys0/input/input0
    [    2.072697] hctosys: unable to open rtc device (rtc0)
    [    2.096373] net eth0: initializing cpsw version 1.12 (0)
    [    2.134677] mmc1: host does not support reading read-only switch, assuming write-enable
    [    2.144666] mmc1: new high speed SDHC card at address b368
    [    2.150831] mmcblk1: mmc1:b368 SDC   3.75 GiB 
    [    2.156693]  mmcblk1: p1 p2
    [    2.199325] Atheros 8031 ethernet 4a101000.mdio:00: attached PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
    [    2.212677] libphy: PHY 4a101000.mdio:01 not found
    [    2.217597] net eth0: phy "4a101000.mdio:01" not found on slave 1, err -19
    [    2.231754] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    5.369670] cpsw 4a100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [    5.387699] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [    5.417596] IP-Config: Guessing netmask 255.255.255.0
    [    5.422684] IP-Config: Complete:
    [    5.425936]      device=eth0, hwaddr=bc:6a:29:64:77:b5, ipaddr=192.168.88.103, mask=255.255.255.0, gw=255.255.255.255
    [    5.436831]      host=192.168.88.103, domain=, nis-domain=(none)
    [    5.442993]      bootserver=255.255.255.255, rootserver=192.168.88.110, rootpath=
    [    5.451097] lis3_reg: disabling
    [    5.454268] wlan-en-regulator: disabling
    [    5.458548] ALSA device list:
    [    5.461537]   No soundcards found.
    [    5.473263] VFS: Mounted root (nfs filesystem) on device 0:15.
    [    5.479909] devtmpfs: mounted
    [    5.484752] Freeing unused kernel memory: 1024K
    [    5.726346] systemd[1]: System time before build time, advancing clock.
    [    5.789714] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN default-hierarchy=hybrid)
    [    5.811537] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2018.08!
    
    [    5.850406] systemd[1]: Set hostname to <am335x-evm>.
    [    6.408987] systemd[1]: /lib/systemd/system/gadget-init.service:15: Unknown lvalue 'ExecStopPre' in section 'Service'
    [    6.831945] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.839003] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    6.868118] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.875341] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    6.918170] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.930622] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    6.958633] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    6.988912] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    7.018630] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Syslog Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on Journal Socket.
    [  OK  ] Created slice System Slice.
             Starting Remount Root and Kernel File Systems...
             Starting Load Kernel Modules...
             Mounting Kernel Debug File System...
    [  OK  ] Created slice system-serial\x2dgetty.slice.
             Mounting Temporary Directory (/tmp)...
    [  OK  ] Reached target Slices.
    [    7.540690] cryptodev: loading out-of-tree module taints kernel.
             Starting Journal Service...
    [  OK  ] Created slice system-getty.slice.
    [    7.577927] cryptodev: driver 1.9 loaded.
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    7.643920] usbcore: registered new interface driver usbfs
    [  OK  ] Reached target Paths.
    [    7.654525] usbcore: registered new interface driver hub
    [    7.668033] usbcore: registered new device driver usb
             Mounting POSIX Message Queue File System...
    [    7.704704] usbcore: registered new interface driver usbserial
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [  OK  ] Started Journal Service.
             Starting Apply Kernel Variables...
             Mounting Kernel Configuration File System...
             Starting udev Coldplug all Devices...
             Starting Flush Journal to Persistent Storage...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Apply Kernel Variables.
    [    8.377286] systemd-journald[68]: Received request to flush runtime journal from PID 1
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [   11.171377] input: matrix_keypad0 as /devices/platform/matrix_keypad0/input/input1
    [   11.396740] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   11.460840] omap_rtc 44e3e000.rtc: already running
    [   11.509072] omap_rtc 44e3e000.rtc: registered as rtc0
    [  OK  ] Created slice system-systemd\x2dbacklight.slice.
             Starting Load/Save Screen Backlight…ightness of backlight:backlight...
    [  OK  ] Found device /dev/ttyS0.
    [   11.945314] tlv320aic3x-codec 1-001b: Too high supply voltage(s) AVDD: 3300000, DVDD: 5000000
    [  OK  ] Started udev Coldplug all Devices.
    [   12.257268] random: crng init done
    [   12.260727] random: 7 urandom warning(s) missed due to ratelimiting
    [  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
             Starting Network Service...
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Job spooling tools.
             Starting Print notice about GPLv3 packages...
    [  OK  ] Started D-Bus System Message Bus.
    [   13.393823] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [   13.727785] [drm] Initialized pvr 1.14.3699939 20110701 for 56000000.sgx on minor 1
    [   13.735873] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [   13.816373] omap-aes 53500000.aes: will run requests pump with realtime priority
    [   13.832767] remoteproc remoteproc0: wkup_m3 is available
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [   15.808453] remoteproc remoteproc0: powering up wkup_m3
    [   15.838821] PM: Cannot get wkup_m3_ipc handle
             Starting Login Service...
    [   15.997414] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224628
    [  OK  ] Started Periodic Command Scheduler.
    [   16.134190] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [   16.134226] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [  OK  ] Started System Logging Service.
             Starting RPC Bind Service...
    [  OK  ] Started Kernel Logging Service.
    [   16.714342] asoc-simple-card sound: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
             Starting uim-sysfs.service...
    [   16.883690] asoc-simple-card sound: ASoC: no DMI vendor name!
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Reached target Containers.
    [   17.011982] PM: bootloader does not support rtc-only!
    [  OK  ] Started Network Service.
    [  OK  ] Started RPC Bind Service.
    [   19.256224] EXT4-fs (mmcblk1p2): recovery complete
    [   19.339841] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [   19.762869] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [  OK  ] Found device /dev/ttyS3.
    [   24.002391] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input2
    [  OK  ] Started uim-sysfs.service.
    [   26.582043] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
    [   26.754444] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [   26.821589] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [   26.898338] hub 1-0:1.0: USB hub found
    [   26.932209] hub 1-0:1.0: 1 port detected
    [   26.994560] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
    [   27.094460] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [   27.231156] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    [   27.315089] hub 2-0:1.0: USB hub found
    [   27.362815] hub 2-0:1.0: 1 port detected
    [   27.375046] pruss 4a300000.pruss: creating PRU cores and other child platform devices
    [   27.867744] usb 2-1: new high-speed USB device number 2 using musb-hdrc
    [   27.987826] remoteproc remoteproc1: 4a334000.pru is available
    [   27.993710] pru-rproc 4a334000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@34000 probed successfully
    [   28.090298] hub 2-1:1.0: USB hub found
    [   28.090467] hub 2-1:1.0: 7 ports detected
    [   28.216974] remoteproc remoteproc2: 4a338000.pru is available
    [   28.266784] pru-rproc 4a338000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@38000 probed successfully
    [   28.407949] usb 2-1.6: new high-speed USB device number 3 using musb-hdrc
    [   29.452227] SCSI subsystem initialized
    [   29.504437] usb-storage 2-1.6:1.0: USB Mass Storage device detected
    [   29.535351] scsi host0: usb-storage 2-1.6:1.0
    [   29.558787] usbcore: registered new interface driver usb-storage
    [   30.569743] scsi 0:0:0:0: Direct-Access     UFD 3.0  Silicon-Power32G PMAP PQ: 0 ANSI: 6
    [   31.554726] sd 0:0:0:0: [sda] 60604416 512-byte logical blocks: (31.0 GB/28.9 GiB)
    [   31.585158] sd 0:0:0:0: [sda] Write Protect is off
    [   31.610457] sd 0:0:0:0: [sda] No Caching mode page found
    [   31.615824] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [   31.700395]  sda: sda1 sda2
    [   31.723781] sd 0:0:0:0: [sda] Attached SCSI removable disk
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    	autoconf
    	bash-dev
    	bash
    	binutils
    	cifs-utils
    	cpio
    	cpp-symlinks
    	cpp
    	dosfstools
    	elfutils
    	findutils
    	g++-symlinks
    	g++
    	gawk
    	gcc-symlinks
    	gcc
    	gdb
    	gdbserver
    	gettext
    	gstreamer1.0-libav
    	gzip
    	hidapi
    	libdw1
    	libelf1
    	libgdbm-compat4
    	libgdbm-dev
    	libgdbm4
    	libgettextlib
    	libgettextsrc
    	libgmp10
    	libidn11
    	libmavconn
    	libmpc3
    	libmpfr4
    	libreadline-dev
    	libreadline7
    	libunistring2
    	m4-dev
    	m4
    	make
    	mavlink
    	mavros-extras
    	mavros-msgs
    	mavros
    	nettle
    	python3-pycairo
    	socketcan-interface
    	which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Login Service.
    [  OK  ] Reached target Sound Card.
             Starting rc.pvr.service...
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Reached target Network.
             Starting Simple Network Management Protocol (SNMP) Daemon....
    [   35.669957] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Enable and configure wl18xx bluetooth stack...
    [  OK  ] Started Redis In-Memory Data Store.
             Starting Permit User Sessions...
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS3.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started Wait for Network to be Configured.
    [  OK  ] Started rc.pvr.service.
             Starting weston.service...
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
    [  OK  ] Reached target Network is Online.
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    [  OK  ] Started weston.service.
             Starting telnetd.service...
    [  OK  ] Started telnetd.service.
             Starting busybox-udhcpd.service...
             Starting thttpd.service...
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started busybox-udhcpd.service.
    [  OK  ] Started thttpd.service.
             Starting rng-tools.service...
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [   38.717890] NET: Registered protocol family 15
    [  OK  ] Started rng-tools.service.
             Starting LSB: Redis, a key-value store...
    [  OK  ] Started LSB: Redis, a key-value store.
             Starting matrix-gui-2.0.service...
    [  OK  ] Started matrix-gui-2.0.service.
             Starting thermal-zone-init.service...
             Starting parse-ip.service...
    [  OK  ] Started thermal-zone-init.service.
    [   39.633588] Initializing XFRM netlink socket
    [  OK  ] Started parse-ip.service.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org am335x-evm ttyS0
    
    Arago 2018.08 am335x-evm ttyS0
    
    am335x-evm login: root
    root@am335x-evm:~# uname -a
    Linux am335x-evm 4.14.40-g4796173fc5 #1 PREEMPT Wed Jul 25 15:43:15 UTC 2018 armv7l GNU/Linux
    root@am335x-evm:~# 
    root@am335x-evm:~# cat /proc/cmdline 
    console=ttyO0,115200n8 g_ether.host_addr=aa:bb:cc:dd:33:52 root=/dev/nfs nfsroot=192.168.88.110:/home/lb/opt/filesys.am335x,nolock, rw ip=192.168.88.103:::::eth0
    root@am335x-evm:~# 
    root@am335x-evm:~# lsusb -t
    /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=musb-hdrc/1p, 480M
        |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/7p, 480M
            |__ Port 6: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
    /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=musb-hdrc/1p, 480M
    root@am335x-evm:~# 
    root@am335x-evm:~# echo standby > /sys/power/state 
    [   79.918854] PM: suspend entry (shallow)
    [   79.922765] PM: Syncing filesystems ... done.
    [   80.179348] Freezing user space processes ... (elapsed 0.002 seconds) done.
    [   80.189034] OOM killer disabled.
    [   80.192306] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    [   80.201952] Suspending console(s) (use no_console_suspend to debug)
    [   80.255097] pm33xx pm33xx: PM: Successfully put all powerdomains to target state
    [   80.255097] PM: Wakeup source GPIO0
    [   80.283465] net eth0: initializing cpsw version 1.12 (0)
    [   80.379281] Atheros 8031 ethernet 4a101000.mdio:00: attached PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
    [   80.379445] libphy: PHY 4a101000.mdio:01 not found
    [   80.379471] net eth0: phy "4a101000.mdio:01" not found on slave 1, err -19
    [   80.777655] usb 2-1: reset high-speed USB device number 2 using musb-hdrc
    [   81.467520] usb 2-1: reset high-speed USB device number 2 using musb-hdrc
    [   82.157526] usb 2-1: reset high-speed USB device number 2 using musb-hdrc
    [   82.663742] OOM killer enabled.
    [   82.666906] Restarting tasks ... 
    [   82.667916] usb 2-1: USB disconnect, device number 2
    [   82.676248] usb 2-1.6: USB disconnect, device number 3
    [   82.741710] done.
    [   82.787613] PM: suspend exit
    root@am335x-evm:~# [   83.207755] usb 2-1: new high-speed USB device number 4 using musb-hdrc
    [   83.529871] cpsw 4a100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   83.900755] usb 2-1: new high-speed USB device number 5 using musb-hdrc
    [   84.457844] usb usb2-port1: attempt power cycle
    [   85.177852] usb 2-1: new high-speed USB device number 6 using musb-hdrc
    [   85.214897] hub 2-1:1.0: USB hub found
    [   85.227963] hub 2-1:1.0: 7 ports detected
    [   85.567835] usb 2-1.6: new high-speed USB device number 7 using musb-hdrc
    [   85.831695] usb-storage 2-1.6:1.0: USB Mass Storage device detected
    [   85.863687] scsi host0: usb-storage 2-1.6:1.0
    [   86.890401] scsi 0:0:0:0: Direct-Access     UFD 3.0  Silicon-Power32G PMAP PQ: 0 ANSI: 6
    [   87.768039] sd 0:0:0:0: [sda] 60604416 512-byte logical blocks: (31.0 GB/28.9 GiB)
    [   87.776096] sd 0:0:0:0: [sda] Write Protect is off
    [   87.788752] sd 0:0:0:0: [sda] No Caching mode page found
    [   87.794111] sd 0:0:0:0: [sda] Assuming drive cache: write through
    [   87.829779]  sda: sda1 sda2
    [   87.848167] sd 0:0:0:0: [sda] Attached SCSI removable disk
    
    root@am335x-evm:~# 

    root@am335x-evm:~# uname -a                                                     
    Linux am335x-evm 4.14.40-g4796173fc5 #1 PREEMPT Wed Jul 25 15:43:15 UTC 2018 armv7l GNU/Linux
    root@am335x-evm:~#                                                              
    root@am335x-evm:~# cat /proc/cmdline                                            
    console=ttyO0,115200n8 g_ether.host_addr=aa:bb:cc:dd:33:52 root=/dev/nfs nfsroot=192.168.88.110:/home/lb/opt/filesys.am335x,nolock, rw ip=192.168.88.103:::::eth0
    root@am335x-evm:~#                                                              
    root@am335x-evm:~# lsusb -t                                                     
    /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=musb-hdrc/1p, 480M             
        |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/7p, 480M                     
            |__ Port 6: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M   
    /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=musb-hdrc/1p, 480M             
    root@am335x-evm:~#                                                              
    root@am335x-evm:~# echo standby > /sys/power/state                              
    [   79.918854] PM: suspend entry (shallow)                                      
    [   79.922765] PM: Syncing filesystems ... done.                                
    [   80.179348] Freezing user space processes ... (elapsed 0.002 seconds) done.  
    [   80.189034] OOM killer disabled.                                             
    [   80.192306] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    [   80.201952] Suspending console(s) (use no_console_suspend to debug)          
    [   80.255097] pm33xx pm33xx: PM: Successfully put all powerdomains to target state
    [   80.255097] PM: Wakeup source GPIO0                                          
    [   80.283465] net eth0: initializing cpsw version 1.12 (0)                     
    [   80.379281] Atheros 8031 ethernet 4a101000.mdio:00: attached PHY driver [Atheros 8031 ethernet] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
    [   80.379445] libphy: PHY 4a101000.mdio:01 not found                           
    [   80.379471] net eth0: phy "4a101000.mdio:01" not found on slave 1, err -19   
    [   80.777655] usb 2-1: reset high-speed USB device number 2 using musb-hdrc    
    [   81.467520] usb 2-1: reset high-speed USB device number 2 using musb-hdrc    
    [   82.157526] usb 2-1: reset high-speed USB device number 2 using musb-hdrc    
    [   82.663742] OOM killer enabled.                                              
    [   82.666906] Restarting tasks ...                                             
    [   82.667916] usb 2-1: USB disconnect, device number 2                         
    [   82.676248] usb 2-1.6: USB disconnect, device number 3                       
    [   82.741710] done.                                                            
    [   82.787613] PM: suspend exit                                                 
    root@am335x-evm:~# [   83.207755] usb 2-1: new high-speed USB device number 4 using musb-hdrc
    [   83.529871] cpsw 4a100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   83.900755] usb 2-1: new high-speed USB device number 5 using musb-hdrc
    ...
    
  • Hi, Bi Liu:

      It seemed something wrong with my board, or system software.......

      by the way,, can you tell me the result value of the follow command:

              cat  /sys/bus/platform/devices/<usb1-phy-id>/power/wakeup

    thanks.

  • root@am335x-evm:~# cat /sys/bus/platform/devices/47401b00.usb-phy/power/wakeup
    disabled
  • Hi,

    I noticed you have marked this issue is solved, I am curious did you find the root cause on your system? what was the problem?
  • Hi, Bin Liu:

            I have not found the real reason about this problem, and confused by the fact that the BBB board is OK and in my board, it is not.

          Anyway, I found if I do this command:

         echo enabled > /sys/bus/platform/devices/47401b00.usb-phy/power/wakeup 

         the gpio(bank0) can wake up my system no matter which kernel version used  or with/without expansion board connected.

         the other method is just to modify the kernel(SDK v5.1.0.11) by:

         ①comment out the Line 1178 :   irqc->flags = IRQCHIP_MASK_ON_SUSPEND;     in file  drivers/gpio/gpio-omap.c

         ②comment out the Line 81 :    device_set_wakeup_enable(dev, false);              in the file  drivers/usb/phy/phy-am335x.c

       and it worked.