From 17790e07518a86addaf2b0d9fa483afc8825ad54 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Tue, 20 Aug 2024 09:03:16 +0800 Subject: [PATCH 1/3] renode: vexriscv: fix CPU on newer Renode versions Newer versions of Renode rename PrivilegeArchitecture to PrivilegedArchitecture. They appear to have tried to work around this by annotating it with `[NameAlias("privilegeArchitecture")]`, however that doesn't change the fact that the actual type itself changed as well. This incompatible change will cause breakage on older versions of Renode. Signed-off-by: Sean Cross --- emulation/peripherals/vexriscv-aes.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emulation/peripherals/vexriscv-aes.cs b/emulation/peripherals/vexriscv-aes.cs index ca8da9a27..1c37f0fe5 100644 --- a/emulation/peripherals/vexriscv-aes.cs +++ b/emulation/peripherals/vexriscv-aes.cs @@ -15,7 +15,7 @@ public class AesVexRiscv : VexRiscv public AesVexRiscv(Core.Machine machine, uint hartId = 0, IRiscVTimeProvider timeProvider = null, - PrivilegeArchitecture privilegeArchitecture = PrivilegeArchitecture.Priv1_10, + PrivilegedArchitecture privilegeArchitecture = PrivilegedArchitecture.Priv1_10, string cpuType = "rv32im", bool builtInIrqController = true) : base(machine, hartId, timeProvider, privilegeArchitecture, cpuType, builtInIrqController) { From b1776ded9c0e75f0cf2dff85773e86e20e87d939 Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 20 Aug 2024 09:53:33 +0800 Subject: [PATCH 2/3] Note minimum Renode version requirement #520 introduces a breaking change to track the latest renode --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 8c3d04d2c..ba7598ef8 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,8 @@ Xous uses [Renode](https://renode.io/) as the preferred emulator, because it is easy to extend the hardware peripherals without recompiling the entire emulator. +Due to a breaking change in Renode, this codebase is only compatible with Renode equal to or later than `1.15.2.7965 (e6e79aad-202408180425)` + [Download Renode](https://renode.io/#downloads) and ensure it is in your path. For now, you need to [download the nightly build](https://dl.antmicro.com/projects/renode/builds/), until `DecodedOperation` is included in the release. From c49acbc0f6248003b27e6647049e9924b510ac16 Mon Sep 17 00:00:00 2001 From: bunnie Date: Tue, 20 Aug 2024 09:59:05 +0800 Subject: [PATCH 3/3] Update RELEASE-v0.9.md also note the breaking change here so when we tag a release we'll remember to note it. --- RELEASE-v0.9.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/RELEASE-v0.9.md b/RELEASE-v0.9.md index a32b99f27..a2ae134cb 100644 --- a/RELEASE-v0.9.md +++ b/RELEASE-v0.9.md @@ -483,7 +483,10 @@ perform the Xous firmware upgrade. This requires running manual update commands, - USB core able to enumerate, communicate to Linux devices. Windows compat still WIP. - Mailbox protocol to other devices has been tested, working. - TRNG has been tuned, partially validated. - + - BIO-BDMA test cases added +- Various fixes to track changes in Rust 1.80 +- Add documentation to the `modals` library (thanks @rowr111) +- Due to a breaking change in Renode, this release is only compatible with Renode equal to or later than 1.15.2.7965(e6e79aad-202408180425) (see issue #570 / PR #572) ## Roadmap - Lots of testing and bug fixes