mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-01-11 23:43:15 +00:00
The icache_test.bin file was missing. This adds it (along with a python3 script to generate it). We also add better reporting on errors Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
10 lines
152 B
Python
Executable File
10 lines
152 B
Python
Executable File
#!/usr/bin/python3
|
|
|
|
b = bytearray()
|
|
for i in range(0x100):
|
|
b = b + i.to_bytes(4, 'little')
|
|
f = open('icache_test.bin', 'w+b')
|
|
f.write(b)
|
|
f.close()
|
|
|