diff --git a/boards/opentitan/README.md b/boards/opentitan/README.md index 389630d85f..ef4395396c 100644 --- a/boards/opentitan/README.md +++ b/boards/opentitan/README.md @@ -179,7 +179,21 @@ LANG="en_US.UTF-8" fusesoc --cores-root . run --flag=fileset_top --target=sim -- ### Build Boot Rom/OTP Image + +
+ Modifications to build on OS X + + OT build assumes old toolchains (i.e. `riscv32-*`), but homebrew only installs + binaries of `riscv64-*`. They're all multilib, so they work fine, just need to + add symlinks: + + > `cd /usr/local/Cellar/riscv-gnu-toolchain/main/bin` + > `for f in $(ls); do ln -s $f riscv32-$(echo $f | cut -d'-' -f2-10); done` + +
+ Build only the targets we care about. + ```shell ./meson_init.sh ninja -C build-out sw/device/lib/testing/test_rom/test_rom_export_sim_verilator