Jpe230 / SonicPad-Debian

Port of Debian for the SonicPad (Allwinner R818)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SonicPad Logo

🌟 SonicPad Debian 🌟

Port of Debian for the SonicPad (Allwinner R818)

🌐 Links 🌐

πŸ“‚ Releases Β· πŸ› Got an issue . πŸš€ Contribute a new feature

πŸš€ Features

Ready to go Debian 11 Bullseye Image for the SonicPad!

The following packages pre-installed:

🎚️ Prerequisites

  • USB-A to USB-A Cable
  • A Windows/Linux/macOS device to flash the SonicPad

πŸ› οΈ Installation Steps

  1. Download the lastest release image

  2. Flash the Sonic Pad

Please refer to Creality's repo for a more detailed instructions as well as the tools neccesary for it.

  1. In KlipperScreen, configure your WIFI network and get the IP of the Pad

  2. SSH into the pad, the default login password is: pad

ssh sonic@<your ip>
  1. Expand your partition
sudo resize2fs /dev/mmcblk0p5
  1. Install your frontend of choice using KIAUH:

Please refer to th33xitus's repo for more detailed instructions.

  1. Additionally, if you are planning in compiling, or measuring resonance with Klipper, please install the following packages:
sudo apt install avrdude gcc-avr binutils-avr avr-libc stm32flash binutils-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib gcc-arm-none-eabi

❗ These packages take a lot space. I recommend using a different host to build a firmware for your printer ❗

  1. Configure your printer! 😁

πŸŽ‡ You are Ready to Go!

❗ Available Commands

The prebuilt includes a CLI to control de brightness, to see its usage please run:

sudo brightness -h

πŸ“‚ Directory Structure

src: Scripts necessary to build a rootfs.

src/prebuilt_kernel: Prebuilt Kernel and tools necessary to pack the final image

src/base_rootfs: Files that are needed to be copied to the built rootfs

src/scripts: Scripts to install Klipper, Moonraker, KlipperScreen

❗Want to build your own rootfs? Please see the DIY Section

🎊 Future Updates

  • Idle timeout: Creality has a script to turn off the display after 2 min of inactivity

  • Replace the rootfs inside Tina SDK to avoid hacking the compiled img

  • Create a prebuilt images ready to be flash

  • Create a script to auto-mount a USB flashdrive to load wpa_supplicant.conf Not needed

πŸͺ² Known bugs

  • Incorrect Interface shown in KlipperScreen

  • Current IP doesn't show in KlipperScreen

πŸ‘€ Disclaimers

Since we are using a R/W partition, we need to avoid shutting down the pad un-gracefully, it can corrupt your fs and you are going to need to reflash it.

Please use KlipperScreen to turn off the Pad, then press the side-button to cut the power.


if you are planning in compiling, or measuring resonance with Klipper, please install the following packages:

sudo apt install binutils-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib gcc-arm-none-eabi

🀝 Support

  • Contributions are most welcome!

I'm not responsible for bricked devices, failed prints, etc. This is merely a place where I can share a personal project with the rest of the world.

  • YOU are choosing to make these modifications, by no means I'm forcing you to replace the OS of you pad.
  • The prebuilt image is "as-is", meaning, I don't plan to give it a long-term support, bugs or errors aren't my resposability.

Please take in mind that this will certainly void your warranty and is not endorse by Creality in any way.

πŸͺ™ Credits

About

Port of Debian for the SonicPad (Allwinner R818)

License:GNU General Public License v3.0


Languages

Language:Shell 56.6%Language:C 42.8%Language:Makefile 0.6%