Skip to content
View in the app

A better way to browse. Learn more.

Learn more

No watchdog on N2 with current (5.8) and dev (5.9) kernels

Featured Replies

Currently no /dev/watchdog device on N2 with -current and -dev armbian kkernel.

But watchdog present in -legacy.

 

I see meson-wdt kernel module present on image, I transplant meson_wdt segment from dts file of legacy kernel to dev and current.

diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts
index 819afc748828..18990208f269 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts
@@ -226,6 +226,20 @@ hdmi_connector_in: endpoint {
 			};
 		};
 	};
+	
+	wdt: watchdog@0xffd0f0d0 {
+		compatible = "amlogic, meson-wdt";
+		status = "okay";
+		default_timeout=<10>;
+		reset_watchdog_method=<1>; /* 0:sysfs,1:kernel */
+		reset_watchdog_time=<2>;
+		shutdown_timeout=<10>;
+		firmware_timeout=<6>;
+		suspend_timeout=<6>;
+		reg = <0x0 0xffd0f0d0 0x0 0x10>;
+		clock-names = "xtal";
+		clocks = <&xtal>;
+	};
 
 	sound {
 		compatible = "amlogic,axg-sound-card";

No success.

No any sign watchdog presence.

 

What I miss?

Solved by chewitt

Guest
This topic is now closed to further replies.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.