Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Sentinel value interaction with loadable flash addresses not clear

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

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
c
Domain
embedded-iot

Research direction

Start at kernel.c line 26 and trace how the sentinel value is used with the flash app load address. Check the related relocation or load-address handling in this ePIC example to determine why the subtraction is needed. Done means adding a concise comment that explains the address adjustment and verifying that the example still builds.

Written by the indexing model from the issue text.

Description

I am unsure why the sentinel value is subtracted from the flash app load address in kernel.c. It doesn't seem to be re-added anywhere so does this mean that the flash image is loaded at a different address to the one specified or is this just to compensate for a fixed offset encoded into the relocations? Might be worth a comment explaining what is happening:

https://github.com/lowRISC/epic-c-example/blob/535d1a5fe2b1b5201d35612ae27ea7e5db02dee2/kernel.c#L26

Dominant language
C
Stars
14
Forks
5
PR merge metrics
No merged PRs in 30d

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No 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.

More from lowRISC/epic-c-example

All issues in lowRISC/epic-c-example

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.