Skip to main content
Visitor II
September 11, 2019
Solved

Initramfs: chip reboots after 30s seconds

  • September 11, 2019
  • 1 reply
  • 1390 views

Hi,

I'm playing around initramfs shell using initramfs-framework in Yocto environment.

I found that the chip abruptly reboots after some time (I think it's around 30 seconds) if the initramfs doesn't fully boot the system by entering systemd.

I think it's because of kind of system timer like watchdog, but I'm not sure.

Anyone know what's causing force reboot and how to workaround it? (disable, extending the timer, or implementing timer handler etc.)

    This topic has been closed for replies.
    Best answer by Bumsik Kim

    Hi,

    I figured out the solution by using busybox's watchdog command as described in the wiki article. Thank you very much!​

    1 reply

    Technical Moderator
    September 11, 2019

    Hi @Bumsik Kim​ 

    Please have a look to this page

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

    WDT Watchdog timer is enable by default in our delivery and you will find the way to disable it.

    Hope it help

    Olivier

    Bumsik KimAuthorAnswer
    Visitor II
    September 11, 2019

    Hi,

    I figured out the solution by using busybox's watchdog command as described in the wiki article. Thank you very much!​