I have AGH installed on my Spitz, but I don’t recall if the QCA9531 CPU (same as Mudi) used 32-bit mips or mips LE for the AGH install to /opts. For the mips_24kc, I’d try the 32-bit mips first (uname -m shows mips).
These commands from SSH work on a variety of platforms too to figure out the architecture.
opkg print-architecture
ubus call system board
uname -m