From 8e6ffff37a5a85b4ac6020da1532bfb553d14445 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 5 Jul 2022 19:07:33 +0200 Subject: [PATCH] software/demo: Add flash boot image (.fbi) preparation to allow demo to be flashed to SPI Flash. --- litex/soc/software/demo/demo.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/litex/soc/software/demo/demo.py b/litex/soc/software/demo/demo.py index aad9446d9..3ab3fa90f 100755 --- a/litex/soc/software/demo/demo.py +++ b/litex/soc/software/demo/demo.py @@ -34,6 +34,9 @@ def main(): # Copy 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__": main()