Skip to content
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

Watchdog reboot after Ctrl-C of aplay #16

Open
roelfdiedericks opened this issue Oct 3, 2023 · 2 comments
Open

Watchdog reboot after Ctrl-C of aplay #16

roelfdiedericks opened this issue Oct 3, 2023 · 2 comments

Comments

@roelfdiedericks
Copy link

Using kernel 5.15.114, and DTS as per the examples on a MT7628AN by Hilink on OpenWRT 22

Board i'm using is a waveshare Audio HAT https://www.waveshare.com/wiki/WM8960_Audio_HAT and I'm using the HAT's refclk, so no refclk defined in the DTS

When playing a 16 bit 48k wav file through aplay, and the process is interrupted, e.g. using Ctrl-C or SIGNIT the board hangs and eventually the watchdog timer reboots the board.

Tried various things such as https://forum.openwrt.org/t/i2s-freezing-on-mt7628/81140/2 but still having the same issue

There's no kernel output or anything, just the watchdog reset message.

An ideas?

@roelfdiedericks
Copy link
Author

Apologies, here's the relevant DTS config.

codec: wm8960@1a {
compatible = "wlf,wm8960";
reg = <0x1a>;
wlf,shared-lrclk;
wlf,hp-cfg = <0 0 0>;
wlf,gpio-cfg = <1 0>;
};

@roelfdiedericks
Copy link
Author

I also sometimes get the following output from aplay before it hangs

aplay piano2.wav
Playing WAVE 'piano2.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
underrun!!! (at least 0.029 ms long)
underrun!!! (at least 0.028 ms long

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

1 participant