BIGTREETECH Manta M4P v1.0
You will probably have to swap the outer two wires (red and white) on the board end of the cable but double check to make sure your cables match the wiring diagram in both ends. Orders shipped after October 2022 should have the correct cables (the connectors on the new cables are white).
A green square is where you would place a jumper, remove all jumpers on the board that are not marked by this symbol.
The jumpers above the stepper drivers switches stepper driver input power between V_MOT and VIN (ie, board power terminals and motor power terminals). In the configuration shown in the image above, the MOTOR power isn't connected because the jumpers are set to use the board power (VIN). If you wanted to use 48V for example, you would connect your 48V psu to the motor power terminal and switch those jumpers to the other position to use V_MOT instead. Of course you shouldn't do this unless you use high voltage capable 5160 drivers.
Installing RatOS on eMMC
The Manta M4P is a Compute Module 4 (CM4) host board. RatOS supports BTT CB1 (experimental) and CM4's as long as there's no eMMC (using micro SD card, recommended for ease of use) or at least 16gb eMMC storage.
If you're using a CM4 with eMMC storage, you cannot use an SD card. You'll have to connect the Manta to a PC and flash the eMMC storage, please follow the steps in the BTT Manta M4P User Manual, for how to mount the eMMC storage to your PC. Then use Balena Etcher to flash RatOS to the CM4, just like it was an SD card.
Follow the steps in the RatOS Configurator at http://RatOS.local/configure?step=1.
I updated klipper and now I get an error!
When you update klipper you might see an error that looks like this:
This is because klipper made changes to a part of the MCU firmware that we use, and something went wrong while automatically flashing your board. Klipper is telling us that the version of klipper running on the Pi is newer than the version running on the MCU. To fix this, we have to flash the board with a new version of the firmware, Follow the steps in the RatOS Configurator at http://RatOS.local/configure?step=1.