software/demo: Add flash boot image (.fbi) preparation to allow demo to be flashed to SPI Flash.

This commit is contained in:
Florent Kermarrec 2022-07-05 19:07:33 +02:00
parent 46fe550338
commit 8e6ffff37a
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,9 @@ def main():
# Copy demo.bin # Copy demo.bin
os.system("cp demo/demo.bin ./") os.system("cp demo/demo.bin ./")
# Prepare flash boot image.
os.system("python3 -m litex.soc.software.crcfbigen demo.bin -o demo.fbi --fbi --little") # FIXME: Endianness.
if __name__ == "__main__": if __name__ == "__main__":
main() main()