Go to advanced search

by 6by9
Sun Jun 13, 2021 7:44 pm
Forum: Compute Module
Topic: 4 lane CSI & IMX477 Camera Module
Replies: 24
Views: 1496

Re: 4 lane CSI & IMX477 Camera Module

The IMX477 driver doesn't have that as yet, so without it you can not just change the device tree configuration to say "4 lanes". Am I doing it right? diff --git a/drivers/media/i2c/imx477.c b/drivers/media/i2c/imx477.c index b06add219cb4..11ad01426abf 100644 --- a/drivers/media/i2c/imx47...
by 6by9
Sun Jun 13, 2021 5:04 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPI4B MIPI CSI-2 /dev/video0: Remote I/O error
Replies: 6
Views: 219

Re: RPI4B MIPI CSI-2 /dev/video0: Remote I/O error

-EIO means that there was no ACK at the I2C level. Exactly why is a different question. As documented in the datasheet , the Broadcom Serial Controller (BSC) supports "I2C single master only operation". Multiple masters on the bus may cause issues depending on exactly what gets used when d...
by 6by9
Sun Jun 13, 2021 2:24 pm
Forum: Compute Module
Topic: 4 lane CSI & IMX477 Camera Module
Replies: 24
Views: 1496

Re: 4 lane CSI & IMX477 Camera Module

[root@alarmpi4 ~]# dtc -I dts -O dtb -o /boot/overlays/imx477-4-overlay.dtbo ./imx477-overlay.dts ./imx477-overlay.dts:70.34-75.6: Warning (unit_address_vs_reg): /fragment@3/overlay/fixedregulator@0: node has a unit name, but no reg property ./imx477-overlay.dts:76.34-81.6: Warning (unit_address_vs...
by 6by9
Sun Jun 13, 2021 1:49 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPI4B MIPI CSI-2 /dev/video0: Remote I/O error
Replies: 6
Views: 219

Re: RPI4B MIPI CSI-2 /dev/video0: Remote I/O error

You make sure all your i2c connections are solid. I know with my adv eval board that folding wires through the test point hoops wasn't always reliable.
by 6by9
Sun Jun 13, 2021 11:27 am
Forum: Camera board
Topic: Do I have a faulty csi port?
Replies: 4
Views: 151

Re: Do I have a faulty csi port?

Duplicate thread deleted. "mmal: No data received from sensor. Check all connections, including the Sunny one on the camera board." means what it says. The firmware can communicate with the sensor over I2C, but after having configured the sensor to send CSI2 data, none has been received af...
by 6by9
Sun Jun 13, 2021 7:33 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPI4B MIPI CSI-2 /dev/video0: Remote I/O error
Replies: 6
Views: 219

Re: RPI4B MIPI CSI-2 /dev/video0: Remote I/O error

-EIO generally means I2C comms failure.
by 6by9
Sat Jun 12, 2021 2:02 pm
Forum: Official Foundation Display
Topic: Touch IC of official 7" being reset during burst/EFT at 7kV
Replies: 3
Views: 170

Re: Touch IC of official 7" being reset during burst/EFT at 7kV

Does the screen go black, or just the touch element stop responding? I'm guessing you're using the firmware drivers rather than KMS (no "dtoverlay=vc4-kms-v3d" in /boot/config.txt), in which case there is no reset at all. I suspect that it's the Atmel controller on the display board lockin...
by 6by9
Sat Jun 12, 2021 1:50 pm
Forum: OpenMAX
Topic: v4l2h264dec invoked oom-killer : Hardware name: BCM2711 - application crashed
Replies: 2
Views: 102

Re: v4l2h264dec invoked oom-killer : Hardware name: BCM2711 - application crashed

v4l2h264dec wanted some memory and there was none left. That triggers the Out Of Memory killer to try and free up some memory. It's not the fault of v4l2h264dec, but probably indicative that something in the system has a memory leak. gpu_mem of 512MB is generally excessive, although it does depend o...
by 6by9
Sat Jun 12, 2021 6:56 am
Forum: Compute Module
Topic: 4 lane CSI & IMX477 Camera Module
Replies: 24
Views: 1496

Re: 4 lane CSI & IMX477 Camera Module

-y, --i2c : Set the I2C bus to use. Range is 0-2. Hmm, does Raspiraw works on Pi4's? ./camera_i2c setting GPIO for board revsion: c03111 4B(1G/2G/4G/8G) Set state of 133 to 1 Use i2c-10 for the sensor (-y 10) Off to find a Pi3. Yes it does. I largely don't worry about the README text - it was contr...
by 6by9
Fri Jun 11, 2021 5:15 pm
Forum: Camera board
Topic: PyDNG - RPI Camera RAW to DNG
Replies: 21
Views: 5810

Re: PyDNG - RPI Camera RAW to DNG

raspberry-photon wrote:
Fri Jun 11, 2021 4:21 pm
I want to mention that pydng doesn't work with sensor mode 2.
On which sensor?
https://github.com/schoolpost/PyDNG/issues
by 6by9
Fri Jun 11, 2021 12:08 pm
Forum: Compute Module
Topic: 4 lane CSI & IMX477 Camera Module
Replies: 24
Views: 1496

Re: 4 lane CSI & IMX477 Camera Module

If you make appropriate driver changes to configure the sensor to drive all 4 lanes. You mean figure out what all those sensor registers in the Linux Kernel media i2c section do? Lots of sensors in there ;) Yes, but you only need to look at the appropriate one for your sensor. You'll need the appro...
by 6by9
Fri Jun 11, 2021 11:03 am
Forum: Compute Module
Topic: 4 lane CSI & IMX477 Camera Module
Replies: 24
Views: 1496

Re: 4 lane CSI & IMX477 Camera Module

Will Libcamera work on 4 lanes on a CM4 I/O board? If I can find a 4 Lane sensor. If you make appropriate driver changes to configure the sensor to drive all 4 lanes. "No sensor found", Libcamera dtoverlay conflict? Stay tuned. be right back after a quick reboot. Nope still got issues, fo...
by 6by9
Fri Jun 11, 2021 9:56 am
Forum: General discussion
Topic: Display overflows tv screen after removing "black label"
Replies: 3
Views: 152

Re: Display overflows tv screen after removing "black label"

Run "Raspberry Pi Configuration" from the Preferences menu, and the Display tab includes an option for underscan. Set it to Enabled.
by 6by9
Fri Jun 11, 2021 8:18 am
Forum: Camera board
Topic: Some questions about image buffers
Replies: 10
Views: 293

Re: Some questions about image buffers

The Pi SoC discards the line, sets a status bit in the STA register (I'd need to check which bit), but does not increment the write pointer so the next line received without multiple bit errors will be written to that point in the image buffer. It is the mechanism the SoC write data into the buffer...
by 6by9
Fri Jun 11, 2021 7:51 am
Forum: Compute Module
Topic: 4 lane CSI & IMX477 Camera Module
Replies: 24
Views: 1496

Re: 4 lane CSI & IMX477 Camera Module

Yes CSI-4 is 4 lane. No it's not. Please don't invent terms as it will cause confusion. MIPI CSI-2 is a specification for a Camera Serial Interface over 1 to 4 (potentially extendable up to 8) data lanes over MIPI C-PHY or D-PHY MIPI CSI-3 exists and is a new and incompatible interface, generally u...
by 6by9
Thu Jun 10, 2021 8:24 pm
Forum: General discussion
Topic: Trying to play a 3840x1080 video across screens on a RPI4. This device is garbage, or am I stupid?
Replies: 45
Views: 1853

Re: Trying to play a 3840x1080 video across screens on a RPI4. This device is garbage, or am I stupid?

The V4L2 stateful decoder API is already supported on both 32 and 64 bit OSes. And it include the features to produce output the decoded video on multiple HDMI ports at the same time on the Pi ? V4L2 produces the raw frames. What you choose to do with those frames is up to you. Present them to libd...
by 6by9
Thu Jun 10, 2021 5:56 pm
Forum: Camera board
Topic: How to share camera frame data between processes
Replies: 6
Views: 232

Re: How to share camera frame data between processes

The dmabuf handle is a file descriptor. File descriptors are per process, so you can't just print the number from within one process and pass it into another. There are kernel mechanisms to allow mapping file descriptors between processes, generally using a socket or similar. A quick search gave me ...
by 6by9
Thu Jun 10, 2021 5:50 pm
Forum: General discussion
Topic: Trying to play a 3840x1080 video across screens on a RPI4. This device is garbage, or am I stupid?
Replies: 45
Views: 1853

Re: Trying to play a 3840x1080 video across screens on a RPI4. This device is garbage, or am I stupid?

Quoting the InfoBeamer blog linked to earlier.. OMX is now deprecated on the Pi4 so info-beamer had to switch to a new method. In addition any kind of dual display output meant that a completely different approach of handling videos was needed. A complete rewrite of the video decoding engine was th...
by 6by9
Thu Jun 10, 2021 8:30 am
Forum: Camera board
Topic: Some questions about image buffers
Replies: 10
Views: 293

Re: Some questions about image buffers

the CSI specs just define that a 1bit error can be corrected, and a 2bit error can only be detected its up to whoever designs the CSI receiver, to decide what to actually do in the event of a 2bit error Besides the corruption image, how to ensure if there are multiple bit errors? How does CSI check...
by 6by9
Thu Jun 10, 2021 7:17 am
Forum: Camera board
Topic: Some questions about image buffers
Replies: 10
Views: 293

Re: Some questions about image buffers

Is there any reference to confirm this? I don't find it in the Documentation of 'MIPI Alliance Specification for Camera Serial Interface 2 (CSI-2)' i would assume its specific to the CSI receiver that broadcom put into the chip the CSI specs just define that a 1bit error can be corrected, and a 2bi...
by 6by9
Wed Jun 09, 2021 1:32 pm
Forum: Camera board
Topic: Some questions about image buffers
Replies: 10
Views: 293

Re: Some questions about image buffers

I have read the Camera Hardware Documentation on https://picamera.readthedocs.io/en/latest/fov.html , I have some questions about the pipeline. To the best of my knowledge, there will be a flag at the start/end of an image buffer to indicate the start/end of one frame. Yes, there are frame start an...
by 6by9
Wed Jun 09, 2021 12:11 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Rpi 4 with DRM and 7inch panel using kms driver
Replies: 230
Views: 12934

Re: Rpi 4 with DRM and 7inch panel using kms driver

In the 5.10 kernel I am building, the drivers for i2c@7e205000, i2c@1 and lcd@45 are attached after the vc4 driver. This results in that the vc4 driver cannot find the 7inch panel. Do I somehow need to change the driver load order or are there some other thing I am missing? Under device tree probe ...
by 6by9
Wed Jun 09, 2021 9:40 am
Forum: Advanced users
Topic: Moving Linux Kernel to 5.10
Replies: 604
Views: 86428

Re: Moving Linux Kernel to 5.10

Pi3 and Pi4 decode HEVC in totally different ways. Pi4 has dedicated hardware. Pi3 reuses H264 hardware that it can, but otherwise uses the VPU and QPUs to accelerate other parts of the decode. I thought the Pi4 was using the Arm cores to decode H.265? Is there "dedicated" hardware for th...
by 6by9
Tue Jun 08, 2021 7:11 pm
Forum: Troubleshooting
Topic: lockup on 4b : Firmware transaction timeout ?
Replies: 25
Views: 925

Re: lockup on 4b : Firmware transaction timeout ?

pi@rp49:~ $ vcgencmd get_mem gpu gpu=76M Looks like that is not enough. I don't see any kind of memory being set in my /boot/config.txt so that is some sort of default, I suppose? EDIT: apparently yes, 76 is the default for 1G+ memory systems. https://www.raspberrypi.org/documentation/configuration...

Go to advanced search