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.

PROCESSOR-SDK-AM437X: am437x-hs-evm-linux-sdk-bin-06.03.00.106

Part Number: PROCESSOR-SDK-AM437X

Hi,

I'm using ​HS EMV with am437x CPU with SDK: am437x-hs-evm-linux-sdk-bin-06.03.00.106

I followed : https://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components/Kernel/Kernel_Drivers/Power_Management.html?highlight=suspend

to test suspend to ram but even despite fact I set that console should was it's not the case. Console just freeze and only option is to reboot board.

Log looks like:

```

root@am437x-hs-evm:~# echo mem > /sys/power/state
[ 140.705722] PM: suspend entry (s2idle)
[ 140.709523] PM: Syncing filesystems ... done.
[ 140.730689] Freezing user space processes ... (elapsed 0.001 seconds) done.
[ 140.739728] OOM killer disabled.
[ 140.743125] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.

```

Any hints? Thanks.

  • Hello Marek,

    I assigned your question to our security owner. They are out of office today, but should reply later in the week. Please ping the thread if you do not have a reply by the beginning of next week.

    Regards,

    Nick

  • Hi Marek,
    I was out of office for one week.
    I'll run some testing on AM437x HS EVM, and get back to you earlier next week.
    Best,
    -Hong

  • Hi Nick, seems issue is not related to HS CPU. It's not working also on non-HS. Thanks.

  • Hi Marek,
    Thanks for the status update, and running test with GP device.
    I'll pass it to my colleague for further comments.
    Best,
    -Hong

  • Hi Marek,

    My understanding of the issue is that you can use command 'echo mem > /sys/power/state', but you cannot wake up the system by pressing keyboard which connects to the EVM uart console. Is this correct?

    If so, can you wake up in any of the following suspend scenarios?

    # echo standby > /sys/power/state

    # rtcwake -m standby -s 2

    # rtcwake -m mem -s 2

    Please all attach the full kernel boot log on the non-HS device EVM.

  • Hi Bin,

    I think issue is that kernel is not even suspended as e.g. shows log in this thread: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/517107/am437x-starter-kit-evm-does-not-resume-from-suspend/1879459#1879459

    From my experiments I was able to debug it till __cpu_suspend which is written in asm and I was not sure how to debug it further. Just note I'm using official SDK prebuild images. Can you please verify this functionality and let me know if it works for you? Thanks.

  • Hi Hong,

    did you give a try on HS boards pls? Was result same as log above? Thanks

  • Hi Marek,

    suspend/resume works fine on my non-HS GP EVM. Please check the log below.

    root@am437x-evm:~# uname -a                                                                
    Linux am437x-evm 4.19.94-gbe5389fd85 #1 PREEMPT Sun Apr 19 03:20:57 UTC 2020 armv7l GNU/Linux                                                                                         
    root@am437x-evm:~#                                                                         
    root@am437x-evm:~# echo mem > /sys/power/state                                             
    [  157.787780] PM: suspend entry (deep)                                                    
    [  157.791408] PM: Syncing filesystems ... done.                                           
    [  157.802682] Freezing user space processes ... (elapsed 0.002 seconds) done.                                                                                                        
    [  157.812176] OOM killer disabled.                                                        
    [  157.815425] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.                                                                                                   
    [  157.824537] Suspending console(s) (use no_console_suspend to debug)                                                                                                                
    [  157.885681] cpsw 4a100000.ethernet eth0: Link is Down                                   
    [  157.900269] pm33xx pm33xx: PM: Successfully put all powerdomains to target state                                                                                                   
    [  157.900269] PM: Wakeup source UART                                                      
    [  157.923955] net eth0: initializing cpsw version 1.15 (0)                                
    [  158.021356] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_                                                            
    addr=4a101000.mdio:00, irq=POLL)                                                           
    [  158.065389] usb usb1: root hub lost power or was reset                                  
    [  158.065414] usb usb2: root hub lost power or was reset                                  
    [  158.236893] OOM killer enabled.                                                         
    [  158.240056] Restarting tasks ... done.                                                  
    [  158.247908] PM: suspend exit                                                            
    root@am437x-evm:~# 

  • Hi Bin,

    ok thanks for info. @Hong so it seems issue is only with HS then I was probably wrong yesterday.

  • Hi Marek,
    I'd ran a quick test using secure SDK 6.3 on AM437x HS EVM.
    I'm attaching the log below.
    It seems suspend/resume working as expected.
    I used UART (serial terminal) as wakeup source as described in the "Suspend/Resume" section in
    software-dl.ti.com/.../Power_Management.html
    Best,
    -Hong

    am4_sdk6.3_hs_suspend.txt
    root@am437x-evm:/# uname -a
    Linux am437x-evm 4.19.94-gbe5389fd85 #1 PREEMPT Mon Apr 20 02:19:56 UTC 2020 armv7l GNU/Linux
    root@am437x-evm:/# echo mem > /sys/power/state
    [  396.954347] PM: suspend entry (deep)
    [  396.957975] PM: Syncing filesystems ... done.
    [  396.982908] Freezing user space processes ... (elapsed 0.003 seconds) done.
    [  396.993507] OOM killer disabled.
    [  396.996900] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    [  397.005962] Suspending console(s) (use no_console_suspend to debug)
    [  397.066038] GIC and Wakeupgen context save failed
    [  397.066038] pm33xx pm33xx: PM: Successfully put all powerdomains to target state
    [  397.066038] PM: Wakeup source UART
    [  397.089665] net eth0: initializing cpsw version 1.15 (0)
    [  397.091110] libphy: PHY 4a101000.mdio:00 not found
    [  397.091132] net eth0: phy "4a101000.mdio:00" not found on slave 0, err -19
    [  397.134343] usb usb1: root hub lost power or was reset
    [  397.134368] usb usb2: root hub lost power or was reset
    [  397.301277] OOM killer enabled.
    [  397.304466] Restarting tasks ... done.
    [  397.337503] PM: suspend exit
    root@am437x-evm:/# 

  • Hi Hong,

    steps I did to recreate an issue:

    uname -a
    Linux am437x-hs-evm 4.19.94-gbe5389fd85 #1 PREEMPT Mon Apr 20 02:19:56 UTC 2020 armv7l GNU/Linux
    

    enable no console suspend:

    echo N > /sys/module/printk/parameters/console_suspend
    root@am437x-hs-evm:~# cat /sys/module/printk/parameters/console_suspend
    N
    

    configure ttS0 as wakeup source:

    root@am437x-hs-evm:~# cat  /sys/devices/platform/44000000.ocp/44e09000.serial/tty/ttyS0/power/wakeup
    disabled
    root@am437x-hs-evm:~# echo enabled >  /sys/devices/platform/44000000.ocp/44e09000.serial/tty/ttyS0/power/wakeup
    root@am437x-hs-evm:~# cat  /sys/devices/platform/44000000.ocp/44e09000.serial/tty/ttyS0/power/wakeup
    enabled
    

    Bootlog:

    root@am437x-hs-evm:~# dmesg
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.94-gbe5389fd85 (oe-user@oe-host) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architec
    ture 8.3-2019.03 (arm-rel-8.36))) #1 PREEMPT Sun Apr 19 02:55:00 UTC 2020
    [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: TI AM437x GP 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 0xfcc00000
    [    0.000000] On node 0 totalpages: 516095
    [    0.000000]   Normal zone: 1728 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 196608 pages, LIFO batch:63
    [    0.000000]   HighMem zone: 319487 pages, LIFO batch:63
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM437x ES1.2 (neon)
    [    0.000000] random: get_random_bytes called from start_kernel+0xa4/0x434 with crng_init=0
    [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
    [    0.000000] pcpu-alloc: [0] 0 
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 514367
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=525a0f4c-02 rw rootfstype=ext4 rootwait
    [    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: 1982120K/2064380K available (9216K kernel code, 316K rwdata, 2736K rodata, 1024K init, 254K bss, 33108K 
    reserved, 49152K cma-reserved, 1228796K highmem)
    [    0.000000] Virtual kernel memory layout:
                       vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                       fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                       vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                       lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                       pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                       modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                         .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
                         .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
                         .data : 0x(ptrval) - 0x(ptrval)   ( 317 kB)
                          .bss : 0x(ptrval) - 0x(ptrval)   ( 255 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] OMAP L2C310: ROM does not support power control setting
    [    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000013] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000033] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000044] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000521] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000534] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000974] Console: colour dummy device 80x30
    [    0.001004] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.001011] This ensures that you still see kernel messages. Please
    [    0.001016] update your kernel commandline.
    [    0.001063] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
    [    0.090225] pid_max: default: 32768 minimum: 301
    [    0.090438] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.090463] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.091297] CPU: Testing write buffer coherency: ok
    [    0.091355] CPU0: Spectre v2: using BPIALL workaround
    [    0.092301] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.092467] rcu: Hierarchical SRCU implementation.
    [    0.092850] EFI services will not be available.
    [    0.093899] devtmpfs: initialized
    [    0.104519] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.104949] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.104974] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.108435] pinctrl core: initialized pinctrl subsystem
    [    0.109207] DMI not present or invalid.
    [    0.109664] NET: Registered protocol family 16
    [    0.111610] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.190178] cpuidle: using governor ladder
    [    0.190265] cpuidle: using governor menu
    [    0.198369] gpio gpiochip0: (gpio-0-31): added GPIO chardev (254:0)
    [    0.198475] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio-0-31)
    [    0.198518] OMAP GPIO hardware version 0.1
    [    0.199403] gpio gpiochip1: (gpio-32-63): added GPIO chardev (254:1)
    [    0.199495] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio-32-63)
    [    0.200389] gpio gpiochip2: (gpio-64-95): added GPIO chardev (254:2)
    [    0.200473] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio-64-95)
    [    0.209105] No ATAGs?
    [    0.209126] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [    0.209147] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.224978] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.225698] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-v3_3d[0]'
    [    0.226124] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-mmcwl[0]' - status (0)
    [    0.229383] SCSI subsystem initialized
    [    0.229952] media: Linux media interface: v0.10
    [    0.229998] videodev: Linux video capture interface: v2.00
    [    0.230119] pps_core: LinuxPPS API ver. 1 registered
    [    0.230128] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.230152] PTP clock support registered
    [    0.230355] EDAC MC: Ver: 3.0.0
    [    0.231430] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.232148] Advanced Linux Sound Architecture Driver Initialized.
    [    0.233347] clocksource: Switched to clocksource timer1
    [    0.242232] NET: Registered protocol family 2
    [    0.243095] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
    [    0.243136] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.243210] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.243301] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.243583] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [    0.243613] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [    0.243785] NET: Registered protocol family 1
    [    0.244378] RPC: Registered named UNIX socket transport module.
    [    0.244394] RPC: Registered udp transport module.
    [    0.244401] RPC: Registered tcp transport module.
    [    0.244407] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.244421] PCI: CLS 0 bytes, default 64
    [    0.246469] Initialise system trusted keyrings
    [    0.246774] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [    0.251548] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.252320] NFS: Registering the id_resolver key type
    [    0.252357] Key type id_resolver registered
    [    0.252365] Key type id_legacy registered
    [    0.252410] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.255034] Key type asymmetric registered
    [    0.255052] Asymmetric key parser 'x509' registered
    [    0.255120] bounce: pool size: 64 pages
    [    0.255188] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.255202] io scheduler noop registered
    [    0.255210] io scheduler deadline registered
    [    0.255468] io scheduler cfq registered (default)
    [    0.255481] io scheduler mq-deadline registered
    [    0.255489] io scheduler kyber registered
    [    0.258626] pinctrl-single 44e10800.pinmux: 199 pins, size 796
    [    0.262558] pwm-backlight backlight: GPIO lookup for consumer enable
    [    0.262569] pwm-backlight backlight: using device tree for GPIO lookup
    [    0.262593] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'
    [    0.262607] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'
    [    0.262616] pwm-backlight backlight: using lookup tables for GPIO lookup
    [    0.262624] pwm-backlight backlight: No GPIO consumer enable found
    [    0.262647] pwm-backlight backlight: backlight supply power not found, using dummy regulator
    [    0.262753] pwm-backlight backlight: Linked as a consumer to regulator.0
    [    0.313859] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.317408] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
    [    0.318172] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 31, base_baud = 3000000) is a 8250
    [    1.006537] console [ttyS0] enabled
    [    1.010717] omap8250 481a6000.serial: No clock speed specified: using default: 48000000
    [    1.019554] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 32, base_baud = 3000000) is a 8250
    [    1.031403] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator
    [    1.040859] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
    [    1.047843] omapdss_dss 4832a000.dss: Dropping the link to regulator.0
    [    1.058047] panel-simple display: display supply power not found, using dummy regulator
    [    1.066272] panel-simple display: Linked as a consumer to regulator.0
    [    1.072751] panel-simple display: GPIO lookup for consumer enable
    [    1.072757] panel-simple display: using device tree for GPIO lookup
    [    1.072783] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/display[0]'
    [    1.072797] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/display[0]'
    [    1.072807] panel-simple display: using lookup tables for GPIO lookup
    [    1.072815] panel-simple display: No GPIO consumer enable found
    [    1.084838] brd: module loaded
    [    1.097366] loop: module loaded
    [    1.104160] mdio_bus fixed-0: GPIO lookup for consumer reset
    [    1.104171] mdio_bus fixed-0: using lookup tables for GPIO lookup
    [    1.104178] mdio_bus fixed-0: No GPIO consumer reset found
    [    1.104202] libphy: Fixed MDIO Bus: probed
    [    1.124683] mdio_bus 4a101000.mdio: GPIO lookup for consumer reset
    [    1.124694] mdio_bus 4a101000.mdio: using device tree for GPIO lookup
    [    1.124719] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp@44000000/ethernet@4a100000/mdio@4a101
    000[0]'
    [    1.124734] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp@44000000/ethernet@4a100000/mdio@4a1010
    00[0]'
    [    1.124743] mdio_bus 4a101000.mdio: using lookup tables for GPIO lookup
    [    1.124750] mdio_bus 4a101000.mdio: No GPIO consumer reset found
    [    1.183416] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.191120] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.198600] libphy: 4a101000.mdio: probed
    [    1.202650] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Micrel KSZ9031 Gigabit PHY
    [    1.213518] cpsw 4a100000.ethernet: Detected MACID = 98:84:e3:a6:c5:b0
    [    1.220196] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
    [    1.226682] cpsw 4a100000.ethernet: ALE Table size 1024
    [    1.231971] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.240719] i2c /dev entries driver
    [    1.246623] cpuidle: enable-method property 'ti,am4372' found operations
    [    1.253996] sdhci: Secure Digital Host Controller Interface driver
    [    1.260208] sdhci: Copyright(c) Pierre Ossman
    [    1.265333] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [    1.265342] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [    1.265375] omap_hsmmc 48060000.mmc: No GPIO consumer cd found
    [    1.265639] omap_hsmmc 47810000.mmc: GPIO lookup for consumer cd
    [    1.265646] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
    [    1.265669] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp@44000000/mmc@47810000[0]'
    [    1.265683] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp@44000000/mmc@47810000[0]'
    [    1.265691] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
    [    1.265698] omap_hsmmc 47810000.mmc: No GPIO consumer cd found
    [    1.265707] omap_hsmmc 47810000.mmc: GPIO lookup for consumer wp
    [    1.265713] omap_hsmmc 47810000.mmc: using device tree for GPIO lookup
    [    1.265726] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/mmc@47810000[0]'
    [    1.265738] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/mmc@47810000[0]'
    [    1.265745] omap_hsmmc 47810000.mmc: using lookup tables for GPIO lookup
    [    1.265751] omap_hsmmc 47810000.mmc: No GPIO consumer wp found
    [    1.266210] omap_hsmmc 47810000.mmc: Linked as a consumer to regulator.2
    [    1.296459] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.303217] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.315220] NET: Registered protocol family 10
    [    1.321194] Segment Routing with IPv6
    [    1.325120] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.331945] NET: Registered protocol family 17
    [    1.336871] Key type dns_resolver registered
    [    1.341417] omap_voltage_late_init: Voltage driver support not added
    [    1.348854] Loading compiled-in X.509 certificates
    [    1.365923] gpio gpiochip3: Persistence not supported for GPIO 23
    [    1.365941] GPIO line 119 (SelEMMCorNAND) hogged as output/low
    [    1.372116] gpio gpiochip3: (gpio-96-127): added GPIO chardev (254:3)
    [    1.372210] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio-96-127)
    [    1.372689] gpio gpiochip4: Persistence not supported for GPIO 8
    [    1.372700] GPIO line 136 (SelLCDorHDMI) hogged as output/high
    [    1.378904] gpio gpiochip4: (gpio-128-159): added GPIO chardev (254:4)
    [    1.378993] gpiochip_setup_dev: registered GPIOs 128 to 159 on device: gpiochip4 (gpio-128-159)
    [    1.379370] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.384628] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.390779] gpiochip_find_base: found new base at 510
    [    1.391015] gpio gpiochip5: (omap-gpmc): added GPIO chardev (254:5)
    [    1.391104] gpiochip_setup_dev: registered GPIOs 510 to 511 on device: gpiochip5 (omap-gpmc)
    [    1.392068] omap2-nand 8000000.nand: GPIO lookup for consumer rb
    [    1.392077] omap2-nand 8000000.nand: using device tree for GPIO lookup
    [    1.392119] of_get_named_gpiod_flags: parsed 'rb-gpios' property of node '/ocp@44000000/gpmc@50000000/nand@0,0[0]' - status 
    (0)
    [    1.392298] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xdc
    [    1.398747] nand: Micron MT29F4G08ABAEAWP
    [    1.402780] nand: 512 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 224
    [    1.410562] Using OMAP_ECC_BCH16_CODE_HW ECC scheme
    [    1.415593] 10 fixed-partitions partitions found on MTD device omap2-nand.0
    [    1.422587] Creating 10 MTD partitions on "omap2-nand.0":
    [    1.428034] 0x000000000000-0x000000040000 : "NAND.SPL"
    [    1.434281] 0x000000040000-0x000000080000 : "NAND.SPL.backup1"
    [    1.441076] 0x000000080000-0x0000000c0000 : "NAND.SPL.backup2"
    [    1.447879] 0x0000000c0000-0x000000100000 : "NAND.SPL.backup3"
    [    1.454655] 0x000000100000-0x000000180000 : "NAND.u-boot-spl-os"
    [    1.461590] 0x000000180000-0x000000280000 : "NAND.u-boot"
    [    1.468045] 0x000000280000-0x0000002c0000 : "NAND.u-boot-env"
    [    1.474723] 0x0000002c0000-0x000000300000 : "NAND.u-boot-env.backup1"
    [    1.482066] 0x000000300000-0x000000a00000 : "NAND.kernel"
    [    1.489305] 0x000000a00000-0x000020000000 : "NAND.file-system"
    [    1.560274] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-vtt[0]' - status (0)
    [    1.599919] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz
    [    1.607468] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.613776] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator
    [    1.623127] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
    [    1.630082] DSS: OMAP DSS rev 2.0
    [    1.634600] omapdss_dss 4832a000.dss: bound 4832a400.dispc (ops dispc_component_ops)
    [    1.642914] omapdrm omapdrm.0: DMM not available, disable DMM support
    [    1.649748] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.656431] [drm] No driver support for vblank timestamp query.
    [    1.673065] Console: switching to colour frame buffer device 100x30
    [    1.684491] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    1.691250] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0
    [    1.699002] cpu cpu0: Linked as a consumer to regulator.5
    [    1.704570] cpu cpu0: Dropping the link to regulator.5
    [    1.709898] cpu cpu0: Linked as a consumer to regulator.5
    [    1.716735] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
    [    1.716746] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [    1.716790] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp@44000000/mmc@48060000[0]' - status (0)
    [    1.716813] gpio gpiochip3: Persistence not supported for GPIO 6
    [    1.716827] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
    [    1.725695] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.730342] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
    [    1.730348] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
    [    1.730367] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp@44000000/mmc@48060000[0]'
    [    1.730382] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp@44000000/mmc@48060000[0]'
    [    1.730391] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
    [    1.730399] omap_hsmmc 48060000.mmc: No GPIO consumer wp found
    [    1.730824] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.1
    [    1.765216] hctosys: unable to open rtc device (rtc0)
    [    1.771817] ALSA device list:
    [    1.774979]   No soundcards found.
    [    1.780093] Waiting for root device PARTUUID=525a0f4c-02...
    [    1.843661] mmc1: host does not support reading read-only switch, assuming write-enable
    [    1.856554] mmc1: new high speed SDHC card at address aaaa
    [    1.863477] mmcblk1: mmc1:aaaa SB32G 29.7 GiB 
    [    1.872851]  mmcblk1: p1 p2
    [    1.909593] random: fast init done
    [    1.993262] EXT4-fs (mmcblk1p2): recovery complete
    [    1.999361] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.007877] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    2.024649] devtmpfs: mounted
    [    2.029544] Freeing unused kernel memory: 1024K
    [    2.034378] Run /sbin/init as init process
    [    2.349193] systemd[1]: System time before build time, advancing clock.
    [    2.389019] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIB
    CRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    2.411315] systemd[1]: Detected architecture arm.
    [    2.467516] systemd[1]: Set hostname to <am437x-hs-evm>.
    [    2.781774] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), 
    but the local system does not support BPF/cgroup based firewalling.
    [    2.799127] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit usin
    g IP firewalling.)
    [    3.208282] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.215795] systemd[1]: Listening on Network Service Netlink Socket.
    [    3.253715] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.261013] systemd[1]: Listening on udev Kernel Socket.
    [    3.293965] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.301543] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    3.352284] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [    3.384211] systemd[1]: Reached target Remote File Systems.
    [    3.732015] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    [    4.574171] systemd-journald[83]: Received request to flush runtime journal from PID 1
    [    6.996110] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    7.009474] remoteproc remoteproc0: wkup_m3 is available
    [    7.024057] omap_rtc 44e3e000.rtc: char device (253:0)
    [    7.024088] omap_rtc 44e3e000.rtc: registered as rtc0
    [    7.422061] remoteproc remoteproc0: powering up wkup_m3
    [    7.494677] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 242888
    [    7.662083] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [    7.668739] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [    7.686644] ov2659 0-0030: GPIO lookup for consumer pwrdn
    [    7.686658] ov2659 0-0030: using device tree for GPIO lookup
    [    7.686686] of_get_named_gpiod_flags: can't parse 'pwrdn-gpios' property of node '/ocp@44000000/i2c@44e0b000/ov2659@30[0]'
    [    7.686702] of_get_named_gpiod_flags: can't parse 'pwrdn-gpio' property of node '/ocp@44000000/i2c@44e0b000/ov2659@30[0]'
    [    7.686710] ov2659 0-0030: using lookup tables for GPIO lookup
    [    7.686718] ov2659 0-0030: No GPIO consumer pwrdn found
    [    7.720768] ov2659 0-0030: Sensor detection failed (3030, 0)
    [    7.752849] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp@44000000/i2c@4802a000/tlv320aic3106@1
    b[0]'
    [    7.752875] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp@44000000/i2c@4802a000/tlv320aic3106@1b
    [0]'
    [    7.752976] tlv320aic3x-codec 1-001b: Linked as a consumer to regulator.1
    [    7.855966] ov2659 1-0030: GPIO lookup for consumer pwrdn
    [    7.855977] ov2659 1-0030: using device tree for GPIO lookup
    [    7.856004] of_get_named_gpiod_flags: can't parse 'pwrdn-gpios' property of node '/ocp@44000000/i2c@4802a000/ov2659@30[0]'
    [    7.856020] of_get_named_gpiod_flags: can't parse 'pwrdn-gpio' property of node '/ocp@44000000/i2c@4802a000/ov2659@30[0]'
    [    7.856029] ov2659 1-0030: using lookup tables for GPIO lookup
    [    7.856036] ov2659 1-0030: No GPIO consumer pwrdn found
    [    7.856861] tlv320aic3x-codec 1-001b: Linked as a consumer to regulator.10
    [    7.878211] pixcir_ts 1-005c: GPIO lookup for consumer attb
    [    7.878225] pixcir_ts 1-005c: using device tree for GPIO lookup
    [    7.878252] of_get_named_gpiod_flags: can't parse 'attb-gpios' property of node '/ocp@44000000/i2c@4802a000/pixcir_ts@5c[0]'
    [    7.878289] of_get_named_gpiod_flags: parsed 'attb-gpio' property of node '/ocp@44000000/i2c@4802a000/pixcir_ts@5c[0]' - sta
    tus (0)
    [    7.878362] gpio gpiochip1: Persistence not supported for GPIO 22
    [    7.878374] pixcir_ts 1-005c: GPIO lookup for consumer reset
    [    7.878379] pixcir_ts 1-005c: using device tree for GPIO lookup
    [    7.878398] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp@44000000/i2c@4802a000/pixcir_ts@5c[0]
    '
    [    7.878412] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ocp@44000000/i2c@4802a000/pixcir_ts@5c[0]'
    [    7.878421] pixcir_ts 1-005c: using lookup tables for GPIO lookup
    [    7.878428] pixcir_ts 1-005c: No GPIO consumer reset found
    [    7.878435] pixcir_ts 1-005c: GPIO lookup for consumer wake
    [    7.878440] pixcir_ts 1-005c: using device tree for GPIO lookup
    [    7.878453] of_get_named_gpiod_flags: can't parse 'wake-gpios' property of node '/ocp@44000000/i2c@4802a000/pixcir_ts@5c[0]'
    [    7.878466] of_get_named_gpiod_flags: can't parse 'wake-gpio' property of node '/ocp@44000000/i2c@4802a000/pixcir_ts@5c[0]'
    [    7.878472] pixcir_ts 1-005c: using lookup tables for GPIO lookup
    [    7.878478] pixcir_ts 1-005c: No GPIO consumer wake found
    [    7.878484] pixcir_ts 1-005c: GPIO lookup for consumer enable
    [    7.878489] pixcir_ts 1-005c: using device tree for GPIO lookup
    [    7.878502] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/ocp@44000000/i2c@4802a000/pixcir_ts@5c[0
    ]'
    [    7.878515] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/ocp@44000000/i2c@4802a000/pixcir_ts@5c[0]
    '
    [    7.878521] pixcir_ts 1-005c: using lookup tables for GPIO lookup
    [    7.878527] pixcir_ts 1-005c: No GPIO consumer enable found
    [    7.887231] ov2659 1-0030: Found OV2656 sensor
    [    7.950426] input: pixcir_tangoc as /devices/platform/44000000.ocp/4802a000.i2c/i2c-1/1-005c/input/input0
    [    8.026177] ov2659 1-0030: ov2659 1-0030 sensor driver registered !!
    [    8.048040] CAN device driver interface
    [    8.149077] c_can_platform 481cc000.can: c_can_platform device registered (regs=(ptrval), irq=60)
    [    8.312950] c_can_platform 481d0000.can: c_can_platform device registered (regs=(ptrval), irq=61)
    [    9.159909] omap-sham 53100000.sham: hw accel on OMAP rev 0.0
    [    9.275651] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1
    [    9.305224] omap-des 53701000.des: OMAP DES hw accel rev: 0.33
    [    9.372106] omap-aes 53501000.aes: will run requests pump with realtime priority
    [    9.403555] omap-des 53701000.des: will run requests pump with realtime priority
    [   11.498838] net eth0: initializing cpsw version 1.15 (0)
    [   11.665494] of_get_named_gpiod_flags: parsed 'row-gpios' property of node '/matrix_keypad0[0]' - status (0)
    [   11.665523] of_get_named_gpiod_flags: parsed 'row-gpios' property of node '/matrix_keypad0[1]' - status (0)
    [   11.665542] of_get_named_gpiod_flags: parsed 'row-gpios' property of node '/matrix_keypad0[2]' - status (0)
    [   11.665559] of_get_named_gpiod_flags: parsed 'col-gpios' property of node '/matrix_keypad0[0]' - status (0)
    [   11.665575] of_get_named_gpiod_flags: parsed 'col-gpios' property of node '/matrix_keypad0[1]' - status (0)
    [   11.666142] input: matrix_keypad0 as /devices/platform/matrix_keypad0/input/input1
    [   11.692840] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=
    4a101000.mdio:00, irq=POLL)
    [   11.830448] PM: bootloader does not support rtc-only!
    [   11.934989] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   11.961622] PM: Leaving EFUSE power domain active
    [   12.155610] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound0[0]'
    [   12.155634] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound0[0]'
    [   12.185468] asoc-simple-card sound0: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
    [   12.193243] asoc-simple-card sound0: ASoC: no DMI vendor name!
    [   18.510189] dwc3 48390000.usb: Failed to get clk 'ref': -2
    [   18.617950] OF: graph: no port node found in /ocp@44000000/ocp2scp@483a8000/phy@483a8000
    [   18.716842] dwc3 483d0000.usb: Failed to get clk 'ref': -2
    [   19.042684] remoteproc remoteproc1: 54434000.pru is available
    [   19.133818] pru-rproc 54434000.pru: PRU rproc node pru@54434000 probed successfully
    [   19.244312] remoteproc remoteproc2: 54438000.pru is available
    [   19.250216] pru-rproc 54438000.pru: PRU rproc node pru@54438000 probed successfully
    [   19.288175] usbcore: registered new interface driver usbfs
    [   19.309982] remoteproc remoteproc3: 54474000.pru is available
    [   19.335728] usbcore: registered new interface driver hub
    [   19.344144] pru-rproc 54474000.pru: PRU rproc node pru@54474000 probed successfully
    [   19.370592] usbcore: registered new device driver usb
    [   19.392091] remoteproc remoteproc4: 54478000.pru is available
    [   19.420645] pru-rproc 54478000.pru: PRU rproc node pru@54478000 probed successfully
    [   19.441229] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
    [   19.509923] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 1
    [   19.546088] xhci-hcd xhci-hcd.4.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x0000000002010010
    [   19.583567] xhci-hcd xhci-hcd.4.auto: irq 105, io mem 0x483d0000
    [   19.598218] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [   19.613582] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   19.633636] usb usb1: Product: xHCI Host Controller
    [   19.638558] usb usb1: Manufacturer: Linux 4.19.94-gbe5389fd85 xhci-hcd
    [   19.653531] usb usb1: SerialNumber: xhci-hcd.4.auto
    [   19.667953] hub 1-0:1.0: USB hub found
    [   19.686589] hub 1-0:1.0: 1 port detected
    [   19.697867] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
    [   19.715139] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 2
    [   19.722883] xhci-hcd xhci-hcd.4.auto: Host supports USB 3.0 SuperSpeed
    [   19.749285] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   19.764549] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
    [   19.772870] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   19.803688] usb usb2: Product: xHCI Host Controller
    [   19.808607] usb usb2: Manufacturer: Linux 4.19.94-gbe5389fd85 xhci-hcd
    [   19.823795] usb usb2: SerialNumber: xhci-hcd.4.auto
    [   19.846155] hub 2-0:1.0: USB hub found
    [   19.849999] hub 2-0:1.0: 1 port detected
    [   31.843482] vmmcwl_fixed: disabling
    [   63.623506] random: crng init done
    

    lsmod:

    root@am437x-hs-evm:~# lsmod
    Module                  Size  Used by
    xhci_plat_hcd          16384  0
    xhci_hcd              147456  1 xhci_plat_hcd
    usbcore               217088  2 xhci_plat_hcd,xhci_hcd
    pru_rproc              24576  0
    irq_pruss_intc         16384  1 pru_rproc
    pruss                  16384  1 pru_rproc
    dwc3                   73728  0
    udc_core               28672  1 dwc3
    usb_common             16384  3 udc_core,usbcore,dwc3
    ti_am335x_adc          20480  0
    snd_soc_simple_card    16384  0
    snd_soc_simple_card_utils    16384  1 snd_soc_simple_card
    pm33xx                 16384  0
    matrix_keypad          20480  0
    matrix_keymap          16384  1 matrix_keypad
    omap_des               20480  0
    des_generic            28672  1 omap_des
    omap_aes_driver        24576  0
    pruss_soc_bus          16384  0
    crypto_engine          16384  2 omap_des,omap_aes_driver
    omap_crypto            16384  2 omap_des,omap_aes_driver
    omap_sham              28672  0
    ti_emif_sram           16384  1 pm33xx
    dwc3_omap              16384  0
    am437x_vpfe            36864  0
    c_can_platform         16384  0
    c_can                  20480  1 c_can_platform
    can_dev                28672  1 c_can
    pixcir_i2c_ts          16384  0
    snd_soc_tlv320aic3x    57344  1
    ov2659                 16384  1
    v4l2_fwnode            20480  2 am437x_vpfe,ov2659
    wkup_m3_ipc            16384  1 pm33xx
    phy_omap_usb2          16384  3
    wkup_m3_rproc          16384  1
    rtc_omap               20480  2
    omap_wdt               16384  0
    remoteproc             49152  3 pru_rproc,wkup_m3_rproc,wkup_m3_ipc
    ti_am335x_tscadc       16384  1 ti_am335x_adc
    sch_fq_codel           20480  2
    

    And performing suspend shows this:

    root@am437x-hs-evm:~# echo mem > /sys/power/state
    [  154.934116] PM: suspend entry (deep)
    [  154.937746] PM: Syncing filesystems ... done.
    [  154.970511] Freezing user space processes ... (elapsed 0.001 seconds) done.
    [  154.979433] OOM killer disabled.
    [  154.982682] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    [  155.054499] GIC and Wakeupgen context save failed
    

    and nothing more compared to Hong's log. Any ideas what I'm doing wrong? Thanks

    marek

  • Hi Marek,

    Can you use console keyboard to resume if you don't run the command below?

    echo N > /sys/module/printk/parameters/console_suspend

  • Hi Bin,

    yes you're right it can suspend and wake from supend by pressing key on keyboard:

    root@am437x-hs-evm:~# echo enabled >  /sys/devices/platform/44000000.ocp/44e09000.serial/tty/ttyS0/power/wakeup
    root@am437x-hs-evm:~# 
    root@am437x-hs-evm:~# 
    root@am437x-hs-evm:~# echo mem > /sys/power/state
    [  188.314216] PM: suspend entry (deep)
    [  188.317845] PM: Syncing filesystems ... done.
    [  188.369974] Freezing user space processes ... (elapsed 0.001 seconds) done.
    [  188.378890] OOM killer disabled.
    [  188.382138] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    [  188.391289] Suspending console(s) (use no_console_suspend to debug)
    
    [  188.469357] GIC and Wakeupgen context save failed
    [  188.469357] pm33xx pm33xx: PM: Successfully put all powerdomains to target state
    [  188.469357] PM: Wakeup source UART
    [  188.494162] net eth0: initializing cpsw version 1.15 (0)
    [  188.597875] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=
    4a101000.mdio:00, irq=POLL)
    [  188.659030] usb usb1: root hub lost power or was reset
    [  188.659053] usb usb2: root hub lost power or was reset
    [  188.822634] OOM killer enabled.
    [  188.826133] Restarting tasks ... done.
    [  188.857234] PM: suspend exit
    

    But then it means that console suspend break it? Thanks.

  • Hi Marek,

    No, the behavior is expected. This command disables console suspend (which is on the UART), which also disables wakeup by UART.

  • Hi Bin,

    ok thanks a lot for suggestion. I think documentation was not clear in this case. 

  • Hi Bin,

    one more question. On board I'm using with 5.4 mainline kernel I have an issue with suspend that it hangs in __cpu_suspend https://elixir.bootlin.com/linux/v5.4.100/source/arch/arm/kernel/suspend.c#L35 do you have any idea how to debug that issue? 

    I saw that TI also have in git repos 5.4 kernel but I'm not sure if it's officially released with some SDK.

    Thanks.

  • Hi Marek,

    I just tested suspend/resume with mainline kernel v5.4.100 release, and it works fine on non-HS GP EVM. Attached below is the .config I used.

    am437x_config.v5.4.100

    I saw that TI also have in git repos 5.4 kernel but I'm not sure if it's officially released with some SDK.

    Yes, we are in the last stage of releasing the next Processor SDK with kernel v5.4 for AM437x. It will be available on ti.com in a month or two.