When you say it fails during compilation, what errors are you getting?
It gives error 1, which is the catch-all error for linux. The detailed error message it gives is a long filepath that basically says that do-compile failed while compiling the AXI UART. I will try to find the full filepath and post it
The full text of the error reads:
ERROR: Task (/home/aces/Documents/petalinux/components/yocto/source/arm/layers/meta-xilinx/recipes-bsp/u-boot-xlnx_2017.01.bb:do_compile) failed with exit code '1'
Have you included all of the dependencies? In the Serial Settings menu, pressing 'h' will show the dependencies for your selected stdin/stdout option.
Looking at UG1144, I see the following related to settings for stdin/stdout:
Ensure the PetaLinux project is built with the right hardware platform.
u00B0 Import hardware configuration properly, refer to section Import Hardware Configuration.
u00B0 Check the "Subsystem AUTO Hardware Settings --->" submenu to ensure it matches the hardware platform.
u00B0 Check the "Serial settings --->" submenu under "Subsystem AUTO Hardware Settings --->" to ensure stdout, stdin are set to the correct UART IP core.
u00B0 Rebuild system images, see Build System Image.