Skip to content

Does not reboot after WDOG reset. #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bamkrs opened this issue Apr 3, 2019 · 2 comments
Open

Does not reboot after WDOG reset. #4

bamkrs opened this issue Apr 3, 2019 · 2 comments

Comments

@bamkrs
Copy link

bamkrs commented Apr 3, 2019

If the linux watchdog /etc/watchdog is used and the WDOG triggers an reset, uboot stops after unpacking the kernel - where it should load the DTB - and prints:

ERROR: Did not find a cmdline Flattened Device Tree

After powercycling, the device/uboot boots just fine.

@lw-karo
Copy link
Contributor

lw-karo commented Apr 3, 2019 via email

@dargo600
Copy link

dargo600 commented Nov 5, 2021

I have had seen this issue as well on the Sept 18th 2020 release of uboot for tx6 specifically the TX6U-8030 hardware. The reproduce scenario was have watchdog enabled in the kernel but with no daemon running. Then sudo touch /dev/watchdog0.

I would sometimes observe that it repeatedly attempts to reboot more than 3 times and then switches to the rescue partition. Sometimes it reboots so frequently and change the reboot cause from WDOG to POR. Though this doesn't always happen. I think when that happens the wdreset=1 uenv variable will no longer be set.
bootcount will either be 3 or 4 because it reboots so many times after failing to find the flattened device tree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants