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
7
votes
4 answers

python error when installing Xilinx Petalinux on Ubuntu 20.04

I got this error while I tried to install Xilinx Petalinux on Ubuntu 20.04 dpkg-query: package 'python' is not installed and no information is available Use dpkg --info (= dpkg-deb --info) to examine archive files ERROR: You have tools don't meet…
4
votes
3 answers

About the wrong URI in tcf-agent_git.bb in Poky

I'm a new hand and try to build a xilinx by pocto. As the guide, I cloned repositories (branch thud), source oe-... and change MACHINE="zedborad-zynq7", then bitbake petalinux-image-minimal, but I get following error: ERROR:…
coolicelee
  • 73
  • 6
4
votes
1 answer

How can I force a cache flush for a process from a Linux device driver?

I'm working on a research project that requires me to perform a memory capture from custom hardware. I am working with a Zedboard SoC (dual-core ARM Cortex-A9 with FPGA fabric attached). I have designed a device driver that allows me to perform…
ngc6027
  • 101
  • 11
4
votes
1 answer

How to unbuffer stdout of legacy running binary without stdbuf and similar tools

I want to monitor the realtime output of a program that I will start. I am trying to do this by redirecting the output of the program to a pipe and then reading the pipe from a monitoring script. ./program >> apipe then from the monitoring…
TheUberUser
  • 121
  • 1
  • 8
3
votes
1 answer

Why is mmap failing with EINVAL when offset is non-negative (but is a multiple of sysconf(_SC_PAGE_SIZE))?

Firstly a bit of context about the machine I'm working on (it's a SOM with a SoC that includes a FPGA and two CPU, and on one of them there is a linux OS running). Characteristics: Board : Microzed SoC: Zynq 7020 OS : Petalinux 2019.2 Kernel…
tjustel
  • 80
  • 1
  • 9
2
votes
1 answer

How to trigger boot.scr creation in Petalinux v2021.1?

Recently, I'm facing problems related to mismatches between the actual image offsets in my QSPI flash and the offsets that are used in U-Boot via boot.scr. I saw that the offsets that are used in boot.scr can be updated using petalinux-config menu.…
Caglayan DOKME
  • 948
  • 8
  • 21
2
votes
1 answer

How to access Xilinx Axi DMA from Linux?

I'm a software developer but I'm a newbie to embedded software development. I have a Zynq Ultrascale board that has an Axi DMA in its Hardware and I want to access this DMA from Linux. I know I should use DMA-Engine to Access DMA in Linux and I…
hamed
  • 471
  • 1
  • 9
  • 22
2
votes
1 answer

SError kernel panic when memset_io'ing on device-tree memory area in Petalinux kernel module

My Platform: ZynQ MP; PetaLinux 2020.2 Build system: Ubuntu 18.04 I'm writing a Kernel module which registers itself as a platform_device with compatible string 'erika' with the PetaLinux Kernel on boot. I specified two memory areas in the…
DHopf
  • 21
  • 4
2
votes
2 answers

petalinux project build failing with m4-native-1.4.18-r0 do_compile failed on host Ubuntu 20.04 LTS

While trying to port petalinux 2018.3 project compiling Ubuntu 16 host to Ubuntu 20 host. Following error is occurring ERROR: m4-native-1.4.18-r0 do_compile: Function failed: do_compile (log file is located at . . . . |…
fad
  • 43
  • 1
  • 9
2
votes
0 answers

Petalinux Recipe-app for mixed C and C++ application

I have a rather large C program that I have already written. I'm now being asked to utilize a C++ class that a co-worker has written. I'm use to working with python, so writing my application in C and now being asked to work with C++ is causing some…
Michael
  • 174
  • 2
  • 13
2
votes
0 answers

Silabs Si5340: how to define a clock for one of the chip outputs

We develop hardware that uses Si5340 to provide clocks for various chips (ADC, DAC). Hardware is based on Xilinx Zynq Ultrascale and OS of choice is Petalinux 2018.3. The driver that we use is clk-5341…
matejk
  • 798
  • 1
  • 14
  • 27
2
votes
0 answers

Boot fail on zynq ultrascale+ mpsoc zu3eg on the ULTRA 96

I followed this tutorial to boot the ULTRA 96 : https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841783/Building+Xen+Hypervisor+with+Petalinux+2018.1 I'm using petalinux-v2018.2-final and xilinx-ultra96-reva-v2018.2-final.bsp I built the…
2
votes
2 answers

Read Write to Memory space

I am trying to write a Signed Double number to memory and read back the same, reading back is redundant as it is just to verify if the correct data is in the memory before I trigger the PL (programmable logic) FPGA Fabric to access this data and…
Harry
  • 33
  • 5
2
votes
0 answers

compilation error using zedboard

I had created a project in Xilinx SDK using Linux as OS. the code is written in c++ and when I created the project and copied the .elf file of the project to SD card and inserted the SD card into the Zedboard along with other boot files required for…
2
votes
1 answer

Using ROOTFS_POSTPROCESS_COMMAND to add function that copies files

What I used to do this was use ROOTFS_POSTPROCESS_COMMAND variable to add my own shell script functions. I needed to append the petalinux-user-image in meta-plnx-generated so in my meta-user layer, I created the following file:…
gavenant
  • 453
  • 7
  • 26
1
2 3 4 5 6 7 8