cancel
Showing results for 
Search instead for 
Did you mean: 

PC Drivers & Software

Solu7
Journeyman III

Error running app in petalinux using custom board with XC7Z020


We have developed a custom board using XC7Z020.  Our board is working fine with all interfaces.

Problem Statement: we are facing issue in running our application in petalinux.

We are using below versions:

petalinux: v2018.2
vivado: v2018.2
Ubuntu OS: v16.04

app_error.png

What we have tried: 

1. From sdk we are able to program our application thro jtag on our custom board.  It is working fine & results are as expected.

2. We have also tried hello world in petalinx it is working fine. [default hello world app]

3. We have also tried writing simple c program to print hello world & we were able to run the same successfully in petalinux. 

 

Observation:

1. While generating "hello-world" it is working fine with image.ub, Boot.bin. 

2. While binary generation it is not generating Boot.scr file, but it is working fine.

 

Issues: 
When we are running with our app, think it is missing some supported header files related to C program below are the headers used in our program:
#include "xparameters.h"
#include "xiic.h"
#include "xil_io.h"
#include "xil_printf.h"
#include "sleep.h"
#include "stdlib.h"
#define IIC_BASE_ADDR    XPAR_AXI_IIC_0_BASEADDR

 

We followed the hello world project steps for our app but for us getting error, please find the attached log image

 

Steps we have followed:

1. create petalinux project
2. copy .hdf file to hw_description folder
3. create app
4. petalinux-config -c rootfs [app enable]
5. petalinux-config [image package configuration]
6. petalinux-build
7. Package and generate binary files: petalinux-package --boot --fsbl <path> --fpga <path> --u-boot --force -o images/linux/BOOT.BIN

 

0 Likes
1 Reply

Try the dedicated forum, https://www.xilinx.com/support.html

 

My PC- Ryzen 5 5600x, B550 aorus pro ac, Hyper 212 black, 2 x 16gb F4-3600c16dgtzn kit, NM790 2TB, Nitro+RX6900XT, RM850, Win.10 Pro., LC27G55T.
0 Likes