cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dipl_om
Visitor
Visitor
10,005 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
dipl_om
Visitor
Visitor
14,726 Views
Registered: ‎04-20-2015

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
sampatd
Scholar
Scholar
9,998 Views
Registered: ‎09-05-2011
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
dipl_om
Visitor
Visitor
9,985 Views
Registered: ‎04-20-2015

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
sampatd
Scholar
Scholar
9,973 Views
Registered: ‎09-05-2011
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
dipl_om
Visitor
Visitor
9,970 Views
Registered: ‎04-20-2015

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

This is the System Petalinux is installed(debian).

0 Kudos
sampatd
Scholar
Scholar
9,962 Views
Registered: ‎09-05-2011
That should be ok then.

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

Vivado 2014.2

 

Petalinux 2014.4

 

0 Kudos
sampatd
Scholar
Scholar
9,943 Views
Registered: ‎09-05-2011
0 Kudos
dipl_om
Visitor
Visitor
9,939 Views
Registered: ‎04-20-2015

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

 

thank you

0 Kudos
sampatd
Scholar
Scholar
9,935 Views
Registered: ‎09-05-2011
Sure. Try with petalinux 2014.2 + Vivado 2014.2 and let us know.
0 Kudos
dipl_om
Visitor
Visitor
7,406 Views
Registered: ‎04-20-2015

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
dipl_om
Visitor
Visitor
14,727 Views
Registered: ‎04-20-2015

The Problem is Debian(7.8).

 

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

View solution in original post

sampatd
Scholar
Scholar
7,373 Views
Registered: ‎09-05-2011
Good to know :)
0 Kudos