Cannot wake from deep sleep on imx8m (Google Coral dev board)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Cannot wake from deep sleep on imx8m (Google Coral dev board)

跳至解决方案
2,165 次查看
everybodysays
Contributor I

Hi,

I'm using the Google Coral Dev Board (i.mx8m SoC) running BalenaOS , and I'm trying to wake the board from deep sleep.

I'm entering deep sleep using

echo mem > /sys/power/state

I then try to exit by using one of the UARTs. I enable it using

echo enabled > /sys/devices/platform/30880000.serial/tty/ttymxc2/power

and then just send characters via usb to the UART from a host machine. This all works fine if I put the board into what I assume is the system idle state using

echo freeze > /sys/power/state,

but not with the deep sleep state (I never get access to the terminal, it just hangs). I'm sure the UART connection is all fine as I can communicate to and from the device using it. I have also tried using usb to trigger wake events but with no luck. The board has no power button, but does have USB, UART, ethernet, and GPIO.

Can anyone offer any suggestions as to why this would work putting it into the freeze state, but not the deep sleep state? Would this be more likely to work with GPIO pins instead?

Many thanks for your time.

标签 (1)
1 解答
3 回复数
2,029 次查看
marc3
Contributor I
2,028 次查看
everybodysays
Contributor I

Confirmed to be working. Thanks so much for the quick response!

0 项奖励
回复
2,028 次查看
marc3
Contributor I

Hello from balena! Thank you for reporting!

we raised an issue here Investigate wake up from suspend · Issue #17 · balena-os/balena-coral · GitHub 

0 项奖励
回复