-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
target/xilinx: Clean up flow, multi-board support, add VCU128 (#105)
* hw: Add `RegAdaptMemCut` inside `axi_to_reg_v2` * Bender.yml: Update `register_interface` * target/xilinx: Clean up flow, multi-board support, add VCU128 * sw: Update CVA6 SDK, add multi-device-tree flow * doc: Add new Xilinx target features * target/xilinx: Make utility targets weekly depend on input files * util: Add HS2 OpenOCD script, amend docs * doc: Some cleanup * nonfree: Update * doc: Fix typo --------- Co-authored-by: Cyril Koenig <[email protected]>
- Loading branch information
Showing
44 changed files
with
1,685 additions
and
1,693 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,7 +53,7 @@ chs-clean-deps: | |
###################### | ||
|
||
CHS_NONFREE_REMOTE ?= [email protected]:pulp-restricted/cheshire-nonfree.git | ||
CHS_NONFREE_COMMIT ?= dafd3c1 | ||
CHS_NONFREE_COMMIT ?= 99973e8 | ||
|
||
chs-nonfree-init: | ||
git clone $(CHS_NONFREE_REMOTE) $(CHS_ROOT)/nonfree | ||
|
@@ -159,18 +159,15 @@ CHS_SIM_ALL += $(CHS_ROOT)/target/sim/vsim/compile.cheshire_soc.tcl | |
# FPGA Flow # | ||
############# | ||
|
||
$(CHS_ROOT)/target/xilinx/scripts/add_sources.tcl: $(CHS_ROOT)/Bender.yml | ||
$(BENDER) script vivado -t fpga -t cv64a6_imafdcsclic_sv39 -t cva6 > $@ | ||
|
||
CHS_XILINX_ALL += $(CHS_ROOT)/target/xilinx/scripts/add_sources.tcl | ||
include target/xilinx/xilinx.mk | ||
|
||
################################# | ||
# Phonies (KEEP AT END OF FILE) # | ||
################################# | ||
|
||
.PHONY: chs-all chs-nonfree-init chs-clean-deps chs-sw-all chs-hw-all chs-bootrom-all chs-sim-all chs-xilinx-all | ||
|
||
CHS_ALL += $(CHS_SW_ALL) $(CHS_HW_ALL) $(CHS_SIM_ALL) $(CHS_XILINX_ALL) | ||
CHS_ALL += $(CHS_SW_ALL) $(CHS_HW_ALL) $(CHS_SIM_ALL) | ||
|
||
chs-all: $(CHS_ALL) | ||
chs-sw-all: $(CHS_SW_ALL) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,11 +7,13 @@ | |
// Axel Vanoni <[email protected]> | ||
|
||
/dts-v1/; | ||
|
||
/ { | ||
#address-cells = <2>; | ||
#size-cells = <2>; | ||
compatible = "eth,cheshire-dev"; | ||
model = "eth,cheshire"; | ||
|
||
chosen { | ||
stdout-path = "/soc/serial@3002000:115200"; | ||
}; | ||
|
@@ -74,22 +76,16 @@ | |
interrupts = <2 3 4 5 6 7 8 9 10 11 12 13 14 15 16>; | ||
reg = <0x0 0x3003000 0x0 0x1000>; | ||
}; | ||
spi@3004000 { | ||
spi: spi@3004000 { | ||
compatible = "opentitan,spi-host", "lowrisc,spi"; | ||
interrupt-parent = <&PLIC0>; | ||
interrupts = <17 18>; | ||
reg = <0x0 0x3004000 0x0 0x1000>; | ||
num-cs = <2>; | ||
clock-frequency = <50000000>; | ||
max-frequency = <25000000>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
mmc@0 { | ||
compatible = "mmc-spi-slot"; | ||
reg = <0>; | ||
spi-max-frequency = <25000000>; | ||
voltage-ranges = <3300 3300>; | ||
disable-wp; | ||
}; | ||
}; | ||
vga@3007000 { | ||
compatible = "eth,axi-vga"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Copyright 2024 ETH Zurich and University of Bologna. | ||
// Solderpad Hardware License, Version 0.51, see LICENSE for details. | ||
// SPDX-License-Identifier: SHL-0.51 | ||
// | ||
// Cyril Koenig <[email protected]> | ||
|
||
/include/ "cheshire.dtsi" | ||
|
||
&spi { | ||
boot-with = <0>; | ||
mmc@0 { | ||
compatible = "mmc-spi-slot"; | ||
reg = <0>; // CS | ||
spi-max-frequency = <25000000>; | ||
voltage-ranges = <3300 3300>; | ||
disable-wp; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Copyright 2024 ETH Zurich and University of Bologna. | ||
// Solderpad Hardware License, Version 0.51, see LICENSE for details. | ||
// SPDX-License-Identifier: SHL-0.51 | ||
// | ||
// Cyril Koenig <[email protected]> | ||
|
||
/include/ "cheshire.dtsi" | ||
|
||
&spi { | ||
boot-with = <1>; | ||
nor@1 { | ||
#address-cells = <0x1>; | ||
#size-cells = <0x1>; | ||
// Note : u-boot does not find mt25qu02g | ||
compatible = "mt25qu02g", "jedec,spi-nor"; | ||
reg = <0x1>; // CS | ||
spi-max-frequency = <25000000>; | ||
spi-rx-bus-width = <0x1>; | ||
spi-tx-bus-width = <0x1>; | ||
disable-wp; | ||
partition@0 { | ||
label = "all"; | ||
reg = <0x0 0x6000000>; // 96 MB | ||
read-only; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.