Manta-M8P icon indicating copy to clipboard operation
Manta-M8P copied to clipboard

Manta M8P + CM4104032 + BTT PITFT50 V2.0

Open Gimran opened this issue 2 years ago • 5 comments

Hi. I bought the kit first with CB1, did not notice that the module does not support DSI. I later purchased the CM4104032 specifically to support the screen. But when I connect BTT PITFT50 V2.0 - RPi CM4 does not start- the power LED lights up and goes out. and I hear faint clicks. Maybe there is not enough power 3,3V for the display, or it is a BAG? The screen on the RaspberryPI 4 works, the CM4 without the screen works, the camera also works without problems on the Manta m8p.

Gimran avatar Feb 21 '23 13:02 Gimran

Yes, that is as it is in original state, and I also quite some days... You have to adapt the overlays AND recompile therefore.

BIGTREETECH: sudo wget https://datasheets.raspberrypi.com/cmio/dt-blob-disp1-cam1.bin -O /boot/dt-blob.bin ​dt-blob.bin must be in /boot dt-blob-disp1-cam1.bin must be in /boot/overlays

BUT BIGTREETECH FORGET TO WRITE:

" RPI: In order to compile a Device Tree source (.dts) file into a Device Tree blob (.dtb) file, the Device Tree compiler must be installed by running sudo apt install device-tree-compiler. The dtc command can then be used as follows: "

**WRONG: ** sudo dtc -I dts -O dtb -o /boot/dt-blob.bin dt-blob.dts /boot/overlays/dt-blob-disp1-cam1.dts CORRECTED: sudo dtc -I dts -O dtb -o /boot/dt-blob.bin /boot/overlays/dt-blob-disp1-cam1.dts

Only after that I was able to have DSI1 and DCI1. Libcam sees the camera but streamer is not jet working in klipper.... ( work in progress as I understand )

Good luck Mike

MikeEitel avatar Feb 26 '23 12:02 MikeEitel

I had this issue and it was caused by a faulty cable between the pitft and the m8p

igetio avatar Apr 22 '23 16:04 igetio

I have a CM4 in my M8P and I had to get the blob file as outlined in the docs. As soon as I did that and rebooted my display started working.

sudo wget https://datasheets.raspberrypi.com/cmio/dt-blob-disp1-cam1.bin -O /boot/dt-blob.bin

https://www.raspberrypi.com/documentation/computers/compute-module.html#quickstart-guide-display-and-cameras

smplman avatar Apr 28 '23 01:04 smplman

Just for the record... at least for me the guide was wrong, I don't know about other debian versions... I've followed this answer and it got my pitft working: https://github.com/bigtreetech/Manta-M8P/issues/95#issuecomment-1837235312

My Debian Version:

Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm

Command:

sudo wget https://datasheets.raspberrypi.com/cmio/dt-blob-disp1-cam1.bin -O /boot/firmware/dt-blob.bin

My /boot/firmware/config.txt has the following changes as well:

# Automatically load overlays for detected DSI displays
display_auto_detect=0   #set 0 to disable

# Enable DRM VC4 V3D driver
#dtoverlay=vc4-fkms-v3d  #commented out so the legacy boot happens
max_framebuffers=1  #set to 1 to avoid the /dev/fb0 and dev/fb1 problems

admilsonmarques avatar Mar 01 '24 01:03 admilsonmarques

I can confirm that the command @admilsonmarques posted works:

sudo wget https://datasheets.raspberrypi.com/cmio/dt-blob-disp1-cam1.bin -O /boot/firmware/dt-blob.bin

( with Debian 12 / bookworm. Installed Pi OS lite, Klipper/Mainsail with Kiauh on Manta M8P 2.0 / CM4 / Pi TFT50 2.1 )

But dont change the boot/firmware/config.txt ! Klipperscreen wont work

Ara-Nai avatar Sep 20 '24 19:09 Ara-Nai