Bootup, Sleep and Wakeup on apalis IMX8QM

Hello…
Trying to find out 1. bootup time & 2. wakeup time of device after sleep.

  • Looked for commands to sleep and wakeup on apalis imx8QM module , could not find it in below link
    Suspend/Resume (Linux)

Please advise.

Thanks,
Shardul

Tried echo mem > /sys/power/state for apalis imx8
output : -sh: / sys/power/state permission denied

Is there any other way to put processor in sleep from command line

Thanks.

Hi @ShardulC

Welcome to Toradex community.

Could you provide software and hardware versions of your setup?

Hardware: Apalis imx8QM 4GB WB IT V1.1 on eval board 06805227
Software: Torizon

Thanks.

Hello @ashok.tx Any update about sleep & wakeup functionalities for imx8 board

Thanks.

Hi @ShardulC

Sorry for the delayed response.

  1. bootup time & 2. wakeup time of device after sleep.

systemd-analyze help you to get the boot time statistics.

ok, Thanks @ashok.tx . Using systemd-analyze I get something around 3.8 seconds for kernel and 38.4 for userspace.

Now for putting system in sleep I tried
echo mem > /sys/power/state and the output is -sh: sys/power/state permission denied
is there any work around to put system in sleep and wake it up.
Thanks.