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

Understanding Device Tree Extensions in a ZynQ AMP Application

I have successfully updated the xapp1078 to Vivado 2018.2 and created a PetaLinux configuration based on XAPP1078 Latest Information. I used the design files from here. Inside the zip-folder there is a detailed step by step documentation included,…
jokn
  • 44
  • 7
0
votes
0 answers

Reduce size of petalinux generated rootfs.ext4

I am building a minimal petalinux project with a default project using the .xsa from the analog devices adrv9361-z7035 hdl project. The build works just fine, however, the rootfs.ext4 is about 67MB. I loop mounted the filesystem on my host and it is…
alexv9
  • 126
  • 1
  • 9
0
votes
1 answer

CMA Allocation Fault on Petalinux 2020.2 (Zynq-7000)

I want to use 1920x1080 (or more) on my custom Zynq-7000 Board. Mode 1024x768 works nice. There is CMA allocation error, when I try to use FullHD. I added some output to source code (output below is for 2560x1600, it is the same for 1920x1080,…
KotNitro
  • 23
  • 1
  • 7
0
votes
0 answers

How to add PHP to PetaLinux?

I want to set up a web server on Petalinux, currently, Petalinux has apache on its menu, and it works fine, but I want to add PHP to Petalinux as well. for this purpose I added CONFIG_php statement to user-rootfsconfig file in …
hamed
  • 471
  • 1
  • 9
  • 22
0
votes
0 answers

How to set specific dhcp client by default for ifup command to use

On my Linux machine, I have two DHCP clients installed: udhcpc and dhcpcd. When I run /sbin/ifup ifup application uses dhcpcd client to request the IP, but I need to use udhcpc. Is there a way to specify the default DHCP client in…
0
votes
1 answer

Vitis PetaLinux build cant fetch required files while building an application project

I want to build a PetaLinux Image for my Ultra96v2. I followed this guide up until building my application project in Vitis. It looks promising but then while building the application project for my custom platform, Vitis throws this error: 18:08:28…
Vandrey
  • 531
  • 1
  • 8
  • 23
0
votes
2 answers

How do I let target image include qmake in Yocto?

I'd like to add qmake tool to target image with yocto. So, I've tried the below: # build/conf/local.conf EXTRA_IMAGE_FEATURES += "dev-pkgs" EXTRA_IMAGE_FEATURES += "tools-sdk" EXTRA_IMAGE_FEATURES += "petalinux-qt" EXTRA_IMAGE_FEATURES +=…
juni
  • 31
  • 6
0
votes
1 answer

gpsd:error: can't run with neither control socket nor devices on petalinux

I am facing a gpsd issues on petalinux. I have installed the gpsd on petalinux but the gpsd-client was not being installed, thats why gpsd.socket and the gpsd.service files are missing. Can someone tell me if i add these files manually, where i…
0
votes
1 answer

Does the Webpack Vivado 2020.2 include the SDK

I am confused. Does Vivado 2021.2 include the SDK using the Webpack license? Digilent says yes: https://reference.digilentinc.com/programmable-logic/guides/vivado-create-hdl-wrapper (the hdl wraper is part of the SDK, peta linux, etc) But, my…
user3822607
  • 69
  • 1
  • 9
0
votes
1 answer

Cannot reserve memory on Petalinux2020.2?

I'm building a project using petalinux2020.2 and an RFSOC, zcu111 board, for my application I need to reserve a section of memory from petalinux to use with DMA, implemented on the programmable logic of the FPGA. I tried following this tutorial, but…
Gionata Benelli
  • 357
  • 1
  • 3
  • 20
0
votes
1 answer

Petalinux - Multiple Source File application

I'm pretty new to the 2020.2 version of Petalinux and I'm trying to create a simple application inside my project using the C template. After creating the helloworld-app using the command: petalinux-create -t apps --template c --name…
Gionata Benelli
  • 357
  • 1
  • 3
  • 20
0
votes
1 answer

Yocto recipe to install binaries generated from cmake

I am new to Yocto and cmake. After looking and searching on internet I was able to make my own recipe and was able to successfully compile the code using cmake from Yocto recipe. But the binary compiled and generated is in the build folder where…
S.T
  • 3
  • 1
  • 6
0
votes
1 answer

Sharing variable between nodes in a device tree

I'm trying to find a way to accesses, from node_1, a variable in node_0 (see code below) in this device-tree: / { amba_pl: amba_pl@0 { node_0: node@a8000000 { node_id = <0x0>; node0State = <0x0>; }; }; …
0
votes
1 answer

How to debug Linux crash on startup (PetaLinux 2020.1)

I've created a pretty generic PetaLinux 2020.1 project for my MicroZed board, and built everything successfully. I believe I've got the SD Card properly configured, and my RootFS is in place. FSBL/U-Boot properly load and run, but when it comes to…
Bob
  • 587
  • 8
  • 17
0
votes
1 answer

How to use axi dma kernel module in custom application in petalinux?

I am trying to build the axidma-benchmark application with the Xilinx-axidma driver (Github repo) provided by bperez77. I am using Petalinux 20.2 to build Linux for my custom project. In the new version of the kernel, some functions are changed and…
HosseinBeheshti
  • 125
  • 2
  • 10