Unable to parse input tree
"[ERROR] FATAL ERROR: Unable to parse input tree"
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: ***
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.
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)