With Ubuntu 26.04, compiling Firefox on Spacemit K3 was pretty simple and performant. It was only necessary to manually install a riscv build for wasi-sdk. Compiling Chromium on the other hand, has not been as clear. Ubuntu packages chromium, so it isn't necessary; however, it is unclear how it was built. The build process and tools for Chromium seem tethered to x86_64, most builds for riscv may be cross compiled.
1