software/demo: Add flash boot image (.fbi) preparation to allow demo to be flashed to SPI Flash.
This commit is contained in:
parent
46fe550338
commit
8e6ffff37a
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue