sometimes when switching the DevTerm on/off there is a loud “plock” coming out of the speaker
yeah, right now the ALSA UCM daemon is responsible for turning on/off the speaker amplifier, but on a forceful shutdown it doesn’t seem to have a chance to do that. I don’t know the audio subsystem super well, but there must be a solution to this, since I don’t think it happens with the Armbian builds using the earlier es8323 driver. I’ll have to step through that code again or look more at the datasheet.
When the device is powered off forcefully by pressing the power button until it goes off, the next time I switch it on it is not coming up. I need to switch it off again and power on again. However, I can prevent that situation when I remove the batteries after switching it off. When I plug them back again the device will come up normally.
I’ve seen this happen a few times, mostly before the Rockchip MIPI-DSI suspend/restore fix was added, but most of the time it comes back up for me still if I power back on. I suspect this might be related to (4). There’s definitely something that doesn’t get turned off all the way with the forceful power-off.
Is there a way to cross compile the kernel for manjaro?
There is! I avoid building test kernels using manjaro-arm-tools for the same reason. Instead, I create a makepkg-aarch64.conf
file (based on Nadia Holmquist’s work on bringing up the Pinebook Pro) that sets CARCH, CHOST, CROSS_COMPILE, etc. to point at the relevant aarch64 tools (pacman -S aarch64-linux-gnu-gcc aarch64-linux-gnu-binutils
to install the AArch64 cross-compilation toolchain) and then pointing makepkg
at that config and building like you would any other PKGBUILD.
The only caveat, is I’ve needed to update the references to strip
in the PKGBUILD
to use the AArch64 strip
from the cross-compiler binutils, which I do by replacing strip
with $CHOST-strip
in the PKGBUILD
(I’m in the process of moving, and the machine I’ve been using for DevTerm development isn’t set back up yet, otherwise I’d share more in the way of code to do it.)