Experimental support for a new CVA6-CHERI platform #18
Conversation
91a9f3e to
1df9bb2
Compare
|
Out of curiosity I went looking for the source of the Lowrisc Ethernet driver. I found a patch adding what appears to be this version at: Either way it would be useful for the commit comment to include an upstream source and version for this driver to make it easer to track changes. |
@stuartmenefy Thanks for the heads-up! Their new updated driver (from 2 weeks ago) has been pushed recently after I made that update. Their updated one should make our life easier, I'll test it and try to just use that and remove my changes/updates if it works fine. |
|
Please look at the checkpatch complaints as well. Some should be ignored but some (trailing whitespace, ...) do need fixing, please. |
[Andreas Korb: Upgrade to modern kernels and fix bugs
- Remove unneeded MMC driver
- Adapt from Linux kernel 5.1 to 6.19
- Fix compilation warnings
- Refactoring
- Fix re-enabling ethernet interface
(works now instead of saying interface is busy)
]
Hesham Almatary: Copied and applied (with a trivial merge-conflict fix) from
https://github.com/openhwgroup/cva6-sdk/blob/4dd7756e3168db8ebdeb14614c9d2f4293f1232a/patches/genesys2/linux/0001-Incorporate-lowrisc-drivers-for-latest-kernel-releas.patch
Signed-off-by: Andreas Korb <andreas.korb@aisec.fraunhofer.de>
Signed-off-by: Hesham Almatary <heshamalmatary@capabilitieslimited.co.uk>
1df9bb2 to
8d600ca
Compare
A defconfig is a combination of the current upstream CVA6-Linux [1] and CHERI Alliance's Linux that enables CHERI. [1] https://github.com/openhwgroup/cva6-sdk/blob/4dd7756e3168db8ebdeb14614c9d2f4293f1232a/configs/genesys2/linux64_defconfig Signed-off-by: Hesham Almatary <heshamalmatary@capabilitieslimited.co.uk>
8d600ca to
68c82a6
Compare
Currently still just testing after upgrading to the latest CVA6-Linux patches as @stuartmenefy suggested. The original patch has these whitespace errors, I'll look into it and let you know when this PR is ready for another review |
This initial support enables building and running CHERI-Linux on CVA6-CHERI [1] on the Genesys2 FPGA board.
[1] https://www.capabilitieslimited.co.uk/current-projects/cheri-cva6