-
Notifications
You must be signed in to change notification settings - Fork 569
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Initial MIPS CPUs support #1990
Open
FlyGoat
wants to merge
6
commits into
enjoy-digital:master
Choose a base branch
from
FlyGoat:mips-patch
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
For Python CI test I'm not sure what's the best way to provide source to CI action, probably create pythondata package for both? |
This was referenced Jun 18, 2024
Thanks for adding this! |
For MIPS CPUs, there is a default memory translation (which VA = PA + offset). BIOS needs to access memory with translated virtual address. Add bios_map hook and generated various address macros with _VA suffix to allow BIOS to use virtual addresses. It is defaulted to 1:1 mapping so it won't affect other CPUs. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Use addresses with _VA suffix for memory and registers accress. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
MIPS toolchains are always capable for compiling to both endian and bitness targets, so define a single CPU_GCC_TRIPLE_MIPS to cover them all. Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
CQU Dual Issue Machine, Dual issue 5-stage pipeline MIPS32 CPU capable for running Linux. https://github.com/Maxpicca-Li/CDIM Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Loongson GS232 Dual issue pipeline MIPS32 CPU capable for running Linux. Opensourced by Loongson under 2-Clause BSD License (as shown in verilog source). Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
intel-lab-lkp
pushed a commit
to intel-lab-lkp/linux
that referenced
this pull request
Jul 6, 2024
The LiteX framework provides a convenient and efficient infrastructure to create FPGA Cores/SoCs. We have implemented LiteX support for a couple of opensource MIPS CPU cores including microAptiv UP from MIPS, GS232 from Loongson, and CDIM from CQU. For this platform, devicetree is generated by litex python scripts so there is no devicetree addition necessary. Link: enjoy-digital/litex#1990 Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
intel-lab-lkp
pushed a commit
to intel-lab-lkp/linux
that referenced
this pull request
Jul 14, 2024
The LiteX framework provides a convenient and efficient infrastructure to create FPGA Cores/SoCs. We have implemented LiteX support for a couple of opensource MIPS CPU cores including microAptiv UP from MIPS, GS232 from Loongson, and CDIM from CQU. For this platform, devicetree is generated by litex python scripts so there is no devicetree addition necessary. Link: enjoy-digital/litex#1990 Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
staging-kernelci-org
pushed a commit
to kernelci/linux
that referenced
this pull request
Jul 16, 2024
The LiteX framework provides a convenient and efficient infrastructure to create FPGA Cores/SoCs. We have implemented LiteX support for a couple of opensource MIPS CPU cores including microAptiv UP from MIPS, GS232 from Loongson, and CDIM from CQU. For this platform, devicetree is generated by litex python scripts so there is no devicetree addition necessary. Link: enjoy-digital/litex#1990 Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
@enjoy-digital Any comments? |
@FlyGoat: Sorry, I've been very busy recently. I'll have a closer look in late August/early September. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
This PR implemented initial support for MIPS based CPUs, it implemented
bios_map
hook for CPU to deal with problem mentioned in #1903, fixed AHB bus handling then added two CPUs as examples.Please review.
Thanks