We use some essential cookies to make our website work.

We use optional cookies, as detailed in our cookie policy, to remember your settings and understand how you use our website.

3 posts • Page 1 of 1
costel78
Posts: 22
Joined: Wed Sep 18, 2019 6:14 am

Camera module 3 on Gentoo

Mon May 26, 2025 2:48 pm

Hello,
Need help to use a camera module 3, please. The OS is Gentoo, not Raspberry Pi OS. For the start, simply want to know if the camera is not faulty and/or kernel config is ok.
Diagnostic messages:

Code: Select all

pi5d ~ # dmesg | grep -i imx
[ 0.029775] /axi/pcie@1000120000/rp1/i2c@80000/imx708@1a: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/csi@128000
[ 0.029802] /axi/pcie@1000120000/rp1/csi@128000: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/i2c@80000/imx708@1a
[ 0.029954] /axi/pcie@1000120000/rp1/i2c@80000/imx708@1a: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/csi@128000
[ 0.029978] /axi/pcie@1000120000/rp1/csi@128000: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/i2c@80000/imx708@1a
[ 0.342201] /axi/pcie@1000120000/rp1/i2c@80000/imx708@1a: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/csi@128000
[ 0.351257] /axi/pcie@1000120000/rp1/i2c@80000/imx708@1a: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/csi@128000
[ 0.351273] /axi/pcie@1000120000/rp1/csi@128000: Fixed dependency cycle(s) with /axi/pcie@1000120000/rp1/i2c@80000/imx708@1a
[ 0.690879] imx708 11-001a: camera module ID 0x0301
[ 0.691790] rp1-cfe 1f00128000.csi: found subdevice /axi/pcie@1000120000/rp1/i2c@80000/imx708@1a
[ 0.691806] rp1-cfe 1f00128000.csi: Using sensor imx708 for capture
pi5d ~ # libcamera-hello --list-camera
No cameras available!
pi5d ~ # i2cdetect -l
i2c-1	i2c 	Synopsys DesignWare I2C adapter 	I2C adapter
i2c-11	i2c 	Synopsys DesignWare I2C adapter 	I2C adapter
i2c-13	i2c 	107d508200.i2c 	I2C adapter
i2c-14	i2c 	107d508280.i2c 	I2C adapter
i2c-15	i2c 	1-1.4.4:1.0 	I2C adapter
i2c-16	i2c 	1-1.4.4:1.0 	I2C adapter
i2c-17	i2c 	1-1.4.4:1.0 	I2C adapter
i2c-18	i2c 	1-1.4.4:1.0 	I2C adapter
i2c-19	i2c 	i2c-16-mux (chan_id 0) 	I2C adapter
i2c-20	i2c 	i2c-18-mux (chan_id 0) 	I2C adapter
pi5d ~ # i2cdetect -y 1
 0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- -- 
pi5d ~ # i2cdetect -y 11
 0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- UU -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- 64 -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- -- 
pi5d ~ # i2cdetect -y 13
 0 1 2 3 4 5 6 7 8 9 a b c d e f
00: 08 09 0a 0b 0c 0d 0e 0f 
10: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 
20: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 
30: 30 -- -- -- -- -- -- 37 38 39 3a 3b 3c 3d 3e 3f 
40: 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f 
50: 50 -- -- -- 54 -- -- -- 58 -- -- -- -- -- -- -- 
60: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 
70: 70 71 72 73 74 75 76 77 
pi5d ~ # i2cdetect -y 14
 0 1 2 3 4 5 6 7 8 9 a b c d e f
00: 08 09 0a 0b 0c 0d 0e 0f 
10: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 
20: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 
30: -- -- -- -- -- -- -- -- 38 39 3a 3b 3c 3d 3e 3f 
40: 40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f 
70: 70 71 72 73 74 75 76 77 
pi5d ~ # i2cdetect -y 15
 0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- -- 
pi5d ~ # i2cdetect -y 16
 0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: UU -- -- -- UU -- -- 67 -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- -- 
pi5d ~ # i2cdetect -y 17
 0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- -- 
pi5d ~ # i2cdetect -y 18
 0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- UU 64 -- -- UU -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- -- 
pi5d ~ # i2cdetect -y 19
 0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: UU -- -- -- UU -- -- 67 -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- -- 
pi5d ~ # i2cdetect -y 20
 0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- UU 64 -- -- UU -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- -- 
pi5d ~ # vclog -m
005932.606: *** Restart logging
005947.177: Initial voltage 800000 temp 24091
006147.779: avs_2712: AVS pred 8807 880700 temp 23541
006151.380: vpred 880 mV +0
006160.063: FB framebuffer_swap 1
006179.441: Select resolution HDMI0/2 hotplug 1 max_mode 2
006195.869: HDMI0 edid block 0 offset 0
006198.252: 00ffffffffffff004c2d76714e575843
006203.925: 04200103804024782a6115ad5045a426
006209.598: 0e5054bfef80714f810081c081809500
006215.271: a9c0b300010108e80030f2705a80b058
006220.944: 8a0078682100001e000000fd0030901e
006226.617: ff8f000a202020202020000000fc004c
006232.290: 53323841473730304e0a2020000000ff
006237.962: 0048345a543130313233300a20200387
006256.016: HDMI0 edid block 1 offset 128
006258.571: f0027000000000000000000000000000
006264.244: 00000000000000000000000000000000
006269.917: 00000000000000000000000000000000
006275.589: 00000000000000000000000000000000
006281.262: 00000000000000000000000000000000
006286.935: 00000000000000000000000000000000
006292.608: 00000000000000000000000000000000
006298.280: 0000000000000000000000000000009e
006316.327: HDMI0 edid block 2 offset 256
006318.885: 00ffffffffffff004c2d76714e575843
006324.558: 04200103804024782a6115ad5045a426
006330.231: 0e5054bfef80714f810081c081809500
006335.903: a9c0b300010108e80030f2705a80b058
006341.576: 8a0078682100001e000000fd0030901e
006347.249: ff8f000a202020202020000000fc004c
006352.922: 53323841473730304e0a2020000000ff
006358.595: 0048345a543130313233300a20200387
006376.638: HDMI0 edid block 3 offset 384
006379.191: f0027000000000000000000000000000
006384.864: 00000000000000000000000000000000
006390.537: 00000000000000000000000000000000
006396.209: 00000000000000000000000000000000
006401.882: 00000000000000000000000000000000
006407.555: 00000000000000000000000000000000
006413.228: 00000000000000000000000000000000
006418.901: 0000000000000000000000000000009e
006424.587: HDMI0: best-mode 1 (limit 2) 1280x720 60 Hz CEA modes 10000000000000000000000000000000 extensions 3
006436.098: Select resolution HDMI1/2 hotplug 0 max_mode 2
006443.020: FB0 disp 0 max-fb 2 1280x720 stride 2560 base 0x3fa00000
006460.408: dtb_file 'bcm2712-rpi-5-b.dtb'
006557.035: dtparam: i2c_arm=on
006572.366: dtparam: spi=on
006649.696: Loaded overlay 'imx708'
006812.026: Loaded overlay 'vc4-kms-v3d-pi5'
006814.865: dtparam: pwr_led_trigger=default-on
006837.131: dtparam: pwr_led_activelow=off
006855.582: dtparam: act_led_trigger=default-on
006874.778: dtparam: act_led_activelow=off
006893.061: dtparam: eth_led0=4
006909.426: dtparam: eth_led1=4
006925.365: dtparam: nvme=true
006936.644: dtparam: pciex1_1=gen3
006942.937: Unknown dtparam 'pciex1_1' - ignored
006946.114: dtparam: pciex1_gen=3
007088.174: Loaded overlay 'dwc2'
007090.037: dtparam: dr_mode=host
007094.924: dtparam: fan_temp0=20000
007115.072: dtparam: fan_temp0_hyst=10000
007132.975: dtparam: fan_temp0_speed=240
007235.658: Read command line from file 'cmdline.txt':
007242.157: 'console=serial0,115200 console=tty1 root=PARTUUID=41c569fe-87dc-47ae-ac65-86920a53044e rootfstype=ext4 fsck.repair=yes rootwait quiet plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=RO systemd.gpt_auto=no zram.num_devices=2'
007468.963: RPM 6353, max RPM 6353
008356.904: Device tree loaded to 0x2efec200 (size 0x13d67)
008433.086: Starting OS 8433 ms
008438.611: 00000040: -> 00000480
008440.461: 00000030: -> 00100080
008445.174: 00000034: -> 00100080
008449.887: 00000038: -> 00100080
008454.599: 0000003c: -> 00100080
008556.745: sdram: sdram refresh 2081->8324 (1)
068465.479: initial_turbo of 60 deactivated
pi5d ~ # cat /boot/config.txt 
arm_64bit=1
arm_boost=1
dtparam=i2c_arm=on
dtparam=spi=on
display_auto_detect=1
disable_fw_kms_setup=1
max_framebuffers=2
disable_overscan=1
disable_splash=1
start_x=1
camera_auto_detect=0
dtoverlay=imx708
# disable_camera_led=1
[pi5]
dtoverlay=vc4-kms-v3d-pi5
dtparam=pwr_led_trigger=default-on
dtparam=pwr_led_activelow=off
dtparam=act_led_trigger=default-on
dtparam=act_led_activelow=off
dtparam=eth_led0=4
dtparam=eth_led1=4
# dtparam=rtc_bbat_vchg=3000000
disable_poe_fan=1
usb_max_current_enable=1
dtparam=nvme
dtparam=pciex1_1=gen3
dtparam=pciex1_gen=3
max_usb_current=1
dtoverlay=rpivid-v4l2
dtoverlay=dwc2,dr_mode=host
dtparam=fan_temp0=20000
dtparam=fan_temp0_hyst=10000
dtparam=fan_temp0_speed=240
Please ask, for any more info. To me is looking like the camera is detected by the kernel, but not by libcamera-hello, maybe because kernel config missing some bits, but don't know what exactly.

Thank you!

Gavinmc42
Posts: 8346
Joined: Wed Aug 28, 2013 3:31 am

Re: Camera module 3 on Gentoo

Wed May 28, 2025 1:17 pm

Have you posted on the Gentoo forum, there are a few guys there who port Gentoo to the Pi and are very familiar with issues.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

costel78
Posts: 22
Joined: Wed Sep 18, 2019 6:14 am

Re: Camera module 3 on Gentoo

Thu May 29, 2025 11:29 am

No, I didn't ask on Gentoo forum, was hopping to get the kernel bits from here. The thread was moved from Camera module. Will try to make a side by side comparation of dmesg, vclog betweek RaspiOS and Gentoo.

3 posts • Page 1 of 1

Return to "Gentoo"

AltStyle によって変換されたページ (->オリジナル) /