11-09-2017 12:45 AM
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
11-09-2017 01:04 AM
11-09-2017 02:13 AM
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
11-09-2017 02:57 AM
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
11-09-2017 03:16 AM
i think you didnt install xvfb.
check config.log, post it .
11-09-2017 06:47 AM
I'm working on Centos 7 with a bash shell. Changing the path didn't fix the error
11-09-2017 06:50 AM
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>.
11-09-2017 07:18 PM
post this file <proj>/build/config.log
11-10-2017 03:31 AM
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
07-10-2018 07:54 AM
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.