No files with .bat extension are involved in creating as SD card or
SPI Flash bootable for P1020. Did you mean .dat instead of .bat?
If so, the board configuration files input by boot_format tool are
plain text files, their format is explained in AN3659, Section 2.
The best way to create a configuration file for your board is to
take an existing one and modify according to your needs. There is a
lot of examples provided together with the tool source code.
If you deployed the tool to your target, you can find them under
/usr/share/boot_format. Otherwise, you can find them in the tool source
code directory.
Have a great day,
Platon
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------