R-Car/Boards/Yocto-Gen3-CommonFAQ/How to run the "Suspend to RAM"

From eLinux.org
< R-Car‎ | Boards/Yocto-Gen3-CommonFAQ
Revision as of 22:21, 20 August 2020 by Y.H. (talk | contribs) (Created page with "== How to run the "Suspend to RAM" == # ulcb# i2cset -f -y 7 0x30 0x20 0x0f # ulcb# echo mem > /sys/power/state # Power ON(SW8) See also: * FAQ: R-Car/Boards/Yocto-Gen3-Com...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How to run the "Suspend to RAM"

  1. ulcb# i2cset -f -y 7 0x30 0x20 0x0f
  2. ulcb# echo mem > /sys/power/state
  3. Power ON(SW8)

See also:

Log:

root@h3ulcb:~# i2cset -f -y 7 0x30 0x20 0x0f
root@h3ulcb:~# echo mem > /sys/power/state
[   27.629078] PM: suspend entry (deep)
[   27.656183] Filesystems sync: 0.023 seconds
[   27.661306] Freezing user space processes ... (elapsed 0.001 seconds) done.
[   27.669725] OOM killer disabled.
[   27.672953] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[   27.681560] printk: Suspending console(s) (use no_console_suspend to debug)
[    0.000147] NOTICE:  BL2: R-Car H3 Initial Program Loader(CA57)
[    0.004583] NOTICE:  BL2: Initial Program Loader(Rev.2.0.6)
[    0.010116] NOTICE:  BL2: PRR is R-Car H3 Ver.3.0
[    0.014785] NOTICE:  BL2: Board is Starter Kit Rev.1.0
[    0.019897] NOTICE:  BL2: Boot device is HyperFlash(80MHz)
[    0.025324] NOTICE:  BL2: LCM state is CM
[    0.029366] NOTICE:  BL2: AVS setting succeeded. DVFS_SetVID=0x53
[    0.035341] NOTICE:  BL2: CH0: 0x400000000 - 0x47fffffff, 2 GiB
[    0.041203] NOTICE:  BL2: CH1: 0x500000000 - 0x57fffffff, 2 GiB
[    0.047078] NOTICE:  BL2: CH2: 0x600000000 - 0x67fffffff, 2 GiB
[    0.052953] NOTICE:  BL2: CH3: 0x700000000 - 0x77fffffff, 2 GiB
[    0.058843] NOTICE:  BL2: DDR3200(rev.0.40)
[    0.074269] NOTICE:  BL2: [WARM_BOOT]
[    0.084142] NOTICE:  BL2: DRAM Split is 4ch(DDR f)
[    0.087442] NOTICE:  BL2: QoS is default setting(rev.0.11)
[    0.092885] NOTICE:  BL2: DRAM refresh interval 1.95 usec
[    0.098242] NOTICE:  BL2: Periodic Write DQ Training
[    0.103270] NOTICE:  BL2: Lossy Decomp areas
[    0.107401] NOTICE:       Entry 0: DCMPAREACRAx:0x80000540 DCMPAREACRBx:0x570
[    0.114485] NOTICE:       Entry 1: DCMPAREACRAx:0x40000000 DCMPAREACRBx:0x0
[    0.121397] NOTICE:       Entry 2: DCMPAREACRAx:0x20000000 DCMPAREACRBx:0x0
[    0.128312] NOTICE:  BL2: v1.5(release):af9f429-dirty
[    0.133321] NOTICE:  BL2: Built : 01:18:19, Jul 30 2020
[    0.138508] NOTICE:  BL2: Normal boot
[    0.142140] NOTICE:  BL2: Skip loading images. (SuspendToRAM)
[   27.790852] Disabling non-boot CPUs ...
[   27.791309] CPU1: shutdown
[   27.808891] psci: Retrying again to check for CPU kill
[   27.808896] psci: CPU1 killed.
[   27.810293] CPU2: shutdown
[   27.828905] psci: Retrying again to check for CPU kill
[   27.828909] psci: CPU2 killed.
[   27.830236] CPU3: shutdown
[   27.848890] psci: Retrying again to check for CPU kill
[   27.848894] psci: CPU3 killed.
[   27.856891] CPU4: shutdown
[   27.856897] psci: CPU4 killed.
[   27.857923] CPU5: shutdown
[   27.876890] psci: Retrying again to check for CPU kill
[   27.876895] psci: CPU5 killed.
[   27.878098] CPU6: shutdown
[   27.896907] psci: Retrying again to check for CPU kill
[   27.896911] psci: CPU6 killed.
[   27.897971] CPU7: shutdown
[   27.916887] psci: Retrying again to check for CPU kill
[   27.916891] psci: CPU7 killed.
[   27.917649] Enabling non-boot CPUs ...
[   27.917876] Detected PIPT I-cache on CPU1
[   27.917918] CPU1: Booted secondary processor 0x0000000001 [0x411fd073]
[   27.918336] CPU1 is up
[   27.918487] Detected PIPT I-cache on CPU2
[   27.918506] CPU2: Booted secondary processor 0x0000000002 [0x411fd073]
[   27.918791] CPU2 is up
[   27.918937] Detected PIPT I-cache on CPU3
[   27.918957] CPU3: Booted secondary processor 0x0000000003 [0x411fd073]
[   27.919238] CPU3 is up
[   27.919434] Detected VIPT I-cache on CPU4
[   27.919478] CPU4: Booted secondary processor 0x0000000100 [0x410fd034]
[   27.920065] CPU4 is up
[   27.920211] Detected VIPT I-cache on CPU5
[   27.920238] CPU5: Booted secondary processor 0x0000000101 [0x410fd034]
[   27.920666] CPU5 is up
[   27.920812] Detected VIPT I-cache on CPU6
[   27.920838] CPU6: Booted secondary processor 0x0000000102 [0x410fd034]
[   27.921381] CPU6 is up
[   27.921532] Detected VIPT I-cache on CPU7
[   27.921560] CPU7: Booted secondary processor 0x0000000103 [0x410fd034]
[   27.922073] CPU7 is up
[   28.031540] usb usb2: root hub lost power or was reset
[   28.031654] usb usb1: root hub lost power or was reset
[   28.409209] OOM killer enabled.
[   28.412343] Restarting tasks ... done.
[   28.416776] PM: suspend exit
root@h3ulcb:~#