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: GPIO wakeup not working on kernel v4.9

Part Number: AM3352
Other Parts Discussed in Thread: ADS1118

Tool/software: Linux

Hello.

I noticed that I can't longer wake up my device from standby by using a GPIO after upgrading to the v4.9 Kernel.

According to the link below it shouldn't require special configuration. I'm using a gpio3, which is on the first bank (which AFAIK is the only bank allowed to wakeup, even though the documentation doesn't mention it):

http://processors.wiki.ti.com/index.php/AM335x_Power_Management_Standby_User%27s_Guide#GPIO_wakeup

Both devices have the same config on debugfs:

root@dev:~# cat /sys/kernel/debug/gpio 
gpiochip0: GPIOs 0-31, parent: platform/44e07000.gpio, gpio:
gpio-2 ( |sysfs ) in lo IRQ
gpio-3 ( |sysfs ) in lo IRQ
gpio-6 ( |sysfs ) out lo 
gpio-8 ( |? ) out lo 
gpio-9 ( |? ) out hi 
gpio-13 ( |omap-serial ) out lo 
gpio-29 ( |reset ) out hi

gpiochip1: GPIOs 32-63, parent: platform/4804c000.gpio, gpio:

gpiochip2: GPIOs 64-95, parent: platform/481ac000.gpio, gpio:
gpio-64 ( |sysfs ) out lo 
gpio-70 ( |ASD1118 /En 20mA 1 ) out lo 
gpio-71 ( |ASD1118 /En 10V 3 ) out hi 
gpio-72 ( |ASD1118 /En 20mA 3 ) out lo 
gpio-73 ( |ASD1118 /En 20mA 4 ) out lo 
gpio-74 ( |ASD1118 /En 10V 4 ) out hi 
gpio-75 ( |ASD1118 /En 20mA 2 ) out lo 
gpio-76 ( |ASD1118 /En 10V 2 ) out hi 
gpio-77 ( |ASD1118 /En 10V 1 ) out hi 
gpio-80 ( |ASD1118 /En PT100 3 ) out lo 
gpio-81 ( |ASD1118 /En PT100 1 ) out lo 
gpio-89 ( |sysfs ) in lo 
gpio-90 ( |the-button ) in hi IRQ

gpiochip3: GPIOs 96-127, parent: platform/481ae000.gpio, gpio:
gpio-114 ( |data-gpio ) out lo 
gpio-115 ( |rclk-gpio ) out lo 
gpio-116 ( |srclk-gpio ) out lo

gpiochip5: GPIOs 502-509, parent: platform/shiftreg@0, shiftreg@0:
gpio-502 ( |? ) out lo 
gpio-503 ( |? ) out lo 
gpio-504 ( |? ) out lo 
gpio-505 ( |? ) out lo 
gpio-506 ( |? ) out lo 
gpio-507 ( |? ) out lo 
gpio-508 ( |? ) out lo 
gpio-509 ( |? ) out lo

gpiochip4: GPIOs 510-511, parent: platform/50000000.gpmc, omap-gpmc:

How can I start debugging this?

  • BTW, the update was from the V.4.1 to the V4.9 Kernel
  • Hi,

    Could you share which SDK are you using? Also have you tried using the no console suspend to keep your console active, while the device is suspended? This may help you get more debug information.

    Please share the console log upon entering suspend/ then resume/ and the full bootlog. Also is this a custom board or TI reference platform?

    Best Regards,
    Yordan
  • We are using Yocto on a custom board.

    "meta-ti" is at master from some days ago, revision: 

    eb53d57 ti-soc: add generic "ti-soc" SOC family for BSP overrides

    The Kernel is at:

    89061c2 Merge branch 'ti-linux-4.9.y' of git.ti.com:ti-linux-kernel/ti-linux-kernel into ti-lsk-linux-4.9.y

    Suspend +  wakeup log (wakeup by console; GPIO wakeup doesn't work):

    [ 470.070867] usb 2-1: USB disconnect, device number 6
    [ 470.074817] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
    [ 470.074985] option 2-1:1.0: device disconnected
    [ 470.076173] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
    [ 470.085324] option 2-1:1.1: device disconnected
    [ 470.087039] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
    [ 470.087134] option 2-1:1.2: device disconnected
    [ 470.099699] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
    [ 470.099816] option 2-1:1.3: device disconnected
    [ 470.626158] PM: Syncing filesystems ... done.
    [ 470.626499] PM: Preparing system for sleep (standby)
    [ 470.632128] Freezing user space processes ... (elapsed 0.001 seconds) done.
    [ 470.634013] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    [ 470.635392] PM: Suspending system (standby)
    [ 470.635433] Suspending console(s) (use no_console_suspend to debug)
    [ 470.763296] PM: suspend of devices complete after 126.136 msecs
    [ 470.765910] PM: late suspend of devices complete after 2.580 msecs
    [ 470.768754] PM: noirq suspend of devices complete after 2.810 msecs
    [ 470.768766] PM: Successfully put all powerdomains to target state
    [ 470.768766] PM: Wakeup source UART
    [ 470.784307] PM: noirq resume of devices complete after 15.412 msecs
    [ 470.786736] PM: early resume of devices complete after 2.262 msecs
    [ 470.788143] net eth0: initializing cpsw version 1.12 (0)
    [ 470.788156] net eth0: initialized cpsw ale version 1.4
    [ 470.788163] net eth0: ALE Table size 1024
    [ 470.886542] Generic PHY 4a101000.mdio:02: attached PHY driver [Generic PHY] (mii_bus:phy_addr=4a101000.mdio:02, irq
    =-1)
    [ 470.891980] Suspended for 15.259 seconds
    [ 471.006219] PM: resume of devices complete after 219.456 msecs
    [ 471.008093] PM: Finishing wakeup.
    [ 471.008102] Restarting tasks ... done.
    [ 472.966973] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 475.406253] usb 2-1: new high-speed USB device number 7 using musb-hdrc
    [ 475.577650] usb 2-1: New USB device found, idVendor=1e2d, idProduct=0053
    [ 475.577676] usb 2-1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
    [ 475.577684] usb 2-1: Product: PH8
    [ 475.577692] usb 2-1: Manufacturer: Cinterion
    [ 475.583874] option 2-1:1.0: GSM modem (1-port) converter detected
    [ 475.595587] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
    [ 475.598150] option 2-1:1.1: GSM modem (1-port) converter detected
    [ 475.603300] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB1
    [ 475.604417] option 2-1:1.2: GSM modem (1-port) converter detected
    [ 475.606749] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB2
    [ 475.607811] option 2-1:1.3: GSM modem (1-port) converter detected
    [ 475.611085] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB3

    Boot log:

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.9.34-yocto-standard (oe-user@oe-host) (gcc version 5.4.0 (GCC) ) #1 PREEMPT Sun Sep 3 2
    1:44:17 UTC 2017
    [ 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: HMS Redwolf
    [ 0.000000] cma: Reserved 24 MiB at 0x8d000000
    [ 0.000000] Memory policy: Data cache writeback
    [ 0.000000] On node 0 totalpages: 65536
    [ 0.000000] free_area_init_node: node 0, pgdat c0b3ecbc, node_mem_map cfdad000
    [ 0.000000] Normal zone: 576 pages used for memmap
    [ 0.000000] Normal zone: 0 pages reserved
    [ 0.000000] Normal zone: 65536 pages, LIFO batch:15
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM335X ES2.1 (neon)
    [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [ 0.000000] pcpu-alloc: [0] 0
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64960
    [ 0.000000] Kernel command line: console= mtdparts=8000000.nand:128k(boot1),128k(boot2),128k(boot3),128k(boot4),1m(
    uboot1),1m(uboot2),128k(u-boot-env1),128k(u-boot-env2),190m(sys1),190m(sys2),-(persistent) ubi.mtd=sys1 ubi.mtd=persis
    tent root=ubi0:rootfs rw rootfstype=ubifs panic=3 rootwait=1 memtest=2
    [ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [ 0.000000] Memory: 224040K/262144K available (7168K kernel code, 257K rwdata, 1708K rodata, 1024K init, 243K bss,
    13528K reserved, 24576K cma-reserved, 0K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc0800000 (8160 kB)
    [ 0.000000] .init : 0xc0a00000 - 0xc0b00000 (1024 kB)
    [ 0.000000] .data : 0xc0b00000 - 0xc0b40470 ( 258 kB)
    [ 0.000000] .bss : 0xc0b40470 - 0xc0b7d1f0 ( 244 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] Build-time adjustment of leaf fanout to 32.
    [ 0.000000] NR_IRQS:16 nr_irqs:16 16
    [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [ 0.000000] OMAP clockevent source: timer2 at 25000000 Hz
    [ 0.000018] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
    [ 0.000036] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    [ 0.000046] OMAP clocksource: timer1 at 25000000 Hz
    [ 0.000259] clocksource_probe: no matching clocksources found
    [ 0.000504] Console: colour dummy device 80x30
    [ 0.000531] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [ 0.118885] pid_max: default: 32768 minimum: 301
    [ 0.119024] Security Framework initialized
    [ 0.119070] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.119079] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.120157] CPU: Testing write buffer coherency: ok
    [ 0.120614] Setting up static identity map for 0x80100000 - 0x80100078
    [ 0.123852] devtmpfs: initialized
    [ 0.139531] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.140005] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.140028] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.142367] pinctrl core: initialized pinctrl subsystem
    [ 0.143926] NET: Registered protocol family 16
    [ 0.146531] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.164932] omap_hwmod: debugss: _wait_target_disable failed
    [ 0.248886] cpuidle: using governor menu
    [ 0.254673] gpio gpiochip0: (gpio): added GPIO chardev (254:0)
    [ 0.255169] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio)
    [ 0.257114] OMAP GPIO hardware version 0.1
    [ 0.258125] gpio gpiochip1: (gpio): added GPIO chardev (254:1)
    [ 0.258559] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio)
    [ 0.261368] gpio gpiochip2: (gpio): added GPIO chardev (254:2)
    [ 0.261881] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio)
    [ 0.264533] gpio gpiochip3: (gpio): added GPIO chardev (254:3)
    [ 0.264927] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio)
    [ 0.275054] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/na
    ndflash_pins_s0, deferring probe
    [ 0.277553] No ATAGs?
    [ 0.277571] hw-breakpoint: debug architecture 0x4 unsupported.
    [ 0.319869] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.322982] vgaarb: loaded
    [ 0.323639] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0
    _pins_default, deferring probe
    [ 0.323804] media: Linux media interface: v0.10
    [ 0.323870] Linux video capture interface: v2.00
    [ 0.323920] pps_core: LinuxPPS API ver. 1 registered
    [ 0.323926] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.323952] PTP clock support registered
    [ 0.324852] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.325149] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.326530] clocksource: Switched to clocksource timer1
    [ 0.326805] VFS: Disk quotas dquot_6.6.0
    [ 0.326884] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.340718] NET: Registered protocol family 2
    [ 0.341734] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.341773] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.341806] TCP: Hash tables configured (established 2048 bind 2048)
    [ 0.341891] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.341911] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.342093] NET: Registered protocol family 1
    [ 0.342616] RPC: Registered named UNIX socket transport module.
    [ 0.342624] RPC: Registered udp transport module.
    [ 0.342628] RPC: Registered tcp transport module.
    [ 0.342633] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.342649] PCI: CLS 0 bytes, default 64
    [ 0.344068] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [ 0.346123] audit: initializing netlink subsys (disabled)
    [ 0.346215] audit: type=2000 audit(0.320:1): initialized
    [ 0.347494] workingset: timestamp_bits=14 max_order=16 bucket_order=2
    [ 0.359731] NFS: Registering the id_resolver key type
    [ 0.359788] Key type id_resolver registered
    [ 0.359793] Key type id_legacy registered
    [ 0.359853] jffs2: version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc.
    [ 0.366971] NET: Registered protocol family 38
    [ 0.367197] io scheduler noop registered
    [ 0.367204] io scheduler deadline registered
    [ 0.367678] io scheduler cfq registered (default)
    [ 0.368507] pinctrl-single 44e10800.pinmux: please update dts to use #pinctrl-cells = <1>
    [ 0.369046] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [ 0.454073] omap_uart 44e09000.serial: no wakeirq for uart0
    [ 0.454100] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@44e09000[0]'
    [ 0.454360] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a OMAP UART0
    [ 0.455082] omap_uart 48022000.serial: no wakeirq for uart1
    [ 0.455116] of_get_named_gpiod_flags: parsed 'rts-gpio' property of node '/ocp/serial@48022000[0]' - status (0)
    [ 0.455360] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 159, base_baud = 3000000) is a OMAP UART1
    [ 0.456008] omap_uart 481a6000.serial: no wakeirq for uart3
    [ 0.456022] of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@481a6000[0]'
    [ 0.456185] 481a6000.serial: ttyO3 at MMIO 0x481a6000 (irq = 160, base_baud = 3000000) is a OMAP UART3
    [ 0.456949] [drm] Initialized
    [ 0.474035] brd: module loaded
    [ 0.482880] loop: module loaded
    [ 0.483278] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 0.486440] libphy: Fixed MDIO Bus: probed
    [ 0.502718] davinci_mdio 4a101000.mdio: GPIO lookup for consumer reset
    [ 0.502735] davinci_mdio 4a101000.mdio: using device tree for GPIO lookup
    [ 0.502769] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ocp/ethernet@4a100000/mdio@4a101000[0
    ]' - status (0)
    [ 0.566601] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [ 0.566618] libphy: 4a101000.mdio: probed
    [ 0.568355] davinci_mdio 4a101000.mdio: phy[2]: device 4a101000.mdio:02, driver unknown
    [ 0.568370] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver unknown
    [ 0.569098] cpsw 4a100000.ethernet: Detected MACID = 00:30:11:fa:ce:22
    [ 0.569262] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 0.570776] cpsw 4a100000.ethernet: cpsw: Detected MACID = 00:30:11:fa:ce:23
    [ 0.572055] PPP generic driver version 2.4.2
    [ 0.572509] PPP BSD Compression module registered
    [ 0.572517] PPP Deflate Compression module registered
    [ 0.572969] mousedev: PS/2 mouse device common for all mice
    [ 0.574264] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [ 0.574570] i2c /dev entries driver
    [ 0.575980] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 0.577197] ledtrig-cpu: registered to indicate activity on CPUs
    [ 0.577541] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [ 0.577871] omap-aes 53500000.aes: will run requests pump with realtime priority
    [ 0.579584] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [ 0.583103] oprofile: using arm/armv7
    [ 0.583555] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
    [ 0.584435] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 0.584572] Initializing XFRM netlink socket
    [ 0.585410] NET: Registered protocol family 10
    [ 0.587519] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 0.588595] NET: Registered protocol family 17
    [ 0.588634] NET: Registered protocol family 15
    [ 0.588733] Bridge firewalling registered
    [ 0.588851] Key type dns_resolver registered
    [ 0.589137] omap_voltage_late_init: Voltage driver support not added
    [ 0.589625] ThumbEE CPU extension supported.
    [ 0.596744] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [ 0.596768] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [ 0.596811] gpiochip_find_base: found new base at 510
    [ 0.596872] gpio gpiochip4: (omap-gpmc): added GPIO chardev (254:4)
    [ 0.597419] gpiochip_setup_dev: registered GPIOs 510 to 511 on device: gpiochip4 (omap-gpmc)
    [ 0.598379] omap2-nand 8000000.nand: GPIO lookup for consumer rb
    [ 0.598394] omap2-nand 8000000.nand: using device tree for GPIO lookup
    [ 0.598408] of_get_named_gpiod_flags: can't parse 'rb-gpios' property of node '/ocp/gpmc@50000000/nand@0,0[0]'
    [ 0.598418] of_get_named_gpiod_flags: can't parse 'rb-gpio' property of node '/ocp/gpmc@50000000/nand@0,0[0]'
    [ 0.598426] omap2-nand 8000000.nand: using lookup tables for GPIO lookup
    [ 0.598437] omap2-nand 8000000.nand: lookup for GPIO rb failed
    [ 0.598898] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xcc
    [ 0.598904] nand: Micron MT29F4G16ABADAH4
    [ 0.598913] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [ 0.598960] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [ 0.599041] 11 cmdlinepart partitions found on MTD device 8000000.nand
    [ 0.599047] Creating 11 MTD partitions on "8000000.nand":
    [ 0.599066] 0x000000000000-0x000000020000 : "boot1"
    [ 0.601015] 0x000000020000-0x000000040000 : "boot2"
    [ 0.602630] 0x000000040000-0x000000060000 : "boot3"
    [ 0.604298] 0x000000060000-0x000000080000 : "boot4"
    [ 0.606020] 0x000000080000-0x000000180000 : "uboot1"
    [ 0.608822] 0x000000180000-0x000000280000 : "uboot2"
    [ 0.611223] 0x000000280000-0x0000002a0000 : "u-boot-env1"
    [ 0.612895] 0x0000002a0000-0x0000002c0000 : "u-boot-env2"
    [ 0.614491] 0x0000002c0000-0x00000c0c0000 : "sys1"
    [ 0.774322] 0x00000c0c0000-0x000017ec0000 : "sys2"
    [ 0.933870] 0x000017ec0000-0x000020000000 : "persistent"
    [ 1.067396] at24 0-0050: 4096 byte 24c32 EEPROM, writable, 32 bytes/write
    [ 1.069241] bq32k 0-0068: Enabled trickle RTC battery charge.
    [ 1.070597] bq32k 0-0068: rtc core: registered bq32k as rtc1
    [ 1.070645] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 100 kHz
    [ 1.071067] ubi0: attaching mtd8
    [ 1.534127] ubi0: scanning is finished
    [ 1.543155] ubi0: attached mtd8 (name "sys1", size 190 MiB)
    [ 1.543172] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
    [ 1.543180] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
    [ 1.543186] ubi0: VID header offset: 512 (aligned 512), data offset: 2048
    [ 1.543193] ubi0: good PEBs: 1520, bad PEBs: 0, corrupted PEBs: 0
    [ 1.543200] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
    [ 1.543208] ubi0: max/mean erase counter: 7/4, WL threshold: 4096, image sequence number: 0
    [ 1.543216] ubi0: available PEBs: 3, total reserved PEBs: 1517, PEBs reserved for bad PEB handling: 80
    [ 1.543258] ubi1: attaching mtd10
    [ 1.546637] ubi0: background thread "ubi_bgt0d" started, PID 109
    [ 1.859317] ubi1: scanning is finished
    [ 1.867238] ubi1: attached mtd10 (name "persistent", size 129 MiB)
    [ 1.867256] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
    [ 1.867263] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 512
    [ 1.867269] ubi1: VID header offset: 512 (aligned 512), data offset: 2048
    [ 1.867276] ubi1: good PEBs: 1034, bad PEBs: 0, corrupted PEBs: 0
    [ 1.867283] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
    [ 1.867290] ubi1: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
    [ 1.867298] ubi1: available PEBs: 7, total reserved PEBs: 1027, PEBs reserved for bad PEB handling: 80
    [ 1.867433] ubi1: background thread "ubi_bgt1d" started, PID 110
    [ 1.868430] bq32k 0-0068: setting system clock to 2017-04-02 21:11:36 UTC (1491167496)
    [ 1.869112] ALSA device list:
    [ 1.869119] No soundcards found.
    [ 1.869223] Warning: unable to open an initial console.
    [ 1.876667] UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 111
    [ 1.897560] UBIFS (ubi0:2): recovery needed
    [ 1.993670] UBIFS (ubi0:2): recovery completed
    [ 1.993830] UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs"
    [ 1.993843] UBIFS (ubi0:2): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [ 1.993858] UBIFS (ubi0:2): FS size: 174827520 bytes (166 MiB, 1355 LEBs), journal size 9033728 bytes (8 MiB, 71 LE
    Bs)
    [ 1.993864] UBIFS (ubi0:2): reserved for root: 0 bytes (0 KiB)
    [ 1.993877] UBIFS (ubi0:2): media format: w4/r0 (latest is w4/r0), UUID EF1E005B-F31D-46DF-97A0-852B4CF477DA, small
    LPT model
    [ 1.995074] VFS: Mounted root (ubifs filesystem) on device 0:13.
    [ 1.995438] devtmpfs: mounted
    [ 1.997953] Freeing unused kernel memory: 1024K (c0a00000 - c0b00000)
    [ 2.246484] systemd[1]: System time before build time, advancing clock.
    [ 2.332885] random: systemd: uninitialized urandom read (16 bytes read)
    [ 2.359668] random: systemd: uninitialized urandom read (16 bytes read)
    [ 2.381142] systemd[1]: systemd 232 running in system mode. (-PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +
    UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    [ 2.382988] systemd[1]: Detected architecture arm.
    [ 2.388517] systemd[1]: Set hostname to <redwolf>.
    [ 2.402723] systemd[1]: Hardware watchdog 'OMAP Watchdog', version 0
    [ 2.404072] systemd[1]: Set hardware watchdog to 3min.
    [ 2.598254] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read)
    [ 2.635922] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read)
    [ 2.714781] random: systemd: uninitialized urandom read (16 bytes read)
    [ 2.715171] random: systemd: uninitialized urandom read (16 bytes read)
    [ 2.715781] random: systemd: uninitialized urandom read (16 bytes read)
    [ 2.717107] random: systemd: uninitialized urandom read (16 bytes read)
    [ 2.780726] random: systemd: uninitialized urandom read (16 bytes read)
    [ 2.795322] random: systemd: uninitialized urandom read (16 bytes read)
    [ 3.029880] systemd[1]: Listening on Journal Socket.
    [ 3.031743] systemd[1]: Listening on Syslog Socket.
    [ 3.033533] systemd[1]: Listening on udev Kernel Socket.
    [ 3.034967] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [ 3.035298] systemd[1]: Reached target Swap.
    [ 4.036923] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 150
    [ 4.163596] UBIFS (ubi1:0): recovery needed
    [ 4.259878] UBIFS (ubi1:0): recovery completed
    [ 4.260042] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "download"
    [ 4.260056] UBIFS (ubi1:0): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [ 4.260070] UBIFS (ubi1:0): FS size: 120250368 bytes (114 MiB, 932 LEBs), journal size 6064128 bytes (5 MiB, 47 LEB
    s)
    [ 4.260078] UBIFS (ubi1:0): reserved for root: 4952683 bytes (4836 KiB)
    [ 4.260091] UBIFS (ubi1:0): media format: w4/r0 (latest is w4/r0), UUID AFBB85E3-2258-4E28-A93C-559F45800A18, small
    LPT model
    [ 4.583599] systemd-journald[129]: Received request to flush runtime journal from PID 1
    [ 4.886642] random: fast init done
    [ 6.293376] of_get_named_gpiod_flags: parsed 'gpios' property of node '/button/switch@26[0]' - status (0)
    [ 6.294034] input: button as /devices/platform/button/input/input0
    [ 6.733848] CAN device driver interface
    [ 6.786106] ads1118: loading out-of-tree module taints kernel.
    [ 6.788324] Probing ADS1118 ADC driver cs 1 modalias [ads1118] mode 0x01
    [ 6.793218] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=163)
    [ 8.078632] gpio-74x594: init
    [ 8.079008] gpio-74x594 shiftreg@0: probe.
    [ 8.079104] of_get_named_gpiod_flags: parsed 'data-gpio' property of node '/shiftreg@0[0]' - status (0)
    [ 8.079225] of_get_named_gpiod_flags: parsed 'srclk-gpio' property of node '/shiftreg@0[0]' - status (0)
    [ 8.079251] of_get_named_gpiod_flags: parsed 'rclk-gpio' property of node '/shiftreg@0[0]' - status (0)
    [ 8.079268] gpio-74x594 shiftreg@0: No init value set in dts. Initializing all pins to 0.
    [ 8.079322] gpiochip_find_base: found new base at 502
    [ 8.079358] gpio gpiochip5: (shiftreg@0): added GPIO chardev (254:5)
    [ 8.097774] gpiochip_setup_dev: registered GPIOs 502 to 509 on device: gpiochip5 (shiftreg@0)
    [ 8.098444] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led1r[0]' - status (0)
    [ 8.098725] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led1g[0]' - status (0)
    [ 8.098943] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led2r[0]' - status (0)
    [ 8.099135] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led2g[0]' - status (0)
    [ 8.099318] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led3r[0]' - status (0)
    [ 8.099498] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led3g[0]' - status (0)
    [ 8.099687] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led4r[0]' - status (0)
    [ 8.099869] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led4g[0]' - status (0)
    [ 8.100047] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led0r[0]' - status (0)
    [ 8.100234] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led0g[0]' - status (0)
    [ 8.233144] remoteproc remoteproc0: wkup_m3 is available
    [ 8.254404] PM: Cannot get wkup_m3_ipc handle
    [ 8.255687] remoteproc remoteproc0: powering up wkup_m3
    [ 8.520430] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217072
    [ 8.520733] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [ 8.520766] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [ 9.174901] net eth0: initializing cpsw version 1.12 (0)
    [ 9.174928] net eth0: initialized cpsw ale version 1.4
    [ 9.174938] net eth0: ALE Table size 1024
    [ 9.188625] PM: bootloader does not support rtc-only!
    [ 9.287118] Generic PHY 4a101000.mdio:02: attached PHY driver [Generic PHY] (mii_bus:phy_addr=4a101000.mdio:02, irq
    =-1)
    [ 9.294664] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 10.438030] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer reset
    [ 10.438056] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [ 10.438073] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@4740130
    0[0]'
    [ 10.438082] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401300
    [0]'
    [ 10.438091] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [ 10.438102] am335x-phy-driver 47401300.usb-phy: lookup for GPIO reset failed
    [ 10.438113] am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer vbus-detect
    [ 10.438120] am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    [ 10.438129] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@4
    7401300[0]'
    [ 10.438137] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47
    401300[0]'
    [ 10.438144] am335x-phy-driver 47401300.usb-phy: using lookup tables for GPIO lookup
    [ 10.438152] am335x-phy-driver 47401300.usb-phy: lookup for GPIO vbus-detect failed
    [ 10.438221] 47401300.usb-phy supply vcc not found, using dummy regulator
    [ 10.467720] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer reset
    [ 10.467744] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [ 10.467762] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401b0
    0[0]'
    [ 10.467771] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp/usb@47400000/usb-phy@47401b00
    [0]'
    [ 10.467781] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [ 10.467792] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO reset failed
    [ 10.467802] am335x-phy-driver 47401b00.usb-phy: GPIO lookup for consumer vbus-detect
    [ 10.467810] am335x-phy-driver 47401b00.usb-phy: using device tree for GPIO lookup
    [ 10.467818] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpios' property of node '/ocp/usb@47400000/usb-phy@4
    7401b00[0]'
    [ 10.467826] of_get_named_gpiod_flags: can't parse 'vbus-detect-gpio' property of node '/ocp/usb@47400000/usb-phy@47
    401b00[0]'
    [ 10.467834] am335x-phy-driver 47401b00.usb-phy: using lookup tables for GPIO lookup
    [ 10.467842] am335x-phy-driver 47401b00.usb-phy: lookup for GPIO vbus-detect failed
    [ 10.467912] 47401b00.usb-phy supply vcc not found, using dummy regulator
    [ 10.810723] usbcore: registered new interface driver usbfs
    [ 10.810849] usbcore: registered new interface driver hub
    [ 10.877303] usbcore: registered new device driver usb
    [ 11.142257] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [ 11.142312] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [ 11.223300] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 11.223325] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 11.223334] usb usb1: Product: MUSB HDRC host driver
    [ 11.223342] usb usb1: Manufacturer: Linux 4.9.34-yocto-standard musb-hcd
    [ 11.223351] usb usb1: SerialNumber: musb-hdrc.0
    [ 11.224566] hub 1-0:1.0: USB hub found
    [ 11.226882] hub 1-0:1.0: 1 port detected
    [ 11.330427] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [ 11.330488] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    [ 11.336083] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [ 11.336105] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 11.336113] usb usb2: Product: MUSB HDRC host driver
    [ 11.336121] usb usb2: Manufacturer: Linux 4.9.34-yocto-standard musb-hcd
    [ 11.336130] usb usb2: SerialNumber: musb-hdrc.1
    [ 11.337502] hub 2-0:1.0: USB hub found
    [ 11.337571] hub 2-0:1.0: 1 port detected
    [ 11.367436] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [ 11.367524] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 13.826939] usb 2-1: new high-speed USB device number 2 using musb-hdrc
    [ 14.000385] usb 2-1: New USB device found, idVendor=1e2d, idProduct=0053
    [ 14.000411] usb 2-1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
    [ 14.000420] usb 2-1: Product: PH8
    [ 14.000428] usb 2-1: Manufacturer: Cinterion
    [ 14.356110] usbcore: registered new interface driver usbserial
    [ 14.428829] usbcore: registered new interface driver option
    [ 14.431741] usbserial: USB Serial support registered for GSM modem (1-port)
    [ 14.432589] option 2-1:1.0: GSM modem (1-port) converter detected
    [ 14.438254] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
    [ 14.438955] option 2-1:1.1: GSM modem (1-port) converter detected
    [ 14.440904] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB1
    [ 14.441504] option 2-1:1.2: GSM modem (1-port) converter detected
    [ 14.454603] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB2
    [ 14.455345] option 2-1:1.3: GSM modem (1-port) converter detected
    [ 14.458160] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB3

  • Diff between a working (v4.1) and non-working version (v4.9)

    --- ../boot.4.1 2017-09-22 12:42:22.833962361 +0200
    +++ ../boot.4.9 2017-09-22 12:53:33.293471909 +0200
    @@ -1,20 +1,17 @@
    Booting Linux on physical CPU 0x0
    -Initializing cgroup subsys cpuset
    -Initializing cgroup subsys cpu
    -Initializing cgroup subsys cpuacct
    -Linux version 4.1.37-yocto-standard (oe-user@oe-host) (gcc version 5.4.0 (GCC) ) #1 PREEMPT Wed Sep 20 12:17:09 CEST 2017
    +Linux version 4.9.34-yocto-standard (oe-user@oe-host) (gcc version 5.4.0 (GCC) ) #1 PREEMPT Thu Sep 21 12:14:43 CEST 2017
    CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    -Machine model: HMS NB301 EMC test board
    +OF: fdt:Machine model: HMS NB301 EMC test board
    cma: Reserved 24 MiB at 0x8d000000
    Memory policy: Data cache writeback
    On node 0 totalpages: 65536
    -free_area_init_node: node 0, pgdat c091f4c4, node_mem_map cfdad000
    +free_area_init_node: node 0, pgdat c0b3ecfc, node_mem_map cfdad000
    Normal zone: 576 pages used for memmap
    Normal zone: 0 pages reserved
    Normal zone: 65536 pages, LIFO batch:15
    CPU: All CPU(s) started in SVC mode.
    -AM335X ES2.1 (neon )
    +AM335X ES2.1 (neon)
    pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    pcpu-alloc: [0] 0
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 64960
    @@ -22,56 +19,54 @@
    PID hash table entries: 1024 (order: 0, 4096 bytes)
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    -Memory: 225252K/262144K available (6723K kernel code, 251K rwdata, 2080K rodata, 256K init, 225K bss, 12316K reserved, 24576K cma-reserved, 0K highmem)
    +Memory: 224040K/262144K available (7168K kernel code, 257K rwdata, 1696K rodata, 1024K init, 243K bss, 13528K reserved, 24576K cma-reserved, 0K highmem)
    Virtual kernel memory layout:
    vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    - vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)
    + vmalloc : 0xd0800000 - 0xff800000 ( 752 MB)
    lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
    pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    - .text : 0xc0008000 - 0xc08a1014 (8805 kB)
    - .init : 0xc08a2000 - 0xc08e2000 ( 256 kB)
    - .data : 0xc08e2000 - 0xc0920cc8 ( 252 kB)
    - .bss : 0xc0920cc8 - 0xc09590e4 ( 226 kB)
    + .text : 0xc0008000 - 0xc0800000 (8160 kB)
    + .init : 0xc0a00000 - 0xc0b00000 (1024 kB)
    + .data : 0xc0b00000 - 0xc0b404b0 ( 258 kB)
    + .bss : 0xc0b404b0 - 0xc0b7d230 ( 244 kB)
    SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    Preemptible hierarchical RCU implementation.
    - Additional per-CPU info printed with stalls.
    + Build-time adjustment of leaf fanout to 32.
    NR_IRQS:16 nr_irqs:16 16
    IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    OMAP clockevent source: timer2 at 25000000 Hz
    sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
    -clocksource timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    +clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
    OMAP clocksource: timer1 at 25000000 Hz
    +clocksource_probe: no matching clocksources found
    Console: colour dummy device 80x30
    Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    -Initializing cgroup subsys io
    -Initializing cgroup subsys memory
    -Initializing cgroup subsys devices
    -Initializing cgroup subsys freezer
    -Initializing cgroup subsys net_cls
    -Initializing cgroup subsys perf_event
    -Initializing cgroup subsys net_prio
    CPU: Testing write buffer coherency: ok
    -Setting up static identity map for 0x80008200 - 0x80008270
    +Setting up static identity map for 0x80100000 - 0x80100078
    devtmpfs: initialized
    VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    -omap_hwmod: debugss: _wait_target_disable failed
    -clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    +futex hash table entries: 256 (order: -1, 3072 bytes)
    pinctrl core: initialized pinctrl subsystem
    NET: Registered protocol family 16
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    -cpuidle: using governor ladder
    +omap_hwmod: debugss: _wait_target_disable failed
    cpuidle: using governor menu
    -gpiochip_add: registered GPIOs 0 to 31 on device: gpio
    +gpio gpiochip0: (gpio): added GPIO chardev (254:0)
    +gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio)
    OMAP GPIO hardware version 0.1
    -gpiochip_add: registered GPIOs 32 to 63 on device: gpio
    -gpiochip_add: registered GPIOs 64 to 95 on device: gpio
    -gpiochip_add: registered GPIOs 96 to 127 on device: gpio
    +gpio gpiochip1: (gpio): added GPIO chardev (254:1)
    +gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio)
    +gpio gpiochip2: (gpio): added GPIO chardev (254:2)
    +gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio)
    +gpio gpiochip3: (gpio): added GPIO chardev (254:3)
    +gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio)
    omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_s0, deferring probe
    No ATAGs?
    hw-breakpoint: debug architecture 0x4 unsupported.
    @@ -85,7 +80,9 @@
    PTP clock support registered
    omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    Advanced Linux Sound Architecture Driver Initialized.
    -Switched to clocksource timer1
    +clocksource: Switched to clocksource timer1
    +VFS: Disk quotas dquot_6.6.0
    +VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    NET: Registered protocol family 2
    TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    @@ -98,13 +95,10 @@
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    PCI: CLS 0 bytes, default 64
    -CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
    hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    -futex hash table entries: 256 (order: -1, 3072 bytes)
    audit: initializing netlink subsys (disabled)
    -audit: type=2000 audit(0.360:1): initialized
    -VFS: Disk quotas dquot_6.6.0
    -VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    +audit: type=2000 audit(0.320:1): initialized
    +workingset: timestamp_bits=14 max_order=16 bucket_order=2
    NFS: Registering the id_resolver key type
    Key type id_resolver registered
    Key type id_legacy registered
    @@ -113,6 +107,7 @@
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    +pinctrl-single 44e10800.pinmux: please update dts to use #pinctrl-cells = <1>
    pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    omap_uart 44e09000.serial: no wakeirq for uart0
    of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@44e09000[0]'
    @@ -123,19 +118,20 @@
    omap_uart 481a6000.serial: no wakeirq for uart3
    of_get_named_gpiod_flags: can't parse 'rts-gpio' property of node '/ocp/serial@481a6000[0]'
    481a6000.serial: ttyO3 at MMIO 0x481a6000 (irq = 160, base_baud = 3000000) is a OMAP UART3
    -[drm] Initialized drm 1.1.0 20060810
    +[drm] Initialized
    brd: module loaded
    loop: module loaded
    mtdoops: mtd device (mtddev=name/number) must be supplied
    +libphy: Fixed MDIO Bus: probed
    davinci_mdio 4a101000.mdio: GPIO lookup for consumer reset
    davinci_mdio 4a101000.mdio: using device tree for GPIO lookup
    of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/ocp/ethernet@4a100000/mdio@4a101000[0]' - status (0)
    davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    -davinci_mdio 4a101000.mdio: detected phy mask fffffff3
    libphy: 4a101000.mdio: probed
    davinci_mdio 4a101000.mdio: phy[2]: device 4a101000.mdio:02, driver unknown
    davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver unknown
    cpsw 4a100000.ethernet: Detected MACID = 00:30:11:fa:ce:22
    +cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    cpsw 4a100000.ethernet: cpsw: Detected MACID = 00:30:11:fa:ce:23
    PPP generic driver version 2.4.2
    PPP BSD Compression module registered
    @@ -146,16 +142,16 @@
    omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    ledtrig-cpu: registered to indicate activity on CPUs
    omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    +omap-aes 53500000.aes: will run requests pump with realtime priority
    omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    oprofile: using arm/armv7
    -nf_conntrack version 0.5.0 (3903 buckets, 15612 max)
    +nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
    ip_tables: (C) 2000-2006 Netfilter Core Team
    Initializing XFRM netlink socket
    NET: Registered protocol family 10
    -sit: IPv6 over IPv4 tunneling driver
    +sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    NET: Registered protocol family 17
    NET: Registered protocol family 15
    -bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    Bridge firewalling registered
    Key type dns_resolver registered
    omap_voltage_late_init: Voltage driver support not added
    @@ -163,13 +159,14 @@
    omap-gpmc 50000000.gpmc: GPMC revision 6.0
    gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    gpiochip_find_base: found new base at 510
    -gpiochip_add: registered GPIOs 510 to 511 on device: omap-gpmc
    -omap2-nand 8000000.nand: GPIO lookup for consumer ready
    +gpio gpiochip4: (omap-gpmc): added GPIO chardev (254:4)
    +gpiochip_setup_dev: registered GPIOs 510 to 511 on device: gpiochip4 (omap-gpmc)
    +omap2-nand 8000000.nand: GPIO lookup for consumer rb
    omap2-nand 8000000.nand: using device tree for GPIO lookup
    -of_get_named_gpiod_flags: can't parse 'ready-gpios' property of node '/ocp/gpmc@50000000/nand@0,0[0]'
    -of_get_named_gpiod_flags: can't parse 'ready-gpio' property of node '/ocp/gpmc@50000000/nand@0,0[0]'
    +of_get_named_gpiod_flags: can't parse 'rb-gpios' property of node '/ocp/gpmc@50000000/nand@0,0[0]'
    +of_get_named_gpiod_flags: can't parse 'rb-gpio' property of node '/ocp/gpmc@50000000/nand@0,0[0]'
    omap2-nand 8000000.nand: using lookup tables for GPIO lookup
    -omap2-nand 8000000.nand: lookup for GPIO ready failed
    +omap2-nand 8000000.nand: lookup for GPIO rb failed
    nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xcc
    nand: Micron MT29F4G16ABADAH4
    nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    @@ -202,7 +199,7 @@
    ubi0: max/mean erase counter: 9/5, WL threshold: 4096, image sequence number: 0
    ubi0: available PEBs: 3, total reserved PEBs: 1517, PEBs reserved for bad PEB handling: 80
    ubi1: attaching mtd10
    -ubi0: background thread "ubi_bgt0d" started, PID 61
    +ubi0: background thread "ubi_bgt0d" started, PID 109
    ubi1: scanning is finished
    ubi1: attached mtd10 (name "persistent", size 129 MiB)
    ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
    @@ -212,106 +209,58 @@
    ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
    ubi1: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
    ubi1: available PEBs: 7, total reserved PEBs: 1027, PEBs reserved for bad PEB handling: 80
    -ubi1: background thread "ubi_bgt1d" started, PID 62
    -bq32k 0-0068: setting system clock to 2017-04-03 00:50:53 UTC (1491180653)
    +ubi1: background thread "ubi_bgt1d" started, PID 110
    +bq32k 0-0068: setting system clock to 2017-04-03 01:11:04 UTC (1491181864)
    ALSA device list:
    No soundcards found.
    Warning: unable to open an initial console.
    -UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 63
    -UBIFS (ubi0:2): recovery needed
    -UBIFS (ubi0:2): recovery completed
    +UBIFS (ubi0:2): background thread "ubifs_bgt0_2" started, PID 111
    +UBIFS (ubi0:2): start fixing up free space
    +random: fast init done
    +UBIFS (ubi0:2): free space fixup complete
    UBIFS (ubi0:2): UBIFS: mounted UBI device 0, volume 2, name "rootfs"
    UBIFS (ubi0:2): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    UBIFS (ubi0:2): FS size: 174827520 bytes (166 MiB, 1355 LEBs), journal size 9033728 bytes (8 MiB, 71 LEBs)
    UBIFS (ubi0:2): reserved for root: 0 bytes (0 KiB)
    -UBIFS (ubi0:2): media format: w4/r0 (latest is w4/r0), UUID E0BABA0B-4468-4638-BD8C-5D3C1C7FBDC6, small LPT model
    -VFS: Mounted root (ubifs filesystem) on device 0:14.
    +UBIFS (ubi0:2): media format: w4/r0 (latest is w4/r0), UUID 192DD443-D2D8-4EA6-8385-2517C7D18B18, small LPT model
    +VFS: Mounted root (ubifs filesystem) on device 0:13.
    devtmpfs: mounted
    -Freeing unused kernel memory: 256K (c08a2000 - c08e2000)
    -This architecture does not have kernel memory protection.
    +Freeing unused kernel memory: 1024K (c0a00000 - c0b00000)
    systemd[1]: System time before build time, advancing clock.
    -random: systemd urandom read with 3 bits of entropy available
    systemd[1]: systemd 232 running in system mode. (-PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    systemd[1]: Detected architecture arm.
    systemd[1]: Set hostname to <nb301-emc>.
    +systemd[1]: Initializing machine ID from random generator.
    systemd[1]: Hardware watchdog 'OMAP Watchdog', version 0
    systemd[1]: Set hardware watchdog to 3min.
    -systemd[1]: Created slice User and Session Slice.
    systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    systemd[1]: Listening on Syslog Socket.
    systemd[1]: Listening on Journal Audit Socket.
    -systemd[1]: Listening on Journal Socket.
    -systemd[1]: Reached target Swap.
    -systemd[1]: Created slice System Slice.
    -systemd[1]: Created slice system-getty.slice.
    -systemd[1]: Starting Create list of required static device nodes for the current kernel...
    -systemd[1]: Mounting Debug File System...
    -systemd[1]: Listening on udev Kernel Socket.
    -systemd[1]: Reached target Remote File Systems.
    -systemd[1]: Listening on Journal Socket (/dev/log).
    -systemd[1]: Mounting POSIX Message Queue File System...
    -systemd[1]: Listening on udev Control Socket.
    -systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    -systemd[1]: Starting Remount Root and Kernel File Systems...
    -systemd[1]: Reached target Slices.
    -systemd[1]: Mounting Temporary Directory...
    -systemd[1]: Mounting Configuration File System...
    -systemd[1]: Starting Apply Kernel Variables...
    systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    -systemd[1]: Starting Journal Service...
    -systemd[1]: Reached target Paths.
    -systemd[1]: Mounted Debug File System.
    -systemd[1]: Mounted Configuration File System.
    -systemd[1]: Mounted POSIX Message Queue File System.
    -systemd[1]: Mounted Temporary Directory.
    -systemd[1]: Started Create list of required static device nodes for the current kernel.
    -systemd[1]: Started Remount Root and Kernel File Systems.
    -systemd[1]: Starting udev Coldplug all Devices...
    -systemd[1]: Starting Create Static Device Nodes in /dev...
    -systemd[1]: Started Apply Kernel Variables.
    -systemd[1]: Started Create Static Device Nodes in /dev.
    -systemd[1]: Reached target Local File Systems (Pre).
    -systemd[1]: Mounting /var/spool/download...
    -systemd[1]: Mounting /var/volatile...
    -systemd[1]: Starting udev Kernel Device Manager...
    -systemd[1]: Mounted /var/volatile.
    -UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 117
    -systemd[1]: Starting Load/Save Random Seed...
    +UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 154
    UBIFS (ubi1:0): recovery needed
    -systemd[1]: Started Journal Service.
    UBIFS (ubi1:0): recovery completed
    UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "download"
    UBIFS (ubi1:0): LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    UBIFS (ubi1:0): FS size: 120250368 bytes (114 MiB, 932 LEBs), journal size 6064128 bytes (5 MiB, 47 LEBs)
    UBIFS (ubi1:0): reserved for root: 4952683 bytes (4836 KiB)
    UBIFS (ubi1:0): media format: w4/r0 (latest is w4/r0), UUID AFBB85E3-2258-4E28-A93C-559F45800A18, small LPT model
    -systemd-journald[90]: Received request to flush runtime journal from PID 1
    +systemd-journald[127]: Received request to flush runtime journal from PID 1
    of_get_named_gpiod_flags: parsed 'gpios' property of node '/button/switch@26[0]' - status (0)
    input: button as /devices/platform/button/input/input0
    -of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led1r[0]' - status (-517)
    -of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led1r[0]' - status (-517)
    -of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led1r[0]' - status (-517)
    -Probing ADS1118 ADC driver cs 1 modalias [ads1118] mode 0x01
    CAN device driver interface
    -of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led1r[0]' - status (-517)
    +ads1118: loading out-of-tree module taints kernel.
    +Probing ADS1118 ADC driver cs 1 modalias [ads1118] mode 0x01
    c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=163)
    -of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led1r[0]' - status (-517)
    -wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    -PM: bootloader does not support rtc-only!
    -of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led1r[0]' - status (-517)
    -wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    gpio-74x594: init
    - remoteproc0: wkup_m3 is available
    - remoteproc0: Note: remoteproc is still under development and considered experimental.
    - remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    -of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led1r[0]' - status (-517)
    gpio-74x594 shiftreg@0: probe.
    of_get_named_gpiod_flags: parsed 'data-gpio' property of node '/shiftreg@0[0]' - status (0)
    of_get_named_gpiod_flags: parsed 'srclk-gpio' property of node '/shiftreg@0[0]' - status (0)
    of_get_named_gpiod_flags: parsed 'rclk-gpio' property of node '/shiftreg@0[0]' - status (0)
    gpio-74x594 shiftreg@0: No init value set in dts. Initializing all pins to 0.
    gpiochip_find_base: found new base at 502
    -gpiochip_add: registered GPIOs 502 to 509 on device: shiftreg@0
    +gpio gpiochip5: (shiftreg@0): added GPIO chardev (254:5)
    +gpiochip_setup_dev: registered GPIOs 502 to 509 on device: gpiochip5 (shiftreg@0)
    of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led1r[0]' - status (0)
    of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led1g[0]' - status (0)
    of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led2r[0]' - status (0)
    @@ -322,16 +271,13 @@
    of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led4g[0]' - status (0)
    of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led0r[0]' - status (0)
    of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/led0g[0]' - status (0)
    - remoteproc0: powering up wkup_m3
    - remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217072
    - remoteproc0: remote processor wkup_m3 is now up
    +remoteproc remoteproc0: wkup_m3 is available
    +remoteproc remoteproc0: powering up wkup_m3
    +PM: Cannot get wkup_m3_ipc handle
    +remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217072
    +remoteproc remoteproc0: remote processor wkup_m3 is now up
    wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    -net eth0: initializing cpsw version 1.12 (0)
    -net eth0: phy found : id is : 0x20005c90
    -IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    -net eth1: initializing cpsw version 1.12 (0)
    -net eth1: phy found : id is : 0x20005c90
    -IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    +PM: bootloader does not support rtc-only!
    am335x-phy-driver 47401300.usb-phy: GPIO lookup for consumer reset
    am335x-phy-driver 47401300.usb-phy: using device tree for GPIO lookup
    of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/usb@47400000/usb-phy@47401300[0]'
    @@ -361,32 +307,32 @@
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    -musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    -musb-hdrc: MHDRC RTL version 2.0
    -musb-hdrc: setup fifo_mode 4
    -musb-hdrc: 28/31 max ep, 16384/16384 memory
    -musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
    -musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
    +musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    +musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: MUSB HDRC host driver
    -usb usb1: Manufacturer: Linux 4.1.37-yocto-standard musb-hcd
    -usb usb1: SerialNumber: musb-hdrc.0.auto
    +usb usb1: Manufacturer: Linux 4.9.34-yocto-standard musb-hcd
    +usb usb1: SerialNumber: musb-hdrc.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    -musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    -musb-hdrc: MHDRC RTL version 2.0
    -musb-hdrc: setup fifo_mode 4
    -musb-hdrc: 28/31 max ep, 16384/16384 memory
    -musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    -musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
    +musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    +musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: MUSB HDRC host driver
    -usb usb2: Manufacturer: Linux 4.1.37-yocto-standard musb-hcd
    -usb usb2: SerialNumber: musb-hdrc.1.auto
    +usb usb2: Manufacturer: Linux 4.9.34-yocto-standard musb-hcd
    +usb usb2: SerialNumber: musb-hdrc.1
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    +net eth0: initializing cpsw version 1.12 (0)
    +net eth0: initialized cpsw ale version 1.4
    +net eth0: ALE Table size 1024
    +Generic PHY 4a101000.mdio:02: attached PHY driver [Generic PHY] (mii_bus:phy_addr=4a101000.mdio:02, irq=-1)
    +IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    +net eth1: initializing cpsw version 1.12 (0)
    +Generic PHY 4a101000.mdio:03: attached PHY driver [Generic PHY] (mii_bus:phy_addr=4a101000.mdio:03, irq=-1)
    +IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    usb 2-1: new high-speed USB device number 2 using musb-hdrc

  • We found that the breakage was caused by this commit:

    0c0451e7634564052a045d4398a91ea4ef1f755b gpio: omap: fix irq triggering in smart-idle wakeup mode

    Relevant discussion here:

    https://patchwork.kernel.org/patch/8809541/

    After this change the TI docs are out of date, as the TI docs say:

    GPIO wakeup

    One can wakeup from standby from any of the GPIO lines by pressing any button/key connected to a GPIO line.

    On the thread they mention:

    I expect no issues (only if some platforms expect to wake up from
    gpio irq, but do not configure this irq as wakeup irq).
    ^ and this will be a bug which need to be fixed.

    How can we still set some gpios in bank0 as wakeup sources without making them gpio-keys? If so how?

  • Sorry for the delay, we're looking into this.

    Best Regards,
    Yordan