projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
279ec48
)
Output better error message for flash_proxy.
author
Tim 'mithro' Ansell
<mithro@mithis.com>
Sat, 15 Apr 2017 11:31:31 +0000
(21:31 +1000)
committer
Tim 'mithro' Ansell
<mithro@mithis.com>
Sat, 7 Oct 2017 01:14:00 +0000
(12:14 +1100)
litex/build/generic_programmer.py
patch
|
blob
|
history
diff --git
a/litex/build/generic_programmer.py
b/litex/build/generic_programmer.py
index b9540415c2d240bbe3dcc736d6ba7db4e59747c9..23a9eb12f65237e8d1cf24db69d8d55ad2ae41d4 100644
(file)
--- a/
litex/build/generic_programmer.py
+++ b/
litex/build/generic_programmer.py
@@
-17,7
+17,10
@@
class GenericProgrammer:
fullname = os.path.join(fulldir, self.flash_proxy_basename)
if os.path.exists(fullname):
return fullname
- raise OSError("Failed to find flash proxy bitstream")
+ raise OSError(
+ "Failed to find flash proxy bitstream %s, searched:\n %s\n" % (
+ self.flash_proxy_basename,
+ "\n ".join(self.flash_proxy_dirs)))
# must be overloaded by specific programmer
def load_bitstream(self, bitstream_file):