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
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