nattaponj

Members
  • Content Count

    12
  • Joined

  • Last visited

About nattaponj

  • Rank
    Member

Recent Profile Visitors

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

  1. nattaponj

    How to access GPIO on OS: Linux

    @sbobrowiczPlease help me
  2. nattaponj

    How to access GPIO on OS: Linux

    Hello, I create project on SDSoc 2015.4 using platform (https://github.com/Digilent/SDSoC-platforms/tree/master/2015.4/zybo_hdmi_in) and I select Operating System is Linux because I use about image processing. but I want to access 4 LEDs on PL. Can I access the LED on PL? How to access GPIO (e.g. LEDs) on OS: Linux Previously I used OS: Standalone project. I can access by Xil_Out32(XPAR_AXI_GPIO_LED_BASEADDR, 0x2); but on Linux I can't. Thanks in advance
  3. nattaponj

    Is The Zybo Image Processing From Sources Tutorial Ready?

    Hi @jpeyron, I suspect that number is 76 150 29 and 128 came from. Thank you.
  4. nattaponj

    Is The Zybo Image Processing From Sources Tutorial Ready?

    Hi @sbobrowicz, I'm learning about image processing on the Zybo board. from link I wonder about the source of the calculations grayscale images. Can you explain or refer to the relevant documents for me? gray = (r * 76 + g * 150 + b * 29 + 128) >> 8; Thank you.
  5. nattaponj

    Arty Z7 HDMI in with OpenCV/Linux

    Hi @bogdan.deac, I have read the code from sobel_filter.cpp . I wonder about the code ... #pragma AP PIPELINE II = 1 What is it about? Is it about the document? I never met in writing a instruction on the software. I try to search in Google and not find. Thank you.
  6. nattaponj

    Arty Z7 HDMI in with OpenCV/Linux

    Hi @bogdan.deac, Thank you for the advice. But I have more questions. If I use xfOpenCV on the Zybo board, Can I render the video in real-time via the screen? Using HDMI as input to the Zybo board. And the board sends out information via the VGA port to monitor. Thank you.
  7. nattaponj

    Image Processing on Zybo

    Hi @jpeyron, Thank you for the advice. But I have more questions. If I use xfOpenCV on the Zybo board, Can I render the video in real-time via the screen? Using HDMI as input to the Zybo board. And the board sends out information via the VGA port to monitor.
  8. nattaponj

    Arty Z7 HDMI in with OpenCV/Linux

    Hi @bogdan.deac, I have a zybo board, can I do the above? Please guide me.
  9. nattaponj

    Image Processing on Zybo

    I'm making a project about image processing. The board used in the project is the Zybo board and operates on a frame 1920x1080 (Full HD). My project is Square Area Detection Then motion detection within the rectangular area. I would like to ask for advice or guidance directs the operation of the mine. (I'm new to Zybo boards and I just learned recently.) If anyone has suggestions and links for learning. Please direct me and attach the link. Thanks in advance. ^__^
  10. nattaponj

    making U-boot.elf For Zybo Zynq

    I am attempting to make the u-boot.elf file for the Zybo following this guide. I have a problem in Step 21: Compile U-Boot I am running into an error though that I am not sure how to resolve. Has anyone seen this before? I just learn about Zybo board. Thanks in advance. Using - Vivado 2014.1 - Host : Debian 9.2 nattaponj@debian:~/zybo_debian$ source /opt/Xilinx/Vivado/2014.1/settings64.sh nattaponj@debian:~/zybo_debian$ git clone https://github.com/Digilent/u-boot-Digilent-Dev.git Cloning into 'u-boot-Digilent-Dev'... remote: Counting objects: 252883, done. remote: Total 252883 (delta 0), reused 0 (delta 0), pack-reused 252883 Receiving objects: 100% (252883/252883), 72.54 MiB | 158.00 KiB/s, done. Resolving deltas: 100% (200043/200043), done. nattaponj@debian:~/zybo_debian$ make CROSS_COMPILE=arm-xilinx-linux-gnueabi- zynq_zybo_config make: *** No rule to make target 'zynq_zybo_config'. Stop. nattaponj@debian:~/zybo_debian$ cd u-boot-Digilent-Dev/ nattaponj@debian:~/zybo_debian/u-boot-Digilent-Dev$ make CROSS_COMPILE=arm-xilinx-linux-gnueabi- zynq_zybo_config Configuring for zynq_zybo board... nattaponj@debian:~/zybo_debian/u-boot-Digilent-Dev$ sudo make CROSS_COMPILE=arm-xilinx-linux-gnueabi- [sudo] password for nattaponj: make: arm-xilinx-linux-gnueabi-gcc: Command not found /bin/sh: arm-xilinx-linux-gnueabi-gcc: command not found dirname: missing operand Try 'dirname --help' for more information. Generating include/autoconf.mk /bin/sh: line 3: arm-xilinx-linux-gnueabi-gcc: command not found Generating include/autoconf.mk.dep /bin/sh: line 3: arm-xilinx-linux-gnueabi-gcc: command not found make: arm-xilinx-linux-gnueabi-gcc: Command not found /bin/sh: arm-xilinx-linux-gnueabi-gcc: command not found dirname: missing operand Try 'dirname --help' for more information. /bin/sh: arm-xilinx-linux-gnueabi-gcc: command not found /bin/sh: arm-xilinx-linux-gnueabi-ld: command not found Generating include/spl-autoconf.mk /bin/sh: line 3: arm-xilinx-linux-gnueabi-gcc: command not found Generating include/tpl-autoconf.mk /bin/sh: line 3: arm-xilinx-linux-gnueabi-gcc: command not found arm-xilinx-linux-gnueabi-gcc -DDO_DEPS_ONLY \ -g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-r8 -msoft-float -fno-strict-aliasing -mno-unaligned-access -D__KERNEL__ -I/home/nattaponj/zybo_debian/u-boot-Digilent-Dev/include -fno-builtin -ffreestanding -nostdinc -isystem -pipe -DCONFIG_ARM -D__ARM__ -march=armv5 -Wall -Wstrict-prototypes \ -o lib/asm-offsets.s lib/asm-offsets.c -c -S make: arm-xilinx-linux-gnueabi-gcc: Command not found Makefile:747: recipe for target 'lib/asm-offsets.s' failed make: *** [lib/asm-offsets.s] Error 127 nattaponj@debian:~/zybo_debian/u-boot-Digilent-Dev$ or nattaponj@debian:~/zybo_debian/u-boot-Digilent-Dev$ export CROSS_COMPILE=arm-xilinx-linux-gnueabi- nattaponj@debian:~/zybo_debian/u-boot-Digilent-Dev$ export ARCH=arm nattaponj@debian:~/zybo_debian/u-boot-Digilent-Dev$ sudo make make: arm-linux-gcc: Command not found /bin/sh: arm-linux-gcc: command not found dirname: missing operand Try 'dirname --help' for more information. /bin/sh: arm-linux-gcc: command not found /bin/sh: arm-linux-ld: command not found arm-linux-gcc -DDO_DEPS_ONLY \ -g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-r8 -msoft-float -fno-strict-aliasing -mno-unaligned-access -D__KERNEL__ -I/home/nattaponj/zybo_debian/u-boot-Digilent-Dev/include -fno-builtin -ffreestanding -nostdinc -isystem -pipe -DCONFIG_ARM -D__ARM__ -march=armv5 -Wall -Wstrict-prototypes \ -o lib/asm-offsets.s lib/asm-offsets.c -c -S make: arm-linux-gcc: Command not found Makefile:747: recipe for target 'lib/asm-offsets.s' failed make: *** [lib/asm-offsets.s] Error 127 nattaponj@debian:~/zybo_debian/u-boot-Digilent-Dev$