can't configure format on node using media-ctl

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

can't configure format on node using media-ctl

3,088 Views
richc128
Contributor III

i'm trying to set the format for the output of mxc_isi and get an error that I have no idea what it means

# media-ctl -V "'mxc_isi.0':12 [fmt:SGRBG8_1X8/1280x720 field:none]"
Unable to setup formats: No such file or directory (2)

This is what the nodes look like

Media controller API version 5.4.70

Media device information
------------------------
driver          mxc-md
model           FSL Capture Media Device
serial          
bus info        
hw revision     0x0
driver version  5.4.70

Device topology
- entity 1: mxc_isi.0 (16 pads, 2 links)
            type V4L2 subdev subtype Unknown flags 0
        pad0: Sink
                <- "mxc-mipi-csi2.0":4 [ENABLED]
        pad1: Sink
        pad2: Sink
        pad3: Sink
        pad4: Sink
        pad5: Sink
        pad6: Sink
        pad7: Sink
        pad8: Sink
        pad9: Sink
        pad10: Sink
        pad11: Sink
        pad12: Source
                -> "mxc_isi.0.capture":0 [ENABLED]
        pad13: Source
        pad14: Source
        pad15: Sink

- entity 18: mxc_isi.0.capture (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video0
        pad0: Sink
                <- "mxc_isi.0":12 [ENABLED]

- entity 22: mxc-mipi-csi2.0 (8 pads, 2 links)
             type Node subtype V4L flags 0
             device node name /dev/v4l-subdev0
        pad0: Sink
                <- "ar0144 2-0010":0 [ENABLED,IMMUTABLE]
        pad1: Sink
        pad2: Sink
        pad3: Sink
        pad4: Source
                -> "mxc_isi.0":0 [ENABLED]
        pad5: Source
        pad6: Source
        pad7: Source

- entity 31: ar0144 2-0010 (2 pads, 1 link)
             type V4L2 subdev subtype Sensor flags 0
             device node name /dev/v4l-subdev1
        pad0: Source
                [fmt:SGRBG12_1X12/1280x720@1/60 field:none colorspace:unknown xfer:none
                 crop.bounds:(0,0)/1296x808
                 crop:(0,4)/1280x720]
                -> "mxc-mipi-csi2.0":0 [ENABLED,IMMUTABLE]
        pad1: Source
                [fmt:SGRBG12_1X12/1280x720@1/60 field:none colorspace:unknown xfer:none
                 crop.bounds:(0,0)/1296x808
                 crop:(0,4)/1280x720]

 

 

 

Tags (2)
0 Kudos
Reply
1 Reply

3,067 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

The format you set is not  supported.This AN may help you.

https://www.nxp.com/docs/en/application-note/AN13430.pdf

0 Kudos
Reply