After reading 15 pages here I decided to try it on RPI 3B+ (2018) but not much luck so far... I only connected 15pin camera, I use B101 rev 4 and it has 8 wires for GPIO but no instructions how to connect them to the board (8 to 40 map)
1. I got
hdmi_hack branch and compiled it
Code: Select all
setting GPIO for board revsion: a020d3
Failed: don't know how to set GPIO for this board!
2. Edited ./camera_i2c and added
a020d3 because it does not have 3B+ board defined, but I guess it is the same as 3...
3. Set a couple of missing utils and interface so
$ v4l2-ctl --set-edid=file=1080P50EDID.txt --fix-edid-checksums
Code: Select all
CEA-861 Header
IT Formats Underscanned: yes
Audio: yes
YCbCr 4:4:4: no
YCbCr 4:2:2: no
HDMI Vendor-Specific Data Block
Physical Address: 3.0.0.0
YCbCr 4:4:4 Deep Color: no
30-bit: no
36-bit: no
48-bit: no
CEA-861 Video Capability Descriptor
RGB Quantization Range: yes
YCC Quantization Range: no
PT: Supports both over- and underscan
IT: Supports both over- and underscan
CE: Supports both over- and underscan
VIDIOC_S_EDID: failed: Inappropriate ioctl for device
4. With loaded driver, I can get so image output but the resolution or frequency seems to be way off, I see screen multiplied 4 times and shaking
sudo modprobe bcm2835-v4l2
$ sudo vcdbg log msg
Code: Select all
001927.200: brfs: File read: /mfs/sd/bcm2710-rpi-3-b-plus.dtb
001927.225: Loading 'bcm2710-rpi-3-b-plus.dtb' to 0x46f730 size 0x463c
002042.705: brfs: File read: 17980 bytes
002044.943: brfs: File read: /mfs/sd/config.txt
002045.487: dtparam: i2c_arm=on
002054.930: dtparam: audio=on
002067.212: dtparam: i2c_arm=on
002076.540: dtparam: i2c_vc=true
003231.018: Device tree loaded to 0x2effb500 (size 0x4a7f)
003233.057: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined
004635.379: vchiq_core: vchiq_init_state: slot_zero = 0xe6d80000, is_master = 1
004640.272: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
004647.324: TV service:host side not connected, dropping notification 0x00000002, 0x00000001, 0x00000010
054236.890: camsubs: Looking for camera 0: i2c_port = 0, led gpio = 134, power enable gpio = 133
054237.612: camsubs: Camera not found
054237.648: camsubs: Looking for camera 0: i2c_port = 0, led gpio = 134, power enable gpio = 133
054238.367: camsubs: Camera not found
054238.404: camsubs: Looking for camera 0: i2c_port = 0, led gpio = 134, power enable gpio = 133
054238.930: camsubs: Camera found OK
054241.415: gpioman: gpioman_get_pin_num: pin CAMERA_LED not defined
054243.066: brfs: File read: 1713 bytes
userland $ ./build/bin/raspivid -t 5000 --width 1280 --height 720 -md 1
Gives a black screen
I also have
https://lintestsystems.com/products/picapture-hd1 and it works out of the box but image quality (especially text from computer/media player) is not that great
So far I got zero help from
Auvidea, so maybe you can help me?