I largely agree with your terms, @Tyler. We use “Mujina” loosely for several things, so here is my go at the whole picture.
| Term | Meaning |
|---|---|
| Mujina | the project, and loosely any part of it, the way people use “Linux” |
| mujina-minerd | the mining daemon, the part in the Linux kernel’s role |
| mainline | the daemon’s source in 256foundation/mujina |
| fork | a modified copy of that source |
| Mujina distribution | any complete firmware built around mujina-minerd |
| Mujina OS | the project’s own distribution |
| derived distribution | a distribution built from Mujina OS, as Ubuntu is from Debian |
Android is a good example. Android is a Linux distribution, and it runs a fork of the Linux kernel. In the same way, the Nano 3S builds are Mujina distributions, and they run forks of mujina-minerd. They are not derived distributions, because they are built on Canaan’s Linux system and not on Mujina OS.
A distribution should probably have its own name and version numbers. Ubuntu is a Linux distribution, not Linux itself. In the same way, nano-mujina is a Mujina distribution, not Mujina itself.
@Karpuzmining asked whether we want Mujina to free machines like Canaan’s. Yes. The goal is for Mujina to drive any hashboard from any vendor, and for Mujina OS to run on any control board that can run Linux.
The line between Mujina and AxeOS has to do with the control processor. mujina-minerd is a Linux program. The Nano 3S and the S19 run Linux on their controllers, so Mujina belongs there. A Bitaxe has an ESP32 and does not run Linux, so AxeOS belongs there. The Bitair is the same, and as far as I know the Hammer miners are too.
Mujina does support the Bitaxe, but as a hashboard. The Bitaxe plugs into a Linux host over USB, and firmware on its ESP32 passes the chip’s serial bus through to mujina-minerd. The Bitaxe is easy to get, which makes it a good development board for Mujina, and it may find its way into small systems. Mujina is not meant to replace AxeOS on a standalone Bitaxe. For the same reason, I would resist calling anything Mujina that runs on a microcontroller without Linux, such as standalone firmware for a Bitaxe, a NerdQX, or a Bitair.
On the long-term plan, the counterpart of a firmware library and a flasher is Mujina OS and its installer. I am working on the first image now, for the Amlogic control board in the S19 and S21 series.
Mainline is how we will avoid fractured efforts. Distributions can differ in UI, images, and packaging as much as they like. Chip drivers, tuning, and pool handling will help all distributions once they are in mainline.
Admittedly, merging into mainline has been hard so far, because mainline’s structure has not been complete enough to show where new pieces belong. The next release of Mujina and Mujina OS will make that much clearer, and then merging can be a bigger focus of our effort over the next year. It’s amazing to see your progress in the forks! Over time, I would like us, as a community, to get good at contributing work up to mainline.