Repository navigation
dev call 20261109
Ryan: Recording is on let's begin welcome everyone another two weeks has passed and we are here the big idea is that we go through all that's transpired in the last two weeks just keep everybody up to date to have discussions that are easier to have in real time like this Ideally, everything we talk about here, I'll go back and record somehow on the relevant discussion or bug or whatever in GitHub because we don't want to make this a replacement for communication via those normal channels. It's been working out pretty well this way for a while. I will turn to the agenda, which is shared on one of these panels in Jitsi. So, well, I guess this is redundant because everyone's here, but Daylight Savings happened and we agreed last time to shift the UTC time for the meeting. So here we are. It's now going to be 1800 for a while. It's probably why Eco asked me this morning, because I know he runs his life on UTC, right? Once you go utc you can't go back I know I know especially yeah it's just I don't know what it is it just stuck so I also updated the way the event was set up in the forum because it wasn't a recurring meeting so I used to have to remember to post it every time and then people were wondering like is this the monday or is it next monday or how do I plan a week ahead so I made created something you can subscribe to the best that I could create it in the forum it's not like an event that recurs it's more like you have to subscribe to a calendar but that seemed to be the best our forum software can manage so there's a link to that there if you want to put it on your calendar somehow
Ryan: I continue to work on these Antminer images here actually I'm working on Antminer and LibreBoard at the same time because part of the big idea is that this is as portable as possible. Among control boards and that the installer supports like different boards within it, within the same thing. So I'm trying to make sure I do at least two or three things at once so that all those decisions don't like paint me into a corner. I account for the differences at least sort of. So, that's going well. I had hoped to be, you know, done by now, but that's the way things go. It's the 20% of the details you didn't think that were going to be there that take 80% of the time. But it's going well, and I'm really pleased with the way this is turning out. So I can't wait to share this with everybody. When we get there, I will probably do some presentations. On how all this is structured, because it's a lot of stuff. So it'll be worth talking about. Let's see, there's sort of an out of place bullet item here. So I'll skip that and come back to it.
Ryan: Schnitzel was showing just before we started, but Schnitzel, you want to tell us about LibreBoard Rev3?
Schnitzel: Oh, sorry. I didn't know there wasn't. Oh, that's okay. I, yeah. So LibreBoard rev3, has been finished from a PCB. I sent it off to JLCPCB. And it has been created within, like I got it like in one and a half weeks, which is crazy. We fully, we also use the assembly service of JLCPCB, which, yeah, so you basically, you get the box, you take it out, it's fully assembled, you plug it in and it works. So I'm currently validating all the things. Most of it we had already validated with rev1. Like all the plugs and if it can actually mine and talk to Bitaxes and displays and touch screens and all this stuff there were a couple of things in rev1 that didn't work which were mostly the USB cc and the ethernet port and that's what I'm currently testing powers I am also I understood wrong what Texas Instrument means if they say it has an I2C interface. I was like, oh, cool. I can talk to it through I2C, which is true, but you also have to talk to it to enable it. I agree. That was dumb. That wasn't clear. So that is all fixed. Yes, I'm also building a test, a little test rig because I have five of them to test. And if we're doing more, right, we're gonna have to test a lot more to basically automatically test all of them. And yes, then I will write documentation on how to use it, what is possible and whatnot. And then, yeah, Eco and I, we're gonna talk about how we're gonna announce this, where, how, et cetera. And we're also gonna look at, because a lot of people have already raised that they would like to have one, Right now there's five of them in my home and one of them costs $200 because the whole order was a thousand dollars. So it's just like small capacity or small increments. So we're going to look at what if we want to do like a group order for more people, but we first have to figure out what the costs are of all of this, but yeah, they exist. They run and yeah, last finishing touches, but I think we're really, really close.
Ryan: Sweet. Any questions for schnitzel? Well, I can't wait to get my hands on one. And we'll have images for that right away. Pretty much. Cause I have, I already have a LibreBoard too strung up in the rack here. And working and this one should just drop in. So that's great.
Ryan: Let's go to our PR section. So I don't see him here, but Jayr has pushed a new version as of this morning of the SV2, branch after a couple rounds of review so this should be very close I need to get a look at it later this week but we've already been through a couple rounds so this should be close to final So that's very cool. I don't have this on the list, but I'll mention that we joined, as you probably know, we joined the SV2 working group a couple months ago. So that has a monthly meeting. And then... They have, we've been going back, you know, as we did our implementation, we had some feedback on some spec items for them and things come up in these meetings and they ask, you know, we're one of the few, I would say, representatives of like a client, an SV2 client in that meeting. There's lots of pools, but on the client side, so sometimes they'll ask like, for feedback on PRs and stuff to the spec from the perspective of clients. So it's cool that we can be there to sort of represent open source client world. So I should have listed them here, but I've given them a number of reviews on some things that are changing. In particular, there were really no well-specified timeouts in the protocol and schnitzel some of the things a lot of the things you found when you were red teaming us on SV1 were issues like where the pool and the client sort of get out of sync or the pool you know assuming the pool is not malicious let's just pretend the pool has bugs or something like the client can kind of get hung there's lots of places in the spec where the client should time out or expect something to happen but they were sort of under-specified in the spec. So I've tried to help bring our perspective to like, hey, we're gonna have to put a number in here somewhere and it's better if it becomes part of the spec rather than us just picking something out of thin air. And then those kinds of things becoming defacto standards, the way things happened with SV1. Like there are timing things in SV1, that the, for the best I can tell came because like CKPool put it in there 10 years ago. And then that just became standard. So, so anyway, we're trying to make, I think we are making, some good actual contributions to the SV2 world. And it's sort of fun to have open source in that conversation, right alongside with all the other big guns. So, That was always one of our goals for 256 and Mujina, right, is to put Bitcoin mining, open source mining back on the official map. It sort of feels like we're doing that in various ways, like at the Rust meetup I talked about last time and in this working group. So good stuff happening there.
Ryan: Next, I reviewed and gave some feedback on some small bugs that Jolade was fixing. I'm sorry if I've got that name wrong. That's at least the GitHub handle. Are you on the call? Do you want to talk about these? I don't think so. So I love it when people find little bugs and report them and especially when there's PRs for them. So I appreciate them working on these bug fixes and I will... There was just some fixes on them this morning. So I'll, I'll try to get those reviewed this week. That is the next two items on this agenda here. Oh, look, Ronald showed up just in time. We Johnny, johnny9. Added some or updated some of his PRs for BZM2 for the because he's working on the Bitaxe Bonanza, I couldn't think of the name. So it looks looks like in Skot and or Ronald, feel free to jump in here. It looks like Johnny has managed to rebase the stuff he was doing on top of the stuff Ronald is doing. Thus giving us sort of an answer to the question like, which of these two streams of work is gonna be based on which? So it looks like that's sort of resolving itself.
Ronald: Have you- Have his been merged in yet?
Ryan: No.
Ronald: Okay.
Ryan: No, it was just stuff Johnny pushed within the last week or two. Skot, do you want to say anything about the Bonanza and how that's been going, if you know?
Skot: Yes. Bonanza, the 1004 hardware is working real well. I'm going to be sending the first couple units out to developers. And Johnny's been doing a lot of work on getting support merged into ESP-Miner for that, because it's not Linux-based. And it seems to be working really well. Cool so he's got hardware and he's you know continuing to work on it with with actual latest gen hardware but yeah it's it's going very well I think you could probably have some more exact details but things seem to be going good I'll get you Ryan one of these so that you can check it out but hopefully with yeah RHAP-D put on it can be useful for testing some of this stuff when it's you know for getting it merged into Mujina
Ryan: Yeah very cool yeah I'm eager to get the bonanza and If there's any way, Ronald, I can help you also get an RDS over to me.
Ronald: Yes. Actually, I'll be at NABs next week. Are you going to that or not?
Ryan: No.
Ronald: Are you near Austin or not?
Ryan: No, I'm in Chicago.
Ronald: That's not near Austin at all.
Ryan: No, not this time. Okay. We'll coordinate that. Anyway, yeah. Once I get some hardware to run some of this stuff on, it will be much easier for me to start merging some of it. So that's the idea there.
Ryan: Any updates on your side RDS-wise, Ronald?
Ronald: I have two RDSs running right now. And the Nano 3S on Mujina. I've got everything running except calibration to parity with what Intel shipped. So that's what I've been working on last week. And this week we'll be continuing to work on trying to finish autotune. I'm not using the Intel. So it would calibrate on boot once. It had like a cold or warm calibration and I hated that. So I've got it rebuilt to where it's doing an autotune. But that's also a lot more work. So I'm real hopeful that it will be done this week. We made a lot of progress. Claude and I made a lot of progress last week. And now that I've got this morning, I got this second RDS hooked up. So I can do A-B testing, which was slowing down development a lot. So now I can test two approaches simultaneously. Hopeful that that auto-tune is finished this week before, yeah, I end up going to nabs.
Ryan: OK, cool. Thanks for the update.
Ronald: And that will be a general, that's like a general auto-tune Mujina feature improvement. So if it works and if you like it, you can consume it anywhere.
Ryan: Yeah, I look forward to seeing that. And I guess that lets me catch up on that bullet I skipped earlier, which is we had a little discussion about this in Telegram, but people might have missed it. The current S19 support in Mujina doesn't do anything after the chain is running at a particular voltage and frequency to optimize performance at autotune. So I'm curious to see Ronald's generalized calibration features and whether we can work that into the S19. Also. Yeah. I think in your case, it's pretty hard to even bring up that chain without something like that, right? Or can you
Ronald: Yeah, it's real picky about the BZM2 is real picky about how voltage is applied. You can't just light it up. So it steps up and the old way we would just step it up and then leave it wherever we had once we've reached our target. So we're so walking, we're walking small too. Like I've, that's part of what took it so long is I've been doing like 25 megahertz steps And so a run takes me like eight hours on one RDS. So I'm making the steps wider by what I want really high levels of granularity. I'd like this to be, like I said before, your reference platform, reference approach, where you could say, I want is as precise as I can specify and the machine will hold that. If that's overkill, then maybe we have like a course or a fine tune mode where you say, I don't really need this specificity of hitting this exact frequency or efficiency or temperature, which is what are hashing and coarsely get there and then fine tune if it's requested.
Ryan: Well, cool.
Ronald: I can't wait. Testing is slow.
Ryan: Can't wait to see it. Yeah. I, the Bitmain chips are a little easier to just light up. I mean, you take your time and, but you don't have to do so much back and forth measurement. And, as long as you're careful about it, you can sort of just light them up.
Ronald: You might not have to, you could test it on yours. See how crucially in the hardware is.
Ryan: Yes. Cool, well, I'll talk to you offline about the RDS shipping.
Ryan: Onto the next PR and, oh good, Sean is here. Sean, I see that you closed the Windows PR you had there. Believe it or not, I was just about to like give some feedback on that and then I saw you closed it. It are you just rewriting that or do you want to put it back or what
Sean: I gotta put it back can you hear me okay yeah yeah so because it had been there and like all my branches were getting out of control and things were getting stale so I went through and cleaned up and accidentally deleted the branch that's on mine that fit the PR and so I inadvertently GitHub automatically closed it so I still got all this stuff locally and I'll I'll reopen it and send it back in so okay cool well I'll I'll watch that since there's apparently lots of lots of people doing stuff on windows I'm I've been surprised by that but yeah I had a couple people contact me especially with the Nano 3S stuff we've been doing and they're like hey nick of this running on windows and good active chat right now and on x with somebody trying to do this so I was like all right well let's see
Ryan: That's cool.
Ronald: I see that, Dylan. I saw that, Dylan.
Ryan: I knew a comment from Dylan was coming.
Sean: Good to help us both. Dozens and dozens of us. Dozens of us.
Ryan: Right well I will watch for that and try to act on it once you quickly once you get it submitted a couple small PRs merged in the last week they were mostly just rust advisory fixes by updating dependency packages but per our policy of letting packages cool down for seven days so Couple of those closed.
Ryan: I added in here, I realized I didn't have notifications turned on for some of our other related repos, like the RHAP repo and the website repo and other things like that. So over the last two weeks I was like, oh shoot, there were some PRs here I missed. Sid, who is not here, was actually trying to use RHAP on a Bitaxe. And submitted a couple of PRs. He was trying to optimize. I was talking to him offline. He was trying to optimize for lower power usage because he was running this off of a battery. It's a cool story. Maybe I'll try to beg him to come tell us sometime. But he's trying to mine with a Bitaxe off of a battery system. The main purpose of the system, a battery and solar panel that runs a Meshtastic node in Seattle. So with the spare solar energy, he's trying to mine with the Bitaxe, but also stumbled across this use case I didn't anticipate, which is all this stuff sits outside and it gets cold in Seattle. And as it's been getting colder, his battery's been, you know, you'll wake up in the morning and the battery's too low to charge. But if you run the miner for a little while, you can warm the system up and then the battery can take more charge from the solar panel. So, I mean, in hindsight, it's sort of obvious, but I never thought about that. Like, oh, like, you know, it's not only spare energy from this solar panel. But it's almost more importantly, it's like this little heater that keeps this outside system working well as it gets colder in Seattle. So we'll see how that goes over the winter. In any case, he was trying to minimize power consumption on the Bitaxe going to things other than mining because this is off of a battery. So... One of the things he did was lower the clock rate on the ESP32, which seems to work. Skot, do you have any opinions on that? I know you're just in theory.
Skot: Sorry, this is kind of breaking my brain a little bit. So he's lowering the clock rate on the ESP32 to do what?
Ryan: Just to run it at a lower power because the power spent by the esp32 is power wasted in this battery that could have gone to mining instead
Skot: I see yeah I mean that will definitely lower the power of the esp32 I mean we're talking about milliamps here. Yes. If especially if you're using RHAP, you could make sure that Wi Fi is disabled.
Ryan: Mm hmm. I think. Yeah, I remember talking about that. I'm not sure if he did that or and or measured it. So
Skot: Yeah, the ESP32 is notoriously not a low-power microcontroller. There are lots of low-power microcontrollers. But yeah, I would just bang on it with your agent a little bit and see what can be done there. I'm sure some people have screwed around with this.
Ryan: Yeah. Anyway, so I thought that was cool, and I wanted to mention that use case for the... For the Bitaxe.
Skot: That is definitely a cool use case. Isn't that cool? Yeah, that's, that is really neat. I think that was the, that is the origin story of the Bitaxe was to try and make a solar native miner. So I think it's really neat. Love to see people working on it. Should post about it. I think there's, I've heard from several other people who are working on it from both the hardware and firmware standpoint.
Ryan: So yeah. Yeah. I got to get them to post about it. So he's got a Raspberry Pi nano in this box. So it like watches the battery state of charge and the solar panel and the temperature and all the other things and keeps the Meshtastic running all the time. But if it notices that the battery's topped off and there's extra solar energy, it will, it'll turn on the miner. And if it wants to raise the temperature of the box, it'll turn on a miner.
Skot: So kind of neat. Yeah, that's cool. That's cool. There's definitely some really cool stuff that can be done there. It's a whole exciting topic. There is a channel on the OSMU Discord where people have been talking about this over the years. So that might be a cool place to find some like-minded collaborators on this.
Ryan: Oh, cool. Well, I'll try to point him in that direction. Also, I just sort of want to duplicate this here in Chicago at our new Chicago Bitcoin hub. I know the guys are big into Meshtastic here and have like a repeater or a station up on the roof that works very similarly. So there needs to be a miner in there. Yeah, that's a great use case.
Ryan: All right, on to the issues list, where, oh, Sy is here. Sweet. Sy, if you've got a microphone working, do you want to tell us about the issue you filed about the temperature stuff on Bitaxe Gamma? Maybe he's in listen-only mode. I'll tell it for him unless he breaks in on me here. So Sy is in Africa, and I know he's been doing some cool stuff with some of the Bitaxe hardware, I think, because I left him a Bitaxe when I was there, and they also have their own Bitaxe hardware version called, Oh no, I'm going to forget it. Skot, do you remember bit Shaka? Am I right? Is that the Bitmain version? Bit Shaka. Yes. And he's been testing lots of stuff and he reviewed, one of Jayr's PRs for, fan control, And you probably don't remember this because this was several months ago when we were first doing stuff on Bitaxe. We never turned it on because things seemed mysterious about Bitaxe temperatures and differences between Mujina and ESP-Miner. I don't know how we didn't notice this till now, but Sy noticed that Mujina never sets the temperature diode calibration. And so it was reading temperatures off by like 15 degrees Celsius.
Skot: Oh, yeah. That was a whole fun rabbit hole to go down because we don't have any specs for the diode in these ASICs, in the Bitmain ASICs. And it turns out there's a lot of different properties of that diode that come into account when you're using them to measure temperature. And the EMC2101, which is what we use to read the diode temperature, has these two settings, gain and ideality, with a bunch of different options that presumably you would just read off your data sheet and plug in there. Through a lot of testing with a bunch of people on OSMU, sort of experimentally determined the best that we could come up with settings for that to plug into the EMC2101. So that is very much needed to put that in there to have a chance at reading appropriate temperatures.
Ryan: Yeah.
Skot: Now I tell you.
Ryan: Well, I mean, I don't know how we or none of our clankers noticed. Didn't notice this till now because the very least we could have done was just copy what ESP-Miner did and steal the calibration numbers. So that ought to make a big difference. And yeah, I need to apply it. Or well someone, this is an invitation for a PR here. Cause I don't think anyone acted on this yet, but, that's make a huge difference. Cause we use that temperature number all over the place, in the Bitaxe Gamma board, such as like capping the, you know, when it hits a certain limited Mujina will throttle back. So if we're throttling back at too high a temperature, that's a, an issue. So yes, PR is welcome. I guess I'll just say here because it'll end up in the transcript if anyone does this, I think. I would like there to be something in the constructor for this EMC driver for that object when you make one of these EMC2101s that forces you to think about this so that we didn't miss it like this. So one of the things you should have to pass in is some kind of configuration structure, which probably has lots of different things, but among them, this calibration should be in there so that if you wanna skip it, you sorta have to explicitly say that you're not putting in calibration rather than just having it be sort of a hidden feature. So that will stop us from making this mistake in the future.
Skot: There's one other thing which I guess while we're on the topic, I'll just throw out is these chips will not read the proper temperature unless the ASIC core is turned on. So if VDD is not on, you can still talk to the chip if the VDD IO voltages are on, but you will not be able to read the correct temperature off the diode until VDD is on.
Ryan: Yes. Good point. Thank you. I do remember noticing that. Don't know how I missed the calibration. So I do think the current implementation is careful about when it reads. It doesn't trust it if the rail is off. So there's that. Next issue, I think we already covered this. Yeah, I'm not sure why that got duplicated here. All right.
Ryan: On to stuff that I've just seen people talking about in the Telegram channel. Sean, and you want to tell us what you've been doing with the Nano 3S?
Sean: Yeah. So basically just, you know, talk with Aadhi a bit about it when we're at the Bitcoin Midwest Bitcoin Summit. And it's just one of those things that we keep seeing people talking about, like, oh, I have this Nano 3S, and it keeps failing. It overheats. The PSU is junk. And I was like, well. And we ended up getting one or two of those just testing random things. And we're like, man, the app sucks. I was like, there's got to be ways to improve this. And then I talked to Aadhi. He's like, yeah, I've got it working on there. He showed me what he had. I was like, you know what? I'm going to see if we can take this. And I want to try it and get Mujina. Because we'd already done some work with the Bitaxes and the NerdQ X++ with Mujina on Windows. And I was like, oh, it shouldn't be that hard to port that stuff over. And I wonder, you know, far could we go with it so you know just simply getting it on there okay now we got it on there now let's let's improve the auto tuning you know build on what Aadhi had done okay let's do that now next thing is like all right let's take it apart and can we put better fans on it so that we can go even further and push Mujina. And then, all right, now the next thing is, you know, we swapped that power supply. So I cut the cords, got rid of the USB-C. Now we have XT30 with a Mean Well. And so just really kind of expanding out the functionality and then just little things like improving the UI, doing the LEDs, different colors, just, you know, tis the season kind of thing. But yeah, no, it's been a fun little sort of endeavor and just really building Mujina. And it really goes to like, what we've been wanting to do is, you know, We've seen on other miners, you know, obviously the Bitaxe has Axios, but like being able to run multiple of these, running it on really S19s and trying to get that working. That was my first endeavor with it. I ended up breaking my control board. But, you know, it just, the fact that it's open source, we can iterate faster has just been nice. You know, we need to fix, need some change. Let's try this, put it in there. And it's been a fun little thing. It's been great. Cause like we've been working with Braiins on some other things for RS 19s and it's just, it's obviously slow. They have a lot of customers, a lot of things. So once you get to that level, getting anything fixed on your side, it's going to take a while.
Ryan: This is very cool. Well, it's been fun to watch you guys go back and forth. I have a Nano 3S here. So one of these days I'll pull it out of the box and try this on there.
Sean: We're finding the steps so thanks Ronald for going through it especially on the linux side you know I've had a couple people like you said asked me on the windows side we had a guy gaming with thanatos he sent me three of his Nano 3Ss was like hey do whatever you want to them and then you know whatever you guys want to put that on there send it back and we can work on something like that but we'll just have fun so he was too worried about it you know overheating and you know one of the psu's was just fritzing out a lot so he just didn't trust them at all and I was like well I think we can put some safety features in there at least and just to get some trust in there and you know have give people a different option it's been nice very cool
Ryan: Sean also made a really cool video that I've linked to here where he talks about 256 and Mujina and goes through a lot of stuff he did with this board. Very well done, Sean. Thank you.
Sean: Thanks. Yeah. I took a couple of different runs and I kept, I actually had a long, much longer video where I was going to actually go through all the steps and all that. And I was like, I need to cut it off. Just do an intro, show what we've done, what it's capable of doing, and then do some more videos later on just to help share. Yeah.
Ryan: That's awesome. Well, thanks for all the kind words in there. And, I noticed that you mentioned, the hardware compatibility page was a little bit out of date. So I wanted to mention here that that website repository is also in GitHub. I put some links here. And PRs are welcome to that if anyone wants to add their branch to that. Just make a PR there, and I will see it.
Sean: I think once you get your images and stuff done the things get you know consolidated down onto the main branch it would be easier for folks to figure out what is supported on whose branch or which fork that kind of thing so I think that that's just the other issues just consolidating all this work down so yep it's all just one-stop shop for folks and then you know on the side the loading aspect of it you know that's why we built the Tauri app so we can load this stuff fast and easy but yeah that's going to be another key to adoption is really
Ryan: Yeah. Yeah, cool. Well, I'm interested to see what you'll think of the S19 installer and whether we can plug these in together so that it's more one stop.
Sean: So are these images just sort of standalone installers? You point it at a control board and it's just an embedded mode embedded onto the, like, LibreBoard or Amlogic boards?
Ryan: Yes. Mm-hmm.
Sean: Then to build the images is there like it is there going to be an easy process so say we wanted S21 support or moving into hydro or something like that or S23 how I mean like this that's one of the complaints I have like with LuxOS there's only a small amount of boards that they support right whereas Braiins and finish support everything out there so just trying to understand what how what's the process is there going to be a process or how hard would it be to add on catch up and have a much broader reach and support for boards?
Ryan: Well, there are multiple layers to it. I mean, obviously, whatever hash boards the unit has has to be have to be supported in Mujina. So that's like down in the Mujina process driver layer. But once that's there, then then there's the issue of like, well, how do I put this image onto this control board? So Pretty soon out of the gate, we'll have these Amlogic control boards covered and LibreBoard, of course. So there's also some porting necessary to get that image building process to build for a different control board, like in some of these other miners. But if support is in both of those places, then we should be able to fold it in. I mean, the idea is that Like you're saying, it becomes as much of a one-stop shop as possible. You download the Mujina loader or whatever we end up calling it. And then anything we support, you should be able to load an image from that that loader program. And so it's not in these images, like the tooling and stuff that builds these, the ideas that you don't have to start from scratch for a new system. It can be ported around. So I guess we'll just see how that turns out after we start doing it. And that's why, you know, I'll have plenty to talk about soon here when, when these are, released well we'll all talk about like how all the pieces fit together and what needs to be modified where and such
Skot: And don't forget we need to figure out how to jailbreak each of these boards
Ryan: It's true so I certainly know that for s20 for for the Amlogic boards both both sizes of them and the most modern version I have, but I don't think we know that yet for Whatsminer boards, right?
Skot: We do, we do know for Whatsminer boards. Oh, okay. I haven't published that yet, but we've got that. But one of the issues is, it depends what the latest Bitmain firmware has been installed on the board. Bitmain is actively trying to plug these holes that people are using to jailbreak these boards. And the way they do that is with a new firmware. And in a lot of cases, the firmware is, the new firmware from Bitmain will burn fuses on the Amlogic chip and so even if you could revert back it doesn't doesn't fix the particular exploit so there's a huge cat in the mouse game there but I would say just as a general rule if you want to keep your control board compatible with third-party firmware Mujina etc don't just update your your bitmain stock firmware
Ryan: Yeah, agreed.
Sean: I guess, I mean, stepping back to me, wouldn't it just make sense to, obviously, LibreBoard's going to be sort of the first-class system, right? We want folks to use that, right? And if you want to use it with your own, like, JPro, KPro boards, you're going to need AditBoards to convert the ribbon interface to USB-C. But wouldn't it be easier to just use BigQuery? To sort of just drop in for the Amlogic that's already Mujina ready, you just plug your board in and as long as Mujina supports it should just be plug and play in theory, right? There's all the logic blocking, all that stuff's going to be on the Amlogic board. Like you said, if it's just going to be a cat and mouse game of fixing what Bitmain tries to put in the way and we have to keep bashing down walls, it's just going to be a never ending race.
Skot: Yeah I think that's I think that's exactly right. Because you know we're we release everything open source so every time. You know, a new exploit is found living capacity with a new version and presumably every new miner they ship is going to come with the latest firmware on it with that exploit already patched usually permanently so. So I do think that. Having our own control board solution down the line, you know, like a drop-in replacement for all the different miners is a good idea. We've been toying around with some different ideas there. I think, you know, Bitcoin is a good idea. You know, it does require a separate computer to actually run Mujina. So there's a lot involved there that's especially good for development on these. But we've been playing around with some ideas.
Sean: Yeah, but you can use just a small Raspberry Pi or something like that, right?
Skot: Yeah, yeah, totally.
Sean: We build a small little Braiins that can plug into it. Or the USB just goes right to your computer. We got Windows support.
Skot: Totally, totally. There's a bunch of different options. And I do think to have full control over your machine, you really do need to drop the stock control board.
Ryan: Yeah. Yeah, totally agree with that philosophy, Sean. And originally, I was hesitant to even target these Amlogic boards. But it seemed like we could cover what was out there today. And the thing is, they're so cheap, and they're already there. So, like, if we want, like, in, like, at Gridless, for example, they have a whole site that's S19s. And if... If we want to be able to show up there and say, hey, we should run Mujina on this whole thing. It's going to be so much easier if we can just reuse the control boards that are already installed in those miners. So I think for as long as we can, as long as it's not too much trouble, we'll try to support some of these built-in control boards. But yeah, long-term, we don't want to waste too much time on the arms race.
Skot: Yeah, you can get these stock control boards for less than 20 bucks. That's just like insanely cheap.
Ryan: We're never going to be able to meet that. It's crazy. So, Skot, what is the latest version of Bitmain firmware you're aware of? Cause I've seen all the way up to 2025 on an S21 board. Which is definitely different than the S19's firmware wise and how much they've locked it down. Although I can exploit that one too. But have you seen anything newer than 2025?
Skot: Yeah, I've been looking at the 2026. I think there's an early 2026 image. It definitely permanently disables the USB port, which is a huge bummer. So you need a network exploit. And I do believe there are network exploits to do it. So that will allow a network install, which is really the gold standard. So I think for now, we're good. But obviously, this can change. Personally, I really like having the USB port for a lot of different things like adding Wi-Fi, accessories, stuff like that. Yeah. And I should say that the 2026 firmware doesn't, it just disables booting from the USB port. So I think, I think you can still use it once the machine's booted. So there's still some work to be done there.
Ryan: That's what I see here on the 2025 S21 board. Okay. It just doesn't boot. You can't put it into that bootloader mode anymore.
Skot: Yeah, I need to wrap my head a little bit more around what is exactly going on with the 2026 image. For a while, I was very hesitant to update any of my boards because there's no going back. But I have updated one of them, but I had already made some changes to the boot args. So yeah. Yeah, we got to do a little bit more there. It's pretty complicated.
Ryan: Yeah, that'll be interesting. Well, what I've got here up to 2025, so I guess I don't have the latest, but... Like you say, you have to come in over the network on that board. And the bummer is that you can brick it and there's no way to recover from certain forms of bricking because you can't get into this USB loader mode anymore. Whereas on the S19 board, you could erase that whole NAND and still recover because you can boot into that USB mode. And load everything back on. So that's the only downside I'm having. The Mujina loader is going to come in over the network, so that's fine. But unfortunately, the S21s are a little more fragile because you don't have this backup plan of, well, if I brick it completely, at least I can get back to the... At least I can reload it with the USB mode. So that's the big difference I'm finding so far.
Skot: Well, I did get a hold of a good supply of S21 Pro control boards. So now I'm less hesitant to try stuff out and permanently break them. Yeah. So we can give it a shot.
Ryan: Cool. I also put in the notes here the little USB to APW12 thing you teased.
Skot: Oh yeah. I haven't gotten any of those made yet. So I don't, I don't know if it works well, but, I just straight up vibe coded a, USB to APW12, power supply data connector, like converter. So, that's, that's up on GitHub. If anyone wants to, be the Guinea pig and get them made and try it out. It's pretty simple. It should be fine. Yeah, then you can control, that would be good for something like LibreBoard if you wanted to connect it to a full Antminer setup. So now you can turn on and off and adjust the output voltage of a Bitmain power supply.
Sean: So this would just go to one of the USB-C ports on the back, the ones that Schnitzel showed standing up? Is that the intent of the design?
Skot: Yeah, exactly. I mean, you can use it for whatever, but you can think of it as like the AditBoard is for the hash board data connector. The APW-meister, as it's called, is the AditBoard for the power supply data connector.
Ryan: I was surprised to see you stray from your RP2040 family.
Skot: Yeah, we can blame K1. He's been hyping these WCH microcontrollers. They're really cheap. I think the part that I have on there is like 30 cents. And I've always wanted to give it a try. And we don't need any of the PIO stuff from the RP2040 on this build. So yeah, I wanted to give it a try. Full disclosure, I have... Not got any of these made, and I have not attempted the firmware for that WCH microcontroller, but on paper, it looks good.
Ryan: Cool. Well, that'll be fun.
Ryan: We're almost running out of time, but who knows something about the Heatbit Air and how that's constructed?
Skot: I know quite a bit about it. The Heatbit Air is a Bitaxe Gamma inside almost exactly. And they have released the hardware schematics for that open source props to them for doing that. We're still waiting on the firmware from them. But I should I should probably post this but I made a I ported support for the Bit Air to ESP-Miner and that's working it's running in my office so yeah it's it's the only change is that the Bit Air is powered over USB c at 15 volts I believe so they have a little bit of a change to the voltage input to the Bitaxe gamma and then that it also has like a little control panel on the front that you can use to change the fan speed and you can change you can turn it on and off via that so just had to add support for that but it's pretty cool it's Yeah, it's really simple. I mean, it appears to be an off-the-shelf desktop air purifier with literally just a Bitaxe Gamma with some slight modifications stuck inside.
Ryan: Does the Bitaxe Gamma still offer a usable USB port?
Skot: It does. Yeah, it has the same USB port on it on the inside. So like it's this cylinder and it has two halves and it just takes like a small little turn to unlock it and open it up. You don't need any tools. You can open it up and then the Bitaxe Gamma is just sitting right there. It has a USB port on the inside that you can use to program the ESP32. That's really, really easy to work on.
Sean: Hmm. But that's powered by USB or Bitaxe's barrel.
Skot: Yeah so they changed the power input from the Bitaxe barrel connector to a different USB port usbc port on the back oh so they're not through the same connector they're not through the same connector there's like a separate like the Bitaxe gamma it's just a data like no power is connected on the inside and then the outside is I believe just power but they're both usbc ports why 15 volts well so USB power delivery it has these voltage and current specifications and it can do five volts and it can do 12 volts but it's not technically rated for enough current to power a Bitaxe at 5 volts and 12 volts so I believe that 15 volts is the first like proper USB power delivery spec that can deliver enough power
Sean: So yeah, so that's what the current Nano 3S power supply does too. It goes 5 to 28.
Skot: Yeah, I mean, obviously, you could do whatever you want. But I think that because they just use an off-the-shelf power supply with USB-C, it just maintains those specs. And so they got it bumped up to 15 volts, which is the first one that they can deliver enough current to get the power that the Bitaxe needs with a little bit of headroom.
Ryan: And maybe they needed 12 for the fan or something.
Skot: Yeah yeah I'm sure they do
Ryan: Cool so I guess in theory you could drive you could do some work and drive that with Mujina
Skot: Oh absolutely yeah you could yeah you'd have to figure out how to get that internal USB port to the outside so that you can close it up and actually have the air go through the filter but you could you could definitely load bitaxe-raw on this and or RHAP and power it from Mujina or put your Raspberry Pi or whatever in there also. I don't know, Mujina, on that. There you go.
Ryan: Well, cool. All right. Lots to work on. Anybody have anything else before we wrap?
Skot: If you do get a Bit Air, I would be very cautious about running the firmware that comes with it. I love the Heatbit, guys. Like that they're building on Bitaxe but some people in the community did some disassembly of the stock firmware and it phones home like a mofo so just be aware of that
Ronald: Will anyone be at nabs next week
Ryan: Just you guys are too cool whatever all right
Ryan: You've got an event, Andy, coming up. You want to hock that?
PizzAndy: Yeah. Can you guys hear me? Yep. Yeah. So next week at Manhattan, Mad Cat Fab Labs, I think is what it's called. I can't keep it. Yeah dr kelly and Aadhi and I will be there giving a presentation on Proof of Print and stuff we're doing and should be a good time so that's sorry that's November 16th it's in the village it's near PubKey it's like down the street or something like that yeah like I said it should be a good time very cool
Ryan: And if you're in Chicago next week, I'm giving a talk at the Chicago Bitcoin Collective, which doubles as a restaurant. Hit me up if you want more details about that. I don't think anybody else is in Chicago, but. All right, well, thanks for joining everybody. Keep up the good work and we'll talk again in two weeks. See you in the ether.
Ronald: Yep, see you.
Ryan: Thanks, man.
Dev-call summaries and transcripts live in the Dev Calls discussion category. Transcript pages here are linked from their discussion threads.