Skip to main content
Visitor II
September 27, 2019
Question

stm32mp157c-dk2 Linux rebooting after 30sec

  • September 27, 2019
  • 3 replies
  • 913 views

Hi,

I'm trying to learn world of embedded linux by trial and error, so I got myself STM32MP157c-dk2.

I have followed the instructions from here: https://wiki.st.com/stm32mpu/wiki/STM32MP1_Developer_Package

and here: https://www.digikey.com/eewiki/display/linuxonarm/STM32MP1

First tried to use only the digikey instructions, but the USB-ports are not working with that one, other than that the board was functioning.

So I compiled kernel and u-boot as told in wiki.st, prepared sd-card and moved everything on the card.

I tried my board with Debian: https://rcn-ee.com/rootfs/eewiki/minfs/debian-10.1-minimal-armhf-2019-09-16.tar.xz

and Ubuntu: https://rcn-ee.com/rootfs/eewiki/minfs/ubuntu-18.04.3-minimal-armhf-2019-09-16.tar.xz

Board boots up and OS starts, but afrer about 30 seconds it reboots again.

Here is the print from booting the board: https://pastebin.com/Z4pAKr5N

Any ideas what I'm doing wrong here?

Thanks.

    This topic has been closed for replies.

    3 replies

    Technical Moderator
    September 27, 2019

    Look like a watchdog reset occurs (your log mention it is enabled and it is set at 32sec by default).

    valtteriAuthor
    Visitor II
    September 27, 2019

    Thanks, found the 32sec from u-boot.cfg files. How do I get that value changed? Always gets back to the default 32 after compilation.

    Technical Moderator
    September 27, 2019

    Hi @Valtteri Kenkkilä​ 

    This need to be configured in Device Tree

    Please refer to :

    https://wiki.st.com/stm32mpu/wiki/IWDG_device_tree_configuration

    Hope it help

    Olivier