deppenkaiser

Members
  • Content count

    22
  • Joined

  • Last visited

  • Days Won

    1
  1. petalinux

    I solved that Problem... no Need to answer :-)
  2. petalinux

    Hello, now i have installed a Linux vm with petalinux on my Windows host PC. To begin my work i tried to create a petalinux Project with: petalinux-create -t project -s /home/username/projects BSP file is: Petalinux-Arty-Z7-20-2017.2-2.bsp /home/username/Projects is the path to the given BSP file; when i execute this command then i got the following error message: "ERROR: No PetaLinux projects found in the BSP /home/czymic/Projects!" What must i do to create a new petalinux Project? Must i always use the given BSP-file or can i create an own bsp file? How can i accomplish the tutorial: " PetaLinux BSP Installation Steps Follow the below steps to install a BSP: 1. Change to the directory under which you want PetaLinux projects to be created. For example, if you want to create projects under /home/user: $ cd /home/user 2. Run petalinux-create command on the command console: petalinux-create -t project -s <path-to-bsp> The board being referenced is based on the BSP installed. You will see the output, similar to the below output: INFO: Create project: INFO: Projects: INFO: * xilinx-zcu102-v2017.3-final.bsp INFO: has been successfully installed to /home/user/ INFO: New project successfully created in /home/user/ If the specified location is on NFS, petalinux-create automatically changes the TMPDIR to /tmp/<projname_timestamp>. If /tmp is also on NFS, it will throw an error. In the above example, upon execution of petalinux-create command, the projects extracted from BSP and being installed are listed on the display console. If you run ls from "/home/user", you will see the installed Projects." Thank you...
  3. Linux UIO devices

    Hello, if i type in the Linux console (Arty-Z7 with Linux, Standard Linux image) in the "dev"-Folder the command "ls" then i see three UIO devices (UIO0, UIO1, UIO2). Now my question: Are these devices reserved, or can i manipulate them to access my custom Hardware? Thank you...
  4. Linux Hardware Driver for Arty-Z7

    Hello @morsucci, the documentation says "Each UIO device is accessed through a device file and several sysfs attribute files.". Who gives Linux this "files"? I think, that i need such files, which are fit to my self written Hardware (IP-Cores). Is this true? Thank you...
  5. Linux Hardware Driver for Arty-Z7

    Hello @morsucci, this is what i'am looking for, but i have an other problem too: How can i receive hw interrupts? Is there a way to use a kernel event system, or must i poll a register which "knows" about the occurrence of an interrupt? How do i tell the Linux kernel, that i have a Register with a given address (for mmap), must i use "petalinux"? Or can i configure Linux without building an own Linux image? Thank you...
  6. Linux Hardware Driver for Arty-Z7

    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...
  7. Vivado-SDK 2017.2 Linux

    Hello @jpeyron, here you can see the screenshot: I have no compiling errors and i can debug the application. But the IDE does not "know" the includes. The C/C++-Index-Tool from Eclipse does not help/work. If i extend the Project Settings with include search path, then some of the unresolved includes disappear. In the Vivado SDK 2017.2 Installation Directory are a lot of include paths, but i do not know which of them is the rigth for my current Project (Plattform: Arty Zynq, Linux, 32 bit, ???, etc.). I need only this Information. Thank you...
  8. Vivado-SDK 2017.2 Linux

    Hello, i have a problem with the Vivado SDK. I like to include some c Header: #include <stdio.h> #include <unistd.h> #include <stdbool.h> #include <string.h> #include <arpa/inet.h> #include <sys/select.h> #include <sys/socket.h> Eclipse tell me, that my includes are unresolved. I think that is because i have nearly thirty directories in my Vivado 2017.2 SDK Installation, but it is not defined what directory exactly should be used. Can anybody tell me what is the correct include path for a 32 bit Linux application for my arty board? Thank you...
  9. "Hello World" Debug Workflow

    Hello @deppenkaiser, you must configure your arty-linux with the correct ip-address and then you must configure in the sdk the "debug-agent" (Linux Agent) with that ip. Then you must establish an peer to peer lan Connection to your pc (Vivado SDK). After that you can debug your app. regards deppenkaiser
  10. "Hello World" Debug Workflow

    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...
  11. Arty-Z7-20-base-linux

    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...
  12. Arty-Z7-20 board

    Hello @JColvin, here is my petalinux result: I think, that i must use the base Project "This petalinux project targets the Vivado block diagram project found here: https://github.com/Digilent/Arty-Z7-20-base-linux.". If i do so, then i get the following Problem: There are four ip-cores used that are not available in the current vivado Suite. i can not use the example because of the unknown ip-cores. Can you give me the smallest and easiest vivado-system that is able to host a Linux OS? Thank you...
  13. Arty-Z7-20 board

    Hello @JColvin, for your info: The filenames are too long in the base-linux Project which is needed for the petalinux Project. but if i reconfigure my developement Environment and use a Directory called "work" in the root Directory than it works (Windows 7 64-bit). Best regards deppenkaiser
  14. Where is J14?

    Hello @BodganVanca, very nice! Thank you... Now i have contact with three Forum-member, i hope you are not worry about that? I will now take a look at the Linux System. Thank you...
  15. Unknown Resource

    @artvvb Thank you, now it works. I have an other question. I used the "Hello World" example in the SDK and it was good; how can i write code for both cores of the A9 (bare metal)? Thank you...