lowRISC / lowRISC/ot-sca

Generating English Breakfast Binaries for CW305

Open
#333 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
43
Forks
34
PR merge metrics
No merged PRs in 30d

Description

Build instructions to generate English Breakfast binaries for the CW305 in the Getting Started don't seem to work with recent OpenTitan releases. I've tried using both the OpenTitan docker image and a fresh install of Ubuntu 20.04.06LTS following OT instructions for an FPGA build environment using earlgrey_es_sival and various other branches & commits unsuccessfully.

For the most recent commit for earlgrey_es_sival, the build fails at Step 4 (bitstream generation):

ERROR: Conflicting requirements:
Requirements: 'lowrisc_systems_chip_englishbreakfast_cw305 == 0.1-0' <- 'lowrisc_systems_ast >= 0-0' <- 'lowrisc_systems_clkmgr_pkg >= 0-0'
+lowrisc_systems_ast-0.1-0 was ignored because it depends on missing packages
Requirements: 'lowrisc_systems_chip_englishbreakfast_cw305 == 0.1-0' <- 'lowrisc_systems_ast >= 0-0'
lowrisc_systems_chip_englishbreakfast_cw305-0.1-0 requires (+lowrisc_systems_ast-0.1-0)
Requirements: 'lowrisc_systems_chip_englishbreakfast_cw305 == 0.1-0'
Install command rule (+lowrisc_systems_chip_englishbreakfast_cw305-0.1-0)

Failed to resolve dependencies for lowrisc:systems:chip_englishbreakfast_cw305:0.1

I've verified this isn't an issue with an incorrect fusesoc version that's mentioned in some previous issues.

Is there a known good OpenTitan commit / version that should work with the ot-sca instructions as written for building Englishbreakfast for the CW305 target?

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.

Research direction

Start with the Getting Started instructions for the CW305 and reproduce Step 4, bitstream generation, using the OpenTitan earlgrey_es_sival flow described in the report. Compare dependency resolution across the cited OpenTitan commits and environments, then document a known-good version or update the instructions so the English Breakfast binary build completes.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, ubuntu
Domain
build-system, embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.