Questions tagged [petalinux]

Petalinux is a Linux distribution targeting the Xilinx systems. USAGE GUIDANCE : The tag should only be used for the Petalinux distribution

Petalinux is a distribution targeting the systems.

Overview

The PetaLinux Software Development Kit (SDK) is a Xilinx development tool that contains everything necessary to build, develop, test and deploy Embedded Linux systems.

PetaLinux consists of three key elements: pre-configured binary bootable images, fully customizable Linux for the Xilinx device, and PetaLinux SDK which includes tools and utilities to automate complex tasks across configuration, build, and deployment.

Xilinx home page for PetaLinux SDK can be found at http://www.xilinx.com/petalinux

See here for further information (e.g., licensing).

109 questions
0
votes
0 answers

Driver issue? Unable to run "Setup for a Graphics and DisplayPort Based Sub-System" Design Tutorial on Avnet Ultrazed EV

IMPORTANT: I made a pretty silly decision and bountied this before a build finished in which I had made a change that solved my main issue of just getting things to work, was pretty beat down by this issue and expected it not to work. I will update…
Douglas B
  • 585
  • 2
  • 13
0
votes
1 answer

Take data from a DMA region and write it to a file in linux?

Essentially what I have is a region of reserved memory in DDR that Im DMAing stuff into. What I want to do is take that data in the DMA region and write it to a file for use with other linux commands. Is that a possible thing to do? If so, is there…
Makuta
  • 1
0
votes
0 answers

Linux DeviceTree: Why does this reference to a label not expand?

I have a Xilinx Block Design that incorporates an "AXI BRAM Controller" (a Xilinx IP Core that interfaces an AXI bus to a Block Memory Generator - the details of this probably aren't important). The key thing, I think, is that the Xilinx tools…
davidA
  • 12,528
  • 9
  • 64
  • 96
0
votes
0 answers

Cross Compiling gRPC v1.27.0 Service Code with v1.38.1 Shared Libraries (ARM)

I am trying to cross compile a basic gRPC server for an ARMv7 platform using Bazel. Details Building on Ubuntu 14.04 with Bazel Target platform: Petalinux on Zynq 7000 My company supports a bazel rule which runs the gRPC code generation tools, and…
0
votes
1 answer

How to install Linux header files on a board running petalinux?

I just started using petalinux and yocto, and I'm now trying to start to write a MIPI driver. My problem is that the petalinux running on my board doesn't have any Linux kernel header files, and neither the petalinux-create, petalinux-config, ...…
Andre K
  • 185
  • 1
  • 10
0
votes
0 answers

Linux USB HID Forwarding

I'm running PetaLinux on a K26 SoM. There is an HID device connected to my custom board via USB. It is listed under /dev/ directory as /dev/input and it works fine. What I want to achieve is that I want to redirect this incoming HID data to another…
Tungdil
  • 13
  • 4
0
votes
1 answer

How to Stream H265 Multicast Video Using Gstreamer?

I have a script that stream video on petalinux as multicast with H.264, but when I changed settings for H.265, I think I still encode with H.264 (wireshark protocol says H.264). Here is my sender script gst-launch-1.0 -v v4l2src device=/dev/video0…
muradaltay
  • 41
  • 7
0
votes
0 answers

bitbake autoconf libevent not found

I'm trying to create a bitbake recipe for trickle. I can successfully build it on the target hardware if I have libevent-dev installed. However, despite including libevent (I cannot include libevent-dev) in my DEPENDS, the bitbake build fails at: |…
proximous
  • 617
  • 1
  • 10
  • 28
0
votes
0 answers

How do I eliminate all TCP ACK retransmissions with communication to my Linux server daemon on Petalinux 2020.2 kernel

I am working with Petalinux 2020.2 kernel and have a Linux daemon running. The Linux daemon takes in connection requests and packets asking for it to read hardware data from the part. When it has the read the information it returns a TCP packet with…
0
votes
1 answer

Add hwspinlock Linux Driver to Petalinux project

I would like to add a hwspinlock like this to my Petalinux Project for controlling the xilinx mutex on an fpga. I was able to control the mutex using ioremap and creating a module, but I cannot figure out how to add a hwspinlock driver as a module,…
0
votes
1 answer

Custom recipe that doesn't add any files

I am trying to add a recipe to PetaLinux which only runs commands, adding new users. Aside from the pre-amble SUMMARY, LICENCE etc here is what I have: inherit extrausers EXTRA_USERS_PARAMS = "\ useradd -P newuser newuser; \ …
uhsl_m
  • 322
  • 3
  • 11
0
votes
0 answers

Issue reserving more than 2048M CMA on kria kv260

This board has 4G of memory. I'm new to embedded development and trying to reserve 3G CMA, I first tried with kernel bootargs which didn't work and can only reserve up to ~1700M. Then decided to change device tree and added: reserved-memory { …
sdfsdewre
  • 1
  • 1
0
votes
0 answers

Petalinux bitbake - recipe for copying a number of files to rootfs

I have the following dir structure: . ├── files │ ├── file1.so │ ├── file2.so │ └── fileN.so └── my-libs.bb I wish to be able to copy these into the rootfs. First I made this bitbake, based off of this answer:…
uhsl_m
  • 322
  • 3
  • 11
0
votes
1 answer

How to change the MAC adress of FPGA ZedBoard

How can I assign different MAC addresses to the FPGA? Currently all the ZedBoards have the same default MAC addresses. I'm using PetaLinux and my FPGA ZedBoards boot from SD card.
0
votes
0 answers

how to correctly disable power management in Linux

I am trying to disable power management in Linux for Zynq Ultrascale devices. Looking at the kernel, it is enabled by default. When I set CONFIG_PM=n and build the kernel, it doesn't take effect. Also I wish to know if there is any dependency on…
user2532296
  • 828
  • 1
  • 10
  • 27