cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mdxg
Visitor
Visitor
4,332 Views
Registered: ‎11-09-2017

Problem with Peta Linux generating Kconfig

Hey there,

 

I'm currently struggling to create a custom Linux Image with the Peta Linux tools.

The project creation works fine but when I want to  configure the project with petalinx-config

the tools fails while generating the Kconfig file

The dependencies for Peta Linux are all installed and the permissions for the location are correct.

 

I'm using Petalinux 2017.2, Vivado 2017.2 and the final bsp 2017.1 for the ZCU102 Board

 

Output

----------

petalinux-create -t project -s xilinx-zcu102-v2017.1-final.bsp

petalinux-config --get-hw-description=<path to hdf>

INFO: Rename edt_zcu102_wrapper.hdf to system.hdf
[INFO] generating Kconfig for project
ERROR: Failed to generate <home>/xilinx-zcu102-2017.1/build/misc/config/Kconfig.syshw
ERROR: Failed to Kconfig project
ERROR: Failed to generate System hardware Kconfig file.

 

What could cause this error?

 

Thank you in advance

mdxg

0 Kudos
9 Replies
florentw
Moderator
Moderator
4,320 Views
Registered: ‎11-09-2015

Hi @mdxg,

 

Why aren't you using the 2017.2 BSP? Please download it from here

 

Did you installed all the required packages for petalinux?

 

Regards,

 

Florent


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
mdxg
Visitor
Visitor
4,301 Views
Registered: ‎11-09-2017

I did recreate the project with the 2017.2 board support package. Petalinux config creates still the same error.

Yes I did install all listed packages

0 Kudos
florentw
Moderator
Moderator
4,292 Views
Registered: ‎11-09-2015

Hi @mdxg,

 

Did you check the following posts:

https://forums.xilinx.com/t5/Welcome-Join/petalinux-2017-1-faild-to-generate-kconfig/td-p/767872

> Make sure you path does not include 20172 or 2017.2

 

https://forums.xilinx.com/t5/Welcome-Join/PetaLinux-build-error/td-p/555627

 

Also which OS are you using? Is it supported by petalinux? Is you shell in bash?

 

Regards,

 

Florent

 

 


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
vineethc
Xilinx Employee
Xilinx Employee
4,287 Views
Registered: ‎06-29-2017

i think you didnt install  xvfb. 

 

check config.log, post it .

0 Kudos
mdxg
Visitor
Visitor
4,273 Views
Registered: ‎11-09-2017

I'm working on Centos 7 with a bash shell. Changing the path didn't fix the error

0 Kudos
mdxg
Visitor
Visitor
4,272 Views
Registered: ‎11-09-2017

xorg-x11-server-Xvfb is installed.

Output of the installation log

---------------------------------------

 

INFO: Extracting Installation files...
INFO: Checking installation environment requirements...
INFO: Installing PetaLinux SDK to "<path>"
INFO: Installing PetaLinux zynqMP Yocto SDK to "<path>"...
INFO: PetaLinux Yocto SDK for zynqMP has been successfully installed.
INFO: Installing PetaLinux zynq Yocto SDK to "<path>"...
INFO: PetaLinux Yocto SDK for zynq has been successfully installed.
INFO: Installing PetaLinux microblaze (Full) Yocto SDK to "<path>"...
INFO: Installing PetaLinux microblaze (Lite) Yocto SDK to "<path>"...
INFO: PetaLinux Yocto SDK for microblaze has been successfully installed.
INFO: PetaLinux SDK has been installed to <path>.

0 Kudos
vineethc
Xilinx Employee
Xilinx Employee
4,256 Views
Registered: ‎06-29-2017

post this file  <proj>/build/config.log

0 Kudos
mdxg
Visitor
Visitor
4,245 Views
Registered: ‎11-09-2017

Peta Linux is finally working. I reinstalled the tool to a local machine. That basically fixed

the issue. Somehow there was a problem with the net mounted installation

0 Kudos
gchan310
Visitor
Visitor
3,101 Views
Registered: ‎08-12-2011

I ran into a similar issue. I installed PetaLinux in on a network drive and moved the folders, then received that error. Once I reinstalled PetaLinux in the final folder location the error went away.

0 Kudos