Search the Community

Showing results for tags 'linux'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • Add-on Boards
    • Scopes & Instruments and the WaveForms software
    • LabVIEW
    • FRC
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions


  • Community Calendar

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 126 results

  1. Hello, i have been searching for a ready to use image to boot form a zybo. where i can make a bootable sdcard just like this e.g.: dd bs=4M if=/path/to/zybo.iso of=/dev/sdx I tried building it with the peta linux guide. This is old and deprecated. Peta linux is missing from the Xilinx website if you dig a little bit deeper you get to the download site for this peta linux. I couldn't find anything there. Isn't there some prebuild image for this hardware somewhere ? Thank you very much.
  2. Hello, I create project on SDSoc 2015.4 using platform ( 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. The uio_dmem_genirq driver is backwards compatible with the uio_pdrv_genirq driver but with the addition that it dynamically allocates continuous memory. How do the device tree entries have to be defined to load the dmem driver? The working configuration for the pdrv version consists of the following device tree entry: [email protected] { compatible = "generic-uio"; reg = <0x7aa00000 0x10000>; interrupts = <0x0 0x1D 0x4>; interrupt-parent = <0x3>; clocks = <0x1>; }; and changing the bootargs to console=ttyPS0,115200 root=/dev/mmcblk0p1 rw rootwait earlyprintk uio_pdrv_genirq.of_id=generic-uio. My current configuration for the dmem version looks as follows, but does not load the UIO driver despite it being compiled into the kernel. This is the output of /lib/modules/4.4.0-xilinx/modules.builtin kernel/drivers/uio/uio.ko kernel/drivers/uio/uio_pdrv_genirq.ko kernel/drivers/uio/uio_dmem_genirq.ko The two different styles used to try and configure the drivers are: [email protected] { compatible = "generic-uio"; reg = <0x7aa00000 0x10000>; uio,number-of-dynamic-regions = <1>; uio,dynamic-regions-sizes = <0x4000>; interrupts = <0x0 0x1D 0x4>; interrupt-parent = <0x3>; clocks = <0x1>; }; [email protected] { compatible = "generic-uio"; num_dynamic_regions = <2>; dynamic_region_sizes = <0x8000>; interrupts = <0x0 0x1E 0x4>; interrupt-parent = <0x3>; clocks = <0x1>; }; And the bootargs are updated to console=ttyPS0,115200 root=/dev/mmcblk0p1 rw rootwait earlyprintk uio_dmem_genirq.of_id=generic-uio. Note: this is based on my StackOverflow question
  4. I wish to access own ip-cores while i'am using Linux on the Arty-Z7 board. What is the general workflow to write a Linux-Hardware-Driver for the Arty-Plattform? Do you have any examples? Thank you...
  5. I need help with the SDK i am doing the xilinx lab 1. The "mem_test" project and when i try to use the terminal I cant see the port for the board? any suggestings? Thank you
  6. Hello, since now, i have only experience in debugging bare metal apps. I will write a linux tcp/ip-server, therefor i must be able to debug my c-code. I have tried the known bare-metal-workflow and instead of Chose "bare-metal" i Chose Linux as operating System. When i start the debugging process then i got the following error: What is a "Linux Agent" and why is it disconnected? Thank you...
  7. Hello, i used the "Arty-Z7-20-base-linux"-project with Vivado 2017.2, first i copied the board files to my new installed vivado 2017.2 Installation and then i run the "create_project.tcl" script. So far so good. After that i have tried to create a hdl-wrapper, because i liked to generate a bitstream. Vivado has got the following error: As you can see, the reason is: "IP definition not found" for the listed ip-cores (see error message). Can you tell me, what i should do? What is a "Petalinux-Arty-Z7-20-2017.2-2.bsp" file and what is it good for? Thank you...
  8. Hello, I want to use Arty Z7-20 for embedded computer vision project. So I tried to make platform file using and followed "SDSoC_Platform_creation_Guide.txt". But Platform make was failed because "Include directory 'C:/~~/SDSoC_Staging/include_linux' doesnt exist." I looked for "include_linux" folder on github repository but I couldn't find it. Where is "include_linux" folder? Or, Did I take any mistakes? I hope you will be able to provide the information. sdspfm.log Arty-Z7-20-base_src_others_SDSoC_Staging at master · sbobrowicz_Arty-Z7-20-base · GitHub.html
  9. As I mentioned days ago, I made a java version GUI for the Adept2 command line tools on linux. Please try it out and tell me if it is usable or useful. Many thanks, Dake Feng JAdept2-2016-7-16.jar README src-2016-7-16.tar.gz
  10. 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. ^__^
  11. Hello I just received my Zybo Z7-10 board a few days ago, and have been working on it. I think the USB type A (the USB OTG) is not working. Because I have plugged a simple flash memory with a LED on its back and when I plug it, its LED doesn't turn on. I have another FPGA board "Basys3", and if I plug my flash memory, the back LED on flash memory turns on. I have implemented a Petalinux on the board and it cannot also recognize that USB when I plug it. I have also tested the USB A voltage pins,the voltage between the far right and left pins, and the voltage difference is zero which has to be around 5 volt. Since the warranty time is 30 days, I was wondering if one of the technicians could help me whats going on and if the board is defective. Thank you
  12. 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 [email protected]:~/zybo_debian$ source /opt/Xilinx/Vivado/2014.1/ [email protected]:~/zybo_debian$ git clone 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. [email protected]:~/zybo_debian$ make CROSS_COMPILE=arm-xilinx-linux-gnueabi- zynq_zybo_config make: *** No rule to make target 'zynq_zybo_config'. Stop. [email protected]:~/zybo_debian$ cd u-boot-Digilent-Dev/ [email protected]:~/zybo_debian/u-boot-Digilent-Dev$ make CROSS_COMPILE=arm-xilinx-linux-gnueabi- zynq_zybo_config Configuring for zynq_zybo board... [email protected]:~/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/ /bin/sh: line 3: arm-xilinx-linux-gnueabi-gcc: command not found Generating include/ /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/ /bin/sh: line 3: arm-xilinx-linux-gnueabi-gcc: command not found Generating include/ /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 [email protected]:~/zybo_debian/u-boot-Digilent-Dev$ or [email protected]:~/zybo_debian/u-boot-Digilent-Dev$ export CROSS_COMPILE=arm-xilinx-linux-gnueabi- [email protected]:~/zybo_debian/u-boot-Digilent-Dev$ export ARCH=arm [email protected]:~/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 [email protected]:~/zybo_debian/u-boot-Digilent-Dev$
  13. Hello everyone, I have been working in the arty z7, working to output HDMI video from a camera conencted by ethernet . While the ehternet hardware, driver and code are fully functional. I have yet to make the hdmi function on the OS. Currently, i have follow succesfully the following tutorial, that means that i have the hardware for HDMI in and out and can use through the provided Bare metal application. Now, i have to move this functional hardware form a bare metal application to a OS application, for that i need some drivers to control the Axi Stream conected to the VDMA and to the HDMI output. To be honest I dont even know where to start with this task, do any of you have any pointers, are there pre-developed drivers for this situation?. Thanks for any information PD: the current version of OS i am using is linaro, i dont think it changes anything but just in case.
  14. Running 64-bit Ubuntu 16.04 and having trouble getting the .deb file to work to install Waveforms 2015. When I open the .deb file and click install, I see a progress bar briefly (<1 second) and then it disappears and the installation process doesn't start. Is this an issue on my end or with the .deb file on the website? Thanks edit: Having the same issue with Adept 2
  15. I have an arty z7 FPGA an am working on a petalinux project. I am able to config and build my project. But when i boot it it says bitstream is not compatible with the target. What does that mean? any suggestions? I exported the HDF from vivado and in project settings the target device is same as the one i am using.
  16. Greetings all, I'm facing some issues in running my PikeOS project on zc702 board Following are some brief steps that i took to make PikeOS's project i selected a pikeOS integrated project, using devel-apex demo template Board Parameters Description: Xilinx Zynq-7000 All Programmable SoC ZC702 Evaluation kit. Architecture: arm Processor: v7hf Boot Strategy: uboot_dtb then in project Configuration, set path of binery to run on partition. on boot, it generate a file name, apex-devel-zynq-zc702-uboot in order to boot this project on board using sd card few more files are required. This is where i'm lost, can't figure how to generate those files, or where to find then. Hopefully Someone can help me. Thank You.
  17. Hi, I am trying to rebuild the arty z7 petalinux BSP as per the instructions given by them here But when I try the command $ petalinux-boot --jtag --prebuilt 3, I get an error saying [[email protected] Digilent-Arty-Z7-Linux-BD-v2016.2]$ petalinux-boot --jtag --prebuilt 3 ERROR: No subsystem configuration file can be find in the project. sh: lsb_release: command not found webtalk failed:Invalid tool in the statistics file:petalinux-yocto! webtalk failed:Failed to get PetaLinux usage statistics! Anybody knows what the issue is? Karthik
  18. I'm attempting the GPIO demo with a new Arty Dev board and running into the following error. I'm following instructions here: Which is good until step #4. And if I uncheck "include bitstream", I get this error on the console: "Cannot write hardware definition file as there are no IPI block design hardware handoff files present" Since I'm new to Vivado development, this puts me at a dead stop. Thanks!
  19. I have a Ubuntu Linux (4.6 kernel) running on a Zedboard, which is based on an ARM architecture. The architecture comes with a hardware module called Coresight, which enables HW-based program tracing. In my setup, the Coresight component is registered at physical address 0xf889c000. I want to configure the component through the device register etmcr, whose offset is 0x0. I tried to run devmem2 (a program helps manipulate physical memory via mmap) as a root to write some custom value to this register. The mmap threw no error, the write succeeded since the immediate readback value was the expected value. However, when I read this address again, the value didn't actually change. (Please see the attached screenshot). I've checked the Technical Manual of the Coresight and this register is for sure a RW register. So what could be the reason of what happened here? Why the register write succeeds but has no effect actually? Thanks in advance.
  20. Hi, currently, i managed to run linaro linux on my zybo by using this guide inputs such as mouse and keyboard are working fine, however the touch input from my lcd display are not working (the touch input works in my windows computer, so its not the display which is broken) the touchscreen display is from eGalaxTouch or better known as eGalaxTouchscreen can someone kindly help me to solve this problem? thank you very much Regards, Lightning
  21. Hi I am trying to install waveforms to use the analog discovery box. I am in Linux using Ubuntu and I have downloaded both adept and Waveforms and tried installing both using the terminal and everything seems like it installed but when I search to open Waveforms I can't find it. I'm not sure what is wrong or why they are not installing properly. I'm using the 64 bit for both. Please Help Thanks
  22. Hi. Does anyone know how to port embedded linux on MVME6100 powerpc board? If yes, which embedded linux version will it support? Thanks Saad
  23. SMatt

    Linux Gadget

    Hi all, I'm new in this world and I hope someone could help me in this issue I'm working on a project in the Uniersity where I would like to use the Zedboard as UVC device to stream video from FPGA to the host. I'm able to build, configure and run the kernel from SD but I'm having some problem to connect the Zedboard as peripheral mode and to detect it as UVC gadget. In particular I've configured the kernel to act in peripheral mode following this instruction : To let the Zedboard act as gadget I started from this guide and then I configured the kernel for USB Webcam gadget enabling these option: <*> USB functions configurable through configfs [*] USB Webcam function <*> USB Gadget Drivers (USB Webcam Gadget) At the end of building kernel process I have the g_webcam.ko and the libcomposite.ko modules. After that I boot the linux on the Zedboard and I tried to load the modules with insmod command but having this issue: Welcome to Linaro 12.11 (GNU/Linux 4.9.0-xilinx-25595-g68e6869-dirty armv7l) * Documentation: [email protected]:~# cd / [email protected]:/# ls bin dev home lost+found mnt proc run selinux sys usr boot etc lib media opt root sbin srv tmp var [email protected]:/# cd home [email protected]:/home# cd linaro [email protected]:/home/linaro# ls examples.desktop g_webcam.ko g_zero.ko libcomposite.ko [email protected]:/home/linaro# insmod libcomposite.ko [email protected]:/home/linaro# insmod g_webcam.ko insmod: error inserting 'g_webcam.ko': -1 Unknown symbol in module [email protected]:/home/linaro# I also tried to connect the Zedboard to a Windows host and obviously nothing succeed. Could someone help me please? Thanks. -Mattia
  24. I am trying to run this design on zybo (hdmi_in project). I was able to have the baremetal design running on the board. But I am not sure how to have the linux version running as well. But there is no clear instructions on the link. Can some one help me get through the process? Thank you
  25. Hi ! I'm still working to add a RF module (MRF24J40) on my zybo. The SPI communication works fine, but I have some trouble with interrupt. I'm using linux-yocto as kernel. Here is the design in vivado : The AXI_GPIO 0 and 1 are to use leds, buttons and swtichs on zybo. The AXI_SPI is used to communicate with MRF24J40. And the AXi_GPIO 2 is 3bits wide, one for wake, one for reset, and one for interrupt (for MRF24J40). The interrupts are enable on the AXI_GPIO2. I don't know if it is a good practice to enable interrupt for wake and reset too ? Here is the interrupt enable in the zynq : Then the interesting part of my dts : First of all, I'm not sure to understand what is the interrupt signal in the AXI_SPI. But it seems to have an interrupt, address 61 in kernel, and the interrupt from AXI_GPIO2 should be address 62 right ? Here what I have if I execute a "cat /proc/interrupts" : It seems there isn't the axi_gpio2 interrupt. What am I doing wrong ? Do you have any tips ? Regards, Yohan