Skip to content

Commit

Permalink
update status info
Browse files Browse the repository at this point in the history
  • Loading branch information
redrathnure committed Jan 15, 2023
1 parent b1392dc commit bdf6c58
Showing 1 changed file with 42 additions and 2 deletions.
44 changes: 42 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ If you know proper way how to orgonise these patches and right places in armbian
| Reset button | yes | yes |
| Ethernet | yes | yes |
| WiFi dongles | yes | yes |
| ADXL345 (SPI connectors) | not tested yet | not tested yet |
| ADXL345 (SPI0 connection) | yes | yes |
| UART0| not tested yet | not tested yet |
| I2C| not tested yet | not tested yet |




### Known Issues
Expand All @@ -60,10 +64,46 @@ Edge, Jammy:


Current, Jammy:
* `irq 55: nobody cared` message in boot log
* `irq 56: nobody cared` message in boot log
* Works either HDMI out or MKS PI-TS32 display. No dual screen, no reconnection during runtime. Display must be connected before system start and cannot be switched after boot.


### ADXL345/SPI Usage

TLTR: Do not forget about [klipper_mcu installation](https://www.klipper3d.org/RPi_microcontroller.html).

Full version:

* Step 0: Ensure spidev device exists. e.g. `ls -al /dev/spi*` should show `/dev/spidev0.2` device file
* Step 1: Install Klipper. E.g.
```
cd ~
git clone https://github.com/th33xitus/kiauh.git
./kiauh/kiauh.sh
```
, then 1, 1, 1 and so on.
* Step 2: Build and install `klipper_mcu` service
```
# Stop klipper service
sudo systemctl stop klipper

# Build and install klipper_mcu binary
cd ~/klipper/
make menuconfig
# In the menu, set "Microcontroller Architecture" to "Linux process," then save and exit.
make flash
sudo ln -s $PWD/scripts/klipper-mcu-start.sh /etc/init.d/klipper_mcu
sudo update-rc.d klipper_mcu defaults

# Start klipper_mcu and klipper
sudo systemctl start klipper_mcu klipper

# Ensure everything is up and running
sudo systemctl status klipper_mcu klipper
```
* Step 3: [Add adxl345 configuration to your `printer.cfg`](https://github.com/makerbase-mks/MKS-PI#adxl345-connection-and-configuration)


## How to Build

The new `mkspi` board was declared. Now has support only for `current` and `edge` kernels and Ubuntu Jammy OS (CLI and desktop editions). Build process is pretty usual for Armbain build.
Expand Down

0 comments on commit bdf6c58

Please sign in to comment.