Imx477 can't reach FullHD(4056×3040) on nano

get image from imx477 camera, but the high resolution only reach 3840x2160, can’t get 4056×3040
nano version: jetpack 4.6.1 B01 4GB
install imx477 by using: sudo /opt/nvidia/jetson-io/jetson-io.py

$v4l2-ctl --list-formats-ext

ioctl: VIDIOC_ENUM_FMT
        Index       : 0
        Type        : Video Capture
        Pixel Format: 'RG10'
        Name        : 10-bit Bayer RGRG/GBGB
                Size: Discrete 3840x2160
                        Interval: Discrete 0.033s (30.000 fps)
                Size: Discrete 1920x1080
                        Interval: Discrete 0.017s (60.000 fps)

dmesg has some error message
$dmesg | grep -E imx477

[    1.312489] imx477 7-001a: tegracam sensor driver:imx477_v2.0.6
[    1.614185] imx477 8-001a: tegracam sensor driver:imx477_v2.0.6
[    1.914549] imx477 8-001a: imx477_board_setup: error during i2c read probe (-121)
[    1.922157] imx477 8-001a: board setup failed
[    1.926636] imx477: probe of 8-001a failed with error -121
[    2.146105] vi 54080000.vi: subdev imx477 7-001a bound

exc nvgstcapture-1.0 part output below:

===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
GST_ARGUS: Creating output stream
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 3840 x 2160 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;

GST_ARGUS: 1920 x 1080 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;

GST_ARGUS: Running with following settings:
   Camera index = 0
   Camera mode  = 1
   Output Stream W = 1920 H = 1080
   seconds to Run    = 0
   Frame Rate = 59.999999

The driver didn’t implement the 4056x3040 sensor mode.
You need add it by yourself.

Thank you, Could you give me some guide to how to add it?

You need consult with sensor vendor to get the sensor mode configure and follow the sensor programing guide to add to the driver and device tree for it.

Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.