shantaramj

Newcomers
  • Content Count

    17
  • Joined

  • Last visited

About shantaramj

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks for relpy @elodg I am used same repo and its tested successfully.
  2. thanks for reply @Ionel Problem was solved by changing some modification in application.
  3. Hello Folks, I am running linux on cpu0 and baremetal application on cpu1 using openAMP. I already have baremetal application which is load data from sdcard and send it to video mixer. Now i want to sdcard is access by linux and send sdcard data to baremetal application. so i want to share linux application data with baremetal application. how can i do this? My baremetal video application is: i stored image data in sdcard then its load into DDR and send to video mixer SDCARD(image data)---> DDR ---> video mixer----> HDMI outpt In openAMP: Now I want to sdcard is access by linux and flow goes to as above. please give me any clue or example how can i share ddr. platform Zybo 7020 vivado ver. 2018.2 Thanks in advance
  4. Hi @Cosmin I am getting error while fetching linux kernel from commit 2080cccbb622912d15ad727e98349cc971192952. ERROR: linux-xlnx-4.19-xilinx-v2019.1+gitAUTOINC+2080cccbb6-r0 do_fetch: Fetcher failure: Unable to find revision 2080cccbb622912d15ad727e98349cc971192952 in branch master even from upstream
  5. Thanks for replay @Cosmin Yes i found guide for how to take pictures from camera. i was able to capture images from it. I want to know can i open MIPI camera device using opencv like usb camera. I am new in linux application could you please elaborate the procedure for how can i drive framebuffer manually or if you can give me the reference for it. it will be helpful for us.
  6. Thanks for reply @Cosmin I'll try and let you know.
  7. Hello folks, I am building Pcam-5c petalinux project. For this we are using zybo-Z7-20 and referring following github link: https://github.com/Digilent/Zybo-Z7-20-base-linux This link of Pcam-5c petalinux project provide for vivado & petalinux 2017.4 . Can i use this project with vivado & petalinux 2019.1 version. Thanks in advance.
  8. Hello folks, We are developing application for Object detection using Zybo z7-20 board. This petalinux project targets the Vivado block diagram project found here: https://github.com/Digilent/Zybo-Z7-20-base-linux Vivado ver. 2017.4 Petalinux ver. 2017.4 Along with this we are using debian rootfs. We are installed tensorflow, opencv libraries on it and those libraries are working well. Remaining part is we want to take input from MIPI Pcam 5c camera(using opencv) and show its on HDMI display. how can i do this Please help. Thanks in advance.
  9. Hello folks, I am running Zybo Z7-20 Pcam petalinux project on Zybo Z7-20 board. I have issue regarding about frame buffer device. /dev directory is not showing any /dev/fb0 device boot log for xilinx drm driver as follows [ 1.509100] [drm] No max horizontal width in DT, using default 1920 [ 1.515317] [drm] No max vertical height in DT, using default 1080 [ 1.521578] OF: graph: no port node found in /amba_pl/xilinx_drm [ 1.527561] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 1.534160] [drm] No driver support for vblank timestamp query. [ 1.540396] [drm] Cannot find any crtc or sizes [ 1.545341] [drm] Initialized xilinx_drm 1.0.0 20130509 for amba_pl:xilinx_drm on minor 0 Snippet from device tree as follows &amba_pl { encoder_0: digilent_encoder { compatible = "digilent,drm-encoder"; digilent,fmax = <150000>; digilent,edid-i2c = <&i2c0>; }; xilinx_drm { compatible = "xlnx,drm"; xlnx,vtc = <&v_tc_out>; xlnx,connector-type = "HDMIA"; xlnx,encoder-slave = <&encoder_0>; clocks = <&axi_dynclk_0>; planes { xlnx,pixel-format = "rgb888"; plane0 { dmas = <&axi_vdma_1 0>; dma-names = "dma0"; }; }; }; }; when I am running modetest -M xilinx_drm command then connector status shows disconnected as given below .I have changed Desktop and cables two time but still not succeed. If i checked on baremetal application(HDMI Out) it works perfectly. [email protected]:~# modetest -M xilinx_drm Encoders: id crtc type possible crtcs possible clones 29 0 TMDS 0x00000001 0xffffffff Connectors: id encoder status name size (mm) modes encoders 30 0 disconnected HDMI-A-1 0x0 0 29 props: 1 EDID: flags: immutable blob blobs: value: 2 DPMS: flags: enum enums: On=0 Standby=1 Suspend=2 Off=3 value: 0 5 link-status: flags: enum enums: Good=0 Bad=1 value: 0 CRTCs: id fb pos size 28 0 (0,0) (0x0) 0 0 0 0 0 0 0 0 0 flags: ; type: props: Planes: id crtc fb CRTC x,y x,y gamma size possible crtcs 27 0 0 0,0 0,0 0 0x00000001 formats: RG24 props: 6 type: flags: immutable enum enums: Overlay=0 Primary=1 Cursor=2 value: 1 Frame buffers: id size pitch Thanks in advance
  10. @Ionel Thanks for reply, I solved my problem. There is clock issue in block design, after this I am successfully captured 14 images from mipi camera. I have another issue regarding about frame buffer device. /dev directory is not showing any /dev/fb0 device boot log for xilinx drm driver as follows [ 1.509100] [drm] No max horizontal width in DT, using default 1920 [ 1.515317] [drm] No max vertical height in DT, using default 1080 [ 1.521578] OF: graph: no port node found in /amba_pl/xilinx_drm [ 1.527561] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 1.534160] [drm] No driver support for vblank timestamp query. [ 1.540396] [drm] Cannot find any crtc or sizes [ 1.545341] [drm] Initialized xilinx_drm 1.0.0 20130509 for amba_pl:xilinx_drm on minor 0 and device list under /dev directory [email protected]:/dev# ls block loop1 ram1 stderr tty21 tty38 tty54 v4l-subdev0 bus loop2 ram10 stdin tty22 tty39 tty55 v4l-subdev1 char loop3 ram11 stdout tty23 tty4 tty56 vcs console loop4 ram12 tty tty24 tty40 tty57 vcs1 cpu_dma_latency loop5 ram13 tty0 tty25 tty41 tty58 vcsa dri loop6 ram14 tty1 tty26 tty42 tty59 vcsa1 fd loop7 ram15 tty10 tty27 tty43 tty6 vga_arbiter full media0 ram2 tty11 tty28 tty44 tty60 video0 gpiochip0 mem ram3 tty12 tty29 tty45 tty61 watchdog i2c-0 memory_bandwidth ram4 tty13 tty3 tty46 tty62 watchdog0 i2c-1 mtab ram5 tty14 tty30 tty47 tty63 zero iio:device0 network_latency ram6 tty15 tty31 tty48 tty7 iio:device1 network_throughput ram7 tty16 tty32 tty49 tty8 initctl null ram8 tty17 tty33 tty5 tty9 kmsg port ram9 tty18 tty34 tty50 ttyPS0 log ptmx random tty19 tty35 tty51 udev_network_queue loop-control pts shm tty2 tty36 tty52 urandom loop0 ram0 snd tty20 tty37 tty53 v4l Snippet from device tree as follows &amba_pl { encoder_0: digilent_encoder { compatible = "digilent,drm-encoder"; digilent,fmax = <150000>; digilent,edid-i2c = <&i2c0>; }; xilinx_drm { compatible = "xlnx,drm"; xlnx,vtc = <&v_tc_out>; xlnx,connector-type = "HDMIA"; xlnx,encoder-slave = <&encoder_0>; clocks = <&axi_dynclk_0>; planes { xlnx,pixel-format = "rgb888"; plane0 { dmas = <&axi_vdma_1 0>; dma-names = "dma0"; }; }; }; }; Thanks in advance
  11. Hello folks, I am running Zybo Z7-20 Pcam petalinux project on Zybo Z7-20 board. From README.md file below command will create 14 image files in current directory yavta -c14 -f YUYV -s "$width"x"$height" -F /dev/video0 when we test similarly our log stucks as per below [email protected]:~# yavta -c1 -f YUYV -s "$width"x"$height" -F /dev/video0 Device /dev/video0 opened. Device `video_cap output 0' on `platform:video_cap:0' is a video output (without mplanes) device. Video format set: YUYV (56595559) 1280x720 field none, 1 planes: * Stride 2560, buffer size 1843200 Video format: YUYV (56595559) 1280x720 field none, 1 planes: * Stride 2560, buffer size 1843200 8 buffers requested. length: 1 offset: 3201100384 timestamp type/source: mono/EoF Buffer 0/0 mapped at address 0xb6c29000. length: 1 offset: 3201100384 timestamp type/source: mono/EoF Buffer 1/0 mapped at address 0xb6a67000. length: 1 offset: 3201100384 timestamp type/source: mono/EoF Buffer 2/0 mapped at address 0xb68a5000. length: 1 offset: 3201100384 timestamp type/source: mono/EoF Buffer 3/0 mapped at address 0xb66e3000. length: 1 offset: 3201100384 timestamp type/source: mono/EoF Buffer 4/0 mapped at address 0xb6521000. length: 1 offset: 3201100384 timestamp type/source: mono/EoF Buffer 5/0 mapped at address 0xb635f000. length: 1 offset: 3201100384 timestamp type/source: mono/EoF Buffer 6/0 mapped at address 0xb619d000. length: 1 offset: 3201100384 timestamp type/source: mono/EoF Buffer 7/0 mapped at address 0xb5fdb000. from this we are not sure whether the images created or not. when we run media device information command(media-ctl -p) we get following log [email protected]:~# media-ctl -p Media controller API version 4.9.0 Media device information ------------------------ driver xilinx-video model Xilinx Video Composite Device serial bus info hw revision 0x0 driver version 4.9.0 Device topology - entity 1: video_cap output 0 (1 pad, 1 link) type Node subtype V4L flags 0 device node name /dev/video0 pad0: Sink <- "43c60000.mipi_csi2_rx_subsystem":0 [ENABLED] - entity 5: ov5640 1-003c (1 pad, 1 link) type V4L2 subdev subtype Sensor flags 0 device node name /dev/v4l-subdev0 pad0: Source [fmt:UYVY/1280x720 field:none] -> "43c60000.mipi_csi2_rx_subsystem":1 [ENABLED] - entity 7: 43c60000.mipi_csi2_rx_subsystem (2 pads, 2 links) type V4L2 subdev subtype Unknown flags 0 device node name /dev/v4l-subdev1 pad0: Source [fmt:UYVY/1280x720 field:none] -> "video_cap output 0":0 [ENABLED] pad1: Sink [fmt:UYVY/1280x720 field:none] <- "ov5640 1-003c":0 [ENABLED] when we run v4l2-ctl --all, [email protected]:~# v4l2-ctl --all Driver Info (not using libv4l2): Driver name : xilinx-vipp Card type : video_cap output 0 Bus info : platform:video_cap:0 Driver version: 4.9.0 Capabilities : 0x84201000 Video Capture Multiplanar Streaming Extended Pix Format Device Capabilities Device Caps : 0x04201000 Video Capture Multiplanar Streaming Extended Pix Format Priority: 2 Format Video Capture Multiplanar: Width/Height : 1280/720 Pixel Format : 'YUYV' Field : None Number of planes : 1 Flags : Colorspace : Default Transfer Function : Default YCbCr Encoding : Default Quantization : Default Plane 0 : Bytes per Line : 2560 Size Image : 1843200 [email protected]:~# Please help, Thanks in advance
  12. Hello folks, I am building Pcam-5c petalinux project. For this we are using Zybo z7-20 board and referring following github link: https://github.com/Digilent/Zybo-Z7-20-base-linux Software versions: Vivado ver. = 2017.4 petalinux ver. = 2017.4 While building linux kernel we came to know that it's not initializes OV5640 camera drivers. Hence, we are trying to add drivers manually. But We are getting following building errors. If anybody has worked related to this please provide information on How to build Linux kernel for Mipi camera Pcam 5C. Error Log as follows : * Camera sensor devices | * | Sony IMX274 sensor support (VIDEO_IMX274) [N/m/y/?] n | OmniVision OV2659 sensor support (VIDEO_OV2659) [N/m/y/?] n | OmniVision OV5640 sensor support (VIDEO_OV5640) [N/m/y/?] (NEW) aborted! | | Console input/output is redirected. Run 'make oldconfig' to update configuration. | | ERROR: oe_runmake failed | make[4]: *** [/home/sqm/Documents/petalinux17/cam/build/tmp/work-shared/plnx_arm/kernel-source/scripts/kconfig/Makefile:39: silentoldconfig] Error 1 | make[3]: *** [/home/sqm/Documents/petalinux17/cam/build/tmp/work-shared/plnx_arm/kernel-source/Makefile:546: silentoldconfig] Error 2 | make[2]: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'. Stop. | make[1]: *** [Makefile:150: sub-make] Error 2 | make: *** [Makefile:24: __sub-make] Error 2 | WARNING: /home/sqm/Documents/petalinux17/cam/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/linux-xlnx/4.9-xilinx-v2017.4+gitAUTOINC+b450e900fd-r0/temp/run.do_compile.38499:1 exit 1 from 'exit 1' | ERROR: Function failed: do_compile (log file is located at /home/sqm/Documents/petalinux17/cam/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/linux-xlnx/4.9-xilinx-v2017.4+gitAUTOINC+b450e900fd-r0/temp/log.do_compile.38499) ERROR: Task (/home/sqm/Documents/petalinux17/components/yocto/source/arm/layers/meta-xilinx/recipes-kernel/linux/linux-xlnx_4.9.bb:do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 2460 tasks of which 1925 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/sqm/Documents/petalinux17/components/yocto/source/arm/layers/meta-xilinx/recipes-kernel/linux/linux-xlnx_4.9.bb:do_compile Summary: There were 2 ERROR messages shown, returning a non-zero exit code. ERROR: Failed to build project Thanks in advance
  13. Hello folks, I am building Pcam-5c petalinux project. For this we are using Zybo z7-20 board and referring following github link: https://github.com/Digilent/Zybo-Z7-20-base-linux Software versions: Vivado ver. 2017.4 petalinux ver. 2017.4 I am getting following error message in linux boot log. xilinx-video amba_pl:video_cap: device registered xilinx-csi2rxss 43c60000.mipi_csi2_rx_subsystem: Xilinx CSI2 Rx Subsystem Soft Reset Timeout! xilinx-csi2rxss 43c60000.mipi_csi2_rx_subsystem: Xilinx CSI2 Rx Subsystem device found! xilinx-video amba_pl:video_cap: Entity type for entity 43c60000.mipi_csi2_rx_subsystem was not initialized! One more thing how initialise ov5640 camera driver in kernel configuration. Thanks in advance
  14. Hello folks, I am building Pcam-5c petalinux project. For this we are using zybo-Z7-20 and referring following github link: https://github.com/Digilent/Zybo-Z7-20-base-linux Software versions: Vivado ver. 2018.2 petalinux ver. 2018.2 I am getting following error message in linux boot log. Linux boot log : xilinx-video amba_pl:video_cap: device registered xilinx-csi2rxss 43c60000.mipi_csi2_rx_subsystem: Xilinx CSI2 Rx Subsystem device found! xilinx-video amba_pl:video_cap: Entity type for entity 43c60000.mipi_csi2_rx_subsystem was not initialized! OF: ERROR: Bad of_node_put() on /amba_pl/[email protected]/ports/[email protected]/endpoint CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.0-xilinx-v2018.2 #34 Hardware name: Xilinx Zynq Platform [<c010e894>] (unwind_backtrace) from [<c010aad0>] (show_stack+0x10/0x14) [<c010aad0>] (show_stack) from [<c064f2c8>] (dump_stack+0x80/0xa0) [<c064f2c8>] (dump_stack) from [<c06529b8>] (kobject_put+0x88/0x9c) [<c06529b8>] (kobject_put) from [<c04c67c0>] (xvip_graph_notify_complete+0xb4/0x4d4) [<c04c67c0>] (xvip_graph_notify_complete) from [<c04b5a04>] (v4l2_async_register_subdev+0xa0/0xc8) [<c04b5a04>] (v4l2_async_register_subdev) from [<c04cb988>] (xcsi2rxss_probe+0x6b8/0x790) [<c04cb988>] (xcsi2rxss_probe) from [<c03bbeb0>] (platform_drv_probe+0x50/0x9c) [<c03bbeb0>] (platform_drv_probe) from [<c03ba9f4>] (driver_probe_device+0x1ec/0x2b0) [<c03ba9f4>] (driver_probe_device) from [<c03bab34>] (__driver_attach+0x7c/0xa8) [<c03bab34>] (__driver_attach) from [<c03b9244>] (bus_for_each_dev+0x7c/0x8c) [<c03b9244>] (bus_for_each_dev) from [<c03ba06c>] (bus_add_driver+0x16c/0x1d4) [<c03ba06c>] (bus_add_driver) from [<c03bb2b8>] (driver_register+0xa0/0xe0) [<c03bb2b8>] (driver_register) from [<c0101a54>] (do_one_initcall+0xfc/0x11c) [<c0101a54>] (do_one_initcall) from [<c0900da4>] (kernel_init_freeable+0x188/0x1c8) [<c0900da4>] (kernel_init_freeable) from [<c065fddc>] (kernel_init+0x8/0x108) [<c065fddc>] (kernel_init) from [<c01070f0>] (ret_from_fork+0x14/0x24) OF: ERROR: Bad of_node_put() on /amba_pl/[email protected]/ports/[email protected]/endpoint CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.0-xilinx-v2018.2 #34 Hardware name: Xilinx Zynq Platform [<c010e894>] (unwind_backtrace) from [<c010aad0>] (show_stack+0x10/0x14) [<c010aad0>] (show_stack) from [<c064f2c8>] (dump_stack+0x80/0xa0) [<c064f2c8>] (dump_stack) from [<c06529b8>] (kobject_put+0x88/0x9c) [<c06529b8>] (kobject_put) from [<c04c68f4>] (xvip_graph_notify_complete+0x1e8/0x4d4) [<c04c68f4>] (xvip_graph_notify_complete) from [<c04b5a04>] (v4l2_async_register_subdev+0xa0/0xc8) [<c04b5a04>] (v4l2_async_register_subdev) from [<c04cb988>] (xcsi2rxss_probe+0x6b8/0x790) [<c04cb988>] (xcsi2rxss_probe) from [<c03bbeb0>] (platform_drv_probe+0x50/0x9c) [<c03bbeb0>] (platform_drv_probe) from [<c03ba9f4>] (driver_probe_device+0x1ec/0x2b0) [<c03ba9f4>] (driver_probe_device) from [<c03bab34>] (__driver_attach+0x7c/0xa8) [<c03bab34>] (__driver_attach) from [<c03b9244>] (bus_for_each_dev+0x7c/0x8c) [<c03b9244>] (bus_for_each_dev) from [<c03ba06c>] (bus_add_driver+0x16c/0x1d4) [<c03ba06c>] (bus_add_driver) from [<c03bb2b8>] (driver_register+0xa0/0xe0) [<c03bb2b8>] (driver_register) from [<c0101a54>] (do_one_initcall+0xfc/0x11c) [<c0101a54>] (do_one_initcall) from [<c0900da4>] (kernel_init_freeable+0x188/0x1c8) [<c0900da4>] (kernel_init_freeable) from [<c065fddc>] (kernel_init+0x8/0x108) [<c065fddc>] (kernel_init) from [<c01070f0>] (ret_from_fork+0x14/0x24) uvcvideo: Unable to create debugfs directory usbcore: registered new interface driver uvcvideo USB Video Class driver (1.1.1) cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1 usbcore: registered new interface driver cpia2 cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer at d09b6000 with timeout 10s EDAC MC: ECC not enabled Xilinx Zynq CpuIdle Driver started sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using ADMA ledtrig-cpu: registered to indicate activity on CPUs usbcore: registered new interface driver usbhid usbhid: USB HID core driver nand: No NAND device found pl35x-nand e1000000.flash: nand_scan_ident for NAND failed fpga_manager fpga0: Xilinx Zynq FPGA Manager registered NET: Registered protocol family 10 Segment Routing with IPv6 sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver NET: Registered protocol family 17 can: controller area network core (rev 20170425 abi 9) NET: Registered protocol family 29 can: raw protocol (rev 20170425) can: broadcast manager protocol (rev 20170425 t) can: netlink gateway (rev 20170425) max_hops=1 Registering SWP/SWPB emulation handler [drm] load() is defered & will be called again hctosys: unable to open rtc device (rtc0) of_cfs_init of_cfs_init: OK DOVDD_reg: disabling AVDD_reg: disabling DVDD_reg: disabling ALSA device list: No soundcards found. Warning: unable to open an initial console. Freeing unused kernel memory: 17408K udevd[786]: starting version 3.2.2 udevd[787]: starting eudev-3.2.2 PetaLinux 2018.2 testcam /dev/ttyPS0 testcam login: root Password: [email protected]:~# ls cd /dev ls: cd: No such file or directory /dev: block loop1 ram0 shm tty19 tty34 tty5 tty8 bus loop2 ram1 snd tty2 tty35 tty50 tty9 char loop3 ram10 stderr tty20 tty36 tty51 ttyPS0 console loop4 ram11 stdin tty21 tty37 tty52 udev_network_queue cpu_dma_latency loop5 ram12 stdout tty22 tty38 tty53 urandom fd loop6 ram13 tty tty23 tty39 tty54 v4l full loop7 ram14 tty0 tty24 tty4 tty55 v4l-subdev0 gpiochip0 media0 ram15 tty1 tty25 tty40 tty56 v4l-subdev1 i2c-0 mem ram2 tty10 tty26 tty41 tty57 vcs i2c-1 memory_bandwidth ram3 tty11 tty27 tty42 tty58 vcs1 iio:device0 mtab ram4 tty12 tty28 tty43 tty59 vcsa iio:device1 network_latency ram5 tty13 tty29 tty44 tty6 vcsa1 initctl network_throughput ram6 tty14 tty3 tty45 tty60 vga_arbiter kmsg null ram7 tty15 tty30 tty46 tty61 video0 log port ram8 tty16 tty31 tty47 tty62 watchdog loop-control ptmx ram9 tty17 tty32 tty48 tty63 watchdog0 loop0 pts random tty18 tty33 tty49 tty7 zero [email protected]:~# Thanks in advance