UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor dipl_om
Visitor
9,581 Views
Registered: ‎04-20-2015

Petalinux Import Hardware Configuration failure

Jump to solution

Hello,

 

i dont get the hardware imported form a .hdl file

I'm created a Petalinux Project like the reference guide tells and changed to the project directory.

 

the command: petalinux-config --get-hw-description=<path to hdl>

error: ERROR: You are not inside a PetaLinux Project. ...

 

Where is the failure? I dont get it.

 

The Petalinux Project directoryconsist of:

- .gitignore

- .petalinux

is that enough?

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Visitor dipl_om
Visitor
14,302 Views
Registered: ‎04-20-2015

Re: Petalinux Import Hardware Configuration failure

Jump to solution

The Problem is Debian(7.8).

 

I install Ubuntu 14.4.2 with the same conditions and everything works.

View solution in original post

12 Replies
Scholar sampatd
Scholar
9,574 Views
Registered: ‎09-05-2011

Re: Petalinux Import Hardware Configuration failure

Jump to solution
Make sure that after you generate the bitstream in vivado, you export the hardware to SDK.

File > Export > Export Hardware (Include bitstream)
File > Launch SDK

You need to execute the command from petalinux project directory.

suppose your petalinux directory is my_project, then

1. cd to my_project
2. execute the command
petalinux-config --get-hw-description = /path/to/*.hdf file

usually, you can find the *.hdf file in the hardware platform of the SDK workspace.

for e.g., if your vivado project is project_1

then you will find the *.hdf file in ../project_1.sdk/system_wrapper_hw_platform_0
0 Kudos
Visitor dipl_om
Visitor
9,561 Views
Registered: ‎04-20-2015

Re: Petalinux Import Hardware Configuration failure

Jump to solution

I did it like you told me. Only the paths are diffrent because of the use of Windows with Vivado.

 

I think the problem isnt the .hdf file.

 

Is there a command to test if the petalinux project is valid or something?

0 Kudos
Scholar sampatd
Scholar
9,549 Views
Registered: ‎09-05-2011

Re: Petalinux Import Hardware Configuration failure

Jump to solution
Are you using windows?

Windows is not a supported OS for PetaLinux:

Check page 9 of the following guide:
http://www.xilinx.com/support/documentation/sw_manuals/petalinux2014_4/ug1144-petalinux-tools-reference-guide.pdf

You can probably set-up a virtual machine.
0 Kudos
Visitor dipl_om
Visitor
9,546 Views
Registered: ‎04-20-2015

Re: Petalinux Import Hardware Configuration failure

Jump to solution

The system i work on is windows with a debian in virtualbox on it.

This is the System Petalinux is installed(debian).

0 Kudos
Scholar sampatd
Scholar
9,538 Views
Registered: ‎09-05-2011

Re: Petalinux Import Hardware Configuration failure

Jump to solution
That should be ok then.

Which version of PetaLinux and Vivado Tools do you use?
0 Kudos
Visitor dipl_om
Visitor
9,528 Views
Registered: ‎04-20-2015

Re: Petalinux Import Hardware Configuration failure

Jump to solution

Vivado 2014.2

 

Petalinux 2014.4

 

0 Kudos
Scholar sampatd
Scholar
9,519 Views
Registered: ‎09-05-2011

Re: Petalinux Import Hardware Configuration failure

Jump to solution
0 Kudos
Visitor dipl_om
Visitor
9,515 Views
Registered: ‎04-20-2015

Re: Petalinux Import Hardware Configuration failure

Jump to solution

Okay i need a lower version of petalinux. I will test it if it works with this.

 

thank you

0 Kudos
Scholar sampatd
Scholar
9,511 Views
Registered: ‎09-05-2011

Re: Petalinux Import Hardware Configuration failure

Jump to solution
Sure. Try with petalinux 2014.2 + Vivado 2014.2 and let us know.
0 Kudos
Visitor dipl_om
Visitor
6,982 Views
Registered: ‎04-20-2015

Re: Petalinux Import Hardware Configuration failure

Jump to solution

install the version 2014.2 of petalinux but nothing changed

 

the same problem as before: 

ERROR: You are not inside a PetaLinux project. Please specify a PetaLinux project!
Configures the project or the specified component with menuconfig.

 

0 Kudos
Highlighted
Visitor dipl_om
Visitor
14,303 Views
Registered: ‎04-20-2015

Re: Petalinux Import Hardware Configuration failure

Jump to solution

The Problem is Debian(7.8).

 

I install Ubuntu 14.4.2 with the same conditions and everything works.

View solution in original post

Scholar sampatd
Scholar
6,949 Views
Registered: ‎09-05-2011

Re: Petalinux Import Hardware Configuration failure

Jump to solution
Good to know :)
0 Kudos