title: What is the reason I get this error using bootgen?
body: <p>I'm creating a .bif file that will run in Vitis. I'm trying to follow the examples from this place: <a href="https://docs.xilinx.com/r/en-US/ug1400-vitis-embedded/Creating-Boot-Images" rel="nofollow noreferrer">https://docs.xilinx.com/r/en-US/ug1400-vitis-embedded/Creating-Boot-Images</a></p>
  <p>This is my <strong>create_bif</strong>.bat-script that I ran for XSDK that worked perfectly fine:</p>
  <pre><code>@echo off
  mkdir sw\boot
  if exist sw\bootstuff\output.bif del sw\bootstuff\output.bif
   
  echo //arch = zynqmp; split = false; format = mcs           &gt;  sw\boot\output.bif
  echo the_ROM_image:                                         &gt;&gt; sw\boot\output.bif
  echo {                                                      &gt;&gt; sw\boot\output.bif
  echo     [bootloader]%cd%\sw\fsbl\Debug\fsbl.elf            &gt;&gt; sw\boot\output.bif 
  echo     %cd%\sw\vivado\block_design_wrapper.bit            &gt;&gt; sw\boot\output.bif
  echo     %cd%\sw\MYAPP0\Debug\MYAPP0.elf                    &gt;&gt; sw\boot\output.bif
  echo     %cd%\sw\MYAPP1\Debug\MYAPP1.elf                    &gt;&gt; sw\boot\output.bif
  echo     %cd%\sw\MYAPP2\Debug\MYAPP2.elf                    &gt;&gt; sw\boot\output.bif
  echo }                                                      &gt;&gt; sw\boot\output.bif
  @echo on
  </code></pre>
  <p>However, when running this line in my .bat-script:</p>
  <pre><code>CALL ./scripts/create_bif.bat
  CALL bootgen -image sw\boot\output.bif -arch zynqmp -o sw\boot\BOOT.mcs -w on
  </code></pre>
  <p>I get this error:
  <a href="https://i.stack.imgur.com/xxOJk.png" rel="nofollow noreferrer">errror output running bootgen</a></p>
  <p>Is there something wrong with how I run <em>bootgen</em> in Vitis?</p>