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.

AM4372: Deep sleep not available

Part Number: AM4372
Other Parts Discussed in Thread: TPS65218,

Hi TI Champs

There's an issue regarding suspend mode.

EVM Kit works fine as below.

================================

root@am437x-evm:/# cat /sys/power/mem_sleep

s2idle shallow [deep]

================================

However a custom board with customized SDK shows the s2idle only.

root@am437x:/# cat /sys/power/mem_sleep

[s2idle]

The board does not use the RTC input. and tried to modify PSDK latest release.

Can you help to figoure out why shallow and deep modes are not available from their custom board?

s2idle  - Suspend-To-Idle
shallow - Power-On Suspend or equivalent (if supported)
deep    - Suspend-To-RAM or equivalent (if supported)

Thanks.

Regards, 

Jack

  • Hi

    Customer didn't change the power management code.

    https://patchwork.kernel.org/project/linux-renesas-soc/patch/1487622809-25127-4-git-send-email-geert+renesas@glider.be/#20152529

    Should I modify it like the patch on the link above to support shallow and deep?

  • Hi Jack,

    Does the customer use TI Processor SDK for AM437x? If so, which version?

    Please attach the full kernel boot log.

  • Hi Bin Liu

    They have evalauted 07.03.00.005 (04 Jul 2021) for GP EVM, and 06_03_00_106 for HS EVM.

    Their custom board with both GP and HS versions show the same result.  They removed RTC circuit from their design as they arr not goind to use RTC only mode. 

    They could not figure out why shallow and deep sleep mode are not shown.

    Regards, 

    Jack

  • Hi Jack,

    Can you please ask the customer to provide the full kernel boot log?

  • Hi Bin Liu

    I could not get the full boot log yet. Instead they gave us the partial during test moment.

    1.	GP EVM Running 
    root@am437x-evm:~# cat /sys/power/mem_sleep         
    s2idle shallow [deep] => deep sleep is activated 
    root@am437x-evm:~# cat /sys/power/state
    freeze standby mem
    root@am437x-evm:~# echo mem > /sys/power/state
    [   81.017218] PM: suspend entry (deep)  => deep sleep enters
    [   81.101538] Filesystems sync: 0.080 seconds
    [   81.110140] Freezing user space processes ... (elapsed 0.002 seconds) done.
    [   81.119459] OOM killer disabled.
    [   81.122707] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    [   81.131766] printk: Suspending console(s) (use no_console_suspend to debug)
    	sleep enters (LCD off)
    …
    Wake up from deep sleep when Keyboard pressed event occurs via UART terminal (LCD turns ON)
    [   81.174480] pm33xx pm33xx: PM: Successfully put all powerdomains to target state
    [   81.174480] PM: Wakeup source UART 
    [   81.243741] cpsw 4a100000.ethernet: initializing cpsw version 1.15 (0)
    [   81.412720] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
    [   81.457931] usb usb1: root hub lost power or was reset
    [   81.457956] usb usb2: root hub lost power or was reset
    [   81.762439] OOM killer enabled.
    [   81.765601] Restarting tasks ... done.
    [   81.800430] PM: suspend exit
    
    root@am437x-evm:~# echo standby > /sys/power/state
    [  122.316930] PM: suspend entry (shallow) => shallow sleep  enters
    [  122.329412] Filesystems sync: 0.008 seconds
    [  122.337551] Freezing user space processes ... (elapsed 0.002 seconds) done.
    [  122.347713] OOM killer disabled.
    [  122.351099] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    [  122.360136] printk: Suspending console(s) (use no_console_suspend to debug)
    	sleep enters (LCD is Off)
    …
    Wake up from Sleep when Keyboard pressed event occurs via UART terminal (LCD is ON)
    [  122.401224] pm33xx pm33xx: PM: Successfully put all powerdomains to target state
    [  122.401224] PM: Wakeup source UART
    [  122.469045] cpsw 4a100000.ethernet: initializing cpsw version 1.15 (0)
    [  122.642650] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
    [  122.861796] OOM killer enabled.
    [  122.865252] Restarting tasks ... done.
    [  122.911027] PM: suspend exit
    
    2.	GP Custom board (named as AUM100 board) running
    root@am437x-aum100:~# cat /sys/power/mem_sleep
    [s2idle] => shallow, deep not supported
    root@am437x-aum100:~# cat /sys/power/state
    freeze mem => standby not supported 
    root@am437x-aum100:~# echo mem > /sys/power/state
    [   27.404708] PM: suspend entry (s2idle)
    [   27.535455] Filesystems sync: 0.126 seconds
    [   27.541219] Freezing user space processes ... (elapsed 0.001 seconds) done.
    [   27.549619] OOM killer disabled.
    [   27.552864] Freezing remaining freezable tasks ... (elapsed 0.000 seconds) done.
    [   27.561200] printk: Suspending console(s) (use no_console_suspend to debug)
    	Display freezed, But No difference in Power consumption, And Unable to wake up from UART' key pressed event
    

    I will ask to give us full kernel log once again.

    Thanks.

    Regards, 

    Jack

  • Attached the Kernel Boot Log

    ===========================================

    U-Boot SPL 2020.01 (Apr 20 2022 - 19:45:18 +0900)

    WDT:   Not found!

    Trying to boot from MMC1

    SPL: Please implement spl_start_uboot() for your board

    SPL: Direct Linux boot not active!

     

     

    U-Boot 2020.01 (Apr 20 2022 - 19:45:18 +0900)

     

    CPU  : AM437X-GP rev 1.2

    Model: ACROWELL AM437x AUM100

    DRAM:  256 MiB

    PMIC:  TPS65218

    NAND:  nand_base: device found, Manufacturer ID: 0x01, Chip ID: 0xda

    nand_base: AMD/Spansion S34ML02G1

    nand_base: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64

    256 MiB

    MMC:   OMAP SD/MMC: 0

    Loading Environment from FAT... *** Warning - bad CRC, using default environment

     

    Loading Environment from NAND... Scanning device for bad blocks

    *** Warning - bad CRC, using default environment

     

     

    AGAPAO>>get_ram_size=268435456

    Net:   No ethernet found.

    Hit any key to stop autoboot:  0

    switch to partitions #0, OK

    mmc0 is current device

    SD/MMC found on device 0

    switch to partitions #0, OK

    mmc0 is current device

    SD/MMC found on device 0

    4944384 bytes read in 298 ms (15.8 MiB/s)

    71541 bytes read in 12 ms (5.7 MiB/s)

    ## Flattened Device Tree blob at 88000000

       Booting using the fdt blob at 0x88000000

       Loading Device Tree to 8df15000, end 8df29774 ... OK

     

    Starting kernel ...

     

    [    0.000000] Booting Linux on physical CPU 0x0

    [    0.000000] Linux version 5.4.106-g023faefa70 (root@ubuntu) (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #21 PREEMPT Tue Jul 19 10:51:10 KST 2022

    [    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: ACROWELL AM437x AUM100

    [    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 0x8ac00000

    [    0.000000] CPU: All CPU(s) started in SVC mode.

    [    0.000000] AM437x ES1.2 (neon)

    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960

    [    0.000000] Kernel command line: console=ttyS0,115200n8 root=PARTUUID=082df6ab-02 rw rootfstype=ext4 rootwait

    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)

    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)

    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off

    [    0.000000] Memory: 195148K/262144K available (9216K kernel code, 318K rwdata, 3292K rodata, 1024K init, 260K bss, 17844K reserved, 49152K cma-reserved, 0K highmem)

    [    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] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.

    [    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] random: get_random_bytes called from start_kernel+0x2b4/0x470 with crng_init=0

    [    0.000000] /ocp@44000000/interconnect@44c00000/segment@100000/target-module@f0000/prcm@0/l4-rtc-cm@8500/l4-rtc-clkctrl@20 not found from clkctrl data.

    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz

    [    0.000015] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns

    [    0.000038] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns

    [    0.000050] OMAP clocksource: timer1 at 24000000 Hz

    [    0.000687] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns

    [    0.000697] OMAP clocksource: 32k_counter at 32768 Hz

    [    0.001408] Console: colour dummy device 80x30

    [    0.001480] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)

    [    0.090274] pid_max: default: 32768 minimum: 301

    [    0.090516] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)

    [    0.090538] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)

    [    0.091680] CPU: Testing write buffer coherency: ok

    [    0.091752] CPU0: Spectre v2: using BPIALL workaround

    [    0.092787] Setting up static identity map for 0x80100000 - 0x80100060

    [    0.092972] rcu: Hierarchical SRCU implementation.

    [    0.093076] EFI services will not be available.

    [    0.093507] devtmpfs: initialized

    [    0.110056] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4

    [    0.110612] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns

    [    0.110641] futex hash table entries: 256 (order: -1, 3072 bytes, linear)

    [    0.114664] pinctrl core: initialized pinctrl subsystem

    [    0.115591] DMI not present or invalid.

    [    0.116118] NET: Registered protocol family 16

    [    0.118351] DMA: preallocated 256 KiB pool for atomic coherent allocations

    [    0.150948] cpuidle: using governor ladder

    [    0.150992] cpuidle: using governor menu

    [    0.180126] No ATAGs?

    [    0.180151] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.

    [    0.180171] hw-breakpoint: maximum watchpoint size is 4 bytes.

    [    0.203256] debugfs: Directory '49000000.edma' with parent 'dmaengine' already present!

    [    0.203291] edma 49000000.edma: TI EDMA DMA engine driver

    [    0.206066] iommu: Default domain type: Translated

    [    0.209278] SCSI subsystem initialized

    [    0.209572] usbcore: registered new interface driver usbfs

    [    0.209649] usbcore: registered new interface driver hub

    [    0.209712] usbcore: registered new device driver usb

    [    0.210635] mc: Linux media interface: v0.10

    [    0.210697] videodev: Linux video capture interface: v2.00

    [    0.210814] pps_core: LinuxPPS API ver. 1 registered

    [    0.210824] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

    [    0.210852] PTP clock support registered

    [    0.210895] EDAC MC: Ver: 3.0.0

    [    0.212381] Advanced Linux Sound Architecture Driver Initialized.

    [    0.213809] clocksource: Switched to clocksource timer1

    [    0.224089] thermal_sys: Registered thermal governor 'fair_share'

    [    0.224097] thermal_sys: Registered thermal governor 'bang_bang'

    [    0.224114] thermal_sys: Registered thermal governor 'step_wise'

    [    0.224122] thermal_sys: Registered thermal governor 'user_space'

    [    0.224130] thermal_sys: Registered thermal governor 'power_allocator'

    [    0.224939] NET: Registered protocol family 2

    [    0.225826] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)

    [    0.225866] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)

    [    0.225900] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)

    [    0.225936] TCP: Hash tables configured (established 2048 bind 2048)

    [    0.226078] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)

    [    0.226104] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)

    [    0.226317] NET: Registered protocol family 1

    [    0.227011] RPC: Registered named UNIX socket transport module.

    [    0.227027] RPC: Registered udp transport module.

    [    0.227035] RPC: Registered tcp transport module.

    [    0.227042] RPC: Registered tcp NFSv4.1 backchannel transport module.

    [    0.227062] PCI: CLS 0 bytes, default 64

    [    0.229423] Initialise system trusted keyrings

    [    0.229781] workingset: timestamp_bits=14 max_order=16 bucket_order=2

    [    0.236270] squashfs: version 4.0 (2009/01/31) Phillip Lougher

    [    0.237194] NFS: Registering the id_resolver key type

    [    0.237243] Key type id_resolver registered

    [    0.237253] Key type id_legacy registered

    [    0.237313] ntfs: driver 2.1.32 [Flags: R/O].

    [    0.238234] Key type asymmetric registered

    [    0.238250] Asymmetric key parser 'x509' registered

    [    0.238311] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)

    [    0.238324] io scheduler mq-deadline registered

    [    0.238332] io scheduler kyber registered

    [    0.244882] OMAP GPIO hardware version 0.1

    [    0.250928] ti-sysc 44e3e074.target-module: clock get error for fck: -517

    [    0.273964] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400

    [    0.298963] ti-sysc 48322000.target-module: dts flag should be at module level for ti,no-reset-on-init

    [    0.313082] pinctrl-single 44e10800.pinmux: 199 pins, size 796

    [    0.380623] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled

    [    0.385659] omap8250 44e09000.serial: No clock speed specified: using default: 48000000

    [    0.386632] printk: console [ttyS0] disabled

    [    0.386747] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 67, base_baud = 3000000) is a 8250

    [    1.082424] printk: console [ttyS0] enabled

    [    1.090114] omap_rng 48310000.rng: Random Number Generator ver. 20

    [    1.096540] random: fast init done

    [    1.100190] random: crng init done

    [    1.128002] brd: module loaded

    [    1.142598] loop: module loaded

    [    1.153102] libphy: Fixed MDIO Bus: probed

    [    1.158497] usbcore: registered new interface driver cdc_ether

    [    1.164496] usbcore: registered new interface driver cdc_eem

    [    1.170250] usbcore: registered new interface driver cdc_ncm

    [    1.178312] dwc3 48390000.usb: Failed to get clk 'ref': -2

    [    1.190396] dwc3 483d0000.usb: Failed to get clk 'ref': -2

    [    1.200453] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller

    [    1.206106] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1

    [    1.214501] xhci-hcd xhci-hcd.0.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x0000000002010010

    [    1.224034] xhci-hcd xhci-hcd.0.auto: irq 86, io mem 0x483d0000

    [    1.230439] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04

    [    1.238794] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

    [    1.246067] usb usb1: Product: xHCI Host Controller

    [    1.250971] usb usb1: Manufacturer: Linux 5.4.106-g023faefa70 xhci-hcd

    [    1.257543] usb usb1: SerialNumber: xhci-hcd.0.auto

    [    1.263225] hub 1-0:1.0: USB hub found

    [    1.267132] hub 1-0:1.0: 1 port detected

    [    1.271557] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller

    [    1.277167] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2

    [    1.284923] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed

    [    1.291561] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.

    [    1.299843] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04

    [    1.308172] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1

    [    1.315445] usb usb2: Product: xHCI Host Controller

    [    1.320347] usb usb2: Manufacturer: Linux 5.4.106-g023faefa70 xhci-hcd

    [    1.326918] usb usb2: SerialNumber: xhci-hcd.0.auto

    [    1.332535] hub 2-0:1.0: USB hub found

    [    1.336432] hub 2-0:1.0: 1 port detected

    [    1.341055] usbcore: registered new interface driver cdc_acm

    [    1.346817] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

    [    1.354987] usbcore: registered new interface driver usbtest

    [    1.362138] gadgetfs: USB Gadget filesystem, version 24 Aug 2004

    [    1.368754] i2c /dev entries driver

    [    1.377290] cpuidle: enable-method property 'ti,am4372' found operations

    [    1.384948] sdhci: Secure Digital Host Controller Interface driver

    [    1.391162] sdhci: Copyright(c) Pierre Ossman

    [    1.397398] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)

    [    1.406189] omap_hsmmc 48060000.mmc: Got CD GPIO

    [    1.437267] sdhci-pltfm: SDHCI platform and OF driver helper

    [    1.445400] ledtrig-cpu: registered to indicate activity on CPUs

    [    1.452910] usbcore: registered new interface driver usbhid

    [    1.458602] usbhid: USB HID core driver

    [    1.466577] davinci-mcasp 4803c000.mcasp: IRQ common not found

    [    1.474398] NET: Registered protocol family 10

    [    1.480244] Segment Routing with IPv6

    [    1.484177] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver

    [    1.490993] NET: Registered protocol family 17

    [    1.496039] Key type dns_resolver registered

    [    1.500563] omap_voltage_late_init: Voltage driver support not added

    [    1.507881] Loading compiled-in X.509 certificates

    [    1.519190] mmc0: host does not support reading read-only switch, assuming write-enable

    [    1.536117] mmc0: new high speed SDHC card at address 59b4

    [    1.547904] mmcblk0: mmc0:59b4 USD00 14.8 GiB

    [    1.552964] omap-gpmc 50000000.gpmc: GPMC revision 6.0

    [    1.558211] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000

    [    1.566361] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xda

    [    1.572751] nand: AMD/Spansion S34ML02G1

    [    1.576758] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64

    [    1.584567] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme

    [    1.590021] 10 fixed-partitions partitions found on MTD device omap2-nand.0

    [    1.597043] Creating 10 MTD partitions on "omap2-nand.0":

    [    1.602487] 0x000000000000-0x000000040000 : "NAND.SPL"

    [    1.610594] 0x000000040000-0x000000080000 : "NAND.SPL.backup1"

    [    1.618348]  mmcblk0: p1 p2

    [    1.623462] 0x000000080000-0x0000000c0000 : "NAND.SPL.backup2"

    [    1.631230] 0x0000000c0000-0x000000100000 : "NAND.SPL.backup3"

    [    1.638995] 0x000000100000-0x000000180000 : "NAND.u-boot-spl-os"

    [    1.647032] 0x000000180000-0x000000280000 : "NAND.u-boot"

    [    1.654720] 0x000000280000-0x0000002c0000 : "NAND.u-boot-env"

    [    1.662206] 0x0000002c0000-0x000000300000 : "NAND.u-boot-env.backup1"

    [    1.670487] 0x000000300000-0x000000a00000 : "NAND.kernel"

    [    1.681943] 0x000000a00000-0x000020000000 : "NAND.file-system"

    [    1.687873] mtd: partition "NAND.file-system" extends beyond the end of device "omap2-nand.0" -- size truncated to 0xf600000

    [    1.902070] AGAPAO>> DCDC4 PWM

    [    1.913438] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 50 kHz

    [    1.919514] ti-sysc 44e3e074.target-module: clock get error for fck: -517

    [    1.928639] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 300 kHz

    [    1.945815] omap_reset_deassert: timedout waiting for gfx:0

    [    1.951482] ti-sysc: probe of 44000000.ocp:target-module@56000000 failed with error -110

    [    1.960915] core: _opp_supported_by_regulators: OPP minuV: 931000 maxuV: 969000, not supported by regulator

    [    1.970834] cpu cpu0: _opp_add: OPP not supported by regulators (300000000)

    [    1.979238] ti-sysc 44e3e074.target-module: clock get error for fck: -517

    [    1.987123] ti-sysc 44e3e074.target-module: clock get error for fck: -517

    [    1.996076] ALSA device list:

    [    1.999074]   No soundcards found.

    [    2.156173] EXT4-fs (mmcblk0p2): recovery complete

    [    2.164715] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)

    [    2.172938] VFS: Mounted root (ext4 filesystem) on device 179:2.

    [    2.187824] devtmpfs: mounted

    [    2.192769] Freeing unused kernel memory: 1024K

    [    2.197615] Run /sbin/init as init process

    INIT: version 2.96 booting

    [    2.632352] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)

    INIT: Entering runlevel: 5

    Starting syslogd/klogd: done

     

    _____                    _____           _         _

    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_

    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|

    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|

                  |___|                    |___|

     

    Arago Project http://arago-project.org am437x-aum100 /dev/ttyS0

     

    Arago 2020.09 am437x-aum100 /dev/ttyS0

     

    am437x-aum100 login: root

    root@am437x-aum100:~# cat /sys/power/mem_sleep

    [s2idle]

    root@am437x-aum100:~# cat /sys/power/state

    freeze mem

    root@am437x-aum100:~# echo mem > /sys/power/state

    [   37.028820] PM: suspend entry (s2idle)

    [   37.159716] Filesystems sync: 0.127 seconds

    [   37.165511] Freezing user space processes ... (elapsed 0.001 seconds) done.

    [   37.173957] OOM killer disabled.

    [   37.177202] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.

    [   37.185837] printk: Suspending console(s) (use no_console_suspend to debug)

  • The board does not use the RTC input. and tried to modify PSDK latest release.

    Hi Hack,

    I can reproduce the problem on AM437x GPEVM by removing the RTC driver /lib/modules/5.4.106-g023faefa70/kernel/drivers/rtc/rtc-omap.ko.

    So it is RTC related.

  • Hi Bin Liu

    Many Thanks for your kind support.

    Can you pleaee clarify if the deep sleep can be reached even after RTC driver is removed ?

    According to TRM, Deep sleep and RTC only mode looks separated. Hence thought was the deep sleep could be activated without RTC.

    Please let us know if the deep sleep can be allowed without RTC. 

    Thanks.

    Regards, 

    Jack

  • Let me riase a new thread to implement deep sleep mode without RTC.