Skip to content. | Skip to navigation

Sections
You are here: Home Support Knowledge Base Unable to parse input tree

Unable to parse input tree

"[ERROR] FATAL ERROR: Unable to parse input tree"

Problem Description

Towards the end of a PetaLinux image build, I get the following error message:

[INFO ] Relocating u-boot
[INFO ] Building image files
[ERROR] FATAL ERROR: Unable to parse input tree
[ERROR] make[4]: ***

Background

By default, Ubuntu's implementation of the 'awk' utility is provided by 'mawk'.  However, PetaLinux SDK requires GNU awk, or 'gawk'.  To resolve this issue, it is necessary to install gawk as per the instructions below.

Resolution

Install gawk as follows:

$ sudo apt-get install gawk

Restore your default platform settings to recover the damaged DTS file.  Note that any unsaved changes to your platform config will be lost by this step.

$ petalinux-platform-config --default

Finally, rebuild the PetaLinux image (from the petalinux-dist directory)

$ make
Document Actions
Quick Contact
Our users say

Thank you John, that was perfect advice - we are alive!

Peter G.
Mailing list member

 
Site by:
Personal tools