riscv-software-src / riscv-software-src/opensbi

Use devicetree to add custom memrange to sbi root domain

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

Nobody has claimed this yet.

Dominant language
C
Stars
1.5k
Forks
712
PR merge metrics
No merged PRs in 30d

Description

The doc shows how to add a memrange to a custom sbi domain by using dtb.

Is there some way to add a custom memrange to the sbi root domain while using dtb, which is only available by using sbi_domain_root_add_memrange in the code.

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 docs/domain_support.md and the existing sbi_domain_root_add_memrange path. Investigate how devicetree data is used for custom SBI domains and whether the root domain is handled separately. Done means establishing and documenting a supported devicetree mechanism, or clearly documenting why code remains required.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.