projects
/
ls2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6439e0f
)
increase size of bootmem
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 15 Feb 2022 01:35:25 +0000
(
01:35
+0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 15 Feb 2022 01:35:25 +0000
(
01:35
+0000)
src/ls2.py
patch
|
blob
|
history
diff --git
a/src/ls2.py
b/src/ls2.py
index 14cad43a206f8a76e71afd7ceebd85f09489f66e..9482112954167e9371f463638ddcc312d152369c 100644
(file)
--- a/
src/ls2.py
+++ b/
src/ls2.py
@@
-82,7
+82,7
@@
class DDR3SoC(SoC, Elaboratable):
# SRAM (but actually a ROM, for firmware), at address 0x0
if fw_addr is not None:
sram_width = 32
- self.bootmem = SRAMPeripheral(size=
8192
, data_width=sram_width,
+ self.bootmem = SRAMPeripheral(size=
0x10000
, data_width=sram_width,
writable=True)
with open(firmware, "rb") as f:
words = iter(lambda: f.read(sram_width // 8), b'')