Skip to content

Conversation

@jwnrt
Copy link
Contributor

@jwnrt jwnrt commented Feb 4, 2026

Binary hashes are unchanged:

ROM:

$ bazel build //sw/device/silicon_creator/rom:mask_rom --config riscv32
$ sha256sum bazel-bin/sw/device/silicon_creator/rom/mask_rom_silicon_creator.39.scr.vmem
ee3198da4616a1e94e9156ddcb532fc5208653fc8077278a33a1d098d3c6d58f  bazel-bin/sw/device/silicon_creator/rom/mask_rom_silicon_creator.39.scr.vmem

ROM_EXT:

$ bazel build //sw/device/silicon_creator/rom_ext:rom_ext_dice_x509_slot_virtual
$ sha256sum bazel-bin/sw/device/silicon_creator/rom_ext/rom_ext_dice_x509_slot_virtual_silicon_creator.64.scr.vmem
f145100c70ec2815a46ee3764baf27f53626338e4417e9a3942c4d37b245cd6b  bazel-bin/sw/device/silicon_creator/rom_ext/rom_ext_dice_x509_slot_virtual_silicon_creator.64.scr.vmem

Signed-off-by: James Wainwright <james.wainwright@lowrisc.org>
@jwnrt jwnrt added the CI:Rerun Rerun failed CI jobs label Feb 5, 2026
@github-actions github-actions bot removed the CI:Rerun Rerun failed CI jobs label Feb 5, 2026
@jwnrt jwnrt marked this pull request as ready for review February 5, 2026 13:44
@jwnrt jwnrt requested a review from cfrantz as a code owner February 5, 2026 13:44
@jwnrt jwnrt requested review from moidx and sasdf February 5, 2026 13:54
Copy link
Contributor

@ziuziakowska ziuziakowska left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! 🙏

@andrea-caforio
Copy link
Contributor

To what extend are the GNU binutils used in OpenTitan? Currently working on something tangential.

@jwnrt
Copy link
Contributor Author

jwnrt commented Feb 6, 2026

From this version of binutils we use:

  • ar for creating archives
  • objcopy for turning ELFs into binaries
  • objdump for generating disassemblies
  • strip for stripping ELFs
  • gdb is used in //sw/host/penetrationtests/python/fi and some docs

For OTBN it's slightly more complicated, we download a pinned 2022 version of the toolchain to be used by OTBN, but when Bazel builds OTBN binaries it uses this updated version of binutils. Grep for otbn_binary and otbn_library to see the uses of this updated toolchain.

@andrea-caforio
Copy link
Contributor

Thanks @jwnrt for the explanation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants