Go to advanced search

by 6by9
Tue Aug 03, 2021 7:36 pm
Forum: General discussion
Topic: Would a new hardware subject help?
Replies: 2
Views: 80

Re: Would a new hardware subject help?

What's wrong with "Interfacing (DSI, CSI, I2C, etc.)" in this case?
by 6by9
Tue Aug 03, 2021 5:17 pm
Forum: Camera board
Topic: Getting any camera module running
Replies: 2
Views: 61

Re: Getting any camera module running

Hey, this is kind of a broad question, but I want to atleast ask. What do I have to look for, if I want to know if for example the ov9281 camera sensor is supported on a specific system. So for example, I'm looking at this development board . I know that the raspberrypi supports the image sensor. A...
by 6by9
Tue Aug 03, 2021 4:52 pm
Forum: Troubleshooting
Topic: [Solved] Pi 4B - Dual monitors only displaying in mirrored mode, not extended
Replies: 3
Views: 100

Re: Pi 4B - Dual monitors only displaying in mirrored mode, not extended

Seeing as the display is identified as "default", dtoverlay=vc4-fkms-v3d is NOT being loaded and should be. If it were being loaded correctly then you'd see them identified as HDMI-1 and HDMI-2.
by 6by9
Tue Aug 03, 2021 11:04 am
Forum: General discussion
Topic: STICKY: Raspberry Pi OS (64 bit) beta test version feedback
Replies: 877
Views: 208348

Re: STICKY: Raspberry Pi OS (64 bit) beta test version feedback

I recently moved from 32-bit images to 64-bit images for our video streaming project and the performance difference on a Pi 4B is quite noticeable. Using GStreamer 1.19 from git, I can handle a 720p50 video source on a HDMI grabber, overlay an image on top, display the resulting video on a local mo...
by 6by9
Tue Aug 03, 2021 10:19 am
Forum: Graphics, sound and multimedia
Topic: TC358743 HDMI to CSI-2 install instructions
Replies: 48
Views: 11535

Re: TC358743 HDMI to CSI-2 install instructions

Backporting the FFmpeg and GStreamer fixes to actually make V4L2 codecs work on Buster has been on my long list of jobs for a while, but it's never made it to the top. I suspect Bullseye may happen first. There's no requirement for it to be an Raspberry Pi employee to create the required patches. If...
by 6by9
Tue Aug 03, 2021 8:25 am
Forum: Compute Module
Topic: Camera preview not working
Replies: 2
Views: 73

Re: Camera preview not working

There isn't a 13MPix camera module that is compatible with the firmware camera stack. The HQ camera is 12MPix (imx477), v2 is 8MPix (imx219), and v1 is 5MPix (ov5647). I'm assuming that's a typo for 12MPix (ie HQ camera). raspistill/vid will only put the preview up on the HDMI output, not on any rem...
by 6by9
Tue Aug 03, 2021 6:18 am
Forum: Compute Module
Topic: CM4 very slow from power-on to kernel start time
Replies: 20
Views: 421

Re: CM4 very slow from power-on to kernel start time

one thing ive thought about uboot could configure the mailbox framebuffer, for its own logs/splash but then pass the address of that framebuffer to linux as a simple framebuffer that is tied to the (f)kms nodes in DT linux will use the simple-framebuffer initially, until it finds the kms modules on...
by 6by9
Tue Aug 03, 2021 6:13 am
Forum: General discussion
Topic: How to use h264_omx on rpi4 with ubuntu?
Replies: 2
Views: 102

Re: How to use h264_omx on rpi4 with ubuntu?

Ubuntu is a 64bit distribution, and OpenMax IL is not supported on 64bit.
You should be able to use h264_v4l2m2m instead.
by 6by9
Tue Aug 03, 2021 6:12 am
Forum: General discussion
Topic: OMX Player different video in each corner of screen
Replies: 4
Views: 153

Re: OMX Player different video in each corner of screen

Add an & to the end of each command to tell the system to run them in the background.

Code: Select all

lxterminal -e omxplayer --win 0,0,640,480 --loop /home/pi/Desktop/SHGMono.avi &
lxterminal -e omxplayer --win 0,640,640,480 --loop /home/pi/Desktop/SOLDERING.mp4 &
by 6by9
Sun Aug 01, 2021 8:39 pm
Forum: Graphics, sound and multimedia
Topic: mmal_queue_get returns an area too small to hold YUV image
Replies: 2
Views: 86

Re: mmal_queue_get returns an area too small to hold YUV image

mmal_queue_get just retrieves a buffer from a pool. If you've created the pool with incorrect parameters then it'll be of the wrong size.

https://github.com/6by9/mmal_encode_example
by 6by9
Sun Aug 01, 2021 8:22 pm
Forum: Troubleshooting
Topic: CM3+ screen rotation for LT070ME05000 with LibreELEC
Replies: 7
Views: 428

Re: CM3+ screen rotation for LT070ME05000 with LibreELEC

OK, this way I don't think that this rotation staff will be solved in the near future. What if I use a HDMI-to-DSI bridge? e.g.: https://www.displaymodule.com/products/display-adapter-for-hdmi-to-mipi-dsi?variant=31902301421666 This way, I think HDMI can be easily rotated within config,txt, am I ri...
by 6by9
Sun Aug 01, 2021 3:54 pm
Forum: Camera board
Topic: Does the HQ Camera Need Extra Setup?
Replies: 4
Views: 126

Re: Does the HQ Camera Need Extra Setup?

HermannSW wrote:
Sat Jul 31, 2021 9:01 pm
Not sure whether enabling camera automatically enables I2C as well -- I2C needs to be enabled for camera to work.
No it doesn't when being driven from the firmware.
by 6by9
Sun Aug 01, 2021 8:38 am
Forum: Device Tree
Topic: Two ADV7280M on One I2C bus
Replies: 3
Views: 136

Re: Two ADV7280M on One I2C bus

Only video0 and video2 are assigned to ADV7280M. What are video1 and video3 for? Thank you again. CSI2 supports multiple logical data streams over a single link, identified via a virtual channel field and a data type. This is typically used by image sensors to provide the sensor configuration along...
by 6by9
Sat Jul 31, 2021 6:25 pm
Forum: Device Tree
Topic: Two ADV7280M on One I2C bus
Replies: 3
Views: 136

Re: Two ADV7280M on One I2C bus

Any use of dt-blob.bin is invalid when using the kernel drivers to control the hardware. They only apply when the firmware is trying to control an ov5647, imx219, or imx477 sensor. You're problem is that ADV7280 and family use multiple I2C addresses, as documented in the "register maps" se...
by 6by9
Sat Jul 31, 2021 7:59 am
Forum: Advanced users
Topic: What is the default pin configuration in dt-blob.bin for pins 2 and 3, i2c1?
Replies: 3
Views: 180

Re: What is the default pin configuration in dt-blob.bin for pins 2 and 3, i2c1?

LTolledo wrote:
Fri Jul 30, 2021 9:13 pm
pin 2 is 5v
pin 3 is GPIO2/SDA1 (I2C1)

maybe you mean pin 3 and pin 5?
In the dt-blob gpios are referred to as pins.
by 6by9
Fri Jul 30, 2021 1:21 pm
Forum: Camera board
Topic: libcamera vs raspiraw performance
Replies: 6
Views: 191

Re: libcamera vs raspiraw performance

Raw images would normally be Bayer. Do you really mean Bayer when you say you want raw images? If so then white balance is not applicable as that is part of the processing to produce YUV/RGB images. Manual exposure and gain are available through /dev/video0 when accessing the sensors directly. Add &...
by 6by9
Fri Jul 30, 2021 1:11 pm
Forum: General discussion
Topic: Compute Module 4, IO Board, SenseHat and Camera - SenseHat does not work when camera enabled
Replies: 10
Views: 393

Re: Compute Module 4, IO Board, SenseHat and Camera - SenseHat does not work when camera enabled

Hi and thank you for your detailed reply. I'm interested to know more about this so that I can understand in a bit more detail what the changes mean and why this works. Are you able to give a bit of a further explanation? For example, how does the reading of the hat EEPROMs work, and what changes d...
by 6by9
Fri Jul 30, 2021 11:13 am
Forum: Camera board
Topic: libcamera vs raspiraw performance
Replies: 6
Views: 191

Re: libcamera vs raspiraw performance

Raspiraw doesn't control the ISP in any meaningful sense. It configures a very basic pipeline so that we can see some form of picture, but there's no AGC/AE/AWB, lens shading, or other control algorithms running. It was a test app written for those who wanted to get the raw frames from a sensor for ...
by 6by9
Fri Jul 30, 2021 10:19 am
Forum: General discussion
Topic: Compute Module 4, IO Board, SenseHat and Camera - SenseHat does not work when camera enabled
Replies: 10
Views: 393

Re: Compute Module 4, IO Board, SenseHat and Camera - SenseHat does not work when camera enabled

The base dt-blob has changed to enable reading HAT EEPROMs on CM4, but the camera variants haven't. pin_define@ID_SDA { type = "internal"; number = <0>; }; pin_define@ID_SCL { type = "internal"; number = <1>; }; wget https://datasheets.raspberrypi.org/cmio/dt-blob-cam1.dts Open t...
by 6by9
Thu Jul 29, 2021 3:42 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: ILI9486 8bit parallel display
Replies: 2
Views: 272

Re: ILI9486 8bit parallel display

fbtft_device name=ili9486 appears to have been for an SPI connected version of that display, not parallel.
I don't see a driver for that display connected via the parallel interface.
by 6by9
Thu Jul 29, 2021 3:17 pm
Forum: Advanced users
Topic: What is the default pin configuration in dt-blob.bin for pins 2 and 3, i2c1?
Replies: 3
Views: 180

Re: What is the default pin configuration in dt-blob.bin for pins 2 and 3, i2c1?

dt-blob.bin configures hardware that the firmware needs to use, eg the camera and DSI display. i2c1 is generally used by the Linux kernel, and the kernel device tree (generally configured via dtoverlay= or dtparam= lines in config.txt) will handle the pin muxing for those resources. "dtparam=i2...
by 6by9
Thu Jul 29, 2021 6:20 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CM4 concurrent access to multiple I2C busses
Replies: 12
Views: 420

Re: CM4 concurrent access to multiple I2C busses

Does anyone know how to change i2c4 thru i2c6 over to the BCM2708 driver? You look at what the i2c-bcm2708 overlay does (https://github.com/raspberrypi/linux/blob/rpi-5.10.y/arch/arm/boot/dts/overlays/i2c-bcm2708-overlay.dts) and duplicate it for the other ports. The "combine" parameter o...
by 6by9
Wed Jul 28, 2021 8:12 pm
Forum: Graphics, sound and multimedia
Topic: Toslink input to iqaudio DAC
Replies: 2
Views: 130

Re: Toslink input to iqaudio DAC

DAC = Digital to Analogue Converter, so is inherently output and analogue.

There are a couple of sound HATs that have TOSlink input, eg https://www.hifiberry.com/shop/boards/h ... y-digi-io/
by 6by9
Wed Jul 28, 2021 8:48 am
Forum: Official Foundation Display
Topic: Dual Raspberry Pi Official Displays
Replies: 7
Views: 375

Re: Dual Raspberry Pi Official Displays

Gavinmc42 wrote:
Wed Jul 28, 2021 1:53 am
CM4 has two DSI, will it work on that one?
Not with the firmware drivers (it only supports one DSI instance at a time), but in theory with KMS - I'm working on it.
by 6by9
Wed Jul 28, 2021 8:42 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: CM4 concurrent access to multiple I2C busses
Replies: 12
Views: 420

Re: CM4 concurrent access to multiple I2C busses

Are you reading, writing, or both?

All the I2C controllers share one common interrupt on the ARM, but that should be level triggered so multiple devices interrupting should all be serviced in turn.

Go to advanced search