Skip to content

Commit

Permalink
[bazel] Bump OT QEMU to 9.2.0
Browse files Browse the repository at this point in the history
The eflash in Earl Grey has moved from bus 1 to bus 2.

Signed-off-by: James Wainwright <[email protected]>
  • Loading branch information
jwnrt committed Feb 23, 2025
1 parent 039d153 commit d9135cd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rules/opentitan/qemu.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ def _test_dispatch(ctx, exec_env, firmware):
}

if firmware.signed_bin != None and firmware.binary != None:
qemu_args += ["-drive", "if=mtd,bus=1,file=flash_img.bin,format=raw"]
qemu_args += ["-drive", "if=mtd,id=eflash,bus=2,file=flash_img.bin,format=raw"]
test_script_fmt |= {
"flash": firmware.default.short_path,
"mutable_flash": "flash_img.bin",
Expand Down
4 changes: 2 additions & 2 deletions third_party/qemu/extensions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

def qemu_opentitan_repos():
QEMU_VERSION = "v9.1.0-2025-01-28"
QEMU_VERSION = "v9.2.0-2025-02-11"

url = "/".join([
"https://github.com/lowRISC/qemu/releases/download",
Expand All @@ -17,7 +17,7 @@ def qemu_opentitan_repos():
name = "qemu_opentitan",
url = url,
build_file = Label(":BUILD.qemu_opentitan.bazel"),
sha256 = "530bb7568f17ba3f9ba1245388c2625259d180188c8c5c9e15634b942ebeb108",
sha256 = "85091287ee67dee337968071b7d10d39d44bb582c90991eae3d61f11a13ccf29",
)

qemu = module_extension(
Expand Down

0 comments on commit d9135cd

Please sign in to comment.