IMX298 and IMX135 with RPI 3B Buster

When I run ./list_format on a fresh install with either camera I get these results:

[email protected]:~/MIPI_Camera/RPI $ ./list_format
sh: 1: gpio: not found
sh: 1: gpio: not found
sh: 1: gpio: not found
sh: 1: gpio: not found
sh: 1: gpio: not found
sh: 1: gpio: not found
sh: 1: gpio: not found
sh: 1: gpio: not found
sh: 1: gpio: not found
sh: 1: i2cdetect: not found
I2C check functionality fail.
init camera status = 4098

I checked the cable multiple times on both cameras to make sure the orientation is correct. I checked to make sure that the cables are not broken and they are seated correctly. The behavior is the same regardless of whether the camera is plugged in or not.

I am running headless over the network. I used sudo raspi-config to enable the camera.

/boot/config.txt includes gpu_mem=128 and because I am running headless start_x=0

I am using Raspberry Pi 3 Model B Rev 1.2 with Raspbian Buster Lite:

[email protected]:~/MIPI_Camera/RPI $ cat /proc/cpuinfo
processor	: 0
model name	: ARMv7 Processor rev 4 (v7l)
BogoMIPS	: 38.40
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 1
model name	: ARMv7 Processor rev 4 (v7l)
BogoMIPS	: 38.40
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 2
model name	: ARMv7 Processor rev 4 (v7l)
BogoMIPS	: 38.40
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 3
model name	: ARMv7 Processor rev 4 (v7l)
BogoMIPS	: 38.40
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

Hardware	: BCM2835
Revision	: a22082
Serial		: 00000000f019c194
Model		: Raspberry Pi 3 Model B Rev 1.2
[email protected]:~/MIPI_Camera/RPI $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
[email protected]:~/MIPI_Camera/RPI $ uname -a
Linux raspberrypi 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux

Hi,

Sorry for my later reply. It seems the wiringPi lib exist some problems.

Please try to update the wiringPi lib using the following commads:

cd /tmp
wget https://project-downloads.drogon.net/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb

It turned out the problem was that I2C was not enabled. I’m not sure why, but I guess “enable_i2c_vc.sh” failed. I manually enabled i2c via “sudo raspi-config” and now it works.

Awesome! Great to hear you have solved your problems.