Mujina running on S19XP Amlogic Control Board #63
keegreil
started this conversation in
Good Vibes
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
S19XP running LuxOS on an Amlogic control board, single hashboard with an AC Infinity fan, APW12 modded to accept 120V.
Manually monitoring hashboard bus voltage with multimeter and wall power draw with a power meter.
LuxOS was set to 110MHz to maintain a low stable ~10TH and 290W power draw.
To vibe this, I first cloned the main Mujina repo, the esp-miner repo from the Bitaxe, plus Skott's mujina-loader repo. Then gave my Codex agent the prompt below. I should have also cloned Skott's actual jPro repo, I didn't realize that was a separate repository.
My original prompt is here:
In this repository we have the latest main branch of the Mujina open source bitcoin mining firmware. My goal is to make whatever modifications are needed to make this run on an S19XP Amlogic control board. I have a test machine with this control board and a single hashboard setup in my garage and accessible on 192.168.1.X, currently running LuxOS. One dev managed to get this working on an S19 jPro with an Amlogic control board, so we should use his work as a starting point clearly: [GitHub - skot/mujina-loader · GitHub](https://github.com/skot/mujina-loader) . I also cloned this repo to this machine in the Github directory. Then we’ll have to incorporate any necessary protocol changes for driving the XP chips, as opposed to the jPro chips. The Bitaxe project may be useful here, as esp-miner firmware can drive both types of chips. That repo is cloned on this machine in the parent directory. Do some thorough research and make a detailed plan for how we can accomplish this. The miner is on a low static fan setting, using an Infinity Cloudline duct fan. The control board does NOT have any control over the fan speed. Therefore for cooling reasons, we need to keep the hashrate as low as reasonable. It is running stable on LuxOS at 110MHz right now. Once we get to the point of actually hashing, let’s use this pool for testing: stratum+tcp://pool.256foundation.org:3333 using the following user name: AgentP.Mujina_on_S19XPSAFETY NOTE: For actually loading the firmware and testing it, I specifically told my LLM not do run any actual code on the miner unless I was physically monitoring the machine for safety reasons. I didn’t want it mucking about automatically when I wasn’t standing there to unplug if things got out of hand.
Remaining issues:
UART is stuck at 115200, advancing this to 3M caused us to loose contact with the chips. Not sure why, but it’s hashing happily at 110MHz.
This relied on LuxOS to handle the secure boot exploit. Eventually it may be nice to not need LuxOS at all.
Code is here: GitHub - keegreil/mujina: Open-Source Bitcoin Mining Firmware · GitHub
All reactions