hello all,
I have a question for the string name to be defined the petalinux project; I am using zedboard, FMC PCAM adaptor, PCAM module for our vision application. We could successfully get the bare metal project working which we created the project from scratch. Now we are currently building Linux based application to have frames saved using yavta command. My design includes mipi -> demosaic -> frame_write -> frame_read -> VGA.
we are facing issue in the mipi IP initialization. On someone's suggestion, we got to know that MIPI node in the pl.dtsi has to be defined accordng to our hardware used.
| MIPI string |
|---|
xlnx,exdes-board = "ZCU102"; xlnx,exdes-config = "MIPI_Video_Pipe_Camera_to_Display"; xlnx,exdes-fmc = "LI-IMX274MIPI-FMC V1.0 Single Sensor"; |
| MIPI Node |
|---|
mipi_csi2_rx_subsyst_0: mipi_csi2_rx_subsystem@43c00000 { clock-names = "lite_aclk", "dphy_clk_200M", "video_aclk"; clocks = <&misc_clk_0>, <&misc_clk_1>, <&misc_clk_0>; compatible = "xlnx,mipi-csi2-rx-subsystem-4.0", "xlnx,mipi-csi2-rx-subsystem-4.0"; interrupt-names = "csirxss_csi_irq"; interrupt-parent = <&intc>; interrupts = <0 29 4>; reg = <0x43c00000 0x10000>; xlnx,axis-tdata-width = <32>; xlnx,cal-mode = "NONE"; xlnx,clk-io-swap = "false"; xlnx,clk-lane-io-position = <0x0>; xlnx,clk-lp-io-swap = "false"; xlnx,csi-en-activelanes = "true"; xlnx,csi-en-crc = "true"; xlnx,csi-filter-userdatatype = "false"; xlnx,csi-opt1-regs = "false"; xlnx,csi-pxl-format = "RAW10"; xlnx,csi2rx-dbg = <0x0>; xlnx,data-lane0-io-position = <0x2>; xlnx,data-lane1-io-position = <0x4>; xlnx,data-lane2-io-position = <0x6>; xlnx,data-lane3-io-position = <0x8>; xlnx,dl0-io-swap = "false"; xlnx,dl0-lp-io-swap = "false"; xlnx,dl1-io-swap = "false"; xlnx,dl1-lp-io-swap = "false"; xlnx,dl2-io-swap = "false"; xlnx,dl2-lp-io-swap = "false"; xlnx,dl3-io-swap = "false"; xlnx,dl3-lp-io-swap = "false"; xlnx,dphy-lanes = <0x2>; xlnx,dphy-mode = "SLAVE"; xlnx,en-active-lanes ; xlnx,en-bg0-pin0 = "false"; xlnx,en-bg0-pin6 = "false"; xlnx,en-bg1-pin0 = "false"; xlnx,en-bg1-pin6 = "false"; xlnx,en-bg2-pin0 = "false"; xlnx,en-bg2-pin6 = "false"; xlnx,en-bg3-pin0 = "false"; xlnx,en-bg3-pin6 = "false"; xlnx,en-clk300m = "false"; xlnx,en-csi-v2-0 = "true"; xlnx,en-exdesigns = "false"; xlnx,en-timeout-regs = "false"; xlnx,en-vcx = "false"; xlnx,esc-timeout = <0x6400>; xlnx,exdes-board = "ZCU102"; xlnx,exdes-config = "MIPI_Video_Pipe_Camera_to_Display"; xlnx,exdes-fmc = "LI-IMX274MIPI-FMC V1.0 Single Sensor"; xlnx,fifo-rd-en-control = "true"; xlnx,hs-line-rate = <0x118>; xlnx,hs-settle-ns = <0xaa>; xlnx,hs-timeout = <0x10005>; xlnx,idly-tap = <0x1>; xlnx,init = <0x186a0>; xlnx,is-7series = "true"; xlnx,is-versal = "false"; xlnx,max-lanes = <2>; xlnx,mipi-slv-int = <0x0>; xlnx,ppc = <1>; xlnx,share-idlyctrl = "false"; xlnx,stretch-line-rate = <0x5dc>; xlnx,vfb ; csiss_ports: ports { #address-cells = <1>; #size-cells = <0>; csiss_port0: port@0 { /* Fill cfa-pattern=rggb for raw data types, other fields video-format and video-width user needs to fill */ reg = <0>; xlnx,cfa-pattern = "rggb"; xlnx,video-format = <12>; xlnx,video-width = <8>; csiss_out: endpoint { remote-endpoint = <&demosaic_in>; }; }; csiss_port1: port@1 { /* Fill cfa-pattern=rggb for raw data types, other fields video-format,video-width user needs to fill */ /* User need to add something like remote-endpoint=<&out> under the node csiss_in:endpoint */ reg = <1>; xlnx,cfa-pattern = "rggb"; xlnx,video-format = <12>; xlnx,video-width = <8>; csiss_in: endpoint { }; }; }; }; |
I tried following the string name for the hardware used. Both of the strings had a kernel panic. Could someone please provide some more detailed information about this property which needs to be configured?
| Header 1 |
|---|
xlnx,exdes-board = "Zedboard"; xlnx,exdes-fmc = "FMC Pcam Adapter"; -------------------------------------------------- xlnx,exdes-board = "Zedboard"; xlnx,exdes-fmc = "otvi, ov5640"; |
zedboard_hardware
fmc-multicam4
fmc pcam adapter
fmc carrier card
Thanks in advance