lowRISC / lowRISC/opentitan

[documentation] Bootstrapping the demo software does not work for CW340

Open
#22,912 0 comments 0 reactions 1 assignee View on GitHub

@AlexJones0 is already working on this.

Since Jul 8, 2024.

Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

### Description

Following the [guide](https://opentitan.org/book/doc/getting_started/setup_fpga.html#bootstrapping-the-demo-software) for bootstrapping the demo software on the CW340 card does not work as the CW340 is not a valid build target for the `hello_world` software:

```
./bazelisk.sh build //sw/device/examples/hello_world:hello_world_fpga_${BOARD}_bin
ERROR: Skipping '//sw/device/examples/hello_world:hello_world_fpga_cw340_bin': no such target '//sw/device/examples/hello_world:hello_world_fpga_cw340_bin': target 'hello_world_fpga_cw340_bin' not declared in package 'sw/device/examples/hello_world' defined by /home/admin-sqai/opentitan/sw/device/examples/hello_world/BUILD (Tip: use `query "//sw/device/examples/hello_world:*"` to see all the targets in that package)
WARNING: Target pattern parsing failed.
ERROR: no such target '//sw/device/examples/hello_world:hello_world_fpga_cw340_bin': target 'hello_world_fpga_cw340_bin' not declared in package 'sw/device/examples/hello_world' defined by /home/admin-sqai/opentitan/sw/device/examples/hello_world/BUILD (Tip: use `query "//sw/device/examples/hello_world:*"` to see all the targets in that package)
INFO: Elapsed time: 0.282s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded)
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.