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

boards: openhwgroup: add CV64A6 on GenesysII board #77734

Conversation

WorldofJARcraft
Copy link
Contributor

Adds support for the CVA6 CPU on a GenesysII FPGA board with Xilinx AXI Ethernet
(https://github.com/cispa/CVA6-Vivado-Project-with-Xilinx-AXI-Ethernet). The SoC currently contains the CVA6 CPU in 64-bit configuration with the SV39 MMU, interrupt controllers (CLINT and PLIC), UART, a SPI for booting from SD, a boot ROM, and I2C controller for on-board audio, a GPIO and the Xilinx AXI Ethernet subsystem.

@WorldofJARcraft WorldofJARcraft marked this pull request as draft August 29, 2024 09:59
@WorldofJARcraft
Copy link
Contributor Author

Depends on #77732 and #73986

@@ -0,0 +1 @@
# SPDX-License-Identifier: Apache-2.0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

empty file can go

CONFIG_SOC_SERIES_CV64A6_PROVIDE_NONSTANDARD_CACHE_OPTIONS=y
CONFIG_DMA_XILINX_AXI_DMA_DISABLE_CACHE_WHEN_ACCESSING_SG_DESCRIPTORS=y

# debug
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file is not acceptable

@WorldofJARcraft
Copy link
Contributor Author

I have cleaned the defconfigs and removed the empty CMakeLists.txt for my three board PRs.

@Dri99
Copy link

Dri99 commented Oct 15, 2024

I am currently using it for a school project, if it can help, the fact that the board is called in some places cv64a6_genesysII_cispa and others cv64a6_genesysII without the "_cispa" suffix gave issues in cmake identifying the files. I fixed by renaming files adding the suffix, but consider also to just remove it everywhere

@WorldofJARcraft
Copy link
Contributor Author

WorldofJARcraft commented Oct 15, 2024

I am currently using it for a school project, if it can help, the fact that the board is called in some places cv64a6_genesysII_cispa and others cv64a6_genesysII without the "_cispa" suffix gave issues in cmake identifying the files. I fixed by renaming files adding the suffix, but consider also to just remove it everywhere

#77792 and this PR refer to two slightly different configurations.
This one uses the Xilinx Ethernet subsystem, while #77792 uses the lowRISC Ethernet (which currently does not have a driver in zephyr).
The files are adapted for these two different configurations respectively. You can use the -b parameter to west build to select which variant you want to build (-b cv64a6_genesysII or -b cv64a6_genesysII_cispa).

Adds support for the CVA6 CPU on a GenesysII FPGA board forked by CISPA
with Xilinx AXI Ethernet
(https://github.com/cispa/CVA6-Vivado-Project-with-Xilinx-AXI-Ethernet).
The SoC currently contains the CVA6 CPU in 64-bit configuration with the
SV39 MMU, interrupt controllers (CLINT and PLIC), UART, a SPI for
booting from SD, a boot ROM, and I2C controller for on-board audio, a
GPIO and the Xilinx AXI Ethernet subsystem.

Signed-off-by: Eric Ackermann <eric.ackermann@cispa.de>
@WorldofJARcraft
Copy link
Contributor Author

Merged into #77732

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants