Hello,
I followed a write up to bring the IMX219 sensor up on the TX2 (http://cospandesign.github.io/linux,tx2,kernel,driver/2017/12/15/tx2-rpi-camera-port.html). Made some changes to it, but I’m not sure if what I did was right. On boot up, if I query devices with
ls /dev/
, I get ‘v4l-subdev0’ ‘v4l-subdev1’ ‘v4l-subdev2’, but no videoX.
If I run
dmesg | grep imx219
, this is the output I get:
[ 3.216203] imx219 9-0010: camera_common_parse_sensor_mode: mode 1920 x 1080:
[ 3.224059] imx219 9-0010: camera_common_parse_sensor_mode: line_length = 3448, pixel_clock = 182400000
[ 3.234778] imx219 9-0010: camera_common_parse_sensor_mode: mode 1280 x 720:
[ 3.242494] imx219 9-0010: camera_common_parse_sensor_mode: line_length = 3448, pixel_clock = 182400000
[ 3.253185] imx219 9-0010: camera_common_parse_sensor_mode: mode 640 x 480:
[ 3.260826] imx219 9-0010: camera_common_parse_sensor_mode: line_length = 3559, pixel_clock = 182400000
[ 3.271519] imx219 9-0010: Found and parsed of_node in DT
[ 3.277955] imx219 9-0010: imx219_probe: Debug FS Name: imx219.9-0010
[ 3.285111] imx219 9-0010: Created V4l2 subdev
[ 3.290240] imx219 9-0010: Initialize controls
[ 3.295347] imx219 9-0010: imx219_ctrls_init++
[ 3.300490] imx219 9-0010: Verify stream
[ 3.305529] imx219 9-0010: imx219_power_on: power on
[ 3.318733] imx219 9-0010: imx219_s_stream
[ 3.337148] imx219 9-0010: imx219_s_stream: Failed to set common values
[ 3.345231] imx219 9-0010: imx219_s_stream: error setting stream
[ 3.351909] imx219 9-0010: imx219_s_stream
[ 3.356670] imx219 9-0010: imx219_s_stream: Stopping Stream
[ 3.376618] imx219 9-0010: imx219_power_off: power off
[ 3.383342] imx219 9-0010: Failed to verify streaming
[ 3.389117] imx219: probe of 9-0010 failed with error -121
[ 3.400113] imx219 10-0010: camera_common_parse_sensor_mode: mode 1920 x 1080:
[ 3.408526] imx219 10-0010: camera_common_parse_sensor_mode: line_length = 3448, pixel_clock = 182400000
[ 3.419270] imx219 10-0010: camera_common_parse_sensor_mode: mode 1280 x 720:
[ 3.427037] imx219 10-0010: camera_common_parse_sensor_mode: line_length = 3448, pixel_clock = 182400000
[ 3.437756] imx219 10-0010: camera_common_parse_sensor_mode: mode 640 x 480:
[ 3.445477] imx219 10-0010: camera_common_parse_sensor_mode: line_length = 3559, pixel_clock = 182400000
[ 3.456252] imx219 10-0010: Found and parsed of_node in DT
[ 3.462474] imx219 10-0010: imx219_probe: Debug FS Name: imx219.10-0010
[ 3.469797] imx219 10-0010: Created V4l2 subdev
[ 3.476087] imx219 10-0010: Initialize controls
[ 3.482402] imx219 10-0010: imx219_ctrls_init++
[ 3.487654] imx219 10-0010: Verify stream
[ 3.492458] imx219 10-0010: imx219_power_on: power on
[ 3.505743] imx219 10-0010: imx219_s_stream
[ 3.524293] imx219 10-0010: imx219_s_stream: Failed to set common values
[ 3.532492] imx219 10-0010: imx219_s_stream: error setting stream
[ 3.539242] imx219 10-0010: imx219_s_stream
[ 3.544079] imx219 10-0010: imx219_s_stream: Stopping Stream
[ 3.564029] imx219 10-0010: imx219_power_off: power off
[ 3.570869] imx219 10-0010: Failed to verify streaming
[ 3.576699] imx219: probe of 10-0010 failed with error -121
[ 3.587737] imx219 11-0010: camera_common_parse_sensor_mode: mode 1920 x 1080:
[ 3.596107] imx219 11-0010: camera_common_parse_sensor_mode: line_length = 3448, pixel_clock = 182400000
[ 3.606834] imx219 11-0010: camera_common_parse_sensor_mode: mode 1280 x 720:
[ 3.614619] imx219 11-0010: camera_common_parse_sensor_mode: line_length = 3448, pixel_clock = 182400000
[ 3.625303] imx219 11-0010: camera_common_parse_sensor_mode: mode 640 x 480:
[ 3.632997] imx219 11-0010: camera_common_parse_sensor_mode: line_length = 3559, pixel_clock = 182400000
[ 3.643742] imx219 11-0010: Found and parsed of_node in DT
[ 3.649936] imx219 11-0010: imx219_probe: Debug FS Name: imx219.11-0010
[ 3.657257] imx219 11-0010: Created V4l2 subdev
[ 3.662464] imx219 11-0010: Initialize controls
[ 3.667657] imx219 11-0010: imx219_ctrls_init++
[ 3.672873] imx219 11-0010: Verify stream
[ 3.677640] imx219 11-0010: imx219_power_on: power on
[ 3.690914] imx219 11-0010: imx219_s_stream
[ 3.709410] imx219 11-0010: imx219_s_stream: Failed to set common values
[ 3.717556] imx219 11-0010: imx219_s_stream: error setting stream
[ 3.724297] imx219 11-0010: imx219_s_stream
[ 3.729110] imx219 11-0010: imx219_s_stream: Stopping Stream
[ 3.749048] imx219 11-0010: imx219_power_off: power off
[ 3.755840] imx219 11-0010: Failed to verify streaming
[ 3.761663] imx219: probe of 11-0010 failed with error -121
Clearly, it fails, but I don’t fully understand why.