Commit graph

10 commits

Author SHA1 Message Date
Sean Cross
24fc352517 emulation: expose gdb serial to port 3456
Signed-off-by: Sean Cross <sean@xobs.io>
2024-03-11 14:01:37 +08:00
Sean Cross
153736810b Revert "renode: remove custom LiteX_Timer_32"
The custom litex timer is more custom than we thought.

This reverts commit 46fab8cbc8.
2023-01-30 22:15:01 +08:00
Sean Cross
46fab8cbc8 renode: remove custom LiteX_Timer_32
When we started this project, all Renode Litex modules were 8-bits, and
we had to custom-make a 32-bit timer module. However, in the interim,
upstream has grown a 32-bit variant of this timer. As of this writing,
this change was made two years ago.

Remove our custom variant and use the upstream version instead.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-10-21 08:40:10 +08:00
Sean Cross
4b3d1503e7 renode: place all peripherals under "Betrusted" ns
Give a "Betrusted" namespace to all of the peripherals. This will enable
us to upstream various modules without breaking compatibility with our
own versions of these peripherals.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-10-20 22:19:40 +08:00
bunnie
878c822d9f fix renode paths 2022-09-27 18:32:30 +08:00
Sean Cross
3c156f6ae4 emulation: use BackingFile to make spi persistent
Use the `BackingFile` property of the SPI flash block in order to allow
SPI flash writes to persist across runs. This will write out the SPI
flash contents as data is written.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-06-24 15:55:05 +08:00
Daniel Reusche
d94d633b47 Fix jtag peripheral for emulation of xous-release
Closes #146. Jtag.cs was misspelled in betrusted.resc

Signed-off-by: Daniel Reusche <code@degregat.net>
2022-04-23 15:34:13 +02:00
Sean Cross
a74199829a emulation: add initial TLV320AIC3100
This audio codec lives on I2C and doesn't really do much for us.
However, by adding this device we can now pass `test oqc`.

The next step will be to implement `BetrustedI2S` which is where the
actual audio emulation occurs.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-21 11:42:02 +08:00
Sean Cross
0992b519b5 emulation: load bootloader from ROM
By loading the bootloader from ROM instead of from ELF, we ensure that
.bss and friends aren't overwritten.

Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-21 10:19:02 +08:00
Sean Cross
86c4a6813d susres: add initial suspend/resume implementation
Signed-off-by: Sean Cross <sean@xobs.io>
2022-04-21 10:14:46 +08:00
Renamed from emulation/xous-release.resc (Browse further)