Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hifive_unleashed//u54 and hifive_unmatched//u74 targets #73791

Closed

Conversation

fkokosinski
Copy link
Member

This PR adds support for the following two new targets on boards with SiFive Freedom SoC series chips:

  • hifive_unleashed//u54
  • hifive_unmatched//u74

The old hifive_unleashed and hifive_unmatched are available with the following names, respectively:

  • hifive_unleashed//e51
  • hifive_unmatched//s7

For HiFive Unmatched-based targets, this PR also switches the port to target the L2$ memory instead of DDR, since DDR is not initialized after cold boot, making uploading (and running) Zephyr impossible.

Switch from `ram0` to `l2lim` in `zephyr, sram` in board DTS

Add `l2Cache` in `support/hifive_unleashed.resc` and targets L2
work-area in `openocd_hifive_unleashed.cfg`. Define work-area for other
4 cores.

Signed-off-by: Jakub Wasilewski <[email protected]>
Signed-off-by: Filip Kokosinski <[email protected]>
Add `hifive_unleashed//e51` (earlier selected by default, using
`hifive_unleashed`) and `hifive_unleashed//u54` targets.

Update twister platform white/black lists, to support new targets

Signed-off-by: Jakub Wasilewski <[email protected]>
Signed-off-by: Filip Kokosinski <[email protected]>
Add `hifive_unmatched//s7` (earlier selected by default, using
`hifive_unmatched`) and `hifive_unmatched//u74` targets.

Change openocd.cfg work-area adress to L2 from DDR and define work-area
for other 4 cores

Update twister platform white/black lists, to support new targets

Signed-off-by: Jakub Wasilewski <[email protected]>
Signed-off-by: Filip Kokosinski <[email protected]>
Copy link

github-actions bot commented Aug 7, 2024

This pull request has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 14 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label Aug 7, 2024
@github-actions github-actions bot closed this Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants