[PATCH] ARM: stm32: Power cycle Buck3 in reset on DHSOM
Marek Vasut
marex at denx.de
Thu Jun 15 08:44:34 CEST 2023
On 5/29/23 03:57, Marek Vasut wrote:
Hello again,
[...]
>> So the backup domain is loosed on ST board with STPMIC1 only when the
>> power
>>
>> is removed and not for reset or for power off.
>
> Thank you for the clarification.
>
> I should check suspend/resume on EV1 soon ...
We do have this problem on EV1 too I'm afraid:
# U-Boot 2f4664f5c3e ("Merge branch '2023-06-14-assorted-fixes'")
$ git clean -fqdx ; make stm32mp15_basic_defconfig && make -j$(nproc)
$ dd if=u-boot-spl.stm32 of=/dev/sdX1 && dd if=u-boot-spl.stm32
of=/dev/sdX2 && dd if=u-boot.img of=/dev/sdX3
# Linux next 925294c9aa184 ("Add linux-next specific files for 20230615")
U-Boot SPL 2023.07-rc4-00008-g2f4664f5c3e (Jun 15 2023 - 08:36:52 +0200)
RAM: DDR3-DDR3L 32bits 533000kHz
WDT: Started watchdog at 5a002000 with servicing every 1000ms (32s timeout)
image entry point: 0xc0100000
U-Boot 2023.07-rc4-00008-g2f4664f5c3e (Jun 15 2023 - 08:36:52 +0200)
CPU: STM32MP157FAA Rev.Z
Model: STMicroelectronics STM32MP157C eval daughter on eval mother
Board: stm32mp1 in basic mode (st,stm32mp157c-ev1)
Board: MB1263 Var4.0 Rev.C-03
...
boot as usual into Linux with initramfs for simplicity sake
...
$ cat /proc/cmdline
console=ttySTM0,115200 no_console_suspend
# Suspend the system repeatedly (failure happens after 2-3 wake up cycles)
$ while true ; do rtcwake -s 100 -m mem ; done
wakeup from "mem" at Sat Jan 1 00:03:11 2000
[ 39.316598] PM: suspend entry (deep)
[ 39.318905] Filesystems sync: 0.000 seconds
[ 39.324327] Freezing user space processes
[ 39.328194] Freezing user space processes completed (elapsed 0.001
seconds)
[ 39.334006] OOM killer disabled.
[ 39.337158] Freezing remaining freezable tasks
[ 39.342777] Freezing remaining freezable tasks completed (elapsed
0.001 seconds)
[ 39.426015] Disabling non-boot CPUs ...
[ 39.448635] Retrying again to check for CPU kill
[ 39.451909] CPU1 killed.
U-Boot SPL 2023.07-rc4-00008-g2f4664f5c3e (Jun 15 2023 - 08:36:52 +0200)
RAM: DDR3-DDR3L 32bits 533000kHz
DDR invalid size : 0x4, expected 0x40000000
DRAM init failed: -22
### ERROR ### Please RESET the board ###
Press RESET button
U-Boot SPL 2023.07-rc4-00008-g2f4664f5c3e (Jun 15 2023 - 08:36:52 +0200)
RAM: DDR3-DDR3L 32bits 533000kHz
DDR invalid size : 0x4, expected 0x40000000
DRAM init failed: -22
### ERROR ### Please RESET the board ###
More information about the U-Boot
mailing list