Skip to content

x530: Enable watchdog

Chris Packham u-boot 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 0 repliesNew
  2. v33 patches 0 repliesSuperseded
  3. v22 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches0 repliesSuperseded

Changes in v4 from the cover letter

- use DIV_ROUND_UP to avoid setting the timeout to 0.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3watchdog: orion_wdt: support SPL usagedrivers/watchdog/orion_wdt.c+1 -31 reply
2/3watchdog: orion_wdt: take timeout value in msboard/CZ.NIC/turris_omnia/turris_omnia.c drivers/watchdog/Kconfig drivers/watchdog/orion_wdt.c+21 -52 replies
2/3watchdog: orion_wdt: take timeout value in ms+0 -00 replies
2/3watchdog: orion_wdt: take timeout value in ms+0 -00 replies
3/3arm: mvebu: x530: Enable watchdog in SPL and U-Bootarch/arm/dts/armada-385-atl-x530-u-boot.dtsi board/alliedtelesis/x530/x530.c configs/x530_defconfig+57 -02 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchStefan Roese
1/3R-b
2/3R-b
2/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [U-Boot] [PATCH v4 0/3] x530: Enable watchdog

We've seen some issues with the x530 under extreme conditions where the DDR gets into a bad state. Generally this results in an application crash followed by a lock-up in u-boot.

Enabling the watchdog prevents the lock up and will let the DDR training have another go. Sometimes this recovers but even a reboot loop is better than a complete lockup.

Changes in v4:
- use DIV_ROUND_UP to avoid setting the timeout to 0.

Changes in v3:
- new
- specify timeout in milliseconds

Changes in v2:
- update commit message

Chris Packham (3):
watchdog: orion_wdt: support SPL usage
watchdog: orion_wdt: take timeout value in ms
arm: mvebu: x530: Enable watchdog in SPL and U-Boot

 arch/arm/dts/armada-385-atl-x530-u-boot.dtsi |  4 ++
 board/CZ.NIC/turris_omnia/turris_omnia.c     |  2 +-
 board/alliedtelesis/x530/x530.c              | 48 ++++++++++++++++++++
 configs/x530_defconfig                       |  5 ++
 drivers/watchdog/Kconfig                     |  1 +
 drivers/watchdog/orion_wdt.c                 | 27 ++++++++---
 6 files changed, 79 insertions(+), 8 deletions(-)
Signature · 1 line
2.20.1