-
Notifications
You must be signed in to change notification settings - Fork 1
Description
I was following your blog http://cospandesign.github.io/linux,tx2,kernel,driver/2017/12/15/tx2-rpi-camera-port.html.
I have an Auvidea J106 board and raspberry pi 2.1 CSI cameras. As per your blog,
- I replaced the files imx219.c and imx219_mode_tbls.h in Linux_for_Tegra/sources/kernel/kernel-4.4/drivers/media/i2c.
- Commented out the camera lines in tegra186-quill-p3310-1000-a00-00-base.dts
- Made all the changes as mentioned in tegra186-my-camera-config-a00.dtsi in both modules and platform.
- downloaded toolchain and your helper scripts in the right location
- Made changes as mentioned by running ./build-kernel.sh -m
- Rebuilt kernel using ./build-kernel.sh -r (I can see built-in.mod.c, built-in.o, i2c-mux-pca954x.o, modules.builtin, modules.order files in Linux_for_Tegra_tx2/kernel/drivers/i2c/muxes)
- ran ./apply_binaries.sh
- Flashed it with jetpack by running JetPack-L4T-3.1-linux-x64.run
But I never see 3 extra buses as you have mentioned in /dev. I always have the regular 8 i2c devices. I also never see 3 new /dev/videoX entries.
When I run the following in my TX2
sudo su
cd /sys/class/gpio
echo 461 > export
cd gpio461
echo out > direction
echo 0 > value
echo 1 > value
i2cdetect -y -r 0
I see
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- UU -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- 64 -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- —
Which is for PiCamera 2.1
But on running gstreamer commands I get an error for pipeline.
Could you please help me out if I did the correct steps or not?