Skip to content

How do we support an SoC that mixes ARM and RISCV? #81384

Answered by tejlmand
soburi asked this question in Q&A
Discussion options

You must be logged in to vote

wasnt this the main reason why we introduced hwmv2? We have some of those SoC in the tree already if I am not mistaken.

yes, detailed explanation follows.

The RP2350 (RaspberryPi Pico2) has two cores, ARM and RISCV, and can run the ARM and RISCV cores simultaneously.
I think it will be difficult to support this elegantly with the current Zephyr mechanism, so I will first raise the issue.

Yes, so HWMv2 allows you to describe the SoC with two CPU clusters, https://docs.zephyrproject.org/latest/hardware/porting/soc_porting.html.
Then a normal Zephyr build can target either of those clusters as is described in #78222 (comment)

Together with HWMv2 then sysbuild can be used to further give …

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tejlmand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Enhancement Changes/Updates/Additions to existing features area: ARM ARM (32-bit) Architecture area: RISCV RISCV Architecture (32-bit & 64-bit) platform: Raspberry Pi Pico Raspberry Pi Pico (RPi Pico)
4 participants
Converted from issue

This discussion was converted from issue #78222 on November 14, 2024 09:17.