Questions tagged [compute-module-4]
35 questions
2
votes
1 answer
Daisy chaining CM4 devices with a Turing Pi 2.5
I want to build a Cyberdeck that runs off CM4s, and I want to be able to have add-on boards. Say, one board to control all the other add on boards, maybe another one to run a Minecraft server etc.
Originally I was thinking of just clustering them…
SmallCoder12
- 23
- 6
2
votes
1 answer
autoboot.txt not working on CM4 with GPT partitioning
I'm trying to set up autoboot.txt on a CM4. When partitioning the eMMC with MBR everything seems to work correctly, but if I switch to GPT it doesn't seems to manage to run the start4.elf firmware.
Here are some logs from the EEPROM bootloader with…
ArenaLor
- 141
- 4
2
votes
0 answers
Is it possible to wipe/reformat the eMMC of a CM4 via ethernet?
I have CM4's that will not be directly accessible only remote access via ethernet. They'll be provisioned using CM Provision (aka PxE boot).
CM Provision doesn't seem to be able to re-provision a Pi device if it already has an OS installed, so how…
A__
- 163
- 3
2
votes
2 answers
SPI Clock Phase on CM4 spidev1.0
I have a CM4 Compute Module and am trying to set the clock phase on the second SPI channel. But the ioctl() to set mode returns an error whenever I attempt to set this phase bit:
int fd = open("/dev/spidev1.0", O_RDWR);
unsigned int mode;
mode =…
Jon
- 121
- 3
2
votes
0 answers
Activate USB Ports on CM4 with Debian Bullseye
I want to use Debian on my Compute Module 4 instead of the Raspberry Pi OS:
2021.08.23 11 (Bullseye) 4 4 (4GB) from raspi.debian.net
source: jeffgeerling
With the Raspberry Pi OS the following has do be done to activate the USB-Ports for the CM4:
To…
Yannik
- 21
- 2
1
vote
0 answers
Connecting RPi cam v1 with Raspberry Pi CM4 using waveshare Nano baseboard
I am trying to connect my RPi cam with RPi CM4 and waveshare nano baseboard. I updated the config file:
# For more options and information see
# http://rptl.io/configtxt
# Some settings may impact device functionality. See link above for details
#…
Nandan Padia
- 11
- 1
1
vote
0 answers
CM4 will not boot up anymore
I have CM4 with eMMC which is mounted upon waveshare cm4 to pi4b board adaptor. Until 2 days ago, it was working just fine. Now, it doesn't boot up. Once power is given, red (power) led lights up, green (activity) blinks once and that's it. No…
Igor Yavych
- 111
- 2
1
vote
0 answers
What sort of cap should I use for antenna connector?
I plan to use CM4 with a Wi-Fi/Bluetooth antenna. The antenna will be detachable from housing of the designed product. What sort of a cap should I use? Options are shorting and non-shorting.
Edit:
CM4 has a U.FL connector, official CM4 antenna kit…
maciek
- 141
- 1
- 9
1
vote
1 answer
What is the board to board connector of CM4 to IO board?
I'm trying to draw a new board for hobby project that utilize the CM4 (Compute Module 4). However, I didn't found any footprint for the connector module of the board to board connector between CM4 and the IO board in KiCAD.
Any one knows what is the…
Weishan Yang
- 121
- 4
1
vote
0 answers
CM4 + NVME + PCIe-USB3 adapter
I'm working on my carrier board, and my goals are to have NVME and USB3 ports and of course the USB2 OTG native to the BCM2711 all along side each other. I want fast disk io, which is done with the NVME, multiple USB host ports for HID devices and…
Pieter van der Meer
- 121
- 4
1
vote
1 answer
Why is my measured I2C clock frequency significantly slower than its setting?
I am setting the I2C frequency on the Compute Module 4 (running Ubuntu 22.04.2 LTS) with dtparam=i2c_arm=on,i2c_arm_baudrate=400000. The I2C bus has two parallel 10kOhm pullup (to 3.3V) resistors per line.
I've noticed that regardless of the speed I…
Eric
- 21
- 4
1
vote
0 answers
Linux kernel upgraded to version 6 for some reason
Recently I did a sudo apt update/upgrade on my raspberry pi. It is running 64 bit raspberry pi os (I think). When I do cat /etc/os-release it shows that it is running debian 11 and the pretty name is debian GNU/Linux. I noticed that after running…
Eliot Foss
- 11
- 1
1
vote
0 answers
CM4 USB 3.0 Peripheral/Gadget Mode
The CM4 can be a USB 2.0 peripheral using OTG, but USB 3.0 (or higher) is not natively supported by the Broadcom chip. For the Raspberry Pi 4 Model B+, the VL805-Q6 chip provides USB 3.0 host ports over PCIe, but not in peripheral/gadget mode. Are…
br42723
- 11
- 1
1
vote
0 answers
Microphone volume seems to increase via PulseAudio but arecord does not see any increase
I am still trying to understand how the audio input/output stuff works over PCM on the Pi its new to me as I've never dealt with it before. All of the testing below was on the latest Raspberry Pi OS 64 bit.
I got our microphone setup and working by…
HelloWorld
- 29
- 1
1
vote
0 answers
No sound from UDA1334 PCM DAC on Compute Module 4 with 64 bit Raspberry Pi OS
So I am trying to verify that two PCM devices I have work one is a UDA1334 and the other a microphone. So I installed the latest 64 bit Raspberry Pi OS and enabled I2S and the hifiberry-dac overlay.
I followed the instructions at the two links the…
HelloWorld
- 29
- 1