Open ericr3r opened 3 months ago
Interesting, I am currently on vacation. I will take a look once I am back. You could also submit this change to meson linux mainline git. If it's working properly, this could be a mainline enhancement as well.
@alexcaoys Thinking about this more, having the watchdog being disabled by default may be by design. I was able to solve it by creating an overlay and combining it with the existing overlay. The only changes that you may want to pull is in the linux-6.6.defconfig
since they would be needed as well.
My overlay for reference:
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target-path = "/soc/bus@ffd00000/watchdog@f0d0";
__overlay__ {
status = "okay";
};
};
};
can verify that watchdog is not enabled with the default defconfig and becomes enabled with
CONFIG_WATCHDOG_SYSFS=y
CONFIG_MESON_GXBB_WATCHDOG=y
In the current configs, the watchdog isn't enabled. In my fork, I made the following changes which seem to work.
The changes to the overlay could probably be made in another overlay but from what I can tell
CONFIG_MESON_GXBB_WATCHDOG
is the proper watchdog.