makerbase-mks / MKS-PI

As we all know, the Klipper firmware has the advantages of high printing speed, high precision, and the ability to use the web page to control the printer, etc. MKS PI is a high-end microcomputer board designed by makerbase to replace the Raspberry Pi for the convenience of 3D printing users to use the Klipper firmware. In terms of hardware, MKS PI has a powerful 4-core 64-bit SOC onboard, with 1GBytes of DDR3 memory, supports HDMI screen interface and PI-TS35 screen interface, provides Ethernet port, 3-channel USB interfaces (can be connected to a 3D printer main board, USB Wireless network card, USB camera, U disk, USB keyboard and mouse, etc.); In terms of software, Makerbase provides a complete Klipper firmware transplanted based on the Armbian desktop system, and directly supports klipperScreen. Users only need to download the image file provided by Makerbase, burn it to the TF card, without a lot of construction work, use the usb port or serial port to connect your main board, configure the parameters on the webpage, and you can use the Klipper firmware happily!
GNU General Public License v3.0
112 stars 9 forks source link

Please provide full kernel patches and Armbian configs (GPL license violation) #30

Open redrathnure opened 1 year ago

redrathnure commented 1 year ago

makerbase-mks/armbian-build repo has 2 commits, but they do not looks like full sources for distributed Armbian image. There are few issues:

  1. Seems Armbian image was built from edge version (kernel 5.16.20), but makerbase-mks/armbian-build repo has patches only for legacy one
  2. config/targets.conf has declaration of mkspi board, but no valid board configs or any related patches were published
  3. This still looks like GPL violation, because no sources were open for distributed kernel and Armbian image (see also GPL violation: MKS distributes binaries without a valid license #24 from compihu for more details).

Please publish full sources (including kernel, u-boot patches and Armbian configs) and kernel builds, which were used for Armbian image

fbeltrao-br commented 1 year ago

They even used a EOL kernel, they could at least use a 5.15.y release.

We need the actual kernel and u-boot patches used to compile this image, they are the most critical part, other stuff like kernel config and device trees can be worked around.

redrathnure commented 1 year ago

@fbeltrao-br there are attempt to apply patches to the current Armbian sources. Seems board and TFT work with 5.15 and 6.1 kernels.

fbeltrao-br commented 1 year ago

@redrathnure yeah, I've successfully ported a few drivers to 5.15.y and had almost everything working, until I found that they used an old SPI driver from kernel 4.4 for Android Rockchip SOC and decided to give up. I'm not going to touch on that.

Touchscreen driver can be ported in kernel without modprobe.

redrathnure commented 1 year ago

Do you mean ads7846 one?

Jarewa commented 1 year ago

there are attempt to apply patches to the current Armbian sources. Seems board and TFT work with 5.15 and 6.1 kernels.

Put the iso image somewhere.

redrathnure commented 1 year ago

Put the iso image somewhere.

Any idea where/how put a few files 2-4GB each?

Jarewa commented 1 year ago

Google, or another server??

I'd love to test it..

redrathnure commented 1 year ago

~~Release description: https://github.com/redrathnure/armbian-mkspi/releases/tag/mkspi%2F0.1.0_23.02.0-trunk.0073 Google Drive with images: https://drive.google.com/drive/folders/1Qi8wgqquht5gaP7EmcN2nvd1rUnSABRf?usp=sharing~~

Release description: https://github.com/redrathnure/armbian-mkspi/releases/tag/mkspi%2F0.1.1_23.02.0-trunk.0073 Google Drive with images: https://drive.google.com/drive/folders/1lU1cyE9PORjRya-qosYerJkV2Qpz2v4a?usp=sharing

ils15 commented 1 year ago

any news?

josueturco commented 1 year ago

@redrathnure how to compile the image? I cloned armbian build files from makerbase but i don't know what hardware to select to compile

redrathnure commented 1 year ago

@josueturco please read this topic from start. IMO they have not provided any sources which you may use.

If you are interested in a working Armbian, please visit unofficial fork or related release page

fbeltrao-br commented 1 year ago

Funny how they just ignore us.

All we need are the actual u-boot and kernel user patches, not the fake one they uploaded.

It's literally just two text files.

josueturco commented 1 year ago

@redrathnure yeah, thanks! I just compile the unofficial fork and this work for me. do you know how to force other resolutions? I am using a HDMI 7" 1024x600 lcd from aliexpress but the screen icons is very small...

josueturco commented 1 year ago

In the armbian screen config I can see that HDMI is configured at 1920x1080 but my lcd is 1024x600.

No more options on armbian resolutions.

redrathnure commented 1 year ago

@josueturco, sorry, I have no idea how about HDMI configuration (yet). Perhaps https://docs.armbian.com/Hardware_Allwinner/#how-to-reconfigure-video-output or https://unix.stackexchange.com/questions/408558/how-to-change-display-resolution-for-armbian may give you some hints.

josueturco commented 1 year ago

@redrathnure OK. I think this is for Allwinner cpu... on the mkspi it's rockchip... I'll keep looking... Thanks!!