Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Sovol image with new armbian #2

Open
ils15 opened this issue Jan 9, 2025 · 14 comments
Open

[FR] Sovol image with new armbian #2

ils15 opened this issue Jan 9, 2025 · 14 comments

Comments

@ils15
Copy link

ils15 commented Jan 9, 2025

Any chance to work together to make a full functional sovol image to flash directly in klipad on sovol Sv07?

@torte71
Copy link
Owner

torte71 commented Jan 10, 2025

I started working on that yesterday :)
It is based on https://github.com/armbian/community/releases/download/25.2.0-trunk.293/Armbian_community_25.2.0-trunk.293_Mkspi_bookworm_current_6.12.8_minimal.img.xz
Current problems:

  • I am currently struggling with NetworkManager being replaced by networkd, both being incompatible with each other. KlipperScreen depends on NetworkManager, but timesyncd relies on systemd-networkd-wait-online.service. I may have found a solution by forcing netplan to just use NetworkManager, but I need to redo all that again cleanly, before I know if it really works.
  • At bootup, Armbians initial setup script doesn't detect the wifi interface, but it is possible to use armbian-config to set up a wifi connection. But this has to be removed later, as it interferes with NetworkManager. So currently I have to use the serial console in the setup process in order to keep the connection to the device.

Apart from that, I just managed to get Klipper running with all extensions/settings (timelapse, etc.) that I've used with my prior image.

Kernel updates will work now (system-freeze not required any longer), though a little hackish: I added a dpkg hook that copies back Sovol's DTB file whenever a dtb-package has been installed or removed. Not nice, but reliable. 😄

Then it needs to be documented correctly, what exact steps have been done to create that image. Currently I only have a mess of notes.

Currently I don't know, what tasks I could hand over to you - but when I've done the basic documention, I can well need someone to test and look over it.

@ils15
Copy link
Author

ils15 commented Jan 10, 2025

I'm here to help. I've started investigating images based on your work. Essentially, I haven't made significant modifications at all. I'm part of a Brazilian 3D printer community, and Sovol printers sell well here. However, people often encounter numerous issues with the original firmware image. My goal is to create a fully functional, ready-to-use image for these users. I hope I can help as far as I know

@torte71
Copy link
Owner

torte71 commented Jan 10, 2025

You mentioned a patch for the supercapacitor on Maxims page.
Can you give me some details about this? I haven't heard about that patch or issues with the capacitor (but it sounds as a good idea to include it).

I've just added a page about the Armbian-mainline image on https://torte71.github.io/tmteststuff/armbian-mainline-setup.html where I've collected the steps I currently use to create a Klipper image.
It's just a quick write-down, so don't be scared. 😄 (That's my playground site, only "grown-up" pages make their way here)
But you may try to follow it and see, if you can create a working Klipper image and familiarize yourself with the new armbian.

@ils15
Copy link
Author

ils15 commented Jan 10, 2025

Hello, there are various reports online of boards with this capacitor "dying."

Many Russians who own the KP3S with an MKS board featuring this capacitor say the board dies after a power-off under certain circumstances (I’m trying to find the posts, but I’m away from home, which makes it difficult).

same for Elegoo Neptune 4 and 4 Pro

The fact is, it seems like something that might need a workaround in Klipper (with this mks deb)

But I might be mistaken.

Oh, I ended up replying to you in the other post. Would you prefer we continue discussing it over there?

@torte71
Copy link
Owner

torte71 commented Jan 10, 2025

Yes, Maxim also seems interested in that capacitor thing. I shouldn't have asked that here.

@ils15
Copy link
Author

ils15 commented Jan 10, 2025

Yes, Maxim also seems interested in that capacitor thing. I shouldn't have asked that here.

i will investigate more about this and answer you here

@torte71
Copy link
Owner

torte71 commented Jan 12, 2025

I've uploaded a new image, it comes with the makerbase-soft-shutdown service installed.
The docs should also be complete and ready for inspection. ;)
https://torte71.github.io/InsideSovolKlipperScreen/armbian-mainline-image.html

@ils15
Copy link
Author

ils15 commented Jan 13, 2025

Testing here
thanks

@ils15
Copy link
Author

ils15 commented Jan 20, 2025

I've uploaded a new image, it comes with the makerbase-soft-shutdown service installed. The docs should also be complete and ready for inspection. ;) https://torte71.github.io/InsideSovolKlipperScreen/armbian-mainline-image.html

Hello
Tested here during a week
everything worked like a charm, including wifi
only sad thing is necessity to plug a keyboard or serial connection in first run.
i saw your progression in maxim post too
Great work my friend
can i make a youtube video for brazilian teaching how to install?
i will give credits for you in video
thanks again for the brilliant work

@torte71
Copy link
Owner

torte71 commented Jan 21, 2025

A video guide is a fine thing for less advanced users, and as I am more a "vi" guy than a camera guy, there needs to be another one, who does this job 😄.

Which part did you plan to cover? The flashing of a prepared image, or the rebuilding from scratch part?

The "flashing a prepared image" part probably won't change much with the current ongoing changes, but the image download location (the google-drive link) and the name of the referring page (armbian-mainline-image.html) will change, so better record these things as a last step, when everything has settled.

"Setting up from scratch" will undergo some more changes. If I manage to get my changes included into Mainline armbian:

  • Replacing the dtb file will be obsolete
  • The Klipad50 DTB fix will be obsolete
  • The image location and the referring page will change (as above).
    The rest should stay identical (if I didn't miss something).

As you mentioned the serial console/keyboard: This is only required for the "setting up from scratch" part. On the prepared image (with klipper stuff already installed), wifi can be simply be configured by clicking the network options on the touchscreen.

@ils15
Copy link
Author

ils15 commented Jan 21, 2025

I think ''prepare from draft'' is hard for ''normal users'' . So it will be a basic video teaching people how to flash the finished image, update the MCU, etc...
I also work with programming, but as I saw how advanced you were, I decided not to interfere with your work.
About Wifi, you're right, the ready image is basically ''plug and play''
As I tested both methods, I ended up getting confused when talking to you. Regarding the details of changing the finished image, for the video there is no problem changing the location or name. But yes, I can wait a few days until everything is correct.
Other than that, your work was great. I even recommended ben liu, who seems to be the Chinese guy responsible for Sovol's R and D, to take a look at this github

@torte71
Copy link
Owner

torte71 commented Jan 21, 2025

Regarding the details of changing the finished image, for the video there is no problem changing the location or name. But yes, I can wait a few days until everything is correct.

Just as you wish. I just wanted to avoid, that once you have edited, cut and uploaded the video, that dude ("me") comes along with another "minor" change. 😄

Other than that, your work was great. I even recommended ben liu, who seems to be the Chinese guy responsible for Sovol's R and D, to take a look at this github

Don't expect to much from them. Judging from these pull requests 1 and 2 they don't even care to correct their documentation.
And the only change, after I wrote this to ben liu on FB, was that they removed their default reply in which they asked me to show a video. A video of editing a textfile???

@ils15
Copy link
Author

ils15 commented Jan 21, 2025

Don't expect to much from them. Judging from these pull requests 1 and 2 they don't even care to correct their documentation.

Yes, chineses are terrible with updates. And they have some restrictions to use github on china....

Just as you wish. I just wanted to avoid, that once you have edited, cut and uploaded the video, that dude ("me") comes along with another "minor" change. 😄

💃

@torte71
Copy link
Owner

torte71 commented Feb 23, 2025

Support for the MKS-Klipad50 board has been integrated into mainline Armbian: https://www.armbian.com/mks-klipad50/
(I just switched from community support to standard support, so the download links for the barebone image will change, but that doesn't affect the ready klipperized images.)

I've updated the build instructions and uploaded a new klipperized image:

It is also possible to upgrade earlier bookworm based images.

Last not least: The new images are .xz compressed - they can directly be written with tools like Balena Etcher or Rufus, no need to extract them first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants