Pages:
Author

Topic: Lucky Miner LV07 - Firmware wanted (Read 687 times)

?
Activity: -
Merit: -
February 05, 2025, 07:41:21 AM
#39
Hello JohnnyBitGoode

I know the procedure for flashing an ESP32 MCU. This is how I got my firmware onto the LV07 using the bitaxetool.
Yes, exactly: my own firmware! I have explained everything in the German thread.

In a nutshell:
- The LV07 with its 2x BM1366 is practically identical to the Bitaxe Ultra-Hex, only with 2 instead of 6 ASIC chips.
- I adapted the firmware from TinyChipHub and made it work for the LV07. So far my LV07 works perfectly.

You can find my firmware at:
Repository: https://github.com/un-painted/ESP-Miner-TCH/tree/unpainted_2.3.3_lv07
Binaries: https://github.com/un-painted/ESP-Miner-TCH/releases see under “Assets”

Warning: I take no responsibility for my firmware. So far everything works fine. But I am not a hardware specialist. And if you break something when flashing the ESP32, it's not my fault.

Enjoy!

Hello unpainted.

Are you familiar with using a jTAG device with a 6 pin probe attached?
If so, I can send you a copy of my LV07 v1.0.0 backup factory firmware and you can flash your LV07 back to life with the jTAG and probe.

...

Thank you for your offer! Unfortunately, I was unable to restore my backup of the 1.1.0 firmware. And since I only have one LV07, I couldn't make a second dump of the firmware.

But: I no longer need the LuckyMiner firmware as I'm using my own firmware. I leave it to others who want to go back to the LuckyMiner version to contact you.



Hi there.

yes my Lucky LV07 run on 12V 6A and the Bitaxe run on 5V 6A
?
Activity: -
Merit: -
February 05, 2025, 06:25:53 AM
#38
Hello unpainted.

Are you familiar with using a jTAG device with a 6 pin probe attached?
If so, I can send you a copy of my LV07 v1.0.0 backup factory firmware and you can flash your LV07 back to life with the jTAG and probe.
If you take off one of the metal panels on the LV07, it's the one on the left if you're looking directly at the LCD screen, you'll see the jTAG probe points.
I bought both the jTAG and 6 pin probe from AliExpress.

I did the same thing as you and tested several other firmwares on the LV07. But because I learned how to flash my Bitaxe MAX (which has no USB port) and LV06 using the jTAG, I was able to revive them! Luckily I had 2 other LV07 miners and I saved a copy from one of them and flashed it back to the non working one without any problems. The only mistake I made, was not making a backup of my LV07 first before I flashed it as it was my newest LV07 with the newer 1.1.0 firmware!

Regards johnnyBytes...

Hi there, my LV07 the 6 pin probe is at the end next to reset button and ESP32 chip
It dead I will try to flash it back to live.
Same ESP32 chip as Biteaxe Gamma 601 this one did change the wifi settings and KAPUT reflash via USB -C port default factory setting.
https://i.pinimg.com/736x/a4/b5/9d/a4b59d1fbb81761152a1e14f9779ed9b.jpg
?
Activity: -
Merit: -
January 23, 2025, 12:52:15 AM
#37


Please start a new thread for the LV08 here in the forum.
I will not buy an LV08, but I can give you support with the firmware if you wish.

newbie
Activity: 1
Merit: 0
January 22, 2025, 10:15:27 PM
#36
The people at Lucky Miner have made it easy for themselves again with the LV08. It really looks as if three chains are operated with three ASICs each. All you have to do is set the number of ASICs to 9 in the Ultra-Hex firmware. There could possibly be problems with the double 12V power supply, but I'm not familiar with that.

Once I do a backup of the factory installed firmware of the LV08, I'll have a look inside the firmware file and see what board version the LV08 has been given. That should give us a clue as to what Bitaxe version the LV08 is closely related to!

Although the LV08 might show the board version on the Logs page. I'll check out some other videos to see if I can get confirmation that way...

EDIT:
Well we're out of luck getting the board version, but we have 3 x TMP546 voltage regulators as shown in the logs in this video:

https://www.youtube.com/watch?v=2ik0vlN5b0g&t=219s
?
Activity: -
Merit: -
January 22, 2025, 04:08:46 PM
#35
...
At first I thought there would be 10 x BM1366 ASIC chips, but watching the tear-down video I'm pretty sure there is exactly 9 chips. Possibly 3 voltage regulators (underneath the heat-sink) supplying power to the 3 rows of 3 x ASIC chips. I'll definitely pull it apart and apply a better quality thermal paste.

I'll also backup the firmware before I start tinkering with it (just to be on the safe side)! I'm hoping it won't take much to get a modded firmware onto it...  Grin

The people at Lucky Miner have made it easy for themselves again with the LV08. It really looks as if three chains are operated with three ASICs each. All you have to do is set the number of ASICs to 9 in the Ultra-Hex firmware. There could possibly be problems with the double 12V power supply, but I'm not familiar with that.
newbie
Activity: 1
Merit: 0
January 22, 2025, 11:22:08 AM
#34
I used a simple CP2104 Converter (e.g. https://www.aliexpress.us/item/2251832718849014.html) and some dupont wires (male-female)

This is a cheaper way to upload (and backup) your firmware from your miner devices than using a jTAG and probe! I'm going to get a few of these and the dupont cables as well. But for the dupont cables I'd like to get 6 pin straight connector (female) to 2 x 3 pin connector (male) to match the probe points on the miner's circuit board.

You should check this LV08 out (unless you have already):
https://www.youtube.com/watch?v=oObZbJDP4OY

I have one on order and should have it by the end of the month. I've been looking at getting one for the last month and a half. Just been waiting for the price to go down enough to make it worth while. It cost me only 40% of what I paid for my 3 x LV06s and 3 x LV07s combined!

At first I thought there would be 10 x BM1366 ASIC chips, but watching the tear-down video I'm pretty sure there is exactly 9 chips. Possibly 3 voltage regulators (underneath the heat-sink) supplying power to the 3 rows of 3 x ASIC chips. I'll definitely pull it apart and apply a better quality thermal paste.

I'll also backup the firmware before I start tinkering with it (just to be on the safe side)! I'm hoping it won't take much to get a modded firmware onto it...  Grin
?
Activity: -
Merit: -
January 17, 2025, 04:49:46 PM
#33
I used a simple CP2104 Converter (e.g. https://www.aliexpress.us/item/2251832718849014.html) and some dupont wires (male-female)
newbie
Activity: 1
Merit: 0
January 16, 2025, 12:06:07 PM
#32
I bought both the jTAG and 6 pin probe from AliExpress.

Hello JohnnyBitGoode! Can you please give a link to AliExpress where to find programmer and probe?

unpainted thank you for your work, it's impressive.



Hello dec93
Here are the links:

Probes: (links from order on 27/09/24)
https://www.aliexpress.com/item/1005002677089779.html longer probe
https://www.aliexpress.com/item/1005002713845793.html shorter probe
I bought 2 different probes just in case. I use the longer one on my LV06 miners
and the shorter probe on my LV07 miners. The LV06 is easier to probe from the top
of the board so the pin-out is slightly different (reversed) from the LV07
Make sure you select 3 pin double row and 2.54mm when you order!
Also the longer probe has harder spring tension than the shorter probe.

jTAG: (link from order on 13/06/24)
https://www.aliexpress.com/item/4001296786022.html

These are the actual links from my AliExpress order from dates shown...
?
Activity: -
Merit: -
January 15, 2025, 04:39:56 PM
#31

Latest update is available for the LV07: https://github.com/un-painted-org/ESP-Miner/releases/tag/v2.5.0_LV07-v1.0

This update has a critical fix for a CSRF vulnerability. It is reccommended all Bitaxe users update as soon as possible! See also the official firmware for all Bitaxes: https://github.com/skot/ESP-Miner/releases/tag/v2.5.0

newbie
Activity: 4
Merit: 0
January 15, 2025, 02:23:43 PM
#30
I bought both the jTAG and 6 pin probe from AliExpress.

Hello JohnnyBitGoode! Can you please give a link to AliExpress where to find programmer and probe?

unpainted thank you for your work, it's impressive.

newbie
Activity: 1
Merit: 0
January 12, 2025, 10:11:36 AM
#29

It was very simple to restore the previous generic fonts to be used!
By removing the lines in the above link (I expanded your L6-L14 selection), this will remove those fonts and use the default ones instead.

Thank you unpainted. Smiley
newbie
Activity: 1
Merit: 0
January 12, 2025, 03:01:59 AM
#28
...

So let me ask you if you know how to:
Change the main font in either v2.4.4_LV07b2 or v2.4.5_LV07-v1.0 to be the same as the main font used in ESP-Miner-TCH-unpainted_2.3.3_lv07.

I find the font in v2.4.4 (and I'm assuming also in v2.4.5 to be the same) visually hard to look at. So I'd to stick with the font from v2.3.3-TCH which is still the same as v2.1.1 of skot. I've tried doing a word search for "font" inside of VS Code with the projects loaded but can't find anything that definitively looks obvious. Any help would be appreciated...

v2.3.3-TCH-LV07-v1.0
https://github.com/un-painted/ESP-Miner-TCH/blob/0fce70202e43ac609d3b310fdf4b164a782cda6a/main/http_server/axe-os/src/app/layout/styles/theme/vela-blue/theme.css#L2-L5

v2.4.5_LV07-v1.0

https://github.com/un-painted-org/ESP-Miner/blob/1ac6cd903ce0667ea08bd2c71eb7de331f501020/main/http_server/axe-os/src/styles.scss#L6-L14

Yeah I did look in the theme.css file from v2.3.3 and noticed all the different fonts, but did not find a similar file in the v2.4.5 as it's been changed to theme based with various colour schemes. Still not sure what I need to do to change over the fonts and I'd like to keep the themes as I can use a different theme for up to 4 LV07s!

I have noticed the styles.scss files from both v2.3.3 and v2.4.5 import (@import) data from 5 other files. So I assume there's some relevant data inside those files. I'll see what I can determine from them...
?
Activity: -
Merit: -
January 12, 2025, 02:42:54 AM
#27
...

So let me ask you if you know how to:
Change the main font in either v2.4.4_LV07b2 or v2.4.5_LV07-v1.0 to be the same as the main font used in ESP-Miner-TCH-unpainted_2.3.3_lv07.

I find the font in v2.4.4 (and I'm assuming also in v2.4.5 to be the same) visually hard to look at. So I'd to stick with the font from v2.3.3-TCH which is still the same as v2.1.1 of skot. I've tried doing a word search for "font" inside of VS Code with the projects loaded but can't find anything that definitively looks obvious. Any help would be appreciated...

v2.3.3-TCH-LV07-v1.0
https://github.com/un-painted/ESP-Miner-TCH/blob/0fce70202e43ac609d3b310fdf4b164a782cda6a/main/http_server/axe-os/src/app/layout/styles/theme/vela-blue/theme.css#L2-L5

v2.4.5_LV07-v1.0

https://github.com/un-painted-org/ESP-Miner/blob/1ac6cd903ce0667ea08bd2c71eb7de331f501020/main/http_server/axe-os/src/styles.scss#L6-L14
newbie
Activity: 1
Merit: 0
January 12, 2025, 12:32:16 AM
#26

I am testing skot's firmware with customizations for the LV07. The latest build has been running stable on my LV07 for 1.5 days. See here: https://github.com/un-painted-org/ESP-Miner/releases (EDITED)


I decided to do what you said in an earlier post to me, so I've installed the v2.4.4_LV07b2 firmware you modded for the LV07!

I must say it works great. Myself and others I'm sure do appreciate the work you've done here. Smiley

Some of the features in v2.4.4 I've actually implemented myself in my mods to v2.1.1 that I'm using on my LV06 miners. Although not as extravagantly looking it still does the job. I'm also very happy with using my modded v2.1.1 on my LV06 miners as the code is not as cumbersome to work with and modify. I still have some more code I'd like to add, just need to work out how to do it.

Okay, back to the LV07. I do like how your v2.4.4_LV07b2 works on the LV07, and I will be adding some extra code to display some different logging data that I'm interested in. I have also downloaded v2.4.5_LV07-v1.0 and will install it soon once I know how to change the main font used by the web interface.

So let me ask you if you know how to:
Change the main font in either v2.4.4_LV07b2 or v2.4.5_LV07-v1.0 to be the same as the main font used in ESP-Miner-TCH-unpainted_2.3.3_lv07.

I find the font in v2.4.4 (and I'm assuming also in v2.4.5 to be the same) visually hard to look at. So I'd to stick with the font from v2.3.3-TCH which is still the same as v2.1.1 of skot. I've tried doing a word search for "font" inside of VS Code with the projects loaded but can't find anything that definitively looks obvious. Any help would be appreciated...
?
Activity: -
Merit: -
January 10, 2025, 03:55:11 PM
#25
Great work, unpainted, much appreciated.

Are you planning to synchronize your codebase with skot/ESP-Miner:master?

Thank you for your compliments. Of course I'm happy if someone can benefit from my firmware customization!

At the moment I am only planning to adapt the TinyChipHub version of ESP-Miner to the LV07. Everything else is too time-consuming for me. Apart from that, I want to provide a reliable and stable firmware. I don't have the time or inclination for regular testing and releases.

I once said that I didn't intend to make other firmware adjustments, and today I'm doing it anyway.  Grin



I am testing skot's firmware with customizations for the LV07. The latest build has been running stable on my LV07 for 1.5 days. See here: https://github.com/un-painted-org/ESP-Miner/releases (EDITED)

newbie
Activity: 1
Merit: 0
January 10, 2025, 08:29:55 AM
#24
Okay I understand what you mean now!  Smiley
newbie
Activity: 1
Merit: 0
January 10, 2025, 07:17:35 AM
#22
Could you please explain these 2 things a little better from your last post?

Quote
Have you tried monitoring the heap memory via the /api/system/info endpoint?

Quote
And if importing the www-bin causes problems, you can always import a different www-bin via the /recovery endpoint.

What do you mean by endpoint?
?
Activity: -
Merit: -
January 10, 2025, 05:33:31 AM
#21
...

As of now, what is the latest skot firmware that will work on both LV06 and LV07 when the correct CVS-file is merged with its factory firmware?

MinerFirmware Comments
LV06latest standard firmware from skot boardversion = 0.11,
otherwise take the CVS-file of the 204 Ultra
LV07the standard firmware from skot needs to be modified
 in order to handle the 12V input and the 2 asic chips
the lv07-cvs form TCH-LV07 works,
after firmware changes

I am testing skot's firmware with customizations for the LV07. The latest build has been running stable on my LV07 for 1.5 days. See here: https://github.com/un-painted-org/ESP-Miner/releases (EDITED)

...

It does appear that the memory leak is occurring only when the logged into the LV07 through the browser. The heap memory leak definitely occurs when the dashboard is the active menu item in the browser. I also tested the Realtime Logs page (with the logs hidden) and this to causes heap memory to go down over time.

...

I will say this though, my heavily modified v2.1.1 running on all my LV06s don't have this issue. So I am now leaning towards the website code as possibly being the cause of the heap memory leak...

Have you tried monitoring the heap memory via the /api/system/info endpoint?

And I wouldn't bother checking the GUI for memory leaks. You can just try the latest www-bin from skot. This will fit the TCH-LV07 firmware without any problems. Only the volt display is still scaled to 5V there. And if importing the www-bin causes problems, you can always import a different www-bin via the /recovery endpoint.
newbie
Activity: 1
Merit: 0
January 09, 2025, 09:18:35 PM
#20
Here's an update on the ESP-Miner-TCH firmware running on the LV07 miner and the memory leak issue:

It does appear that the memory leak is occurring only when the logged into the LV07 through the browser. The heap memory leak definitely occurs when the dashboard is the active menu item in the browser. I also tested the Realtime Logs page (with the logs hidden) and this to causes heap memory to go down over time.

Usually I keep the dashboard page open all the time and then open the Realtime Logs page in another tab to check the heap memory status. And as you can see in a previous post I logged a 9+ hours session showing the reducing size of the memory heap. The dashboard screen can show up to about 90 minutes of hashing data. That's quite a lot of info.

So to do a test, I kept 1 of my LV07s dashboard open and checked from time to time on the logs page, and sure enough, the heap memory was reducing in size. Then I logged into my 2 other LV07s only momentarily just to check the memory heap, and they were both staying at around 148K! So it appears as long as you're not logged into the miner through the browser, the memory leak does not occur!

I will say this though, my heavily modified v2.1.1 running on all my LV06s don't have this issue. So I am now leaning towards the website code as possibly being the cause of the heap memory leak...
Pages:
Jump to: