Camera preview on HDMI

Hi robert, I have been trying to replicate the same steps- I used the prebaked boot.img(The latest one as you mentioned) and the rootfs , Firstly I do not get an HDMI out, and then I was also not able to list the cameras.
I get an error “ERROR IPAModule ipa_module.cpp:293 ipa_vimc_isolate.so: IPA module has no valid info
[0:02:05.885318651] [849] INFO Camera camera_manager.cpp:287 libcamera v0.0.0+1[ 126.025563]766-41905948”.
I am attaching the logs here:
Can you please take a look and help me figure out what’s going wrong here?
Thank you

Hi Ramya,

Could you verify your bootloader version is 62?

Hi @robertfoss i followed the same step down lode the boot.img and rootfs , but while flashing i am getting errror.

Attached log
scuser@GGNS1LTUBE02514:~/images$ fastboot flash boot boot.img
target reported max download size of 805306368 bytes
sending ‘boot_a’ (17816 KB)…
OKAY [ 0.475s]
writing ‘boot_a’…
OKAY [ 0.378s]
finished. total time: 0.854s
hscuser@GGNS1LTUBE02514:~/images$ fastboot flash rootfs rootfs.img
target reported max download size of 805306368 bytes
sending sparse ‘rootfs’ 1/7 (780375 KB)…
OKAY [ 26.757s]
writing ‘rootfs’ 1/7…
FAILED (remote: Partition not found)
finished. total time: 26.758s
hscuser@GGNS1LTUBE02514:~/images$ fastboot flash rootfs rootfs.img
target reported max download size of 805306368 bytes
sending sparse ‘rootfs’ 1/7 (780375 KB)…
OKAY [ 26.753s]
writing ‘rootfs’ 1/7…
FAILED (remote: Partition not found)
finished. total time: 26.754s

Hi Manish,

The rootfs partition being missing sounds like a symptom of the wrong partition table being flashed.

Can you run the Linux variety of the rescue package and then try again?

http://releases.linaro.org/96boards/dragonboard845c/linaro/rescue/

Hi @robertfoss now i am able to flash but not able to list the camera device .

I get an error “ERROR IPAModule ipa_module.cpp:293 ipa_vimc_isolate.so: IPA module has no valid info
[0:02:05.885318651] [849] INFO Camera camera_manager.cpp:287 libcamera v0.0.0+1[ 126.025563]766-41905948
[/quote]

@Manish Are you using these instructions?

yes @robertfoss i am using these instruction .
i am using using prebacked Rootfs and boot.img .

The board you’re using is a RB3 + 1x OV7251 + 1x OV8856 sensors?

Can you run the below commands and send me their full output?

## List devices
cam -l

## Open qcam viewer with the ov8856 sensor
qcam -c /base/soc@0/cci@ac4a000/i2c-bus@0/camera@10

yes i am using RB3 + 1x OV7251 + 1x OV8856 sensors .
log
root@linaro-alip:~# cam -l
[0:04:08.190681782] [1335] ERROR IPAModule ipa_module.cpp:293 ipa_vimc_isolate.so: IPA module has no valid info
[0:04:08.190914074] [1335] INFO Camera camera_manager.cpp:287 libcamera v0.0.0+1766-41905948
Available cameras:
root@linaro-alip:~#
root@linaro-alip:~# qcam -c /base/soc@0/cci@ac4a000/i2c-bus@0/camera@10
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.

@Manish cam -l doesn’t seem to find sensor.

I’m not sure how much debug info is in the build that you’re running, but I think the next step is to verify that the ov8856 sensor is initialized properly. Can you confirm that the sensor is probing correctly?

dmesg | grep 8856

HI @robertfoss it seems prob is failing
root@linaro-alip:~# dmesg | grep 8856
[ 95.710452] bus: ‘i2c’: driver_probe_device: matched device 16-0010 with driver ov8856
[ 95.721196] bus: ‘i2c’: really_probe: probing driver ov8856 with device 16-0010
[ 95.721250] ov8856 16-0010: no init pinctrl state
[ 95.730432] ov8856 16-0010: no sleep pinctrl state
[ 95.743454] ov8856 16-0010: no idle pinctrl state
[ 95.743489] ov8856 16-0010: adding to PM domain titan_top_gdsc
[ 95.755457] ov8856 16-0010: genpd_add_device()
[ 95.764904] ov8856 16-0010: Linked as a consumer to regulator.28
[ 95.824707] ov8856 16-0010: Linked as a consumer to regulator.32
[ 95.836247] ov8856 16-0010: Linked as a consumer to regulator.31
[ 95.863887] ov8856 16-0010: failed to find sensor: -5
[ 95.878580] ov8856 16-0010: removing from PM domain titan_top_gdsc
[ 95.888623] ov8856 16-0010: genpd_remove_device()
[ 95.898108] ov8856 16-0010: Dropping the link to regulator.28
[ 95.907425] ov8856 16-0010: Dropping the link to regulator.32
[ 95.916934] ov8856 16-0010: Dropping the link to regulator.31
[ 95.928022] ov8856: probe of 16-0010 failed with error -5
root@linaro-alip:~# [ 287.590364] systemd-journald[399]: Sent WATCHDOG=1 notification.

The ov8856 sensor is not probing correctly. Error -5 is something I’ve seen too, but in my case it seemed to have something to do with the actual sensor not being able to get initialized. My reading of the tea-leaves was that I was seeing CCI/I2C communication issues, it’s not a problem that I ever resolved with my board.

HI @ramya i am getting same Error . How did You Resolve this error .