Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RpiCam V2 glitchy image with CM3I + CM3 Industrial IO board #132

Open
JuhanRaedovLCP opened this issue Feb 21, 2025 · 0 comments
Open

RpiCam V2 glitchy image with CM3I + CM3 Industrial IO board #132

JuhanRaedovLCP opened this issue Feb 21, 2025 · 0 comments

Comments

@JuhanRaedovLCP
Copy link

JuhanRaedovLCP commented Feb 21, 2025

Issue description

The current commit (a7f6a3b, but also older ones, for example 2dd43ac) are unable to get a proper image from RaspiCam V2. The image is glitchy:

Image.

The stock image from Docs Radxa works however. uname -a for it is
Linux radxa-cm3i-io 5.10.160-33-rk356x #a2c6058d5 SMP Fri Apr 26 10:05:00 UTC 2024 aarch64 GNU/Linux.

Hardware

  • Radxa CM3I SoM with Rockchip RK3568J
  • Radxa CM3I IO Board

Reproduce

Steps to build the kernel as per docs. The rebuilt kernel is applied over the stock image, link above.

  1. Get and build kernel
git clone --recurse-submodules https://github.com/radxa-repo/bsp.git
cd bsp
./bsp linux rk356x -r 999
  1. Copy files over
scp bsp/linux-image-5.10.160-999-rk356x_5.10.160-999_arm64.deb bsp/linux-headers-5.10.160-999-rk356x_5.10.160-999_arm64.deb <IP>:/home/radxa
  1. Install
sudo dpkg -r linux-image-5.10.160-999-rk356x linux-headers-5.10.160-999-rk356x
sudo dpkg -i linux-headers-5.10.160-999-rk356x_5.10.160-999_arm64.deb linux-image-5.10.160-999-rk356x_5.10.160-999_arm64.deb
  1. Check that kernel was updated with: uname -a
    Linux radxa-cm3i-io 5.10.160-999-rk356x #999 SMP Fri Feb 21 12:36:13 UTC 2025 aarch64 GNU/Linux

  2. Enable Raspberry Pi Camera V2 on Cam# in rsetup and reboot

  3. Open camera in cheese

Build setup

  • lsb_release -a
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.5 LTS
Release:	22.04
Codename:	jammy
  • uname -a
    Linux 6.8.0-52-generic #53~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jan 15 19:18:46 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant