cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor
Contributor
1,263 Views
Registered: ‎02-19-2016

petalinux-config --get-hw-description failing 2017.4

Jump to solution

I'm attempting to reconfigure the PetaLinux BSP.

I ran the following command:

petalinux-config --get-hw-description=~/zwilcox/mpsoc_workspace/chapter1/edt_zcu102/edt_zcu102.sdk/

 

 

INFO: Rename edt_zcu102_wrapper.hdf to system.hdf
[INFO] generating Kconfig for project
ERROR: Failed to generate /home/zwilcox/petalinux/xilinx-zc702-2017.4/build/misc/config/Kconfig.syshw
ERROR: Failed to Kconfig project
ERROR: Failed to generate System hardware Kconfig file.

 

I've tried to change the tools/hsm/bin/xsct line 137 

From:
"$RDI_BINROOT"/unwrapped/"$RDI_PLATFORM$RDI_OPT_EXT"/rlwrap -rc -f "$RDI_APPROOT"/scripts/xsdb/xsdb/cmdlist -H "$HOME"/.xsctcmdhistory "$RDI_BINROOT"/loader -exec rdi_xsct "${RDI_ARGS[@]}"

 

To:


#"$RDI_BINROOT"/unwrapped/"$RDI_PLATFORM$RDI_OPT_EXT"/rlwrap -rc -f "$RDI_APPROOT"/scripts/xsdb/xsdb/cmdlist -H "$HOME"/.xsctcmdhistory "$RDI_BINROOT"/loader -exec rdi_xsct "${RDI_ARGS[@]}"
"$RDI_BINROOT"/loader -exec rdi_xsct "${RDI_ARGS[@]}"


As indicated by this post:
https://forums.xilinx.com/t5/Embedded-Linux/petalinux-config-get-hw-description-failing-2017-4/m-p/826916

 

However, I'm still getting the same error.

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Contributor
Contributor
1,496 Views
Registered: ‎02-19-2016

Re: petalinux-config --get-hw-description failing 2017.4

Jump to solution
I reinstalled the petalinux. Recreated the project with the bsp.
Now it works. Thanks for all who helped :)

View solution in original post

0 Kudos
3 Replies
Highlighted
1,231 Views
Registered: ‎04-20-2017

Re: petalinux-config --get-hw-description failing 2017.4

Jump to solution
I had similar errors after updating an existing project in vivado and smt was going wrong when exporting.

Did you try to go through complete vivado pipeline (synthesis, implement,...) again, including rebuilding the wrapper? Then export again for sdk and try again.

It solved get-hw description errors several times for me
Highlighted
Contributor
Contributor
1,202 Views
Registered: ‎02-19-2016

Re: petalinux-config --get-hw-description failing 2017.4

Jump to solution

I rebuilt the wrapper and exported for the SDK again. I have no HDL so didn't synthesize.

 

ran the following: 

"petalinux-config --get-hw-description=~/path/to/hdf/file/"

 

And still getting:

INFO: Getting hardware description...
[INFO] generating Kconfig for project
ERROR: Failed to generate /home/zwilcox/petalinux/xilinx-zc702-2017.4/build/misc/config/Kconfig.syshw
ERROR: Failed to Kconfig project
ERROR: Failed to generate System hardware Kconfig file.
webtalk failed:PetaLinux statistics:extra lines detected:notsent_nofile!
webtalk failed:Failed to get PetaLinux usage statistics!

 

 

0 Kudos
Highlighted
Contributor
Contributor
1,497 Views
Registered: ‎02-19-2016

Re: petalinux-config --get-hw-description failing 2017.4

Jump to solution
I reinstalled the petalinux. Recreated the project with the bsp.
Now it works. Thanks for all who helped :)

View solution in original post

0 Kudos